﻿/**
 * Unified Animations
 * Study Wafdden Theme
 * Version: 1.0.0
 * 
 * Consolidates all animation CSS from multiple files into one unified location.
 */

/* ==========================================
   BASE ANIMATION CLASSES
   ========================================== */

/* Base Logic for has-animation-* classes */
[class*="has-animation-"] {
    opacity: 0;
    animation-fill-mode: forwards;
    animation-duration: var(--animation-duration, 800ms);
    animation-delay: var(--animation-delay, 0ms);
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-play-state: paused;
}

/* Trigger State */
[class*="has-animation-"].start-animation {
    animation-play-state: running;
}

/* Force opacity 1 in Editor to avoid invisible blocks while editing */
.block-editor-block-list__block [class*="has-animation-"] {
    opacity: 1 !important;
    animation: none !important;
}

/* Animation class assignments */
.has-animation-fade-in {
    animation-name: fadeIn;
}

.has-animation-fade-in-up {
    animation-name: fadeInUp;
}

.has-animation-fade-in-down {
    animation-name: fadeInDown;
}

.has-animation-zoom-in {
    animation-name: zoomIn;
}

.has-animation-slide-in-left {
    animation-name: slideInLeft;
}

.has-animation-slide-in-right {
    animation-name: slideInRight;
}

.has-animation-blur-in {
    animation-name: blurIn;
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */

/* Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Down */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Zoom In */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Blur In */
@keyframes blurIn {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

/* Slide Up */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Float */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pulse */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* ==========================================
   SINGLE UNIVERSITY PAGE OVERRIDES
   Force visibility on single university pages
   ========================================== */

.single-university [class*="has-animation-"],
.single-university .animate-on-scroll,
.single-university .fade-up,
.single-university .slide-in-left,
.single-university .slide-in-right,
.single-university .zoom-in {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after,
    [class*="has-animation-"] {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        animation-delay: 0ms !important;
    }
}
/* Three Column Layout */
.sidebar-column {
    direction: rtl;
}

/* Modern Sidebar Widgets */
.sidebar-widget {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.sidebar-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Widget Title */
.sidebar-widget .widget-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px !important;
    border-bottom: 2px solid rgba(181, 0, 0, 0.1);
}

.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 40px;
    height: 2px;
    background: #b50000;
}

/* Modern Categories */
.modern-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-categories li {
    display: flex;
    gap: 12px;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.modern-categories li:last-child {
    border-bottom: none;
}

.modern-categories li:hover {
    padding-right: 8px;
}

.modern-categories a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-categories a:hover {
    color: #b50000;
}

.modern-categories .count {
    background: rgba(181, 0, 0, 0.1);
    color: #b50000;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Modern Latest Posts */
.modern-latest-posts li {
    margin-bottom: 16px !important;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.modern-latest-posts li:last-child {
    border-bottom: none;
}

.modern-latest-posts img {
    border-radius: 8px;
}

.modern-latest-posts a {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.5;
}

.modern-latest-posts a:hover {
    color: #b50000;
}

.modern-latest-posts .wp-block-latest-posts__post-date {
    color: #999;
    font-size: 12px;
    margin-top: 4px;
}

/* Modern Tag Cloud */
.modern-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modern-tag-cloud a {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(181, 0, 0, 0.08);
    color: #333;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-tag-cloud a:hover {
    background: #b50000;
    color: #fff;
    transform: translateY(-2px);
}

/* CTA Widget */
.cta-widget .cta-button .wp-block-button__link {
    color: #b50000 !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(220, 6, 6, 0.15);
    transition: all 0.3s ease;
}

.cta-widget .cta-button .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(246, 2, 2, 0.2);
}

/* ==========================================
   Advanced Block Animations
   ========================================== */

/* Animation styles moved to assets/css/animations.css */

/* ==========================================
   Button Styling
   ========================================== */
.wp-block-button__link {
    font-weight: 600;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* CTA Styles */
.cta-btn-whatsapp .wp-block-button__link,
.cta-btn-phone .wp-block-button__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(194, 5, 5, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-btn-whatsapp .wp-block-button__link::before,
.cta-btn-phone .wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.cta-btn-whatsapp .wp-block-button__link:hover::before,
.cta-btn-phone .wp-block-button__link:hover::before {
    transform: translateX(0);
}

/* WhatsApp Button */
.cta-btn-whatsapp .wp-block-button__link {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
}

.cta-btn-whatsapp .wp-block-button__link:hover {
    background: linear-gradient(135deg, #1ebe57 0%, #0d6d5f 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Phone Button */
.cta-btn-phone .wp-block-button__link {
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%) !important;
}

.cta-btn-phone .wp-block-button__link:hover {
    background: linear-gradient(135deg, #cc0041 0%, #a0003d 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 55, 0.5);
}

.cta-btn-whatsapp .wp-block-button__link:active,
.cta-btn-phone .wp-block-button__link:active {
    transform: translateY(0);
}



/* Responsive */
@media(max-width: 1023px) {
    .wp-block-columns {
        /* flex-direction: column; */
    }

    .sidebar-column {
        width: 100% !important;
        flex-basis: 100% !important;
    }

    /* Ø¥Ø®ÙØ§Ø¡ Sidebar Ø§Ù„Ø´Ù…Ø§Ù„ Ø¹Ù„Ù‰ Ø§Ù„Ù…ÙˆØ¨Ø§ÙŠÙ„ (Ø§Ø®ØªÙŠØ§Ø±ÙŠ) */
    .sidebar-column-left {
        display: none;
    }

    .cta-btn-whatsapp .wp-block-button__link,
    .cta-btn-phone .wp-block-button__link {
        font-size: 0.9375rem !important;
        padding: 0.875rem 1.5rem !important;
    }
}

/* Tablet */
@media(max-width: 1280px) and (min-width: 1024px) {
    .sidebar-column {
        flex-basis: 28% !important;
    }

    .main-content-column {
        flex-basis: 44% !important;
    }
}


.study-egypt-check-list {
    list-style: none !important;
}

/* ==========================================
   Global Hover System (Interactive Block Styles)
   ========================================== */

/* 1. Universal Transition Base */
.is-style-hover-lift,
.is-style-hover-zoom,
.is-style-hover-glow,
.is-style-hover-brightness {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    will-change: transform, box-shadow, filter;
}

/* 2. Hover: Lift Effect */
@media (hover: hover) {
    .is-style-hover-lift:hover {
        transform: translateY(-8px) !important;
    }
}

/* 3. Hover: Zoom Effect */
@media (hover: hover) {
    .is-style-hover-zoom:hover {
        transform: scale(1.04) !important;
    }
}

/* 4. Hover: Glow Effect */
@media (hover: hover) {
    .is-style-hover-glow:hover {
        box-shadow: 0 15px 35px rgba(181, 0, 0, 0.15) !important;
    }
}

/* 5. Hover: Brightness Effect */
@media (hover: hover) {
    .is-style-hover-brightness:hover {
        filter: brightness(1.1) !important;
    }
}

/* Site Editor Preview Enhancement */
.is-hovered.is-style-hover-lift {
    transform: translateY(-8px) !important;
}

.is-hovered.is-style-hover-zoom {
    transform: scale(1.04) !important;
}

.is-hovered.is-style-hover-glow {
    box-shadow: 0 15px 35px rgba(181, 0, 0, 0.1) !important;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.contact-faq {
    padding: var(--space-20, 5rem) var(--space-4, 1rem);
}

.faq-title {
    font-size: var(--font-size-3xl, 2.25rem);
    font-weight: var(--font-weight-extrabold, 800);
    color: var(--color-neutral-900, #212121);
    margin: 0 0 var(--space-4, 1rem);
}

.faq-subtitle {
    font-size: var(--font-size-lg, 1.25rem);
    color: var(--color-neutral-600, #757575);
    margin: 0 0 var(--space-12, 3rem);
    line-height: var(--line-height-relaxed, 1.75);
}

.faq-item {
    background: var(--color-neutral-0, #FFFFFF);
    border: 2px solid var(--color-neutral-200, #EEEEEE);
    border-radius: var(--radius-lg, 12px);
    padding: var(--space-6, 1.5rem);
    margin-bottom: var(--space-4, 1rem);
    transition: all var(--transition-base, 0.25s) ease;
}

.faq-item:hover {
    border-color: var(--color-primary-300, #E57373);
    box-shadow: var(--shadow-md, 0 6px 16px 0 rgba(0, 0, 0, 0.1));
}

.faq-item summary {
    font-size: var(--font-size-lg, 1.25rem);
    font-weight: var(--font-weight-semibold, 600);
    color: var(--color-neutral-900, #212121);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-left: var(--space-8, 2rem);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: '+';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-50, #FFEBEE);
    color: var(--color-primary-600, #C62828);
    border-radius: var(--radius-md, 8px);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold, 700);
    transition: all var(--transition-base, 0.25s) ease;
}

.faq-item[open] summary::before {
    content: 'âˆ’';
    background: var(--color-primary-500, #D32F2F);
    color: var(--color-neutral-0, #FFFFFF);
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    font-size: var(--font-size-base, 1rem);
    color: var(--color-neutral-700, #616161);
    line-height: var(--line-height-relaxed, 1.75);
    margin: var(--space-4, 1rem) 0 0;
    padding-left: var(--space-8, 2rem);
    animation: fadeIn 0.3s ease-out;
}

/* ==========================================
   Modern Comments System
   ========================================== */

/* Container */
.comments-section-wrapper {
    background-color: #f9fafb;
}

.modern-comments-list {
    max-width: 800px;
    margin: 0 auto;
}

.comments-title {
    margin-bottom: 2rem !important;
    position: relative;
    padding-bottom: 1rem;
    color: var(--color-neutral-900, #111827);
}

.comments-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--color-primary-500, #b50000);
    border-radius: 2px;
}

/* Comment Card */
.comment-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.comment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

/* Avatar */
.comment-card .wp-block-avatar img {
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Author Name */
.wp-block-comment-author-name a {
    text-decoration: none;
    color: var(--color-neutral-900, #111827);
    font-size: 1.1rem;
}

.wp-block-comment-author-name a:hover {
    color: var(--color-primary-500, #b50000);
}

/* Comment Content */
.wp-block-comment-content p {
    color: var(--color-neutral-700, #374151);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Generic Button Styles for Reply/Edit */
.wp-block-comment-reply-link,
.wp-block-comment-edit-link {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
    text-decoration: none;
}

/* Reply Button */
.wp-block-comment-reply-link {
    background-color: rgba(181, 0, 0, 0.08);
    /* primary color with opacity */
    color: var(--color-primary-600, #960000);
}

.wp-block-comment-reply-link:hover {
    background-color: var(--color-primary-500, #b50000);
    color: #fff;
}

/* Edit Link */
.wp-block-comment-edit-link {
    color: #6b7280;
}

.wp-block-comment-edit-link:hover {
    color: var(--color-primary-500, #b50000);
}

/* Comments Pagination */
.wp-block-comments-pagination {
    margin-top: 2rem;
    gap: 0.5rem;
}

.wp-block-comments-pagination a.wp-block-comments-pagination-numbers,
.wp-block-comments-pagination-previous,
.wp-block-comments-pagination-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
}

.wp-block-comments-pagination .wp-block-comments-pagination-numbers-current {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-500, #b50000);
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
}

.wp-block-comments-pagination a:hover {
    border-color: var(--color-primary-500, #b50000);
    color: var(--color-primary-500, #b50000);
}

/* Comment Form */
#respond {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.comment-reply-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--color-neutral-900, #111827);
}

.comment-form p {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-neutral-700, #374151);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--color-primary-500, #b50000);
    box-shadow: 0 0 0 3px rgba(181, 0, 0, 0.1);
}

.comment-form textarea {
    min-height: 120px;
}

.comment-form .submit {
    background: var(--color-primary-500, #b50000);
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.comment-form .submit:hover {
    background: var(--color-primary-600, #960000);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(181, 0, 0, 0.2);
}

/* Privacy Checkbox */
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-form-cookies-consent input {
    width: auto !important;
    margin: 0;
}

.comment-form-cookies-consent label {
    margin: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

/* ==========================================
   Marquee Announcement Banner
   ========================================== */

/* Main Marquee Container */
.marquee-announcement-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;

}

.marquee-container {
    position: relative;
    overflow: hidden;
}

/* Marquee Content Animation */
.marquee-content {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    padding: 0 .8rem;
    color: #e7e0e0;
    font-size: .8rem;
    transition: transform 0.3s ease;
}

.marquee-item:hover {
    transform: scale(1.05);
}

/* Pause on Hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Marquee Animation */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
/* Floating UI Elements Styling */

/* Back to Top - Right Side */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--wp--preset--color--primary, #c62828);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #a52121;
    transform: translateY(-5px);
    color: #fff;
}

/* Floating Contacts - Left Side */
.floating-contacts {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-contact-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 24px;
}

.floating-contact-btn.whatsapp {
    background-color: #25d366;
}

.floating-contact-btn.phone {
    background-color: #007bff;
}

.floating-contact-btn:hover {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
}

/* Tooltip on hover */
.floating-contact-btn::after {
    content: attr(data-label);
    position: absolute;
    left: 70px;
    background: #333;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-contact-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .floating-contacts {
        bottom: 20px;
        left: 20px;
        gap: 10px;
    }

    .floating-contact-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}


.programs-section {
    padding: 80px 20px;
    background: #f9fafb;
}

/* Header */
.programs-section__header {
    text-align: center;
    margin-bottom: 60px;
}

.programs-section__title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    position: relative;
    display: inline-block;
}

.programs-section__title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.programs-section__subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 24px 0 0 0;
}

/* Grid */
.programs-grid {
    max-width: 1200px;
    margin: 0 auto;
    gap: 24px !important;
}

.programs-grid>.wp-block-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Program Card */
.program-card {
    background: #fff;
    padding: 40px 24px 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red-light);
}

/* Icon Wrapper - Base */
.program-card__icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.program-card:hover .program-card__icon-wrapper {
    transform: scale(1.1);
}

.program-card__icon-wrapper p {
    margin: 0;
}

.program-card__icon {
    font-size: 36px;
    line-height: 1;
}

/* Icon Wrapper Colors */
.program-card__icon-wrapper--purple {
    background: rgba(139, 92, 246, 0.1);
}

.program-card:hover .program-card__icon-wrapper--purple {
    background: rgba(139, 92, 246, 0.15);
}

.program-card__icon-wrapper--orange {
    background: rgba(251, 146, 60, 0.1);
}

.program-card:hover .program-card__icon-wrapper--orange {
    background: rgba(251, 146, 60, 0.15);
}

.program-card__icon-wrapper--blue {
    background: rgba(59, 130, 246, 0.1);
}

.program-card:hover .program-card__icon-wrapper--blue {
    background: rgba(59, 130, 246, 0.15);
}

.program-card__icon-wrapper--red {
    background: rgba(239, 68, 68, 0.1);
}

.program-card:hover .program-card__icon-wrapper--red {
    background: rgba(239, 68, 68, 0.15);
}

.program-card__icon-wrapper--cyan {
    background: rgba(6, 182, 212, 0.1);
}

.program-card:hover .program-card__icon-wrapper--cyan {
    background: rgba(6, 182, 212, 0.15);
}

.program-card__icon-wrapper--pink {
    background: rgba(236, 72, 153, 0.1);
}

.program-card:hover .program-card__icon-wrapper--pink {
    background: rgba(236, 72, 153, 0.15);
}

.program-card__icon-wrapper--green {
    background: rgba(34, 197, 94, 0.1);
}

.program-card:hover .program-card__icon-wrapper--green {
    background: rgba(34, 197, 94, 0.15);
}

/* Card Title */
.program-card__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

/* Card Meta */
.program-card__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.program-card__meta p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.program-card__meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.program-card__meta-value {
    font-weight: 600;
    color: var(--primary-red);
    font-size: 16px;
}

.program-card__meta-separator {
    color: var(--border-dark);
    opacity: 0.5;
}

/* CTA Button */
.programs-cta {
    text-align: center;
    margin-top: 48px;
}

.programs-cta__button .wp-block-button__link {
    background: var(--primary-red);
    color: #fff;
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.3);
    transition: var(--transition-base);
}

.programs-cta__button .wp-block-button__link:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .programs-grid {
        flex-wrap: wrap;
    }

    .programs-grid>.wp-block-column {
        flex-basis: calc(33.333% - 16px);
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .programs-section {
        padding: 60px 20px;
    }

    .programs-section__title {
        font-size: 32px;
    }

    .programs-grid>.wp-block-column {
        flex-basis: calc(50% - 12px);
    }

    .program-card {
        padding: 32px 20px 28px;
    }

    .program-card__title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .programs-grid>.wp-block-column {
        flex-basis: 100%;
    }

    .program-card {
        padding: 28px 20px 24px;
    }

    .program-card__icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .program-card__icon {
        font-size: 32px;
    }

    .program-card__title {
        font-size: 18px;
    }
}
/* ==========================================
   FontAwesome Custom Subset
   Only Icons Used in Study Wafdden Theme
   File Size: ~3 KB (vs 70 KB full version)
   ========================================== */

/* Font Awesome Brands - For WhatsApp */
@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/fontawesome/fa-brands-400.woff2) format("woff2"),
        url(../fonts/fontawesome/fa-brands-400.ttf) format("truetype");
}

/* Font Awesome Solid - For UI Icons */
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(../fonts/fontawesome/fa-solid-900.woff2) format("woff2"),
        url(../fonts/fontawesome/fa-solid-900.ttf) format("truetype");
}

/* ==========================================
   Base Styles
   ========================================== */
.fa,
.fas,
.fa-solid,
.fab,
.fa-brands {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

/* Solid Icons */
.fas,
.fa-solid {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Brand Icons */
.fab,
.fa-brands {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

/* ==========================================
   Icons - Only What We Use (5 Total)
   ========================================== */

/* Solid Icons (4) */
.fa-arrow-up:before {
    content: "\f062";
}

.fa-phone:before {
    content: "\f095";
}

.fa-chevron-up:before {
    content: "\f077";
}

.fa-check:before {
    content: "\f00c";
}

/* Brand Icons (1) */
.fa-whatsapp:before {
    content: "\f232";
}

/* ==========================================
   Icon Sizes (if needed)
   ========================================== */
.fa-xs {
    font-size: 0.75em;
}

.fa-sm {
    font-size: 0.875em;
}

.fa-lg {
    font-size: 1.25em;
    line-height: 0.05em;
    vertical-align: -0.075em;
}

.fa-xl {
    font-size: 1.5em;
}

.fa-2x {
    font-size: 2em;
}

.fa-3x {
    font-size: 3em;
}

/* ==========================================
   Fixed Width (optional)
   ========================================== */
.fa-fw {
    text-align: center;
    width: 1.25em;
}
