/* 
 * Yolopment Academy - Core Design System 
 * Palette: Premium Blue, White, Black
 */

:root {
    /* Colors */
    --primary-blue: #004aad;
    --primary-dark: #003366;
    --accent-blue: #006fe6;
    --accent-green: #008751;
    --bg-light: #f8fbff;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --white: #ffffff;
    --black: #000000;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 74, 173, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 74, 173, 0.15);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
    color: inherit;
}

/* Layout Utilities */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 991px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Stats Styling (Reference inspired) */
.results-hook {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.hook-item {
    text-align: center;
}

.hook-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
}

.hook-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Course Card (Reference inspired) */
.course-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 240px 1fr;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 24px;
}

.course-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.course-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

/* --- Enhanced Component Styles --- */

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin: 10px;
    transition: transform 0.3s ease;
    width: 100%;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.author-info p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #777;
}

/* Success Students Section Styles */
.success-student-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px;
    transition: transform 0.3s ease;
}

.success-student-card:hover {
    transform: translateY(-5px);
}

.success-student-card img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.success-student-info {
    padding: 20px;
}

.success-student-info h3 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
}

.success-student-info .position {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.success-student-info .achievement {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* Slick Slider Custom Styles */
.slick-dots {
    bottom: -40px;
}

.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 74, 173, 0.3);
    transition: all 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 74, 173, 0.4);
}

.slick-prev:before,
.slick-next:before {
    color: white;
}

.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}

/* YouTube Video & Images Section */
.video-gallery-section {
    padding: 60px 2rem;
    background-color: #fff;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Media Coverage Photo Frame Effect */
.gallery-slide img {
    border: 10px solid #fff;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: scale(0.95);
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-slide img:hover {
    transform: scale(1) translateY(-5px) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Enhanced Team Member Cards */
.enhanced-team-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px 20px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    height: 100%;
    border: 1px solid rgba(0, 74, 173, 0.15);
}

.enhanced-team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 50%, var(--accent-green) 100%);
    border-radius: 20px 20px 0 0;
}

.enhanced-team-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 74, 173, 0.2);
    border-color: rgba(0, 74, 173, 0.3);
}

.enhanced-team-card .card-image img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f8f9fa;
    transition: all 0.4s ease;
}

.enhanced-team-card:hover .card-image img {
    border-color: var(--primary-blue);
    transform: scale(1.08);
}

.enhanced-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

/* Enhanced Testimonial Cards */
.enhanced-testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 30px;
    margin: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 74, 173, 0.1);
    border: 1px solid rgba(0, 74, 173, 0.15);
}

.enhanced-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
}

.enhanced-testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.15);
}

.enhanced-testimonial-content p::before {
    content: '"';
    font-size: 60px;
    color: rgba(0, 74, 173, 0.2);
    position: absolute;
    top: -15px;
    left: -10px;
    font-family: serif;
}

/* Enhanced Section Headings */
.enhanced-section-heading h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

.enhanced-section-heading h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Section Backgrounds Integration */
#new_enroled {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

#success-students {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 100px 0;
}

#directors {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

#testimonials {
    background: linear-gradient(135deg, #fff 0%, #f1f8ff 100%);
    padding: 100px 0;
}