/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(16px, 3vw, 32px) clamp(24px, 5vw, 80px);
    width: min(90vw, 1440px);
    margin: 0 auto;

}

.nav-dots {
    display: flex;
    gap: 5px;
    cursor: pointer;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.dot-1 { background: #C3B0CA; }
.dot-2 { background: #799FCE; }
.dot-3 { background: #518AC2; }
.dot-4 { background: #B070AC; }
.dot-5 { background: #F6B793; }

.nav-links {
    display: flex;
    gap: clamp(16px, 3vw, 32px);
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

.nav-links a {
    text-decoration: none;
    color: #2C5080;
    font-size: clamp(20px, 1.5vw, 16px);
    padding: 8px 16px;
    border-radius: 20px;
    transition: background 0.3s;
}

.nav-links a.active {
    background: #2C5080;
    color: white;
}

.nav-links a:hover {
    background: #2C5080;
    color: white;
}

.nav-links a.active:hover {
    background: #5A8AC0;
}

/* About Section - same structure as index.html */
.about-container {
    width: min(90vw, 1440px);
    margin: 0 auto;
}

.frame {
    width: min(92vw, 1440px);
    margin: 0 auto;
    position: relative;
    background-image: url("../assets/bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: white;
    margin: 0 auto 40px auto;
    overflow: hidden;
}

.about-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: clamp(30px, 5vw, 60px) clamp(40px, 6vw, 80px);
    z-index: 1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Stack cards vertically */
    gap: 20px; /* Space between cards */
}

.about-card {
    width: 100%;
    background: rgba(68, 115, 177, 0.8);
    backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 35px);
    display: flex;
    flex-direction: column;
    text-align: left;;
    gap: 30px;
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.project-info {
    flex: 1;
    color: white;
    overflow: hidden;
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 0 auto;
}

.contact-item {
    color: white;
    text-decoration: none;
    font-size: clamp(13px, 1.5vw, 16px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}

.material-symbols-outlined {
    font-size: 16px;
    line-height: 1;
    vertical-align: middle;
} 
.name {
    font-family: "Archivo Black", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.title {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-style: italic;
    margin: 0 15px;
    opacity: 0.95;
}

.project-title {
    font-family: "Archivo Black", sans-serif;
    font-size: clamp(1rem, 4vw, 3rem);
    color: #F6B793;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.section {
    margin-bottom: 20px;
}

.section h2 {
    font-family: "Archivo Black", sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 12px;
}

.section p {
    font-size: clamp(0.85rem, 1.3vw, 1.05rem);
    line-height: 1.6;
    margin-bottom: 8px;
}

.section strong {
    font-weight: 600;
}

.honors em {
    font-style: italic;
}

.download-btn {
    display: inline-block;
    padding: 15px 18px;
    border-radius: 999px;
    background: linear-gradient(
        to bottom,
        rgba(44, 80, 128, 0.6),
        rgba(121, 159, 206, 0.6)
    );
    backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
    margin: 10px 0;
}

.download-btn:hover {
    background: linear-gradient(
        to bottom,
        rgba(28, 53, 87, 0.6),
        rgba(68, 101, 141, 0.6)
    );
}

@media (max-width: 768px) {
    .hero-container,
    .main-section,
    .frame {
        width: 100%;
        margin: 0;
    }

    .frame {
        position: relative;
        min-height: 100svh;  /* full screen on mobile */
        overflow: hidden;
    }

    .hero-image {
        position: absolute;
        inset: 0;            /* top/right/bottom/left: 0 */
        width: 100%;
        height: 100%;
        object-fit: cover;   /* THIS makes it act like a background */
        z-index: 0;
    }

    .hero-title,
    .navbar {
        position: absolute;
        z-index: 10;         /* above the image */
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 16px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 20px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

        width: fit-content;
        display: inline-flex;
        justify-content: center;
        width: 95%;
    }

    .nav-dots { display: none; } /* optional: pills are cleaner without dots */

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 15px;
        padding: 6px 12px;
    }

    .about-card {
        margin-top: 4rem;;
    }
    .contact-item { 
        font-size: clamp(12px, 3vw, 14px)   
    }
    .section {
        margin-bottom: 10px;
    }
}

.mobile-only{ display: none; }

@media (max-width: 768px){
    .desktop-only{ display: none; }
    .mobile-only{ display: block; }
}