/* ===== Scroll Reveal Animations ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.slide-left {
    transform: translateX(-60px);
}

.scroll-reveal.slide-left.revealed {
    transform: translateX(0);
}

.scroll-reveal.slide-right {
    transform: translateX(60px);
}

.scroll-reveal.slide-right.revealed {
    transform: translateX(0);
}

.scroll-reveal.scale-up {
    transform: scale(0.85);
}

.scroll-reveal.scale-up.revealed {
    transform: scale(1);
}

.scroll-reveal.fade-only {
    transform: none;
}

/* Staggered delays for child elements */
.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }
.scroll-reveal.delay-4 { transition-delay: 0.4s; }

/* ===== Hero Section ===== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0B2545 0%, #13315C 50%, #134074 100%);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-author-image {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-author-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 80px rgba(255, 255, 255, 0.15);
}

.hero-title {
    font-weight: 300 !important;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.95rem !important;
    opacity: 0.85;
}

.hero-tagline {
    font-style: italic;
    opacity: 0.75;
    max-width: 500px;
    line-height: 1.6 !important;
}

/* ===== Section Styling ===== */
.section-navy {
    background: linear-gradient(180deg, #0B2545 0%, #13315C 100%);
    color: #ffffff;
}

.section-white {
    background: #ffffff;
    color: #0B2545;
}

.section-light {
    background: #F0F4F8;
    color: #0B2545;
}

.section-padding {
    padding: 80px 0;
}

.section-title-underline {
    width: 60px;
    height: 3px;
    background: #EEF4ED;
    margin: 0 auto;
    border-radius: 2px;
}

.section-title-underline.navy {
    background: #0B2545;
}

/* ===== Content Image Styling ===== */
.content-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.content-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.content-image-tall {
    height: 400px;
}

/* ===== Achievement Cards ===== */
.achievement-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px !important;
    overflow: hidden;
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
}

.achievement-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0B2545, #134074);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

/* ===== Timeline ===== */
.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 32px;
    border-left: 2px solid #0B2545;
}

.timeline-item:last-child {
    border-left: 2px solid transparent;
}

.timeline-dot {
    position: absolute;
    left: -8px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0B2545;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #0B2545;
}

/* ===== Footer ===== */
.portfolio-footer {
    background: linear-gradient(135deg, #0B2545 0%, #091B34 100%);
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-social-icon {
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.footer-social-icon:hover {
    transform: translateY(-3px) scale(1.15);
}

.footer-divider {
    border-color: rgba(255,255,255,0.15) !important;
}

.footer-link {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff !important;
}

/* ===== About Page ===== */
.about-image-rounded {
    border-radius: 16px;
    overflow: hidden;
}

.quote-card {
    border-left: 4px solid #0B2545;
    background: #F0F4F8;
    padding: 24px 32px;
    border-radius: 0 12px 12px 0;
}

/* ===== Contact Page ===== */
.contact-info-card {
    transition: transform 0.3s ease;
    border-radius: 12px !important;
}

.contact-info-card:hover {
    transform: translateY(-4px);
}

/* ===== Top Navigation ===== */
.top-nav-link {
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.top-nav-link:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.1);
}

.top-nav-link.active {
    color: #ffffff !important;
    background: rgba(255,255,255,0.15);
}

/* ===== Placeholder Images ===== */
.placeholder-image {
    background: linear-gradient(135deg, #0B2545 0%, #134074 40%, #13315C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .hero-author-image {
        width: 200px;
        height: 200px;
    }

    .hero-section {
        min-height: 80vh;
    }

    .section-padding {
        padding: 50px 0;
    }

    .content-image {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .hero-author-image {
        width: 160px;
        height: 160px;
    }

    .hero-section {
        min-height: 70vh;
    }

    .section-padding {
        padding: 40px 0;
    }
}

/* ===== Smooth scrolling ===== */
html {
    scroll-behavior: smooth;
}
