/* DNCG Pathways DON Override Styles */
/* Site-specific customizations for Doncaster College */

/* ================================
   DON COLOR OVERRIDES
   ================================ */

:root {
    /* Keep existing DON colors - no changes needed */
}

/* ================================
   TYPOGRAPHY OVERRIDES - NOVE FONT
   ================================ */

@font-face {
    font-family: "Nove";
    font-weight: normal;
    font-style: normal;
}

/* ================================
   HERO SECTION OVERRIDES
   ================================ */

/* Italic styling for main heading */
.dncg-hero-headline {
    font-style: italic;
    line-height: 0.9;
}

/* Rotation wrapper for subject highlight */
.dncg-hero-headline .rotation-wrapper {
    display: inline-block;
    position: relative;
    transform: rotate(-3deg);
    z-index: 1;
}

/* Subject highlight with Nove font */
.dncg-hero-headline .subject-highlight {
    font-family: "Nove", sans-serif;
    letter-spacing: 0;
}

@media (min-width: 768px) {
    .dncg-subject-area-wrapper h1 {
        font-size: 5rem;
    }
    
    .dncg-hero-headline .subject-highlight {
        font-size: 5rem;
    }
}

/* ================================
   NAVIGATION OVERRIDES
   ================================ */

.dncg-page-navigation {
    background: transparent;
    box-shadow: none;
}

/* Skewed navigation background */
.dncg-page-navigation::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: var(--dncg-white);
    z-index: -1;
    transform: skew(-8deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--dncg-transition-normal);
}

.dncg-page-navigation.dncg-nav-scrolled::before {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Apply button pulse animation */
.dncg-apply-now-btn {
    font-size: 1.5rem;
    transform: scale(1.05);
    animation: dncgPulse 2s infinite;
}

@keyframes dncgPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(8, 145, 178, 0.5); }
}

.dncg-apply-now-btn:hover {
    animation: none;
}

/* Mobile navigation skew adjustment */
@media (max-width: 768px) {
    .dncg-page-navigation::before {
        transform: skew(0, -1deg);
        left: -15%;
        right: -15%;
    }
    
    .dncg-apply-now-btn {
        font-family: "Nove", sans-serif;
    }
}

/* ================================
   TESTIMONIAL OVERRIDES - ARTISTIC STYLE
   ================================ */


.dncg-testimonial-card {
    box-shadow: none;
    border:none;
    padding:0;

}
.dncg-testimonial-card:hover {
    transform:none;
    box-shadow:none;

}

/* Wavy border testimonial quote */
.dncg-testimonial-quote {
    background: transparent;
    padding: 1rem 1rem;
    margin: 0 1rem;
    font-size: 1.4rem;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    border: 7px solid white;
    color: white;
    box-shadow: none;
}

/* Custom speech bubble pointer */
.dncg-testimonial-quote::after {
    content: '';
    position: absolute;
    bottom: --20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 28px solid var(--dncg-white);
    z-index: 2;
}

/* Full-width testimonial image (not circular) */
.dncg-testimonial-image img {
    width: 80%;
    height: auto;
    border-radius: 0;
    object-fit: cover;
    box-shadow: none;
    border: none;
}

/* Special positioning for testimonial with image */
.dncg-features-grid.dncg-testimonial-with-image .dncg-testimonial-attribution {
    position: absolute;
    bottom: 0;
    left: 2rem;
    text-align: left;
    z-index: 10;
    transform: rotate(-4deg);
}

/* Large stylized name with Nove font */
.dncg-testimonial-name {
    font-size: 3.6rem;
    font-family: "Nove", sans-serif;
    background-color: var(--dncg-primary-blue);
    color: white;
    margin-bottom: 0;
    padding: 0.5rem;
    line-height: 1;
}

/* Course badge styling */
.dncg-testimonial-course {
    background-color: var(--dncg-primary-blue);
    font-size: 1.2rem;
    color: white;
    font-weight: 700;
    margin: 0;
    margin-top: -0.5rem;
    padding: 0.5rem;
    line-height: 1;
}

/* Special positioning for no-image testimonials with rotation */
.dncg-features-grid.dncg-testimonial-no-image .dncg-testimonial-attribution {
    transform: rotate(-2deg);
}

.dncg-features-grid.dncg-testimonial-no-image .dncg-testimonial-name {
    font-size: 2.5rem;
    padding: 0.7rem 1rem;
    border-radius: 8px 8px 0 0;
}

.dncg-features-grid.dncg-testimonial-no-image .dncg-testimonial-course {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px;
    margin-top: -2px;
}

/* Emoji styling */
.dncg-emoji {
    font-size: 2rem;
}

/* Heading styling with larger size */
.dncg-heading {
    font-size: 1.5rem;
}

/* Mobile adjustments for DON testimonials */
@media (max-width: 767px) {
    .dncg-testimonial-quote {
        border-radius: 155px 10px 125px 10px/10px 125px 10px 155px;
        border-width: 5px;
    }
    
    .dncg-features-grid.dncg-testimonial-with-image .dncg-testimonial-attribution {
        margin-top: -80px;
        transform: rotate(-2deg);
    }
    
    .dncg-testimonial-name {
        font-size: 2rem;
    }
}

/* Large screens - increased testimonial breakout */
@media (min-width: 1200px) {
    .dncg-testimonial-card {
        margin-top: -2rem;
        margin-bottom: -5rem;
    }
}

/* ================================
   ANIMATION OVERRIDES
   ================================ */

/* Add entrance animations for features */
.dncg-facility-item {
    opacity: 0;
    transform: translateY(30px);
    animation: dncgFadeInUp 0.8s ease-out forwards;
}

.dncg-facility-item:nth-child(1) { animation-delay: 0.1s; }
.dncg-facility-item:nth-child(2) { animation-delay: 0.2s; }
.dncg-facility-item:nth-child(3) { animation-delay: 0.3s; }
.dncg-facility-item:nth-child(4) { animation-delay: 0.4s; }
.dncg-facility-item:nth-child(5) { animation-delay: 0.5s; }
.dncg-facility-item:nth-child(6) { animation-delay: 0.6s; }

/* Gallery animations */
.dncg-gallery-item {
    opacity: 0;
    transform: translateY(20px);
    animation: dncgFadeInUp 0.6s ease-out forwards;
}

.dncg-gallery-item:nth-child(1) { animation-delay: 0.1s; }
.dncg-gallery-item:nth-child(2) { animation-delay: 0.2s; }
.dncg-gallery-item:nth-child(3) { animation-delay: 0.3s; }
.dncg-gallery-item:nth-child(4) { animation-delay: 0.4s; }
.dncg-gallery-item:nth-child(5) { animation-delay: 0.5s; }
.dncg-gallery-item:nth-child(6) { animation-delay: 0.6s; }
.dncg-gallery-item:nth-child(7) { animation-delay: 0.7s; }
.dncg-gallery-item:nth-child(8) { animation-delay: 0.8s; }
.dncg-gallery-item:nth-child(9) { animation-delay: 0.9s; }

/* News card animations */
.dncg-news-card-compact {
    opacity: 0;
    transform: translateY(15px);
    animation: dncgFadeInUp 0.5s ease-out forwards;
}

.dncg-news-card-compact:nth-child(1) { animation-delay: 0.05s; }
.dncg-news-card-compact:nth-child(2) { animation-delay: 0.1s; }
.dncg-news-card-compact:nth-child(3) { animation-delay: 0.15s; }
.dncg-news-card-compact:nth-child(4) { animation-delay: 0.2s; }
.dncg-news-card-compact:nth-child(5) { animation-delay: 0.25s; }
.dncg-news-card-compact:nth-child(6) { animation-delay: 0.3s; }

/* Progression arrow animations */
.dncg-progression-arrow {
    opacity: 0;
    transform: translateY(-20px) scale(0.5);
}

.dncg-arrow-pulse .dncg-progression-arrow {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: dncgArrowPulse 3s ease-in-out infinite;
}

.dncg-arrow-pulse .dncg-progression-arrow path {
    animation: dncgArrowPathPulse 3s ease-in-out infinite;
}

@keyframes dncgArrowPathPulse {
    0%, 100% {
        stroke-width: 3;
        filter: drop-shadow(0 2px 4px rgba(8, 145, 178, 0.3));
    }
    50% {
        stroke-width: 3.5;
        filter: drop-shadow(0 3px 6px rgba(8, 145, 178, 0.4));
    }
}

/* HE Arrow animation */
.dncg-he-arrow.dncg-arrow-pulse .dncg-progression-arrow {
    animation: dncgArrowPulse 3s ease-in-out infinite;
}

@keyframes dncgArrowPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-3px) scale(1.05);
        opacity: 1;
    }
}

/* ================================
   SHIMMER EFFECT FOR NO COURSES
   ================================ */

.dncg-no-courses-message::before {
    animation: dncgShimmer 2s infinite;
}

@keyframes dncgShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ================================
   KEYFRAME ANIMATIONS
   ================================ */

@keyframes dncgFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes dncgFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dncgSlideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes dncgBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced entrance animation for breakout testimonial */
@keyframes dncgTestimonialBreakoutEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) rotate(-2deg) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateY(-5px) rotate(-2deg) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(-2deg) scale(1);
    }
}

/* Staggered animation for feature items */
.dncg-feature-item {
    opacity: 0;
    transform: translateX(-10px);
    animation: dncgSlideInRight 0.4s ease-out forwards;
}

.dncg-feature-item:nth-child(1) { animation-delay: 0.3s; }
.dncg-feature-item:nth-child(2) { animation-delay: 0.4s; }
.dncg-feature-item:nth-child(3) { animation-delay: 0.5s; }
.dncg-feature-item:nth-child(4) { animation-delay: 0.6s; }
.dncg-feature-item:nth-child(5) { animation-delay: 0.7s; }
.dncg-feature-item:nth-child(6) { animation-delay: 0.8s; }

/* Feature card entrance animations */
.dncg-feature-card {
    opacity: 0;
    transform: translateY(20px);
    animation: dncgFadeInUp 0.6s ease-out forwards;
}

.dncg-differences-card {
    animation-delay: 0.1s;
}

.dncg-testimonial-card {
    animation-delay: 0.2s;
}

.dncg-experience-card {
    animation-delay: 0.3s;
}

/* Enhanced entrance animation for breakout testimonial */
.dncg-features-grid.dncg-testimonial-with-image .dncg-testimonial-card {
    animation-delay: 0.2s;
    animation-name: dncgTestimonialBreakoutEntrance;
}

/* ================================
   HERO ANIMATIONS
   ================================ */

@keyframes dncgHeroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dncg-hero-headline,
.dncg-hero-intro,
.dncg-hero-audience-selector {
    animation: dncgHeroFadeInUp 0.8s ease-out forwards;
}

.dncg-hero-intro {
    animation-delay: 0.2s;
}

.dncg-hero-audience-selector {
    animation-delay: 0.4s;
}

/* ================================
   LEVEL ROW ANIMATIONS
   ================================ */

.dncg-level-row {
    opacity: 0;
    transform: translateY(20px);
    animation: dncgFadeInUp 0.6s ease-out forwards;
}

/* Animation Classes */
.dncg-animate-fade-in { animation: dncgFadeIn 0.5s ease-out forwards; }
.dncg-animate-fade-in-up { animation: dncgFadeInUp 0.6s ease-out forwards; }
.dncg-animate-slide-in-right { animation: dncgSlideInRight 0.5s ease-out forwards; }
.dncg-animate-bounce-in { animation: dncgBounceIn 0.7s ease-out forwards; }
.dncg-in-view { animation: dncgFadeInUp 0.6s ease-out forwards; }

/* ================================
   REDUCED MOTION OVERRIDE
   ================================ */

@media (prefers-reduced-motion: no-preference) {
    /* Ensure animations are active for DON site */
    .dncg-apply-now-btn {
        animation: dncgPulse 2s infinite !important;
    }
}

/* ================================
   PRINT OVERRIDES FOR DON
   ================================ */

@media print {
    /* Reset transformations for print */
    .dncg-features-grid.dncg-testimonial-with-image .dncg-testimonial-card,
    .dncg-features-grid.dncg-testimonial-with-image .dncg-differences-card,
    .dncg-features-grid.dncg-testimonial-with-image .dncg-experience-card {
        transform: none !important;
    }
    
    /* Simplify layout for print */
    .dncg-features-grid.dncg-testimonial-with-image {
        width: auto !important;
        margin-left: 0 !important;
        transform: none !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 !important;
    }
    
    /* Remove rotations */
    .dncg-hero-headline .rotation-wrapper,
    .dncg-testimonial-attribution {
        transform: none !important;
    }
    
    /* Remove animations */
    .dncg-apply-now-btn {
        animation: none !important;
    }
    
    .dncg-page-navigation::before {
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* Simplify testimonial styling */
    .dncg-testimonial-quote {
        border-radius: 8px !important;
        border: 1px solid #ccc !important;
        background: #f5f5f5 !important;
        color: black !important;
    }
    
    .dncg-testimonial-name {
        font-size: 1.2rem !important;
        background: none !important;
        color: black !important;
        padding: 0 !important;
        font-family: inherit !important;
    }
    
    .dncg-testimonial-course {
        background: none !important;
        color: #666 !important;
        padding: 0 !important;
    }
    
    .dncg-quote-mark {
        color: #ccc !important;
    }
}

