
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
:root {
    --navbar-height: 70px;
}
.scroll-arrow {
    position: fixed;
    right: 20px;
    top: calc(var(--navbar-height, 70px) + 12px);
    z-index: 900; 
    background: rgba(255, 98, 0, 0.95);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.18s ease, background 0.18s ease, opacity 0.2s ease;
    border: none;
}
.scroll-arrow svg {
    display: block;
    width: 20px;
    height: 20px;
}
.scroll-arrow:hover, .scroll-arrow:focus {
    
    transform: translateY(-2px) scale(1.03);
    outline: none;
}
.scroll-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

#upArrow {
    bottom: 20px;
    top: auto; 
}

@media (max-width: 768px) {
    .scroll-arrow {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 1200px) {
    :root { --navbar-height: 68px; }
    .scroll-arrow {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 768px) {
    
    :root { --navbar-height: 62px; }
    .scroll-arrow {
        width: 52px; 
        height: 52px;
        right: 14px;
        box-shadow: 0 8px 18px rgba(0,0,0,0.4);
    }
    #upArrow {
        bottom: 22px;
    }
}

@media (max-width: 480px) {
    :root { --navbar-height: 56px; }
    .scroll-arrow {
        width: 50px;
        height: 50px;
        right: 12px;
    }
    #upArrow {
        bottom: 16px;
    }
}

.scroll-arrow:focus-visible {
    box-shadow: 0 0 0 3px rgba(0,183,235,0.25), 0 6px 14px rgba(0,0,0,0.35);
}

.scroll-arrow svg { stroke: currentColor; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    color: #ff6200; /* Saffron accent */
}

a {
    text-decoration: none;
    color: #00b7eb; /* Blue accent */
}

a:hover {
    color: #ff6200;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #111;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-links li {
    margin-left: 0;
}

.nav-links a {
    color: #fff;
    font-size: 16px;
    padding: 10px 15px;
    white-space: nowrap;
}

.nav-links a.active, .nav-links a:hover {
    color: #ff6200;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('../assets/rocket-bg.jpg') no-repeat center center/cover;
    color: #fff;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

.tagline {
    font-size: 24px;
    font-style: italic;
    color: #00b7eb;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ff6200;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
}

.cta-button:hover {
    background-color: #00b7eb;
}

/* Sections */
.about, .department, .project, .sponsors, .contact {
    padding: 100px 5%;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.department-grid, .sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.department-department, .sponsor {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.department-department h3 {
    margin-bottom: 10px;
}

/* Team Member Styles */
.department-members {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.department-member {
    background-color: #2a2a2a50;
    padding: 10px;
    border-radius: 5px;
    text-align: left;
}

.member-name {
    display: block;
    font-weight: 600;
    color: #fff;
    font-size: 16px;
}

.member-role {
    display: block;
    font-size: 14px;
    color: #cccccc;
    margin: 5px 0;
}

.member-email {
    font-size: 14px;
    color: #00b7eb;
}

.member-email:hover {
    color: #ff6200;
}

/* Contact Form */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 20px auto;
}

#contact-form input, #contact-form textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
}

#contact-form textarea {
    height: 150px;
}

#contact-form button {
    background-color: #ff6200;
    border: none;
    padding: 15px;
    cursor: pointer;
}

#contact-form button:hover {
    background-color: #00b7eb;
}
.galleryy{
   display: grid;
  grid-template-columns: repeat(3, 1fr); /* Responsive columns */
  gap: 20px; 
  padding: 20px;
  box-sizing: border-box;
}
.galleryy img {
  width: 100%; 
  height: 400px; 
  object-fit: cover; 
  object-position: center; 
  display: block;
  border-radius: 20px;
}
section[role="region"] {
  margin: 20px auto;
  max-width: 1320px; 
  padding: 20px;
}
.gal_nav{
    width: 100%;
    max-width: 300px;
    height: 50px;
    margin: 100px 20px 20px auto;
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
}
.gal_nav > ul{
    gap: 20px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: center;
    padding-inline-start: 0;
    margin-block: 0;
    height: 100%;
}
.gal_nav > ul > li{
     color: white !important;
    margin: 0 0.2rem;
    padding: 0.2rem;
    display: block;
}
.gal_nav > ul > li > a {
  color: white; 
  text-decoration: none;
  font-size: 18px;
}
.gal_nav > ul > li:hover{
    color : #ff6200;
}
.gal_nav > ul > li:hover > a {
  color: #ff6200; 
}
#current-album{
    padding-bottom: 50px;
    font-size: 30px;
}
#total-album{
    padding-bottom: 50px;
    font-size: 30px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about, .department, .project, .sponsors, .contact {
        padding: 80px 5%;
    }
    
    .navbar {
        padding: 15px 4%;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .logo img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .about, .department, .project, .sponsors, .contact {
        padding: 60px 4%;
    }

    .navbar {
        padding: 12px 3%;
    }
    
    .logo h2 {
        font-size: 1.3rem !important;
        gap: 8px !important;
    }
    
    .logo img {
        height: 35px;
        width: auto;
    }
    
    .nav-links a {
        font-size: 12px;
        padding: 6px 10px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #111;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .department-department {
        padding: 15px;
    }

    .member-name {
        font-size: 14px;
    }

    .member-role, .member-email {
        font-size: 12px;
    }
    
    .department-grid, .sponsor-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .galleryy 
    {
    grid-template-columns: 1fr; 
    }
    
    .galleryy img 
    {
        height: 250px;
    }
    
    .gal_nav 
    {
        max-width: 100%; 
        margin-left: 0;
        padding: 0 10px;
    }
    
    .gal_nav > ul > li > a 
    {
        font-size: 16px;
    }
    
    section[role="region"] 
    {
        padding: 10px; 
    }
}

@media (max-width: 480px) {
    .about, .department, .project, .sponsors, .contact {
        padding: 40px 3%;
    }

    .navbar {
        padding: 10px 2%;
        gap: 5px;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .logo h2 {
        font-size: 0.9rem !important;
        gap: 5px !important;
    }
    
    .logo img {
        height: 28px;
        width: auto;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #111;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        font-size: 13px;
        padding: 12px 4%;
        text-align: center;
        border-bottom: 1px solid #222;
    }

    .hamburger {
        display: block;
        font-size: 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .department-grid, .sponsor-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .department-department, .sponsor {
        padding: 15px;
    }

    .member-name {
        font-size: 13px;
    }

    .member-role, .member-email {
        font-size: 11px;
    }

    .galleryy img {
        height: 180px;
    }

    .gal_nav {
        margin: 50px 10px 10px 0;
        padding: 0 5px;
    }

    .gal_nav > ul > li > a {
        font-size: 13px;
    }

    section[role="region"] {
        margin: 10px;
        padding: 10px;
    }
}
/* about section design */
.ignition-sequence {
    text-align: center;
    padding: 160px 20px;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    position: relative;
    overflow: hidden;
}

.countdown-line {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #ccc;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-in-out;
    margin: 20px 0;
}

.countdown-line span {
    color: #00b7eb;
}

.countdown-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.countdown-line.final {
    font-size: 28px;
    color: #ff6200;
    margin-top: 40px;
}

.tagline {
    font-style: italic;
    font-size: 18px;
    color: #00b7eb;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 2s ease 5s forwards;
}


.smoke {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 300px;
    height: 200px;
    background: radial-gradient(circle at 50% 80%, rgba(255,255,255,0.15), transparent 70%);
    transform: translateX(-50%);
    animation: smokeRise 6s infinite ease-in-out;
    filter: blur(20px);
}

@keyframes smokeRise {
    0% { opacity: 0.2; transform: translate(-50%, 20px) scale(1); }
    50% { opacity: 0.4; transform: translate(-50%, -20px) scale(1.2); }
    100% { opacity: 0.2; transform: translate(-50%, 20px) scale(1); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}


.about-content {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s ease-in-out;
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-content h2, .about-content h3 {
    color: #ff6200;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 15px;
}





