/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: linear-gradient(to right, #24243e, #302b63, #0f0c29);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-image: url("web bak.jpg");
    color: #333;
    line-height: 1.6;
}
/* Center the logo at the top */
.logo-container {
    display: block;        /* Makes the div take full width */
    width: 100%;
    text-align: center;       /* Centers the inline element (image) */
    padding: 20px 0;
    background-color:transparent;   /* Optional */
}

.logo {
    width: 800px;             /* Adjust logo size */
    height: auto;
}
.tlogo {
    width: 400px;             /* Adjust logo size */
    height: auto;
}


.date{
    font-size: 2rem;
    font-weight: bold;
    color:black;
    justify-content: center;
    display: flex;
}
.year{
    font-size: 2rem;
    font-weight: bold;
    color:yellow;
    justify-content: center;
    display: flex;
   
}
.glowing-button {
  padding: 24px 12px;
  background:rgba(255, 255, 255, 0.25);
  color:black;
  border: 2px solid  #f7c600;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 5px #f7c600, 0 0 10px #f7c600;
  transition: all 0.3s ease;
  justify-content: center;
  display: flex;
}

.glowing-button:hover {
  background:#f7c600;
  color: #000;
  box-shadow: 0 0 10px #f7c600, 0 0 20px #f7c600, 0 0 40px #f7c600;
  transition: all 0.5s ease; 
  transform: translateY(-8px) scale(1.02);
}

.event-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography */


p, ol {
    color:black;
}
.number{
    color:#083b6e;
    font-weight: bold;
}

strong {
    color: #000000;
}

/* Hero Section */

.presents { 
    font-style: italic;
    color: #030303;
    margin: 10px 0;
    display: flex;
    justify-content: center;

    /* Bright glow + visibility */
    text-shadow:
        0 0 5px #00f5ff,
        0 0 10px #00f5ff,
        0 0 20px rgba(0, 245, 255, 0.9),
        2px 2px 4px rgba(0, 30, 80, 0.8);

    font-weight: 800;
}
.reg-btn:hover { background: #a29bfe; transform: scale(1.05); }

/* Containers */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}
.about{
    background: #f7c600;
    color: #083b6e;
    font-weight: bold;
    font-size: 22px;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-block;
}
.section-heading {
    color:black;
    text-align: center;
    margin: 40px 0 20px;
    font-size: 2rem;
     /* Bright glow + visibility */
    text-shadow:
        0 0 5px #00f5ff,
        0 0 10px #00f5ff,
        0 0 20px rgba(0, 245, 255, 0.9),
        2px 2px 4px rgba(0, 30, 80, 0.8);

    font-weight: 800;
}

/* Event Grid Layout */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.event-card {
  padding: 24px;
  background-color:rgba(255, 255, 255, 0.25);
  color:white;
  border: 2px solid yellow;
  border-radius: 20px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 5px #f7c600, 0 0 10px #f7c600;
  transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    background:white;
    backdrop-filter: blur(25px);
    box-shadow: 0 0 10px white, 0 0 20px white, 0 0 40px white;
    border: transparent;
}

.event-card.non-tech {
    border-bottom-color: #f7c600;
}

.event-title {
    background: #f7c600;
    color: #083b6e;
    font-weight: bold;
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-block;
}
.staff{
    background: #f7c600;
    color: #083b6e;
    font-weight: bold;
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 6px;
    display:block;
}

.event-description {
    font-size: 1rem;
    color:black;
    margin-bottom: 15px;
}

.event-details {
    font-weight: bold;
    font-size: 0.85rem;
    color:blue;
}

/* Contact Styling */
.contact-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 5px #f7c600, 0 0 10px #f7c600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: liquidPulse 8s ease-in-out infinite;
}

@keyframes liquidPulse {
    0%, 100% { 
        box-shadow: 0 0 5px #f7c600, 0 0 10px #f7c600;
        backdrop-filter: blur(20px);
    }
    50% { 
        box-shadow: 0 0 5px #f7c600, 0 0 10px #f7c600;
        backdrop-filter: blur(25px);
    }
}

.contacts-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
}

.coord-box {
  padding: 24px;
  background: transparent;
  color: #f7c600;
  border: 2px solid #f7c600;
  border-radius: 20px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 5px #f7c600, 0 0 10px #f7c600;
  transition: all 0.3s ease;
  display: inline;
  text-align: left;
}

.coord-box:hover {
    transform: translateY(-8px) scale(1.02);
    background:white;
    backdrop-filter: blur(25px);
    box-shadow: 0 0 10px white, 0 0 20px white, 0 0 40px white;
    border: transparent;
}

.social-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-weight: bold;
}
.link{
    background: #f7c600;
    color: #083b6e;
    font-weight: bold;
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 6px;
    display:flex;
}
.contact{
    background: #f7c600;
    color: #083b6e;
    font-weight: bold;
    font-size: 30px;
    padding: 5px 10px;
    border-radius: 6px;
    display:ruby-base;
}
/* =========================================
   MOBILE RESPONSIVE DESIGN
   ========================================= */

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Main wrapper */
.main-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* =========================
   HERO SECTION
   ========================= */

.hero-section {
    width: 100%;
    padding: 20px 15px 30px;
    box-sizing: border-box;
}

/* College logo */
.logo-container {
    width: 100%;
    padding: 10px 0;
    text-align: center;
}

.logo {
    width: min(800px, 85vw);
    max-width: 100%;
    height: auto;
}

/* Tech Innova logo */
.tlogo {
    width: min(400px, 82vw);
    max-width: 100%;
    height: auto;
}

/* PRESENTS */
.presents {
    font-size: clamp(18px, 5vw, 30px);
    margin: 8px 0 12px;
    text-align: center;
}

/* Date */
.date {
    font-size: clamp(22px, 6vw, 32px);
    margin: 5px 0;
    text-align: center;
}

/* Year / Event date */
.year {
    font-size: clamp(20px, 5.5vw, 32px);
    margin: 5px 0 15px;
    text-align: center;
}

/* Register button */
.glowing-button {
    padding: 13px 18px;
    font-size: 14px;
    min-height: 48px;
    width: auto;
    max-width: 90%;
    margin: 5px auto;
}

/* =========================
   MAIN CONTAINER
   ========================= */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
}

/* =========================
   ABOUT CARDS
   ========================= */

.event-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 20px;
}

/* About heading */
.about {
    font-size: 17px;
    line-height: 1.35;
    padding: 7px 9px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Paragraph */
.event-card p {
    font-size: 14px;
    line-height: 1.55;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* =========================
   EVENT SECTIONS
   ========================= */

.section-heading {
    font-size: 25px;
    margin: 35px 0 18px;
}

/* IMPORTANT:
   Change 400px minimum to 1 column on mobile
*/
.event-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    margin-bottom: 30px;
}

/* Event title */
.event-title {
    font-size: 17px;
    line-height: 1.4;
    padding: 7px 9px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Event description */
.event-description {
    font-size: 14px;
    line-height: 1.55;
}

/* Event details */
.event-details {
    font-size: 13px;
    line-height: 1.4;
}

/* =========================
   CONTACT SECTION
   ========================= */

.contact-section {
    width: 100%;
    box-sizing: border-box;
    padding: 22px 15px;
    border-radius: 18px;
}

.contact {
    font-size: 21px;
    padding: 7px 10px;
}

/* Google map */
.contact-section iframe {
    width: 100%;
    max-width: 100%;
    height: 250px;
    border-radius: 12px;
}

/* =========================
   COORDINATORS
   ========================= */

.contacts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 25px;
}

.coord-box {
    width: 100%;
    box-sizing: border-box;
    padding: 18px;
    font-size: 14px;
    border-radius: 16px;
}

/* Staff / Student coordinator title */
.staff {
    font-size: 17px;
    line-height: 1.4;
}

/* Phone number */
.number {
    font-size: 14px;
}

/* =========================
   SOCIAL LINKS
   ========================= */

.social-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 25px;
}

.link {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    font-size: 14px;
    padding: 9px 10px;
}

/* =========================
   SMALL MOBILE DEVICES
   ========================= */

@media (max-width: 480px) {

    .hero-section {
        padding: 15px 12px 25px;
    }

    .container {
        padding: 12px;
    }

    .logo {
        width: 82vw;
    }

    .tlogo {
        width: 78vw;
    }

    .presents {
        font-size: 18px;
        justify-content: flex-start;
        padding-left: 12px;
    }

    .date {
        font-size: 24px;
    }

    .year {
        font-size: 22px;
    }

    .glowing-button {
        font-size: 13px;
        padding: 12px 16px;
    }

    .event-card {
        padding: 15px;
        border-radius: 16px;
    }

    .about {
        font-size: 16px;
    }

    .event-card p,
    .event-description {
        font-size: 13.5px;
        line-height: 1.55;
    }

    .section-heading {
        font-size: 23px;
    }

    .event-title {
        font-size: 16px;
    }

    .contact-section {
        padding: 18px 12px;
    }

    .contact {
        font-size: 19px;
    }
}

/* =========================
   VERY SMALL PHONES
   ========================= */

@media (max-width: 360px) {

    .container {
        padding: 10px;
    }

    .hero-section {
        padding-left: 8px;
        padding-right: 8px;
    }

    .event-card {
        padding: 13px;
    }

    .event-card p,
    .event-description {
        font-size: 13px;
    }

    .about {
        font-size: 15px;
    }

    .event-title {
        font-size: 15px;
    }

    .section-heading {
        font-size: 21px;
    }
}
/* =========================================
   DEPARTMENT VIDEOS
   ========================================= */

.videos-section {
    width: 100%;
    max-width: 1100px;
    margin: 35px auto;
    box-sizing: border-box;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
}

.video-card {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 20px;

    /* Same glass effect */
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 2px solid #ffd400;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-title {
    display: block;
    width: 100%;
    box-sizing: border-box;

    background: #ffd400;
    color: #111;

    padding: 12px 15px;
    border-radius: 10px;

    font-size: 20px;
    line-height: 1.3;

    margin: 0 0 15px;
}

.video-title i {
    margin-right: 7px;
}

.department-video {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto;
    aspect-ratio: 16 / 9;

    object-fit: cover;

    border-radius: 12px;

    background: #000;
}

.video-description {
    margin: 15px 0 0;

    font-size: 14px;
    line-height: 1.55;

    color: #111;
}


/* =========================================
   MOBILE VIDEO RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

    .videos-section {
        width: 100%;
        padding: 0 12px;
        margin: 25px auto;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-card {
        padding: 15px;
        border-radius: 17px;
    }

    .video-title {
        font-size: 17px;
        padding: 10px 12px;
    }

    .department-video {
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }

    .video-description {
        font-size: 13px;
        line-height: 1.5;
    }
}


/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 480px) {

    .videos-section {
        padding: 0 10px;
    }

    .video-card {
        padding: 12px;
        border-radius: 15px;
    }

    .video-title {
        font-size: 16px;
        padding: 9px 10px;
    }

    .video-description {
        font-size: 13px;
    }
}