* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    background: #000 !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    color: #fff !important;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-link:hover {
    color: #dc3545 !important;
}

/* Hero Banner */
.hero-banner {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-attachment: fixed;
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-banner .container {
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.badge {
    font-weight: 600;
    padding: 8px 16px;
}

/* Sections */
section {
    scroll-margin-top: 70px;
}

h2 {
    font-weight: 700;
    color: #000;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #dc3545;
}

section h2 {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-danger {
    background: #dc3545;
    border: none;
    /* padding: 12px 30px; */
    font-size: 1.05rem;
}

.btn-danger:hover {
    background: #c82333;
    transform: scale(1.05);
}

.btn-dark {
    background: #000;
    border: none;
    font-weight: 600;
}

.btn-dark:hover {
    background: #333;
}

/* Form Styling */
.form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 12px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* Drag & Drop Area */
#dropArea {
    border: 2px dashed #ccc !important;
    background-color: #f9f9f9 !important;
    transition: all 0.3s;
}

#dropArea:hover,
#dropArea.highlight,
#studentIdDropArea:hover,
#studentIdDropArea.highlight {
    border-color: #dc3545 !important;
    background-color: #fff5f5 !important;
}

#dropArea p {
    margin-bottom: 0;
    color: #666;
}

#dropArea a,
#studentIdDropArea a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
}

#dropArea a:hover,
#studentIdDropArea a:hover {
    text-decoration: underline;
}

#photoPreviewContainer img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 4px;
    margin-top: 10px;
}

#studentIdPreviewContainer img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 4px;
    margin-top: 10px;
}

/* Amount Selection */
.btn-group {
    gap: 10px;
}

.btn-check:checked + .btn-outline-dark {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.btn-outline-dark {
    border: 2px solid #000;
    color: #000;
    font-weight: 600;
}

.btn-outline-dark:hover {
    background-color: #000;
    color: #fff;
}

/* Gallery */
.gallery-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-card-body {
    padding: 15px;
}

.gallery-card h5 {
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.gallery-card .photographer {
    color: #666;
    font-size: 0.9rem;
}

/* Judges Section */
.judge-card {
    text-align: center;
    transition: transform 0.3s;
}

.judge-card:hover {
    transform: scale(1.05);
}

.judge-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid #000;
    display: block;
}

.judge-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
}

.judge-designation {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.judge-bio {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.5;
}

.social-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #000;
    border-radius: 50%;
    margin-top: 10px;
    transition: background 0.3s;
}

.social-icon:hover {
    background: #dc3545;
}

.social-icon i,
.social-icon svg {
    color: #fff;
    width: 50%;
    height: 50%;
}

/* Contact Form */
#contactForm textarea,
#contactForm input {
    border: 1px solid #ddd;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    margin-top: 50px;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

footer a {
    transition: color 0.3s;
}

footer a:hover {
    color: #dc3545;
}

/* Alerts */
.alert {
    border-radius: 4px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 400px;
    }

    .hero-banner h1 {
        font-size: 2rem;
    }

    .navbar .d-flex {
        flex-direction: column;
        gap: 10px !important;
        padding-top: 10px;
    }

    .gallery-card img {
        height: 200px;
    }

    .judge-avatar {
        width: 120px;
        height: 120px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-banner p.lead {
        font-size: 1rem;
    }
}
