:root {
    --bg-dark: #0a0a0a;
    --bg-light: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    transition: width 0.3s;
}
.section-title:hover::after {
    width: 100%;
}
.section-title.center {
    text-align: center;
}
.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}
.section-title.center:hover::after {
    width: 150px;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section {
    padding: 100px 0;
}
.dark-bg {
    background-color: var(--bg-light);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/brayhan2.jpg');
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    z-index: 1;
    filter: brightness(0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 6rem);
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease forwards;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.social-links {
    margin-top: 1rem;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.social-icon:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-primary);
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
    text-decoration: none;
    transition: color 0.3s;
}
.scroll-down:hover {
    color: var(--gold);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.about-image:hover img {
    transform: scale(1.05);
}
.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--gold);
    border-radius: 15px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease;
    z-index: 1;
    pointer-events: none;
}
.about-image:hover::before {
    opacity: 1;
    transform: scale(0.92);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.card {
    background: rgba(255,255,255,0.03);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.card:hover::before {
    transform: translateX(100%);
}
.card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.card-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}
.card:hover .card-icon {
    transform: scale(1.1);
}
.card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}
.card p {
    color: var(--text-secondary);
}

/* Bootcamp Section */
.bootcamp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.highlight-text {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}
.bootcamp-details {
    background: rgba(255,255,255,0.03);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
    margin-bottom: 1.5rem;
}
.bootcamp-details p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.bootcamp-details i {
    color: var(--gold);
    margin-right: 10px;
}
.bootcamp-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.btn-primary {
    display: inline-block;
    background: linear-gradient(45deg, var(--gold), #b8860b);
    color: #000;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.5);
    color: #000;
}
.bootcamp-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.bootcamp-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.bootcamp-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .bootcamp-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    aspect-ratio: 4/5;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #050505;
    padding: 4rem 2rem;
    text-align: center;
}
footer h2 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 300;
}
footer .social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: var(--transition);
}
footer .social-links a:hover {
    color: var(--gold);
}
footer p {
    margin-top: 2rem;
    color: #555;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .section {
        padding: 60px 0;
    }
}
