/* General Styles */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --dark-color: #121212;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: #fafafa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

section {
    padding: 100px 0;
}

.container {
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(18, 18, 18, 0.98);
}

.navbar-brand {
    font-weight: 800;
    font-size: 2rem;
    color: #fff;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero h2 {
    font-weight: 300;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(67, 97, 238, 0.3);
    margin-bottom: 2rem;
    object-fit: cover;
}

.hero .btn {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    transform: translateY(-3px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    display: inline-block;
    margin-bottom: 0;
    position: relative;
    font-size: 2.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

/* Skills Section */
.skills {
    background-color: #fff;
}

.skill-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.skill-card i {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Projects Section */
.projects {
    background-color: #f8f9fa;
}

.project-filters {
    text-align: center;
    margin-bottom: 3rem;
}

.project-filters .btn {
    margin: 0.25rem;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.project-filters .btn.active {
    background-color: var(--primary-color);
    color: #fff;
}

.project-card {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background: #fff;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.project-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.project-card .card-body {
    padding: 1.5rem;
}

.project-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.project-card .card-text {
    color: #6c757d;
    margin-bottom: 1rem;
}

.badge {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5em 1em;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background-color: transparent;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* About Section */
.about-hero {
    padding-top: 120px;
    padding-bottom: 60px;
}

.about-img {
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

.about-text h1 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.timeline-card {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    background: #fff;
    position: relative;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.timeline-card::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primary-color);
    top: 20px;
    left: -30px;
}

.timeline-card h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: #6c757d;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Contact Section */
.contact {
    background-color: #fff;
}

.contact-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
    background: #f8f9fa;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.contact-card p {
    margin-bottom: 1.5rem;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
}

.contact-form .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
    border-color: var(--primary-color);
}

.contact-form button {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 30px;
}

/* FAQ Section */
.accordion-item {
    margin-bottom: 1rem;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-button {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    background-color: #fff;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(67, 97, 238, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    color: #6c757d;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff !important;
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    section {
        padding: 80px 0;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.25rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .skill-card, .project-card, .timeline-card, .contact-card {
        margin-bottom: 20px;
    }
}

/* Animation Classes */
.animate__animated {
    animation-duration: 0.8s;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* Process Cards */
.process-card {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    margin-bottom: 30px;
    height: 100%;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.process-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.process-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
} 