 /* === GENERAL STYLES (Existing & Polished) === */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
}

a {
    color: inherit;
}

main {
    padding-top: 80px; /* Offset for fixed header */
}

.main-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 80px;
  background-color: #ffffff;
  color: #000000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.logo img {
  height: 50px;
  content: url('img/logo.png');
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
}

.main-nav ul li {
  margin: 0 20px;
  position: relative;
}

.main-nav ul li a {
  font-weight: 500;
  font-size: 16px;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #c500ed;
  transition: width 0.3s ease-in-out;
}

.main-nav ul li a:hover {
  color: #c500ed;
}

.main-nav ul li a:hover::after {
  width: 100%;
}

.programslist .programslist1{
        display: none;
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 300px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    opacity: 0;
    color: #000000;
    visibility: hidden;
    transition: top 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.programslist:hover .programslist1{
     display: block;
    top: 100%;
    opacity: 1;
    visibility: visible;
}
.programslist1 ul{
    flex-direction: column;
}
.programslist1 ul li {
    margin: 0;
    width: 100%;
}
.programslist1 ul li a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    white-space: nowrap;
}
.programslist1 ul li a:hover {
    background-color: #000000;
    color: rgb(254, 254, 255);
}

.programslist1 ul li a i {
    margin-left: 8px;
}

.others .other-main {
  display: none;
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  color: rgb(6, 6, 6);
  min-width: 300px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.others:hover .other-main {
  display: block;
  top: 100%;
  opacity: 1;
  visibility: visible;
}

.other-main ul {
  display: flex;
  flex-direction: column;
}

.other-main ul li {
  margin: 0;
  width: 100%;
}

.other-main ul li a {
  padding: 12px 20px;
  display: block;
  font-size: 14px;
  white-space: nowrap;
}

.other-main ul li a:hover {
  background-color: #212128;
  color: rgb(255, 254, 255);
}

.other-main ul li a i {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
  z-index: 1002;
}

.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.4s ease-in-out;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  color: white;
  background-color: #c500ed;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
  padding-top: 100px;
}

.side-menu nav ul {
  display: flex;
  flex-direction: column;
}

.side-menu nav li {
  width: 100%;
}

.side-menu nav a {
  display: block;
  padding: 18px 30px;
  font-size: 1.6em;
  font-weight: 400;
  transition: background-color 0.3s, color 0.3s;
}

.side-menu nav a:hover {
  color: #ffffff;
}

#menu-toggle:checked ~ .side-menu {
  transform: translateX(0);
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }
}
 
 body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: #333;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }
        .hero {
            position: relative;
            margin-top: 80px;
            height: 100vh;
            background: linear-gradient(rgba(197, 0, 237, 0.5), rgba(138, 43, 226, 0.5)), url(img/annie-spratt-feU8G7E5ODI-unsplash.jpg) no-repeat center center/cover;
            color: white;
            background-attachment: fixed;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: inset 0 0 100px rgba(0,0,0,0.3);
        }
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
        }
        .hero h1, .hero p {
            position: relative;
            z-index: 1;
            max-width: 900px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }
        .hero h1 {
            font-size: 3.5em;
            margin: 0;
        }
        .hero p {
            font-size: 1.5em;
            margin-top: 20px;
        }
        section {
            background-color: white;
            margin: 40px auto;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            max-width: 1200px;
            transition: box-shadow 0.3s ease;
        }
        section:hover {
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }
        .section-hero {
            position: relative;
            height: 400px;
            background-size: cover;
            background-position: center;
            border-radius: 12px 12px 0 0;
            margin: -40px -40px 30px -40px;
        }
        .section-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(197, 0, 237, 0.3), rgba(138, 43, 226, 0.3));
            border-radius: 12px 12px 0 0;
        }
        section h2 {
            color: #c500ed;
            border-bottom: 3px solid #8a2be2;
            padding-bottom: 15px;
            margin-bottom: 30px;
            font-size: 2.5em;
        }
        section h3 {
            color: #8a2be2;
            font-size: 1.8em;
            margin-top: 40px;
        }
        section h4 {
            color: #333;
            font-size: 1.4em;
            margin-top: 20px;
        }
        ul {
            list-style-type: square;
            padding-left: 30px;
            margin: 10px 0;
        }
        .program-section {
            margin-bottom: 80px;
        }
        .sub-programs {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        .card {
            background-color: #fdfdfd;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 25px rgba(197, 0, 237, 0.2);
        }
        .card i {
            color: #c500ed;
            margin-bottom: 20px;
        }
        .btn-get-involved {
            display: inline-block;
            margin-top: 20px;
            padding: 12px 24px;
            background-color: #c500ed;
            color: white;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }
        .btn-get-involved:hover {
            background-color: #8a2be2;
        }
        footer {
            background-color: #000;
            color: white;
            text-align: center;
            padding: 30px;
            margin-top: 60px;
        }
        @media (max-width: 1024px) {
            .hero {
                height: 450px;
            }
            .hero h1 {
                font-size: 3em;
            }
            .hero p {
                font-size: 1.3em;
                padding: 0 20px;
            }
            .section-hero {
                height: 350px;
            }
            section {
                padding: 35px;
                margin: 30px auto;
            }
            .sub-programs {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 25px;
            }
            .card {
                padding: 25px;
            }
        }
        @media (max-width: 768px) {
            .hero {
                height: 500px;
            }
            .hero h1 {
                font-size: 2.5em;
            }
            .hero p {
                font-size: 1em;
            }
            .section-hero {
                height: 250px;
                margin: -30px -30px 20px -30px;
            }
            section {
                padding: 30px;
                margin: 20px;
            }
            section h2 {
                font-size: 2em;
            }
            section h3 {
                font-size: 1.4em;
            }
            .sub-programs {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .card {
                padding: 20px;
            }
            .btn-get-involved {
                padding: 10px 20px;
                font-size: 1em;
            }
        }
        @media (max-width: 480px) {
            .hero {
                height: 300px;
                padding: 20px;
            }
            .hero h1 {
                font-size: 2em;
            }
            .hero p {
                font-size: 1em;
            }
            .section-hero {
                height: 200px;
                margin: -20px -20px 15px -20px;
            }
            section {
                padding: 20px;
                margin: 10px;
            }
            section h2 {
                font-size: 1.8em;
            }
            section h3 {
                font-size: 1.3em;
            }
            ul {
                padding-left: 20px;
            }
            .card i {
                font-size: 2em;
            }
            .btn-get-involved {
                width: 100%;
                text-align: center;
            }
        }

        .footer {
    padding: 5vh 0 10vh 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: black;
    color: white;
}

.footer1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 2px solid white;
    padding-bottom: 40px;
    width: 86%;
}

.logo1 {
    display: flex;
    align-items: flex-start;
}

.logo1 img {
    height: 80px;
}

.logo1 h4 {
    font-size: 6.5em;
    font-weight: 700;
    margin-left: 20px;
}

.contact-bthn {
    width: 80%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 50px 0 80px 0;
}

.btn33, .btn34 {
    height: 80px;
    width: 100%;
    max-width: 260px;
    background: transparent;
    color: white;
    border: 1px solid white;
    font-weight: 500;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.btn33:hover, .btn34:hover {
    background-color: white;
    color: black;
}

.credentials {
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.credentials p {
    font-size: 1em;
    font-weight: 400;
}

.links2 ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

.links2 .wow {
    border-right: 1px solid #8a2be2;
    padding-right: 20px;
}

.wow a {
    color: #8a2be2;
}

.links2 ul li a {
    font-size: 1.1em;
    font-weight: 500;
    transition: .3s;
}

.links2 ul li a:hover {
    color: #8a2be2;
}



/* Tablets and smaller desktops */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .portfoliogrid {
        columns: 2 200px;
    }

    .logo1 h4 {
        font-size: 4em;
    }

    .contact-bthn {
        flex-direction: column;
        width: 90%;
        padding: 40px 0;
    }

    .btn33, .btn34 {
        font-size: 1em;
        height: 70px;
        max-width: 100%;
    }

    .credentials {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        text-align: center;
    }

    .links2 ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* --- Responsive Design --- */

@media screen and (max-width: 768px) {
    #hero h1 {
        /* Significantly reduce font size for tablets and mobiles */
        font-size: 4.5em;
    }

    #hero p {
        /* Slightly reduce paragraph font size */
        font-size: 1.2rem;
    }

    
    .logo1 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo1 h4 {
        font-size: 3em;
        margin-left: 0;
        margin-top: 10px;
    }

    .footer1 {
        width: 90%;
        padding-bottom: 20px;
    }

    .contact-bthn {
        width: 90%;
    }

    .credentials {
        padding: 0 1rem;
    }

    .links2 .wow {
        display: list-item; /* Show "Follow Us" again */
        border-right: 1px solid #8a2be2;
        padding-right: 20px;
    }
}

@media screen and (max-width: 480px) {
    /* .hero {
        height: 900px;
        padding: 0 10px;
    } */
    .hero h1 {
        /* Further reduce font size for small mobile screens */
        font-size: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: normal;
    }

    #framework h2 {
    font-size: 1.5em;
}
}



/* --- Responsive Design --- */
@media (min-width: 768px) {
    section {
        padding: 80px 40px;
    }

    #summercamp .container {
        grid-template-columns: 1fr 1fr;
    }



    container h1 {
        font-size: 4rem;
        gap: 2rem;
    }


}