:root {
    --cpp-green: #1B5E20;
    --cpp-green-light: #2E7D32;
    --cpp-green-dark: #0D3B0D;
    --cpp-gold: #FFC107;
    --cpp-gold-light: #FFD54F;
    --cpp-gold-dark: #F57F17;
    --primary-color: var(--cpp-green);
    --secondary-color: var(--cpp-green-light);
    --success-color: var(--cpp-green);
    --info-color: var(--cpp-gold);
    --warning-color: var(--cpp-gold);
    --danger-color: #D32F2F;
    --light-color: #F8F9FA;
    --dark-color: #212529;
    --cpp-gray: #6C757D;
    --cpp-light-gray: #E9ECEF;
}

/* Global Styles */
html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    display: flex;
    flex-direction: column;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--cpp-green) 0%, var(--cpp-green-light) 100%);
}

.cta-section {
    width: 100vw;
    margin: 0;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--cpp-green) 0%, var(--cpp-green-light) 100%);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.bg-gradient-cpp {
    background: linear-gradient(135deg, var(--cpp-green) 0%, var(--cpp-gold) 100%);
}

/* Navigation - CPP Style */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.75rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--cpp-gold) !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.navbar {
    z-index: 1030;
  }

.bb-announcement {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #fff3cd;
    border-bottom: 1px solid #ffeeba;
  }

/* Hero Section*/
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cpp-green) 0%, var(--cpp-green-light) 50%, var(--cpp-gold) 100%);
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin: 0;
    padding: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

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

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

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-weight: 800;
    line-height: 1.1;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-btn {
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease-out;
}



@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.display-4 {
    font-weight: 700;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Cards - CPP Style */
.card {
    border: 1px solid var(--cpp-light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: white;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.15) !important;
    border-color: var(--cpp-green-light);
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
    border-bottom: 1px solid var(--cpp-light-gray);
    font-weight: 600;
    background: var(--cpp-light-gray);
    color: var(--cpp-green-dark);
}

.card-header.bg-primary {
    background: var(--cpp-green) !important;
    color: white !important;
}

/* Feature Icons */
.feature-icon {
    transition: transform 0.3s ease;
}

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

/* Step Numbers */
.step-number {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Buttons - CPP Style */
.btn {
    border-radius: 6px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    text-transform: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--cpp-green);
    border-color: var(--cpp-green);
}

.btn-primary:hover {
    background: var(--cpp-green-dark);
    border-color: var(--cpp-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

.btn-success {
    background: var(--cpp-green-light);
    border-color: var(--cpp-green-light);
}

.btn-success:hover {
    background: var(--cpp-green);
    border-color: var(--cpp-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

.btn-warning {
    background: var(--cpp-gold);
    border-color: var(--cpp-gold);
    color: var(--cpp-green-dark);
}

.btn-warning:hover {
    background: var(--cpp-gold-dark);
    border-color: var(--cpp-gold-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Forms - CPP Style */
.form-control, .form-select {
    border-radius: 6px;
    border: 2px solid var(--cpp-light-gray);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--cpp-green);
    box-shadow: 0 0 0 0.2rem rgba(27, 94, 32, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--cpp-green-dark);
    margin-bottom: 0.5rem;
}

.input-group-text {
    border-radius: 8px 0 0 8px;
    border: 2px solid #e5e7eb;
    border-right: none;
    background-color: #f8fafc;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

/* Badges */
.badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

/* Avatar */
.avatar {
    font-weight: 600;
    font-size: 1.2rem;
}

/* Chat Styles */
#chat-messages {
    background-color: #f8fafc;
}

.message {
    border-bottom: 1px solid #e5e7eb;
}

.message:last-child {
    border-bottom: none;
}

.message-bubble {
    border-radius: 18px;
    word-wrap: break-word;
}

.message-sent .message-bubble {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.message-received .message-bubble {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb;
}

/* Profile Cards */
.profile-card {
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 8px;
    font-weight: 500;
}

/* Main Content */
main {
    flex: 1;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    
    
    .hero-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .message-bubble {
        max-width: 85% !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    
    
    .hero-section {
        padding: 1.5rem 0;
        min-height: 50vh;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Custom Scrollbar */
#chat-messages::-webkit-scrollbar {
    width: 6px;
}

#chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#chat-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#chat-messages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Rocket Button Animation */
.rocket-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rocket-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.rocket-icon {
    animation: rocketMove 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.rocket-btn:hover .rocket-icon {
    animation: rocketLaunch 0.6s ease-out;
    color: var(--cpp-gold);
}

@keyframes rocketMove {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(3px) rotate(5deg);
    }
    75% {
        transform: translateX(-3px) rotate(-5deg);
    }
}

@keyframes rocketLaunch {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        color: inherit;
    }
    50% {
        transform: translateX(5px) translateY(-5px) rotate(10deg);
        color: var(--cpp-gold);
    }
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        color: var(--cpp-gold);
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.border-soft {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* Weekly Matching Styles */
.weekly-match-card {
    border-left: 4px solid var(--warning-color);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.weekly-match-badge {
    background: var(--warning-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.match-type-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-weight: 600;
}

.match-type-manual {
    background: var(--info-color);
    color: white;
}

.match-type-weekly {
    background: var(--warning-color);
    color: white;
}

/* Enhanced Alert Styles */
.alert-weekly {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #92400e;
}

.alert-weekly .alert-heading {
    color: #92400e;
    font-weight: 700;
}

/* Calendar Icon Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.calendar-pulse {
    animation: pulse 2s infinite;
}

/* CPP Specific Styles */
.cpp-branding {
    color: var(--cpp-green);
}

.cpp-gold {
    color: var(--cpp-gold);
}

.text-cpp-green {
    color: var(--cpp-green) !important;
}

.text-cpp-gold {
    color: var(--cpp-gold) !important;
}

.bg-cpp-green {
    background-color: var(--cpp-green) !important;
}

.bg-cpp-gold {
    background-color: var(--cpp-gold) !important;
}

/* Bronco-specific styling */
.bronco-card {
    border-left: 4px solid var(--cpp-gold);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(27, 94, 32, 0.05) 100%);
}

/* Academic feel */
.academic-section {
    background: var(--cpp-light-gray);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
    }
}
