

/* Custom styles for OLPM website - Modern Youth Design */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --light-bg: #f8fafc;
    --dark-text: #1e293b;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-light: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="white" stop-opacity="0.1"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="10" cy="10" r="10" fill="url(%23a)"/><circle cx="30" cy="5" r="5" fill="url(%23a)"/><circle cx="60" cy="15" r="8" fill="url(%23a)"/><circle cx="90" cy="10" r="12" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

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

.registration-card {
    position: relative;
    z-index: 2;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Gradients */
.bg-gradient-light {
    background: var(--gradient-light);
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

/* Icon boxes */
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: scale(1.1);
}

/* Cards */
.card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 1rem;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Benefit cards */
.benefit-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Forms */
.form-control, .form-select {
    border-radius: 0.5rem;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

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

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: var(--gradient-primary);
    filter: brightness(1.1);
}

.register-btn {
    background: var(--gradient-accent);
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    box-shadow: 0 0.25rem 0.5rem rgba(79, 172, 254, 0.3);
}

.register-btn:hover {
    background: var(--gradient-accent);
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(79, 172, 254, 0.4);
}

.rounded-pill {
    border-radius: 50rem !important;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 1.5px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -47px;
    top: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-marker:hover {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px var(--accent-color);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(248, 250, 252, 0.95) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

/* Partner logos */
.partner-logo {
    transition: transform 0.2s ease-in-out, filter 0.2s ease;
    filter: grayscale(50%);
}

.partner-logo:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Strategy areas */
.strategy-area {
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.strategy-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.strategy-area:hover::before {
    transform: scaleX(1);
}

.strategy-area:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

/* Contact info */
.contact-info .icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
}

/* Event items */
.event-item {
    transition: all 0.3s ease-in-out;
    padding: 1rem;
    border-radius: 0.75rem;
}

.event-item:hover {
    background: var(--gradient-light);
    transform: translateX(10px);
}

/* Date boxes */
.date-box {
    min-width: 80px;
    padding: 1rem;
    border-radius: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
}

.date-mini {
    width: 60px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1.2;
    border-radius: 0.5rem;
    background: var(--gradient-accent);
    color: white;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-marker {
        left: -35px;
        width: 20px;
        height: 20px;
    }
    
    .benefit-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .benefit-card,
    .timeline-content,
    .strategy-area {
        opacity: 0;
        transform: translateY(30px);
        animation: slideUp 0.8s ease-out forwards;
    }
    
    .benefit-card:nth-child(2) { animation-delay: 0.1s; }
    .benefit-card:nth-child(3) { animation-delay: 0.2s; }
    .benefit-card:nth-child(4) { animation-delay: 0.3s; }
    
    .timeline-item:nth-child(2) .timeline-content { animation-delay: 0.1s; }
    .timeline-item:nth-child(3) .timeline-content { animation-delay: 0.2s; }
    .timeline-item:nth-child(4) .timeline-content { animation-delay: 0.3s; }
    .timeline-item:nth-child(5) .timeline-content { animation-delay: 0.4s; }
}
