


/* Variables */
:root {
    --primary-color: #e20000;
    --primary-dark: #b30000;
    --primary-light: #ff2929;
    --secondary-color: #0c0c0c;
    --bg-dark: #151515;
    --bg-darker: #0a0a0a;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --accent-color: #ff4d4d;
    --card-bg: rgba(30, 30, 30, 0.8);
    --gradient-primary: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
    --gradient-dark: linear-gradient(145deg, var(--secondary-color), var(--bg-darker));
    --gradient-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(226, 0, 0, 0.4));
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes borderGlow {
    0% { box-shadow: 0 0 10px rgba(226, 0, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(226, 0, 0, 0.7); }
    100% { box-shadow: 0 0 10px rgba(226, 0, 0, 0.3); }
}

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0); }
}

/* LinkedIn Animation Styles */
.linkedin-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.member-image:hover .linkedin-wrapper {
    opacity: 1;
    transform: scale(1);
}

.linkedin-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.linkedin-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    z-index: -1;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.linkedin-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.linkedin-link:hover {
    transform: translateY(-5px) scale(1.1);
}

.linkedin-link:hover::before {
    opacity: 1;
}

.linkedin-link:hover::after {
    width: 150%;
    height: 150%;
    opacity: 0;
}

/* Animation for LinkedIn icon */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.member-image:hover .linkedin-link {
    animation: bounce 1s ease;
}

/* Hero Section Styles */
.hero {
    position: relative;
    min-height: 85vh;
    background: linear-gradient(135deg, #121212 0%, #1f1f1f 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
    color: #fff;
}

.hero-slider-container {
    position: relative;
    width: 45%;
    z-index: 2;
    padding: 20px;
    perspective: 1000px;
}

/* Hero titles */
.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 5px;
    background: #e61919;
    border-radius: 10px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* Swiper Slider Styles */
.hero-swiper {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
}

.swiper-slide {
    overflow: hidden;
    border-radius: 20px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.slide-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease, filter 0.5s ease;
}

.swiper-slide-active .slide-image img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transform: translateZ(20px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.swiper-slide-active .slide-overlay {
    opacity: 1;
    transform: translateZ(30px);
    transition-delay: 0.3s;
}

.slide-tag {
    display: inline-block;
    background: #e61919;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(230, 25, 25, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.swiper-slide-active .slide-tag {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.5s;
}

/* Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    transform: scale(0.7);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #e61919;
    transform: scale(0.8);
}

/* Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #e61919;
    transform: scale(1.3);
}

/* 3D Effects */
.slider-cube-shadow {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
    border-radius: 50%;
    filter: blur(20px);
    transform: rotateX(80deg) translateZ(-50px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.swiper-slide-active ~ .slider-cube-shadow {
    opacity: 0.8;
}

/* Fancy animations for active slide */
.swiper-slide-active {
    z-index: 10;
    transform: translateZ(20px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Ambient animation for background */
@keyframes ambientMove {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-5px) translateX(5px); }
    50% { transform: translateY(5px) translateX(10px); }
    75% { transform: translateY(10px) translateX(-5px); }
    100% { transform: translateY(0) translateX(0); }
}

.hero-swiper::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #e61919 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(30px);
    animation: ambientMove 15s infinite ease-in-out;
    z-index: -1;
}

.hero-swiper::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #4a4a4a 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(20px);
    animation: ambientMove 10s infinite ease-in-out reverse;
    z-index: -1;
}

/* Floating elements animation */
@keyframes floatElement {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0); }
}

/* Media Queries */
@media (max-width: 1200px) {
    .hero {
        flex-direction: column;
        padding: 80px 5%;
    }
    
    .hero-content, 
    .hero-slider-container {
        max-width: 100%;
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: 50px;
        text-align: center;
    }
    
    .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-swiper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-swiper {
        height: 350px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        transform: scale(0.6);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-swiper {
        height: 300px;
    }
}

/* Vision & Mission Section */
.vision-mission {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.vision-mission .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.vision-box, .mission-box {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.vision-box:hover, .mission-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(226, 0, 0, 0.3);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(226, 0, 0, 0.3);
}

.icon-box i {
    font-size: 2.5rem;
    color: var(--text-color);
}

.vision-box h2, .mission-box h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.vision-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.mission-list {
    list-style: none;
}

.mission-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
}

.mission-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 5px;
}

/* Values Section */
.values {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(226, 0, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.value-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: borderGlow 3s infinite;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 30px rgba(226, 0, 0, 0.4);
    border-color: var(--accent-color);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(226, 0, 0, 0.5);
}

.value-icon i {
    font-size: 2rem;
    color: var(--text-color);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(226, 0, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.team-member {
    perspective: 1000px;
    height: 330px;
}

.member-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
    transform: rotateY(180deg);
}

.team-member:hover .member-card {
    transform: rotateY(0deg);
}

.member-front, .member-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.member-front {
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    transform: rotateY(0deg);
}

.member-back {
    background: var(--gradient-primary);
    color: var(--text-color);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.member-image {
    width: 100%;
    height: 65%;
    overflow: hidden;
    position: relative;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.member-front:hover .member-img {
    transform: scale(1.05);
}

.member-details {
    padding: 15px;
    text-align: center;
    position: relative;
    height: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-details h3 {
    font-size: 1.0rem;
    margin-bottom: 3px;
    font-weight: 600;
    display: inline-block;
}

.member-title {
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.member-back h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.member-back p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 90%;
}

.name-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3px;
}

.inline-linkedin {
    display: inline-flex;
    margin-left: 8px;
    margin-top: 2px;
}

.inline-linkedin a {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.inline-linkedin a:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 5px rgba(226, 0, 0, 0.4);
}

.member-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

/* Purpose Section */
.purpose {
    padding: 100px 0;
    background: var(--bg-darker);
    background-size: cover;
    background-position: center;
    position: relative;
}

.purpose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    opacity: 0.9;
}

.purpose-content {
    /* text-align: center; */
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.purpose-content h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 700;
    background: linear-gradient(to right, var(--text-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.purpose-content p {
    text-align: center;
    font-size: 1.0rem;
    color: var(--text-secondary);
}

/* Placeholder SVG styles */
.placeholder-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 8px 8px 0 0;
    transition: all 0.4s ease;
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 2px rgba(226, 0, 0, 0.5)); }
    50% { filter: drop-shadow(0 0 8px rgba(226, 0, 0, 0.8)); }
    100% { filter: drop-shadow(0 0 2px rgba(226, 0, 0, 0.5)); }
}

@keyframes rotate-dash {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 20; }
}

@keyframes shine {
    0% { opacity: 0.2; }
    50% { opacity: 0.5; }
    100% { opacity: 0.2; }
}

/* Shimmer effect that moves across the SVG on hover */
@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.team-member:hover .placeholder-svg {
    filter: brightness(1.2) contrast(1.1);
    transform: scale(1.05);
}

.placeholder-svg text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    animation: pulse-glow 2s infinite ease-in-out;
}

.placeholder-svg circle[stroke], 
.placeholder-svg rect[stroke] {
    animation: rotate-dash 10s linear infinite;
}

.placeholder-svg polyline {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.team-member:hover .placeholder-svg polyline {
    animation: dash 2s linear forwards;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

/* Create a shine/shimmer effect when hovering over the card */
.team-member:hover .placeholder-svg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
                              rgba(255, 255, 255, 0) 0%,
                              rgba(255, 255, 255, 0.2) 50%, 
                              rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    transform: skewX(-20deg);
}

/* Enhance the animations when hovering */
.team-member:hover .placeholder-svg circle[fill="#e20000"] {
    animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Hide the LinkedIn wrapper in member-details */
.member-details .linkedin-wrapper {
    display: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .vision-mission .container {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 30px;
    }
    
    .team-member {
        height: 380px;
    }
    
    .purpose-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .vision-box, .mission-box {
        padding: 30px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .purpose-content h2 {
        font-size: 2rem;
    }
}

@keyframes mystery-flash {
    0%, 100% { opacity: 0; }
    3%, 6% { opacity: 0.8; }
    4%, 5% { opacity: 0; }
    50%, 52% { opacity: 0.4; }
    51% { opacity: 0; }
    85%, 86% { opacity: 0.5; }
}

.placeholder-svg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(226, 0, 0, 0.4) 0%, transparent 70%);
    z-index: 2;
    opacity: 0;
    animation: mystery-flash 8s infinite;
    pointer-events: none;
}

.placeholder-svg path:not([fill]) {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.team-member:hover .placeholder-svg path:not([fill]) {
    animation: dash 2s linear forwards;
} 