@font-face {
    font-family: 'HarvardCrimson';
    src: url('Marketing/Crimson-Roman-webfont.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'HarvardCrimson';
    src: url('Marketing/Crimson-Semibold-webfont.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'HarvardCrimson';
    src: url('Marketing/Crimson-Bold-webfont.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Harvard Crimson Design System */


:root {
    --crimson: #A51C30;
    --crimson-dark: #7A1523;
    --crimson-light: #C7223A;
    --ink: #1E1E1E;
    --paper: #F9FBFB;
}

/* Custom Utilities */
body {
    overflow-x: hidden;
}

.harvard-border {
    border-top: 4px solid var(--crimson);
}

.hero-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
}

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

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

/* Section Transitions */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
/* Legacy Section Styles */
.legacy-bg {
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('Marketing/THC img1.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Schedule / Timeline Styles */
.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--crimson);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -5px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--crimson);
    border: 3px solid var(--paper);
}

.timeline-item:last-child::before {
    display: none;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Image Hover Effects */
.premium-img-hover {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.premium-img-hover:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--paper);
}

::-webkit-scrollbar-thumb {
    background: var(--crimson);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--crimson-dark);
}

/* Modal states */
#consultation-modal.show {
    display: block;
}

#consultation-modal.show-active {
    opacity: 1;
}

#consultation-modal.show-active .modal-container {
    transform: translateY(0);
}

/* Mobile Menu Dropdown Transitions */
#mobile-menu.show {
    display: block;
    max-height: 0;
    opacity: 0;
}

#mobile-menu.show-active {
    max-height: 600px;
    opacity: 1;
}

.mobile-nav-link {
    transform: translateX(-10px);
    transition: all 0.3s ease-out;
}

#mobile-menu.show-active .mobile-nav-link {
    transform: translateX(0);
}

/* Floating button pulse animation */
@keyframes pulse-crimson {
    0% {
        box-shadow: 0 0 0 0 rgba(165, 28, 48, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(165, 28, 48, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(165, 28, 48, 0);
    }
}

#open-consultation {
    animation: pulse-crimson 2s infinite;
}

#open-consultation:hover {
    animation: none;
}

/* Schedule Tab Styles */
.schedule-tab.active {
    color: var(--crimson);
}

.schedule-content.hidden {
    display: none;
}

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

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

/* Global Verification styles */
.global-verification-card {
    transition: all 0.3s ease;
}

.global-verification-card:hover {
    border-color: var(--crimson);
    box-shadow: 0 10px 30px -10px rgba(165, 28, 48, 0.1);
}
