/* ==============================================
   INDEX3 PAGE STYLES - ELEGANT & PROFESSIONAL
   ============================================== */

/* Premium Color Palette - Refined */
:root {
    --color-primary: #1e40af;
    --color-primary-light: #3b82f6;
    --color-secondary: #0369a1;
    --color-accent: #059669;
    --color-light-bg: #f0f9ff;
    --color-border: #dbeafe;
    --color-text-primary: #1e293b;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
}

/* Navigation V3 */
.navbar-v3 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

/* Hero Section - Elegant */
.hero-elegant {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    padding: 5rem 0;
    position: relative;
}

.hero-elegant-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-elegant-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-elegant-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-elegant-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-text {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.btn-text:hover {
    border-bottom-color: var(--color-primary);
}

.arrow {
    transition: transform 0.3s ease;
}

.btn-text:hover .arrow {
    transform: translateX(4px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Hero Visual - Elegant Cards */
.hero-visual-elegant {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    position: absolute;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    width: 200px;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.08);
    transition: all 0.3s ease;
}

.visual-card-1 {
    top: 20px;
    left: 0;
}

.visual-card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.visual-card-3 {
    bottom: 20px;
    left: 40px;
}

.visual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.15);
}

.card-title {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.card-status {
    height: 4px;
    background: #e0e7ff;
    border-radius: 2px;
    overflow: hidden;
}

.card-status.active {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0%, 100% {
        width: 100%;
    }
    50% {
        width: 50%;
    }
}

/* Why Choose Section */
.why-choose {
    background: white;
    padding: 6rem 0;
    border-top: 1px solid var(--color-border);
}

.section-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.section-intro h2 {
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.section-intro p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.features-elegant-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-elegant {
    padding: 2rem;
    border-radius: 0.75rem;
    background: white;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
}

.feature-elegant:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.1);
    transform: translateY(-4px);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e0e7ff;
    margin-bottom: 1rem;
}

.feature-elegant-header {
    margin-bottom: 1rem;
    position: relative;
}

.feature-elegant h3 {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.feature-accent-line {
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    margin-top: 0.75rem;
    transition: width 0.3s ease;
}

.feature-elegant:hover .feature-accent-line {
    width: 60px;
}

.feature-elegant p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* The Difference Section */
.difference-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    padding: 6rem 0;
}

.difference-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 4rem;
}

.difference-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
}

.diff-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
}

.diff-card.highlighted {
    border: 2px solid var(--color-primary);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.15);
}

.highlight-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.diff-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.diff-icon.traditional {
    opacity: 0.5;
}

.diff-card h3 {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.diff-list {
    list-style: none;
}

.diff-list li {
    padding: 0.75rem 0;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.diff-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.5rem;
}

.diff-divider {
    width: 1px;
    background: var(--color-border);
    height: 100%;
    min-height: 300px;
}

/* Learning Timeline */
.learning-timeline {
    background: white;
    padding: 6rem 0;
}

.learning-timeline h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.timeline-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 4rem;
}

.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.timeline-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.timeline-marker {
    margin-bottom: 2rem;
}

.marker-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.2);
}

.timeline-content {
    text-align: center;
}

.timeline-content h3 {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.difficulty {
    display: inline-block;
    background: var(--color-light-bg);
    color: var(--color-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.timeline-line {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    z-index: -1;
}

/* What You'll Learn */
.what-youll-learn {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    padding: 6rem 0;
}

.what-youll-learn h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 4rem;
}

.learn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.learn-category h3 {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.learn-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.skills-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.skill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.skill-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    display: block;
}

/* Technical Skills Icons - Blue Accent */
.tech-icon-1,
.tech-icon-2,
.tech-icon-3,
.tech-icon-4,
.tech-icon-5,
.tech-icon-6 {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
}

.tech-icon-1 svg,
.tech-icon-2 svg,
.tech-icon-3 svg,
.tech-icon-4 svg,
.tech-icon-5 svg,
.tech-icon-6 svg {
    stroke: var(--color-primary);
    color: var(--color-primary);
}

/* Professional Skills Icons - Accent Green */
.prof-icon-1,
.prof-icon-2,
.prof-icon-3,
.prof-icon-4,
.prof-icon-5,
.prof-icon-6 {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
}

.prof-icon-1 svg,
.prof-icon-2 svg,
.prof-icon-3 svg,
.prof-icon-4 svg,
.prof-icon-5 svg,
.prof-icon-6 svg {
    stroke: var(--color-accent);
    color: var(--color-accent);
}

/* Hover Effects */
.skill-item:hover .tech-icon-1,
.skill-item:hover .tech-icon-2,
.skill-item:hover .tech-icon-3,
.skill-item:hover .tech-icon-4,
.skill-item:hover .tech-icon-5,
.skill-item:hover .tech-icon-6 {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    transform: scale(1.1);
}

.skill-item:hover .prof-icon-1,
.skill-item:hover .prof-icon-2,
.skill-item:hover .prof-icon-3,
.skill-item:hover .prof-icon-4,
.skill-item:hover .prof-icon-5,
.skill-item:hover .prof-icon-6 {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    transform: scale(1.1);
}

.skill-item span:last-child {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* Featured Students Section */
.featured-students {
    background: white;
    padding: 6rem 0;
    border-top: 1px solid var(--color-border);
}

.students-carousel-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.students-carousel-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    width: 100%;
}

.students-carousel {
    display: flex;
    gap: 2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: fit-content;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--color-border);
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-nav:hover {
    border-color: var(--color-primary);
    background: var(--color-light-bg);
    transform: scale(1.05);
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav:disabled:hover {
    border-color: var(--color-border);
    background: white;
    transform: scale(1);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator:hover {
    background: var(--color-primary);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: var(--color-primary);
    width: 28px;
    border-radius: 5px;
}

/* Student Card */

.student-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.05);
    flex-shrink: 0;
}

.student-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.15);
    transform: translateY(-8px);
}

.student-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.student-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
}

.student-badge.aws-badge {
    background: linear-gradient(135deg, #FF9900, #FFA922);
}

.student-badge.azure-badge {
    background: linear-gradient(135deg, #0078D4, #0087DC);
}

.student-badge.opensource-badge {
    background: linear-gradient(135deg, #06a77d, #13b89b);
}

.student-content {
    padding: 2rem;
}

.student-content h3 {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.student-role {
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.student-company {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Stats Highlight */
.stats-highlight {
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    color: white;
    padding: 4rem 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 1rem;
    opacity: 0.9;
}

/* Final CTA */
.final-cta {
    background: white;
    padding: 6rem 0;
}

.cta-box {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, var(--color-light-bg) 0%, #ffffff 100%);
    border-radius: 1.5rem;
    border: 2px solid var(--color-border);
}

.cta-box h2 {
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1200px) {
    .features-elegant-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .learn-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-elegant-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-elegant-title {
        font-size: 2rem;
    }

    .hero-elegant-subtitle {
        font-size: 1rem;
    }

    .hero-elegant-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-visual-elegant {
        height: 300px;
    }

    .visual-card {
        width: 160px;
        padding: 1.25rem;
    }

    .features-elegant-grid {
        grid-template-columns: 1fr;
    }

    .difference-grid {
        grid-template-columns: 1fr;
    }

    .diff-divider {
        display: none;
    }

    .timeline-horizontal {
        flex-direction: column;
        gap: 3rem;
    }

    .timeline-line {
        display: none;
    }

    .section-intro h2 {
        font-size: 1.75rem;
    }

    .what-youll-learn h2 {
        font-size: 1.75rem;
    }

    .cta-box {
        padding: 2rem;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .students-carousel-container {
        gap: 1rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-elegant-title {
        font-size: 1.5rem;
    }

    .hero-elegant-subtitle {
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: nowrap;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-text {
        font-size: 0.75rem;
    }

    .visual-card {
        width: 140px;
        padding: 1rem;
    }

    .learn-grid {
        grid-template-columns: 1fr;
    }

    .skills-list {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-box {
        padding: 1.5rem;
    }

    .students-carousel-container {
        gap: 0.75rem;
    }

    .carousel-nav {
        width: 36px;
        height: 36px;
    }

    .carousel-nav svg {
        width: 16px;
        height: 16px;
    }
}
