/* Fonts */
.font-yellowtail { 
    font-family: 'Yellowtail', cursive; 
}

.font-old-standard { 
    font-family: 'Old Standard TT', serif; 
}

/* Scroll Behavior */
html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 100px; 
}

@media (max-width: 768px) {
    html { 
        scroll-padding-top: 80px; 
    }
}

/* Unique Gradient Backgrounds */
.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-medical {
    background: linear-gradient(135deg, #052b4f 0%, #1e3a5f 50%, #2a5a8f 100%);
}

/* Modern Animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

@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);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out;
}

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

.animate-scale {
    animation: scaleIn 0.6s ease-out;
}

/* Modern Cards */
.card-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.card-modern:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.card-modern:hover::before {
    opacity: 1;
}

/* Glowing Effect */
.glow-effect {
    box-shadow: 0 0 20px rgba(5, 43, 79, 0.5);
    transition: box-shadow 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 40px rgba(5, 43, 79, 0.8);
}

/* Progress Bar */
#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, #667eea, #764ba2, #f093fb);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Unique Button Style */
.btn-unique {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-unique::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-unique:hover::before {
    width: 300px;
    height: 300px;
}

/* Modern Section Divider */
.section-divider {
    position: relative;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, #fff 100%);
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

/* Image Slider Styles */
.slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-dot {
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    width: 2rem;
    border-radius: 1rem;
}

/* Circle Images (About Page) */
.circle-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Additional Gradients (Admission/Calendar Pages) */
.gradient-orange {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gradient-green {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* Progress Bar Alternative Style */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Step Number Style (Admission Page) */
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

/* Step Connector Line (Admission Page) */
.step-connector {
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

/* Timeline Connector (Calendar Page) */
.timeline-connector {
    position: absolute;
    left: 31px;
    top: 64px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

/* Event Badge (Calendar Page) */
.event-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.event-badge .day {
    font-size: 1.5rem;
    line-height: 1;
}

.event-badge .month {
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Contact Page Styles */
.input-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Programs Page Styles */
.program-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
