/* General Styling */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: white;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f1f1f;
    padding: 15px 20px;
}
body {
    overflow-x: hidden;
}

/* Left Header Section */
.header-left {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    margin-right: 15px;
}


/* Navigation Links */
nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #f39c12;
}

/* Layout */
.container {
    display: flex;
    height: calc(100vh - 60px);
}

/* Menu Icon (Hidden by Default on Desktop) */
.menu-icon {
    font-size: 24px;
    cursor: pointer;
    display: none;
}

/* Sidebar */
.sidebar {
    width: 220px;
    background: #181818;
    padding: 15px;
    transition: transform 0.3s ease-in-out;
    position: relative; /* Ensure it's positioned correctly */
    z-index: 1000; /* Keep it on top of everything */
}

/* Sidebar List */
.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: white;
    padding: 10px;
    display: block;
    transition: 0.3s;
}

.sidebar ul li a:hover {
    background: #f39c12;
    border-radius: 5px;
}

/* Main Content */
.content {
    flex-grow: 1;
    padding: 20px;
}

/* Cards */
.cards {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.card {
    width: 300px;
    padding: 20px;
    background: #222;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease-in-out, background 0.3s;
}

.card:hover {
    transform: scale(1.05);
    background: #f39c12;
    color: black;
}

/* Mobile View */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .container {
        flex-direction: column;
    }

    .sidebar {
        position: fixed;
        left: -250px;
        top: 60px;
        height: 100%;
        width: 220px;
        transition: 0.3s;
    }

    .sidebar.active {
        left: 0;
    }

    .content {
        padding: 10px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }
}
/* Highlight Active Sidebar Link */
.sidebar ul li a.active {
    background: #f39c12;
    color: black;
    font-weight: bold;
    border-radius: 5px;
}

/* Contact Page Sections */
.contact-section {
    background: #222;
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease-in-out, background 0.3s;
}

.contact-section:hover {
    transform: scale(1.02);
    background: #b5afaf;
    color: black;
}

/* Email Links */
.contact-section a {
    color: #f39c12;
    font-weight: bold;
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}
/* Highlight Active Sidebar Link */
.sidebar ul li a.active {
    background: #f39c12;
    color: black;
    font-weight: bold;
    border-radius: 5px;
}

/* Semester Boxes */
.semesters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.semester-box {
    background: #222;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.semester-box:hover {
    transform: scale(1.05);
    background: #f39c12;
    color: black;
}
/* Highlight Active Sidebar Link */
.sidebar ul li a.active {
    background: #f39c12;
    color: black;
    font-weight: bold;
    border-radius: 5px;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Event Card Styling */
.event-card {
    background: #222;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s;
}

.event-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 165, 0, 0.3);
}

.event-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.event-card h3 {
    margin: 10px 0;
    font-size: 20px;
    color: #f39c12;
}

.event-card p {
    font-size: 14px;
    margin: 3px 0;
}

/* Register Button */
.event-card button {
    background: #f39c12;
    border: none;
    padding: 8px 15px;
    margin-top: 8px;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.event-card button:hover {
    background: #ffae42;
}

/* Remove button for Expired Events */
.event-card p:last-child {
    font-weight: bold;
    color: red;
}
/* Highlight Active Sidebar Link */
.sidebar ul li a.active {
    background: #f39c12;
    color: black;
    font-weight: bold;
    border-radius: 5px;
}

/* Coming Soon Section */
.coming-soon {
    margin-top: 30px;
    text-align: center;
    background: rgba(255, 165, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    animation: fadeIn 1s ease-in-out;
}

.coming-soon p {
    font-size: 18px;
    font-weight: bold;
    color: #ffae42;
    margin-bottom: 10px;
}

.coming-soon img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.3);
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Highlight Active Sidebar Link */
.sidebar ul li a.active {
    background: #f39c12;
    color: black;
    font-weight: bold;
    border-radius: 5px;
}

/* Highlight Active Sidebar Link */
.sidebar ul li a.active {
    background: #f39c12;
    color: black;
    font-weight: bold;
    border-radius: 5px;
}

/* Workshop Section */
.workshop-section {
    text-align: center;
    margin-top: 20px;
}

.workshop-card {
    background: #222;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s;
    margin: 20px auto;
    max-width: 400px;
}

.workshop-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 165, 0, 0.3);
}

.workshop-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.workshop-card h3 {
    margin: 10px 0;
    font-size: 20px;
    color: #f39c12;
}

.workshop-card p {
    font-size: 14px;
    margin: 5px 0;
}

.workshop-card a {
    color: #ffae42;
    text-decoration: none;
    font-weight: bold;
}

.workshop-card button {
    background: #f39c12;
    border: none;
    padding: 8px 15px;
    margin-top: 8px;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.workshop-card button:hover {
    background: #ffae42;
}

/* Coming Soon */
.coming-soon {
    color: #f39c12;
    margin-top: 40px;
    font-size: 22px;
}

.teaser-image {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}
.host-workshop-btn {
    background: #f39c12;
    border: none;
    padding: 10px 15px;
    margin-top: 15px;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.host-workshop-btn:hover {
    background: #ffae42;
}
.host-competition-btn {
    background: #f39c12;
    border: none;
    padding: 10px 15px;
    margin-top: 15px;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.host-competition-btn:hover {
    background: #ffae42;
}

.highlight {
    font-size: 20px;
    font-weight: bold;
    color: #f39c12;
}

.teaser-image {
    width: 100%;
    max-width: 500px;
    margin-top: 15px;
    border-radius: 8px;
}
.career-list {
    list-style: none;
    padding: 0;
}

.career-list li {
    margin: 8px 0;
    font-size: 16px;
    padding-left: 20px;
    position: relative;
}

.career-list li::before {
    content: "✔️";
    position: absolute;
    left: 0;
    color: green;
    font-weight: bold;
}

.warning {
    background: #db2929;
    padding: 10px;
    border-left: 5px solid #ff6600;
    font-weight: bold;
    margin-top: 15px;
}

.offer-internship-btn {
    background: #f39c12;
    border: none;
    padding: 10px 15px;
    margin-top: 15px;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.offer-internship-btn:hover {
    background: #ffae42;
}
.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    margin: 8px 0;
    font-size: 16px;
    padding-left: 20px;
    position: relative;
}

.about-list li::before {
    content: "🔹";
    position: absolute;
    left: 0;
    color: #f39c12;
    font-weight: bold;
}

.host-event-btn {
    background: #f39c12;
    border: none;
    padding: 10px 15px;
    margin-top: 15px;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.host-event-btn:hover {
    background: #ffae42;
}
.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    margin: 8px 0;
    font-size: 16px;
    font-weight: bold;
    padding-left: 20px;
    position: relative;
}

.about-list li::before {
    content: "⭐";
    position: absolute;
    left: 0;
    color: #f39c12;
    font-weight: bold;
}
.custbghan {
    background: url('comingsoon.gif') no-repeat center center;
    background-size: cover;
}
.highlight {
    color: #ffcc00;
    font-weight: bold;
}

.feature-card {
    display: flex;
    background-color: #1e1e1e;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
    transition: transform 0.3s ease-in-out;
}

.feature-card:hover {
    transform: scale(1.02);
}

.feature-card img {
    width: 180px;
    height: 120px;
    border-radius: 5px;
    margin-right: 15px;
}

.feature-content {
    flex-grow: 1;
}

.feature-content h2 {
    color: #ffcc00;
    margin: 0;
}

.feature-content p {
    font-size: 14px;
    color: #ddd;
}

.visit-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #ffcc00;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.visit-btn:hover {
    background-color: #e6b800;
}
.feedback-box {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
    margin-top: 20px;
    text-align: center;
}

.feedback-box h2 {
    color: #ffcc00;
    margin-bottom: 10px;
}

.feedback-box p {
    font-size: 14px;
    color: #ddd;
    line-height: 1.5;
}

.feedback-box ul {
    list-style: none;
    padding: 0;
}

.feedback-box li {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 5px;
}

.feedback-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 18px;
    background-color: #ffcc00;
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.feedback-btn:hover {
    background-color: #e6b800;
}
/* About Page Enhancements */
.hanabt-title {
    text-align: center;
    font-size: 28px;
    color: #ffcc00;
    animation: fadeIn 1s ease-in-out;
}

.hanabt-highlight {
    color: #ffcc00;
    font-weight: bold;
}

.hanabt-about-card {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 204, 0, 0.5);
    transition: transform 0.3s ease-in-out;
}

.hanabt-about-card:hover {
    transform: scale(1.02);
}

.hanabt-description, .hanabt-mission {
    font-size: 16px;
    color: #ddd;
    margin-bottom: 15px;
    animation: slideUp 0.8s ease-in-out;
}

.hanabt-features-title {
    font-size: 20px;
    color: #ffcc00;
    margin-top: 20px;
    animation: fadeIn 1.2s ease-in-out;
}

.hanabt-features-list {
    list-style: none;
    padding: 0;
    animation: slideUp 1s ease-in-out;
}

.hanabt-features-list li {
    font-size: 15px;
    color: #bbb;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.hanabt-features-list li::before {

    position: absolute;
    left: 0;
    color: #ffcc00;
    font-size: 16px;
}

/* Founder Section */
.hanabt-founder-card {
    display: flex;
    align-items: center;
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0px 0px 15px rgba(255, 204, 0, 0.5);
    transition: transform 0.3s ease-in-out;
}

.hanabt-founder-card:hover {
    transform: scale(1.02);
}

.hanabt-founder-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid #ffcc00;
    animation: fadeIn 1s ease-in-out;
}

.hanabt-founder-content {
    color: #ddd;
    animation: slideUp 1s ease-in-out;
}

.hanabt-founder-content h2 {
    color: #ffcc00;
    margin-bottom: 10px;
}

.hanabt-social-links {
    margin-top: 10px;
}

.hanabt-social-links a {
    display: inline-block;
    margin-right: 10px;
    color: #ffcc00;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease-in-out;
}

.hanabt-social-links a:hover {
    color: #fff;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* About Page Enhancements */
.hanabt-title {
    text-align: center;
    font-size: 28px;
    color: #ffcc00;
    animation: fadeIn 1s ease-in-out;
}

.hanabt-highlight {
    color: #ffcc00;
    font-weight: bold;
}

/* About Card */
.hanabt-about-card {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 204, 0, 0.5);
    transition: transform 0.3s ease-in-out;
}

.hanabt-about-card:hover {
    transform: scale(1.02);
}

.hanabt-description {
    font-size: 16px;
    color: #ddd;
    margin-bottom: 15px;
    animation: slideUp 0.8s ease-in-out;
}

.hanabt-section-title {
    font-size: 20px;
    color: #ffcc00;
    margin-top: 20px;
    animation: fadeIn 1.2s ease-in-out;
}

/* Founder Section */
.hanabt-founder {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 204, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    animation: fadeIn 1.5s ease-in-out;
}

.hanabt-founder-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffcc00;
}

.hanabt-founder-desc {
    font-size: 15px;
    color: #ccc;
}

.hanabt-link {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
}

.hanabt-link:hover {
    text-decoration: underline;
}

/* Features List */
.hanabt-features-list {
    list-style: none;
    padding: 0;
    animation: slideUp 1s ease-in-out;
}

.hanabt-features-list li {
    font-size: 15px;
    color: #bbb;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.hanabt-features-list li::before {
    position: absolute;
    left: 0;
    color: #ffcc00;
    font-size: 16px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.hero-section {
    text-align: center;
    padding: 50px 20px;
    color: #fff;
    border-radius: 10px;
    animation: fadeIn 1s ease-in-out;
    position: relative;
    overflow: hidden;
    z-index: 1; /* Ensure it's above the background */
}

/* Background GIF */
.hero-section::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('bl2.gif') center/cover no-repeat;
    opacity: 0.4; /* Adjust visibility */
    z-index: -1000; /* Push the GIF deep into the background */
    pointer-events: none; /* Ensure it does not block interactions */
}



.hero-section h1 {
    font-size: 2rem;
    font-weight: bold;
}
.hero-section p {
    font-size: 1.2rem;
    margin-top: 10px;
}
.cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #ffcc00;
    color: #333;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s ease;
}
.cta-button:hover {
    background: #ffdb4d;
}

/* Live Event Ticker */
.event-ticker {
    margin: 20px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
}
.event-ticker marquee {
    font-size: 1rem;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}
.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}
/* Custom Image Slider Box */
.custom-image-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

/* Black Box with White Hover Shadow */
.custom-slider-box {
    background: #000;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
    transition: 0.3s ease-in-out;
    max-width: 600px;
    width: 90%;
}

/* On Hover, Increase Shadow */
.custom-slider-box:hover {
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.8);
}

/* Image Container with 4:3 Aspect Ratio */
.custom-slider-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    border-radius: 10px;
}
/* Ensure Footer is Below Content */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.container {
    flex: 1; /* This pushes the footer down */
}

/* Images Styling */
.custom-slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    .custom-image-slider {
        margin-bottom: 50px; /* Increase gap between slider and footer */
    }
    
    object-fit: cover; /* Ensures image fills the box */
    background-color: black;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Active Image */
.custom-slider-image.active {
    opacity: 1;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.content .hanbuttonv1 {  
    background: red !important; 
    color: white !important;
    padding: 8px 15px !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    font-size: 14px !important;
}

.content .hanbuttonv1:hover {  
    background: darkred !important;
}
.content .hanbuttonv2 {  
    background: rgb(12, 180, 29) !important; 
    color: white !important;
    padding: 8px 15px !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    font-size: 14px !important;
}

.content .hanbuttonv2:hover {  
    background: rgb(35, 73, 29) !important;
}
