/* ================================================
   Vision & Mission Section Styles
   Custom styles for Vision and Mission cards
   ================================================ */

/* Color Palette - Theme Colors */
:root {
    --vm-primary: #26c976;
    --vm-secondary: #ff5722;
    --vm-vision-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --vm-mission-bg: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --vm-text-dark: #2c3e50;
    --vm-text-light: #5a6c7d;
    --vm-white: #ffffff;
    --vm-shadow: rgba(0, 0, 0, 0.1);
}

/* Main Section Container */
.vision-mission-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.vision-mission-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: vm-float-decoration 20s ease-in-out infinite;
}

.vision-mission-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 87, 108, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: vm-float-decoration 25s ease-in-out infinite reverse;
}

@keyframes vm-float-decoration {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* Cards Wrapper */
.vm-cards-wrapper {
    position: relative;
    z-index: 1;
}

/* Card Base Styles */
.vm-card {
    background: var(--vm-white);
    border-radius: 20px;
    padding: 40px 35px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--vm-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 450px;
    display: flex;
    flex-direction: column;

}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Vision Card - Specific Styling */
.vm-vision-card {
    border-top: 5px solid #667eea;
}

.vm-vision-card .vm-icon-wrapper {
    background: var(--vm-vision-bg);
}

/* Mission Card - Specific Styling */
.vm-mission-card {
    border-top: 5px solid #f5576c;
}

.vm-mission-card .vm-icon-wrapper {
    background: var(--vm-mission-bg);
}

/* Card Header */
.vm-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

/* Icon Wrapper */
.vm-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.vm-card:hover .vm-icon-wrapper {
    transform: rotate(360deg) scale(1.1);
}

/* Icon SVG */
.vm-icon-svg {
    width: 40px;
    height: 40px;
    color: var(--vm-white);
    transition: all 0.3s ease;
}

.vm-card:hover .vm-icon-svg {
    transform: scale(1.15);
}

/* SVG Animation */
@keyframes vm-draw-svg {
    from {
        stroke-dashoffset: 200;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.vm-icon-svg path[stroke],
.vm-icon-svg line[stroke],
.vm-icon-svg circle[stroke] {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: vm-draw-svg 2s ease forwards;
    animation-delay: 0.5s;
}

/* Card Title */
.vm-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--vm-text-dark);
    margin: 0;
    position: relative;
}

.vm-card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--vm-primary);
    transition: width 0.4s ease;
}

.vm-card:hover .vm-card-title::after {
    width: 100px;
}

/* Card Body */
.vm-card-body {
    flex: 1;
    position: relative;
    z-index: 2;
}

/* Vision Card Text */
.vm-card-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--vm-text-light);
    margin: 0;
}

/* Mission Points */
.vm-mission-points {
    display: flex;
    flex-direction: column;
}

.vm-mission-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.vm-mission-point:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(10px);
}

.vm-point-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5576c;
    font-size: 20px;
    animation: vm-pulse-icon 2s ease-in-out infinite;
}

@keyframes vm-pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.vm-mission-point p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--vm-text-light);
    margin: 0;
}

/* Card Decorations */
.vm-card-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.vm-decoration-1 {
    width: 150px;
    height: 150px;
    background: #667eea;
    top: -50px;
    right: -50px;
    animation: vm-rotate-decoration 15s linear infinite;
}

.vm-decoration-2 {
    width: 100px;
    height: 100px;
    background: #764ba2;
    bottom: -30px;
    left: -30px;
    animation: vm-rotate-decoration 20s linear infinite reverse;
}

.vm-decoration-3 {
    width: 120px;
    height: 120px;
    background: #f093fb;
    top: -40px;
    right: -40px;
    animation: vm-rotate-decoration 18s linear infinite;
}

.vm-decoration-4 {
    width: 90px;
    height: 90px;
    background: #f5576c;
    bottom: -25px;
    left: -25px;
    animation: vm-rotate-decoration 22s linear infinite reverse;
}

@keyframes vm-rotate-decoration {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Hover Glow Effect */
.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.vm-card:hover::before {
    opacity: 0.3;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .vision-mission-section {
        padding: 60px 0;
    }

    .vm-card {
        padding: 35px 30px;
        min-height: 350px;
    }

    .vm-card-title {
        font-size: 24px;
    }

    .vm-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .vm-icon-svg {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 767px) {
    .vision-mission-section {
        padding: 50px 0;
    }

    .vm-card {
        padding: 30px 25px;
        min-height: auto;
        margin-bottom: 25px;
    }

    .vm-card-title {
        font-size: 22px;
    }

    .vm-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .vm-icon-wrapper {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .vm-card-text {
        font-size: 14px;
    }

    .vm-mission-point {
        padding: 12px;
    }

    .vm-mission-point p {
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .vm-card {
        padding: 25px 20px;
    }

    .vm-card-title {
        font-size: 20px;
    }

    .vm-icon-wrapper {
        width: 55px;
        height: 55px;
    }

    .vm-icon-svg {
        width: 30px;
        height: 30px;
    }

    .vm-point-icon {
        width: 25px;
        height: 25px;
        font-size: 18px;
    }
}

/* Print Styles */
@media print {
    .vision-mission-section {
        padding: 20px 0;
        background: white;
    }

    .vm-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .vm-card-decoration {
        display: none;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .vm-card,
    .vm-icon-wrapper,
    .vm-icon-svg,
    .vm-mission-point,
    .vm-card-decoration,
    .vm-point-icon,
    .vm-icon-svg path,
    .vm-icon-svg line,
    .vm-icon-svg circle {
        animation: none;
        transition: none;
    }
}