@import url('common.css');

/* Modern IT Style - Dark Theme with Neon Accents */

/* Animated Grid Background */
body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background: #0a0e27;
    color: #e0e7ff;
}

/* Main Content */
main {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 200px);
}

/* Global Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.8;
}

/* Ensure all text elements have proper color */
section p,
section li {
    color: rgba(226, 232, 240, 0.8);
}

/* Links styling */
a {
    transition: all 0.3s ease;
}

/* Images styling */
img {
    transition: transform 0.4s ease;
}

/* Buttons styling */
button {
    cursor: pointer;
    transition: all 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.2) 0%, transparent 2px),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 3px);
    background-size: 50px 50px, 50px 50px, 200px 200px, 150px 150px, 300px 300px;
    animation: gridMove 20s linear infinite;
    z-index: -2;
    opacity: 0.3;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Section Animations with Modern Effects */
section {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

section.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(59, 130, 246, 0.1), 
        transparent);
    transition: left 1s ease;
    z-index: 0;
    pointer-events: none;
}

section.visible::before {
    left: 100%;
    transition: left 1.5s ease;
}

/* Infrastructure Section - IT Infrastructure DigitalCore Systems */
.infrastructure-section {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.infrastructure-content {
    max-width: 1200px;
    margin: 0 auto;
}

.infrastructure-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(59, 130, 246, 0.2);
    transition: all 0.4s ease;
}

.infrastructure-image-wrapper:hover {
    box-shadow: 0 12px 48px rgba(59, 130, 246, 0.4),
                0 0 0 1px rgba(59, 130, 246, 0.4);
    transform: scale(1.02);
}

.infrastructure-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.infrastructure-image-wrapper:hover .infrastructure-image {
    transform: scale(1.05);
}

/* About Intro Section - Modern Style */
.about-intro-section {
    padding: 120px 0 80px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(59, 130, 246, 0.2);
    transition: all 0.4s ease;
}

.intro-image-wrapper:hover {
    box-shadow: 0 12px 48px rgba(59, 130, 246, 0.4),
                0 0 0 1px rgba(59, 130, 246, 0.4);
    transform: scale(1.02);
}

.intro-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image-wrapper:hover .intro-image {
    transform: scale(1.05);
}

.intro-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.intro-text p {
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: -0.02em;
    animation: titleGlow 3s ease-in-out infinite;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    border-radius: 2px;
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5)); }
}

@keyframes lineExpand {
    0%, 100% { width: 80px; opacity: 0.6; }
    50% { width: 120px; opacity: 1; }
}

/* Mission Section - Glassmorphism Cards */
.mission-section {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: cardFadeIn 0.8s ease forwards;
}

.mission-card:nth-child(1) { animation-delay: 0.1s; }
.mission-card:nth-child(2) { animation-delay: 0.2s; }
.mission-card:nth-child(3) { animation-delay: 0.3s; }
.mission-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(59, 130, 246, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.mission-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 12px 48px rgba(59, 130, 246, 0.3),
                0 0 0 1px rgba(59, 130, 246, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mission-card:hover::before {
    left: 100%;
}

.mission-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
}

.mission-card p {
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Timeline Section - Modern Timeline Design */
.timeline-section {
    background: rgba(10, 14, 39, 0.8);
    position: relative;
}

.timeline-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent,
        rgba(59, 130, 246, 0.5),
        rgba(139, 92, 246, 0.5),
        transparent);
    transform: translateX(-50%);
    animation: timelinePulse 3s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.timeline-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.timeline-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.4),
                0 0 0 1px rgba(59, 130, 246, 0.4);
}

.timeline-card:hover::after {
    opacity: 1;
}

.timeline-year {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    animation: yearGlow 2s ease-in-out infinite;
}

@keyframes yearGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6)); }
}

.timeline-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: #e0e7ff;
    font-weight: 600;
}

.timeline-card p {
    color: rgba(226, 232, 240, 0.7);
    line-height: 1.8;
    font-size: 1rem;
}

/* Leadership Section - 3D Card Effect */
.leadership-section {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.leader-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%,
        rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.leader-card:hover {
    transform: translateY(-15px) rotateX(2deg) rotateY(-2deg);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4),
                0 0 0 1px rgba(59, 130, 246, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.leader-card:hover::before {
    opacity: 1;
}

.leader-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.leader-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(30, 41, 59, 0.8) 100%);
    z-index: 1;
}

.leader-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(30%) contrast(1.1);
}

.leader-card:hover .leader-image {
    transform: scale(1.1);
    filter: grayscale(0%) contrast(1.2);
}

.leader-info {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.leader-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.leader-info p {
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Principles Section - Hexagon Style */
.principles-section {
    background: rgba(10, 14, 39, 0.8);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.principle-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.principle-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.4),
                0 0 0 1px rgba(139, 92, 246, 0.3);
}

.principle-card:hover::before {
    opacity: 1;
}

.principle-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.principle-card p {
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* Partnerships Section - Glowing Text */
.partnerships-section {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.partnerships-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.partnerships-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    border-radius: 2px;
    animation: lineExpand 2s ease-in-out infinite;
}

.partnerships-content p {
    color: rgba(226, 232, 240, 0.9);
    line-height: 2;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    text-align: center;
    position: relative;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.partnerships-content p:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

/* Achievements Section - Neon Glow Cards */
.achievements-section {
    background: rgba(10, 14, 39, 0.8);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.achievement-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(236, 72, 153, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(236, 72, 153, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(236, 72, 153, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.achievement-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 0 16px 48px rgba(236, 72, 153, 0.4),
                0 0 0 1px rgba(236, 72, 153, 0.4),
                0 0 30px rgba(236, 72, 153, 0.3);
}

.achievement-card:hover::before {
    left: 100%;
}

.achievement-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.achievement-card p {
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* FAQ Section - Modern Accordion */
.faq-section {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.faq-question {
    width: 100%;
    padding: 2rem;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: #e0e7ff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    color: #60a5fa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
}

.faq-question.active {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
}

.faq-question.active::after {
    transform: rotate(45deg);
    background: rgba(59, 130, 246, 0.4);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 23, 42, 0.3);
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body::before,
    body::after {
        animation-duration: 25s;
        opacity: 0.2;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .section-title::after {
        width: 60px;
    }

    .infrastructure-section {
        padding: 60px 0;
    }

    .infrastructure-image-wrapper {
        border-radius: 15px;
    }

    .mission-grid,
    .timeline-grid,
    .leadership-grid,
    .principles-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .timeline-section::before {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .mission-card,
    .timeline-card,
    .leader-card,
    .principle-card,
    .achievement-card {
        padding: 2rem;
    }

    .mission-card h3,
    .leader-info h3,
    .principle-card h3,
    .achievement-card h3 {
        font-size: 1.5rem;
    }

    .timeline-year {
        font-size: 2.5rem;
    }

    .faq-question {
        padding: 1.5rem;
        font-size: 1.1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.5rem;
    }
}

