/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1e3a8a;
    --secondary: #f59e0b;
    --light: #f8fafc;
    --dark: #0f172a;
    --success: #10b981;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: #f1f5f9;
}

/* Navigation */
.navbar {
    background-color: var(--primary);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1575361204480-aadea25e6e68?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2071&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-intro {
    font-size: 1.2rem;
    color: #64748b;
    margin-top: 1rem;
    line-height: 1.6;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

/* Coming Soon Sections */
.coming-soon {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f8fafc;
}

.coming-soon-content {
    max-width: 600px;
    padding: 2rem;
}

.coming-soon h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.coming-soon p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Navigation Buttons */
.section-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.nav-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.nav-button.next {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-button:active {
    transform: translateY(0);
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.svg-placeholder {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.skill-card i {
    font-size: 3rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.skill-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.skill-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.6;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.skill-card:hover i {
    animation: bounce 0.8s ease infinite;
}

/* SVG Animation Styles */
.svg-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.ball {
    animation: bounce 2s infinite ease-in-out;
}

.pass-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3s linear forwards;
}

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

.shot-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 2s linear forwards;
}

dribble-ball {
    animation: bounce 1s infinite alternate;
}

.dribble-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3s linear forwards;
}

/* Progress Bar */
.progress-container {
    background: #e2e8f0;
    border-radius: 10px;
    height: 8px;
    margin: 1rem 0 0.5rem;
    overflow: hidden;
    width: 100%;
}

.progress-text {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: var(--success);
    width: 0%;
    transition: width 0.5s ease;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Responsive Design */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 4rem 1rem;
    }
}

/* Drill Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
    overflow-y: auto;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #e2e8f0;
    color: #1e40af;
    transform: rotate(90deg);
}

/* Drill Content Styling */
.drill-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.drill-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 1.5rem;
}

/* Techniques Section */
.techniques-container {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.technique {
    background: white;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.technique h5 {
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.tech-description {
    color: #4b5563;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tech-when {
    background: #f8fafc;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin: 0.75rem 0;
    border-right: 3px solid var(--secondary);
}

.tech-steps {
    padding-left: 1.25rem;
    margin: 0.5rem 0 0 0;
}

.tech-steps li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #4b5563;
}

/* Practice Drills Section */
.drills-container {
    display: grid;
    gap: 1.25rem;
    margin-top: 1rem;
}

.drill-card {
    background: white;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.drill-card .drill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.drill-card h5 {
    margin: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.duration {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.players, .setup {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0.5rem 0;
}

.players i {
    margin-right: 0.25rem;
    color: var(--secondary);
}

.instructions, .coaching-points, .variations {
    margin: 1rem 0;
}

.instructions h6, .coaching-points h6, .variations h6 {
    margin: 0 0 0.5rem 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.instructions ol, .coaching-points ul, .variations ul {
    padding-left: 1.25rem;
    margin: 0.5rem 0;
}

.instructions li, .coaching-points li, .variations li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
    color: #4b5563;
}

.coaching-points {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--secondary);
}

.variations {
    background: #f0fdf4;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #10b981;
}

/* Common Mistakes Section */
.mistakes-container {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.mistake {
    background: white;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #fee2e2;
}

.mistake-content, .fix, .tip {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #f1f5f9;
}

.mistake-content:last-child, .fix:last-child, .tip:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.label {
    display: inline-block;
    font-weight: 600;
    margin-right: 0.5rem;
    color: #4b5563;
}

.mistake p, .fix p, .tip p {
    display: inline;
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.fix {
    border-left: 3px solid #10b981;
    padding-left: 0.75rem;
    margin-left: 0.5rem;
}

.tip {
    border-left: 3px solid #f59e0b;
    padding-left: 0.75rem;
    margin-left: 0.5rem;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .techniques-container, .drills-container, .mistakes-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .drill-card {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .techniques-container, .drills-container, .mistakes-container {
        grid-template-columns: 1fr;
    }
}

/* Pro Tips and Game Situations */
.drill-list {
    padding-left: 1.25rem;
    margin: 0.5rem 0;
}

.drill-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.drill-list li:before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Icons for different sections */
.fa-star {
    color: #f59e0b;
}

.fa-tools {
    color: #8b5cf6;
}

.fa-running {
    color: #3b82f6;
}

.fa-exclamation-triangle {
    color: #ef4444;
}

.fa-lightbulb {
    color: #f59e0b;
}

.fa-futbol {
    color: #10b981;
}

/* Completion Message */
.completion-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.completion-message.fade-out {
    opacity: 0;
}

.completion-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.completion-message i {
    font-size: 1.5rem;
}

.completion-message p {
    margin: 0;
    font-weight: 500;
}

/* Progress Bar Styling */
.progress-container {
    width: 100%;
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary);
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
}

.progress-text {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

/* Skill Card Progress */
.skill-card .progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    border-radius: 0 0 8px 8px;
}

.skill-card .progress-bar {
    border-radius: 0 0 0 8px;
}

/* Modal Progress */
.modal .progress-container {
    margin: 15px 0;
    background-color: #f1f5f9;
}

.modal .progress-bar {
    background-color: var(--secondary);
}

.modal .progress-text {
    text-align: right;
    font-weight: 500;
    color: #4b5563;
}
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.drill-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #475569;
}

.drill-section {
    margin-bottom: 2rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.drill-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drill-section h4 i {
    color: var(--secondary);
}

.drill-list {
    padding-left: 1.5rem;
    margin: 0;
}

.drill-list li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.drill-list li:before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.drill-list.tips li:before {
    content: '💡';
    color: var(--secondary);
}

.drill-list.mistakes li:before {
    content: '⚠️';
    color: #ef4444;
}

.drill-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-container {
    background: #e2e8f0;
    border-radius: 10px;
    height: 10px;
    margin: 0.5rem 0;
    overflow: hidden;
    width: 100%;
}

.progress-text {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    margin: 0.5rem 0 1rem;
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.cta-button:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button i {
    font-size: 1.2em;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .modal {
        align-items: center;
        padding: 2rem;
    }
    
    .modal-content {
        padding: 3rem;
    }
    
    .drill-actions {
        flex-direction: row;
        align-items: center;
    }
    
    .cta-button {
        width: auto;
        min-width: 200px;
    }
    
    .progress-container {
        margin: 0 1rem 0 0;
        flex-grow: 1;
    }
}

.drill-steps {
    margin-top: 1.5rem;
}

.drill-steps h4 {
    margin: 1.5rem 0 0.5rem;
    color: var(--primary);
}

.drill-steps ol {
    padding-left: 1.5rem;
}

.drill-steps li {
    margin-bottom: 0.5rem;
}
    transition: width 0.5s ease;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
