/* 
    Author     : arifulhaque
*/

/* Global */
html, body {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    min-height: 400px;
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 25% 25%, #ffffff 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, #ffffff 2px, transparent 2px);
    background-size: 100px 100px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-10px) translateX(10px); }
    66% { transform: translateY(10px) translateX(-5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.hero-content .description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: #6366f1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #6366f1;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    background: #1f2937;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.window-header {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.code-content {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.5;
}

.code-line {
    margin: 8px 0;
    opacity: 0;
    animation: typewriter 0.5s forwards;
    text-align: left;
    padding-left: 2rem;
}

.code-line:nth-child(1) { animation-delay: 0.3s; color: #10b981; padding-left:  0px;}
.code-line:nth-child(2) { animation-delay: 0.6s; color: #6366f1; }
.code-line:nth-child(3) { animation-delay: 0.9s; color: #f59e0b; }
.code-line:nth-child(4) { animation-delay: 1.2s; color: #ef4444; }
.code-line:nth-child(5) { animation-delay: 1.5s; color: #8b5cf6; }
.code-line:nth-child(6) { animation-delay: 1.8s; color: #06b6d4; }
.code-line:nth-child(7) { animation-delay: 2.1s; color: #84cc16; }
.code-line:nth-child(8) { animation-delay: 2.4s; color: #f97316; }
.code-line:nth-child(9) { animation-delay: 2.7s; color: #ec4899; }
.code-line:nth-child(10) { animation-delay: 3.0s; color: #14b8a6; }
.code-line:nth-child(11) { animation-delay: 3.3s; color: #a855f7; }
.code-line:nth-child(12) { animation-delay: 3.6s; color: #eab308; }
.code-line:nth-child(13) { animation-delay: 3.9s; color: #f43f5e; }
.code-line:nth-child(14) { animation-delay: 4.2s; color: #0ea5e9; }
.code-line:nth-child(15) { animation-delay: 4.5s; color: #22c55e; }
.code-line:nth-child(16) { animation-delay: 4.8s; color: #fb7185; }
.code-line:nth-child(17) { animation-delay: 5.1s; color: #7c3aed; }
.code-line:nth-child(18) { animation-delay: 5.4s; color: #fbbf24; }
.code-line:nth-child(19) { animation-delay: 5.7s; color: #34d399; }
.code-line:nth-child(20) { animation-delay: 6.0s; color: #60a5fa; }
.code-line:nth-child(21) { animation-delay: 6.3s; color: #f87171; }
.code-line:nth-child(22) { animation-delay: 6.6s; color: #a78bfa; }
.code-line:nth-child(23) { animation-delay: 6.9s; color: #fbbf24; }
.code-line:nth-child(24) { animation-delay: 7.2s; color: #2dd4bf; }

@keyframes typewriter {
    to { opacity: 1; }
}

/* Skills Section */
.skills {
    padding: 5rem 0;
    background: #f8fafc;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.skill-card h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.skill-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
}

.stat-label {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
}

.contact-content {
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Footer */
footer { 
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    opacity: 0.7;
}

audio::-webkit-media-controls-panel {
    background-color: #e6f7fa; /* a soothing light blue */
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hero {
        padding: 50px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}
/* mobil device */
@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
    }
}