@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

hr {
    color: #122A52;
}
h1 {
    text-align: center;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background: #0A1931;
    color: white;
    padding: 15px 0;
    text-align: center;
}

body {
   margin: 0;
   font-family: Arial, sans-serif;
}

header {
   background-color: white;
   padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgb(175, 175, 175);
    height: 20px;
    padding: 5px 20px;
 }
 
 .nav-left {
   display: flex;
   align-items: center;
 }
 
 .logo-img {
   height: 70px;
   margin-right: 10px;
 }
 
 .logo-text {
   font-size: 20px;
   font-weight: bold;
   color: black;
 }
 
 nav ul {
   list-style: none;
   display: flex;
   gap: 20px;
 }
 
 nav ul li {
   position: relative;
 }
 
 nav ul li a {
   text-decoration: none;
   color: black;
   font-size: 18px;
 }
 
 ul li a:hover {
   color: rgb(9, 164, 242);
   text-decoration: underline;
   font-weight: bold;
 }
 
 nav ul li:last-child a {
   background-color: #0A1931; /* Dark Blue */
   color: white; 
   padding: 8px 15px;
   border-radius: 5px;
   font-weight: bold;
   transition: background-color 0.3s ease;
 }
 
 nav ul li:last-child a:hover {
   background-color: #122A52; /* Slightly lighter blue on hover */
   text-decoration: none;
 }
 
 /* Dropdown Styling */
 .dropdown-menu {
   display: none;
   position: absolute;
   top: 100%;
   left: 0;
   background: white;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   padding: 10px 0;
   list-style: none;
   min-width: 150px;
   z-index: 100;
   border-radius: 5px;
 }
 
 .dropdown-menu li {
   padding: 8px 15px;
   white-space: nowrap;
 }
 
 /* Core Team & Tech Team Styling */
 .dropdown-menu li a {
   text-decoration: none;
   color: black;
   display: block;
   font-size: 18px; /* Same size as nav links */
   padding: 8px 15px;
 }
 
 .dropdown-menu li a:hover {
   background-color: rgb(9, 164, 242);
   color: white;
   font-weight: bold;
   border-radius: 5px;
 }
 
 /* Show dropdown on hover */
 .dropdown:hover .dropdown-menu {
   display: block;
 } 

/* Dropdown Styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    list-style: none;
    min-width: 150px;
}

.dropdown-menu li {
    padding: 5px 10px;
}

.dropdown-menu li a {
    text-decoration: none;
    color: black;
    display: block;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/*hero content*/
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url("img/heroimg.jpg") no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

/* Dark overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff; /* Brighter text for better contrast */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Adds depth and readability */
    padding: 20px;
    backdrop-filter: blur(5px); /* Softens the background */
    font-size: large;
}

h1 {
    font-size: 50px;
    font-weight: bold;
}

p {
    font-size: 22px;
    margin-bottom: 20px;
}

/* Icons */
.icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.icons div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

.icons i {
    font-size: 22px;
}

/* Button Styling */
.btn {
    display: inline-block;
    padding: 12px 30px;  /* Increased padding for uniform size */
    font-size: 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: center;
    min-width: 140px;  /* Ensures both buttons have the same width */
}

/* MENU TOGGLE (will show only on mobile) */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 18px;
    background: #0A1931;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
}


/* Primary Button */
.btn-primary {
    background: white;
    color: black;
    border: 2px solid white;
}

/* Outline Button */
.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

/* Hover Effect - Increases size */
.btn:hover {
    transform: scale(1.1);
}

/* Additional hover effects */
.btn-primary:hover {
    background: #ddd;
    border-color: #ddd;
}

.btn-outline:hover {
    background: white;
    color: black;
}


/* Social Icons */
.social-icons {
    margin-top: 30px;
    font-size: 24px;
    display: flex;  /* Ensures flexbox is applied */
    justify-content: center;  /* Centers icons horizontally */
    align-items: center;  /* Centers icons vertically */
    gap: 15px;  /* Adds spacing between icons */
}

.social-icons i {
    cursor: pointer;
    transition: 0.3s;
}

.social-icons i:hover {
    color: #00aaff;
}

/* Updated section name from hero to info */
.info {
    background: linear-gradient(135deg, #000428, #004e92, #1f1c2c); /* Blue, White, Black Gradient */
    color: #fff; /* White text for better contrast */
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.info-content {
    width: 70%;
}

.info-content p {
font-family: 'Poppins', sans-serif;
font-size: 18px;
line-height: 1.8;
text-align: justify;
max-width: 90%;
color: white;
}

.slideshow {
    width: 30%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.slide.active {
    display: block;
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
}

button.prev { left: 10px; }
button.next { right: 10px; }

button.prev:hover, button.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.activities {
    padding: 50px 20px;
    text-align: center;
}

.activity-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.activity {
    background: #1E3A8A;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
    font-weight: bold;
}

/* Event Section Styling */
.event-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    gap: 8px; /* Optimized gap */
    flex-direction: row-reverse;
    background: linear-gradient(135deg, #000428, #004e92, #ffffff, #1f1c2c); /* Blue, White, Black Gradient */
}

/* Event Content */
.event-content {
    flex: 1;
    max-width: 50%;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    padding: 20px;
    border-radius: 10px;
    color: #333; /* Dark gray text for readability */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Slideshow */
.slideshow {
    width: 45%; /* Bigger slideshow */
    height: 370px; /* Adjusted height */
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Depth effect */
    background: white; /* White background */
}

/* Slide Images */
.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Darker hover effect */
}

footer {
background-color: #24282f;
color: white;
padding: 40px 0;
text-align: center;
font-family: 'Poppins', sans-serif;
}

.footer-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
max-width: 1100px;
margin: auto;
}

.footer-section {
width: 30%;
min-width: 250px;
text-align: left;
}

.footer-logo {
height: 60px;
margin-bottom: 10px;
}

.footer-section h3 {
font-size: 18px;
margin-bottom: 10px;
}

.footer-section p {
font-size: 14px;
line-height: 1.5;
}

.footer-section a {
color: white;
text-decoration: none;
font-weight: bold;
}

.footer-section a:hover {
text-decoration: underline;
}

.social-icons {
display: flex;
gap: 15px;
margin-top: 10px;
}

.social-icons a {
color: white;
font-size: 20px;
transition: 0.3s;
}

.social-icons a:hover {
color:#1E90FF;
}

.footer-bottom {
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid #fff;
}

.footer-bottom p {
font-size: 12px;
margin: 5px 0;
}

/* Default size (big screen) */
#prev {
    font-size: 40px;
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    #prev {
        font-size: 32px;
    }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
    #prev {
        font-size: 26px;
    }
}

/* Small Mobile (max-width: 420px) */
@media (max-width: 420px) {
    #prev {
        font-size: 22px;
    }
}

/* Extra Small (max-width: 360px) */
@media (max-width: 360px) {
    #prev {
        font-size: 18px;
    }
}



/* ---------------- MOBILE (max-width: 600px) ---------------- */
@media (max-width: 600px) {

    /* NAVBAR WRAPPER */
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px;
        position: relative;
    }
    
    /* LOGO AREA */
    .nav-left {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .logo-text {
        font-size: 15px;
        font-weight: bold;
    }
    
    /* DEFAULT LIST HIDE */
    nav ul {
        display: none;
        position: absolute;
        top: 60px;
        right: 12px;
        width: 180px;
        background: white;
        flex-direction: column;
        padding: 10px 0;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        z-index: 999;
    }
    
    /* MENU ITEMS */
    nav ul li a {
        color: black;
        padding: 10px 14px;
        display: block;
        font-size: 14px;
    }
    
    /* SHOW MENU WHEN NAV HAS CLASS */
    nav.show-menu ul {
        display: flex;
    }
    
    /* JOIN ACM-W BUTTON */
    nav ul li:last-child a {
        background: #0A1931;
        color: white;
        margin: 5px 10px;
        border-radius: 4px;
    }
    
    /* ---------- OUR TEAM (COLLAPSIBLE) ---------- */
    
    .dropdown-menu {
        display: none; /* HIDDEN BY DEFAULT */
        flex-direction: column;
        background: #f2f2f2;
        border-left: 3px solid #0A1931;
    }
    
    .dropdown-menu li a {
        font-size: 13px;
        padding: 8px 18px;
    }
    
    /* OPEN SUBMENU */
    .dropdown.open .dropdown-menu {
        display: flex;
    }
    
    /* MENU TOGGLE BUTTON */
.menu-toggle {
    background: #0A1931;
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: none; /* Desktop hidden */
}

/* Mobile view - show toggle button */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

    }

    @media (max-width: 600px) {
    .dropdown-menu {
        display: none !important;  /* FORCE HIDE */
    }

    .dropdown:hover .dropdown-menu {
        display: none !important;  /* Mobile me hover disable */
    }

    .dropdown.open .dropdown-menu {
        display: flex !important; /* Sirf click par open hoga */
        flex-direction: column;
    }
}


  /* ---------------- EXTRA SMALL DEVICES (max-width: 420px) ---------------- */
@media (max-width: 420px) {

    .logo-img {
        height: 45px;
    }
    
    .logo-text {
        font-size: 12px;
    }
    
    /* Compact Menu */
    nav ul {
        display: none;
        position: absolute;
        top: 58px;
        right: 12px;
    
        width: 140px;       /* EVEN SMALLER FOR 420px */
        padding: 4px 0;
    
        background: white;
        flex-direction: column;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    
        gap: 4px;           /* merged here */
        z-index: 999;
    }
    
    nav ul li a {
        padding: 6px 8px;      /* smaller padding */
        font-size: 12px;       /* smaller font */
    }
    
    /* Join button small */
    nav ul li:last-child a {
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 4px;
    }
    
    /* Dropdown items smaller */
    .dropdown-menu li a {
        font-size: 11px;
        padding: 5px 0;
    }
    }
    

/* ---------------- EVENT SECTION - MOBILE (max-width: 768px) ---------------- */
@media (max-width: 768px) {

    /* Full section column layout */
    .event-section {
        flex-direction: column-reverse !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px 10px;
        gap: 15px;
    }

    .event-content {
        max-width: 95%;
        width: 100%;
        padding: 15px;
        border-radius: 10px;
    }

    /* Slideshow above the content */
    .event-section .slideshow {
        width: 95%;
        height: 260px;
        border-radius: 8px;
    }

    .event-section .slide {
        object-fit: cover;
    }
}


/* ---------------- EVENT SECTION - SMALL MOBILE (max-width: 600px) ---------------- */
@media (max-width: 600px) {

    .event-section {
        padding: 15px 8px;
        gap: 12px;
    }

    .event-content {
        padding: 12px;
        font-size: 14px;
    }

    /* Slideshow height reduce */
    .event-section .slideshow {
        width: 100%;
        height: 220px;
    }
}


/* ---------------- EVENT SECTION - EXTRA SMALL (max-width: 420px) ---------------- */
@media (max-width: 420px) {

    .event-content h2 {
        font-size: 18px;
    }

    .event-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    .event-section .slideshow {
        height: 180px;
    }
}

/* ---------------- HERO SECTION (max-width: 768px) ---------------- */
@media (max-width: 768px) {

    .hero {
    height: 55vh;
    padding: 0 15px;
    }
    
    .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
    }
    
    .hero-content p {
    font-size: 16px;
    margin-bottom: 15px;
    }
    
    .icons {
    gap: 12px;
    }
    
    .icons div {
    font-size: 14px;
    }
    
    .icons i {
    font-size: 16px;
    }
    
    .btn {
    padding: 10px 22px;
    font-size: 15px;
    }
    }
    
    
    /* ---------------- HERO SECTION (max-width: 600px) ---------------- */
    @media (max-width: 600px) {
    
    .hero {
    height: 50vh;
    }
    
    .hero-content h1 {
    font-size: 26px;
    }
    
    .hero-content p {
    font-size: 14px;
    }
    
    .icons div {
    font-size: 12px;
    }
    
    .buttons .btn {
    padding: 8px 18px;
    font-size: 13px;
    min-width: 110px;
    }
    }
    
    
    /* ---------------- HERO SECTION (max-width: 420px) ---------------- */
    @media (max-width: 420px) {
    
    .hero {
    height: 45vh;
    }
    
    .hero-content h1 {
    font-size: 22px;
    }
    
    .hero-content p {
    font-size: 13px;
    }
    
    .icons div {
    font-size: 11px;
    }
    
    .icons i {
    font-size: 14px;
    }
    
    .btn {
    padding: 7px 16px;
    font-size: 12px;
    }
    }
    
    
    
    /* ---------------- INFO / INTRO SECTION (max-width: 768px) ---------------- */
    @media (max-width: 768px) {
    
    .info {
    flex-direction: column;
    text-align: center;
    padding: 35px 20px;
    gap: 20px;
    }
    
    .info-content {
    width: 100%;
    }
    
    .info-content p {
    font-size: 16px;
    line-height: 1.7;
    }
    
    .info .slideshow {
    width: 90%;
    height: 260px;
    }
    }
    
    
    /* ---------------- INFO SECTION (max-width: 600px) ---------------- */
    @media (max-width: 600px) {
    
    .info {
    padding: 25px 15px;
    }
    
    .info-content p {
    font-size: 14px;
    }
    
    .info .slideshow {
    width: 100%;
    height: 220px;
    }
    }
    
    
    /* ---------------- INFO SECTION (max-width: 420px) ---------------- */
    @media (max-width: 420px) {
    
    .info {
    padding: 20px 10px;
    }
    
    .info-content p {
    font-size: 13px;
    }
    
    .info .slideshow {
    height: 180px;
    }
    }
    
