/* Custom Styles for Frost Medical */

/* Root Variables */
:root {
    --frost-dark: #023E8A;
    --frost-ocean: #0077B6;
    --frost-cyan: #90E0EF;
    --frost-pale: #CAF0F8;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Navigation Styles */
#navbar {
    background: linear-gradient(135deg, var(--frost-dark) 0%, var(--frost-ocean) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled {
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.95) 0%, rgba(0, 119, 182, 0.95) 100%);
    backdrop-filter: blur(10px);
}

.nav-link {
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--frost-cyan);
    border-bottom-color: var(--frost-cyan);
}

.nav-link-button {
    background: white;
    color: var(--frost-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link-button:hover {
    background: var(--frost-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: white;
    padding: 0.75rem 0;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.mobile-nav-link:hover {
    color: var(--frost-cyan);
    border-left-color: var(--frost-cyan);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--frost-dark) 0%, var(--frost-ocean) 50%, var(--frost-cyan) 100%);
    position: relative;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(144, 224, 239, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 119, 182, 0.1) 0%, transparent 50%);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: white;
    color: var(--frost-dark);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background: var(--frost-cyan);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: var(--frost-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--frost-dark);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--frost-ocean), var(--frost-cyan));
    border-radius: 2px;
}

/* Prose Content */
.prose-custom {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

/* Course Cards */
.course-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 119, 182, 0.15);
    border-color: var(--frost-cyan);
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 119, 182, 0.15);
    border-color: var(--frost-cyan);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--frost-dark) 0%, var(--frost-ocean) 100%);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Success/Error Messages */
.form-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.form-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.25rem;
    }
}

/* Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Accessibility */
*:focus {
    outline: 2px solid var(--frost-ocean);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .cookie-banner,
    #navbar,
    footer {
        display: none;
    }
}
