/* ============================================
   MODERN RECTOR WELCOME SECTION STYLES
   ============================================ */

.rector-welcome-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f0f6ff 100%);
    overflow: hidden;
}

/* Section Background Decoration */
.section-bg-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(1, 22, 77, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Modern Badge */
.modern-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #01164D 0%, #063CAD 100%);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(1, 22, 77, 0.2);
    transition: all 0.3s ease;
}

.modern-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 22, 77, 0.3);
}

/* Section Title Modern */
.section-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: #063CAD;
    margin: 0;
    line-height: 1.3;
}

.text-gradient {
    background: linear-gradient(135deg, #01164D 0%, #063CAD 50%, #03287B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .section-title-modern {
        font-size: 1.875rem;
    }
}

/* ============================================
   RECTOR IMAGE WRAPPER
   ============================================ */

.rector-image-wrapper {
    position: relative;
    z-index: 1;
}

/* Decorative Circles */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.decorative-circle.circle-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(1, 22, 77, 0.1) 0%, rgba(6, 60, 173, 0.05) 100%);
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.decorative-circle.circle-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(6, 60, 173, 0.08) 0%, rgba(3, 40, 123, 0.05) 100%);
    bottom: 40px;
    left: -15px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Rector Image Card */
.rector-image-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.rector-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Image Container */
.image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.rector-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

.rector-image-card:hover .rector-photo {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(1, 22, 77, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rector-image-card:hover .image-overlay {
    opacity: 1;
}

/* Quote Icon */
.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #01164D 0%, #063CAD 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(1, 22, 77, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.quote-icon i {
    font-size: 1.75rem;
    color: #ffffff;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(1, 22, 77, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(1, 22, 77, 0.4);
    }
}

/* Rector Info */
.rector-info {
    text-align: center;
    padding: 0 1rem;
}

.rector-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #01164D;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.rector-title {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
    line-height: 1.5;
}

/* ============================================
   RECTOR MESSAGE CARD
   ============================================ */

.rector-message-card {
    position: relative;
    z-index: 1;
}

/* Card with Gradient Border */
.card-gradient-border {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, #01164D 0%, #063CAD 50%, #03287B 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.card-gradient-border:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.message-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.message-content p {
    color: #444;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content strong {
    color: #01164D;
    font-weight: 600;
}

.message-content h1,
.message-content h2,
.message-content h3,
.message-content h4,
.message-content h5,
.message-content h6 {
    color: #063CAD;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Pattern Decoration */
.pattern-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(1, 22, 77, 0.02) 10px, rgba(1, 22, 77, 0.02) 20px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 992px) {
    .rector-image-wrapper {
        margin-bottom: 3rem;
    }

    .message-content {
        padding: 2rem;
    }

    .section-bg-decoration {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .modern-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }

    .quote-icon {
        width: 50px;
        height: 50px;
        top: 1.5rem;
        right: 1.5rem;
    }

    .quote-icon i {
        font-size: 1.5rem;
    }

    .rector-name {
        font-size: 1.125rem;
    }

    .rector-title {
        font-size: 0.8rem;
    }

    .message-content {
        padding: 1.5rem;
    }

    .message-content p {
        font-size: 0.9375rem;
    }
}

@media (max-width: 576px) {
    .rector-image-card {
        padding: 1rem;
    }

    .decorative-circle.circle-1 {
        width: 80px;
        height: 80px;
    }

    .decorative-circle.circle-2 {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   ADDITIONAL ENHANCEMENTS
   ============================================ */

/* Smooth Scroll Behavior */
.rector-welcome-section * {
    transition: all 0.3s ease;
}

/* Focus States for Accessibility */
.rector-image-card:focus-within {
    outline: 2px solid #063CAD;
    outline-offset: 4px;
}

/* Print Styles */
@media print {

    .decorative-circle,
    .quote-icon,
    .pattern-decoration,
    .section-bg-decoration {
        display: none;
    }

    .rector-image-card,
    .card-gradient-border {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}