
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}


/* =========================================================
   LAYOUT SECTIONS
   ========================================================= */

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #001f3f;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: white;
    color: #001f3f;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgb(0, 11, 34);
}

.btn-secondary:hover {
    background: white;
    color: #001f3f;
}


/* =========================================================
   INFO GRID / CARDS
   ========================================================= */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: #001f3f;
    margin-bottom: 1rem;
}


/* =========================================================
   STATS SECTION
   ========================================================= */

.stats {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    color: white;
    text-align: center;
}

.stats-number {
    font-size: 4rem;
    font-weight: 700;
    margin: 1rem 0;
}


/* =========================================================
   GROUP / TEAM SECTION
   ========================================================= */

.groups-section {
    background: #f8f9fa;
}

.groups-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.group-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.group-card h3 {
    color: #001f3f;
    margin-bottom: 1rem;
}


/* =========================================================
   BADGES
   ========================================================= */

.group-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.badge-am {
    background: #ffd700;
    color: #333;
}

.badge-pm {
    background: #4169e1;
    color: white;
}


/* =========================================================
   PROJECT GALLERY
   ========================================================= */

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}

.project-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    background: #e9ecef;
}


/* =========================================================
   MODALS
   ========================================================= */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    color: #001f3f;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.close-btn {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close-btn:hover {
    color: #333;
}


/* =========================================================
   FORMS
   ========================================================= */

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}


/* =========================================================
   ADMIN PANEL
   ========================================================= */

.admin-panel {
    position: fixed;
    top: 60px;
    right: 20px;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    width: 220px;
    z-index: 1000;
}


/* =========================================================
   STAFF LOGIN BUTTON
   ========================================================= */

.staff-login-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    z-index: 100;
}

.staff-login-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}


/* =========================================================
   UTILITIES
   ========================================================= */

.hidden {
    display: none;
}

/* =========================================================
   TAGS
   ========================================================= */
.review-tag {
    padding: 8px 14px;
    border-radius: 20px;
    border: 2px solid #001f3f;
    background: white;
    color: #001f3f;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.review-tag.selected {
    background: #001f3f;
    color: white;
}

.review-tag:hover {
    background: #001f3f;
    color: white;
}