/* Academic CTA Section Only - Professional Styling */

:root {
    --primary-green: #2E8B57;
    --primary-green-dark: #1e6b47;
    --primary-green-light: #3ca76a;
    --brand-yellow: #FFD700;
    --brand-yellow-dark: #e6c200;
    --brand-yellow-light: #ffdf33;
    --text-dark: #2d3748;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Academic Process Section */
.academic-process {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.academic-process::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><path fill="%232E8B57" d="M500,200c-165,0-300,135-300,300s135,300,300,300s300-135,300-300S665,200,500,200z M500,700c-110,0-200-90-200-200s90-200,200-200s200,90,200,200S610,700,500,700z"/></svg>');
    background-size: 400px;
    z-index: 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--text-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.process-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-green) 0%, var(--brand-yellow) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.process-step:nth-child(odd) {
    flex-direction: row;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--brand-yellow) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 6px 15px rgba(46, 139, 87, 0.3);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    width: calc(50% - 40px);
    margin: 0 1.5rem;
    position: relative;
    transition: var(--transition);
    border-left: 4px solid var(--brand-yellow);
}

.process-step:nth-child(even) .step-content {
    border-left: none;
    border-right: 4px solid var(--brand-yellow);
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-content::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--bg-white);
    transform: translateY(-50%) rotate(45deg);
    box-shadow: var(--shadow);
}

.process-step:nth-child(odd) .step-content::before {
    right: -10px;
}

.process-step:nth-child(even) .step-content::before {
    left: -10px;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-content h3 i {
    color: var(--primary-green);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Process Icons */
.step-content[data-step="1"] h3 i { content: "\f0ee"; }
.step-content[data-step="2"] h3 i { content: "\f3d1"; }
.step-content[data-step="3"] h3 i { content: "\f0c0"; }
.step-content[data-step="4"] h3 i { content: "\f00c"; }
.step-content[data-step="5"] h3 i { content: "\f0d1"; }

/* Responsive Design */
@media (max-width: 768px) {
    .academic-process {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        flex-direction: row !important;
        margin-bottom: 2rem;
    }

    .step-content {
        width: calc(100% - 80px);
        margin-left: 1.5rem;
        margin-right: 0;
        padding: 1.25rem;
    }

    .process-step:nth-child(even) .step-content {
        border-left: 4px solid var(--brand-yellow);
        border-right: none;
    }

    .step-content::before {
        left: -10px !important;
        right: auto !important;
    }

    .section-title {
        font-size: 1.8rem;
        white-space: normal;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .academic-process {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        white-space: normal;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }

    .step-content {
        padding: 1rem;
        width: calc(100% - 70px);
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
}

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

.process-step {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
    padding: 4rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design for Stats */
@media (max-width: 768px) {
    .stats-section {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 2.5rem 0;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Enhanced CTA Section Only */
.academic-cta {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.academic-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    animation: pulse 6s ease-in-out infinite;
}

.academic-cta::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.15; 
    }
    50% { 
        transform: scale(1.1) rotate(2deg); 
        opacity: 0.25; 
    }
}

.academic-cta .cta-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.academic-cta .cta-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.academic-cta .cta-content p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.academic-cta .cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.academic-cta .btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

.academic-cta .btn-primary.btn-large {
    background: var(--brand-yellow);
    color: var(--text-dark);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    border: none;
}

.academic-cta .btn-primary.btn-large:hover {
    background: var(--brand-yellow-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
    color: var(--text-dark);
    text-decoration: none;
}

.academic-cta .btn-secondary.btn-large {
    background: transparent;
    color: white;
    border: 3px solid white;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.academic-cta .btn-secondary.btn-large:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* Responsive Design for CTA Section */
@media (max-width: 768px) {
    .academic-cta .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .academic-cta .cta-content p {
        font-size: 1.2rem;
    }
    
    .academic-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .academic-cta {
        padding: 4rem 0;
    }
    
    .academic-cta .cta-content h2 {
        font-size: 2rem;
    }
    
    .academic-cta .cta-content p {
        font-size: 1.1rem;
    }
    
    .academic-cta .btn-large {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}

/* Button focus states for accessibility */
.academic-cta .btn-large:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .academic-cta::before,
    .academic-cta::after,
    .academic-cta .btn-large {
        animation: none;
        transition: none;
    }
}

/* Popular Badge for Academic Services */
.category-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.popular-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

.popular-badge::before {
    content: "⭐";
    font-size: 1rem;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(255, 215, 0, 0.6);
    }
}

@media (max-width: 768px) {
    .popular-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
}