/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

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



/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

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

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    animation: fadeInRight 1s ease 0.8s both;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-info i {
    margin-right: 0.5rem;
    color: #2563eb;
}

.social-links-hero {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link-hero {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-link-hero:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

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

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #667eea);
    border-radius: 2px;
}

/* About Section */
.about {
    background: white;
}

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #6b7280;
    font-weight: 500;
}

/* Experience Section */
.experience {
    background: #f8f9fa;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2563eb;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #2563eb;
    border-radius: 50%;
    border: 4px solid white;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.company {
    color: #2563eb;
    font-weight: 600;
    font-size: 1rem;
}

.duration {
    color: #6b7280;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.timeline-details {
    margin-top: 1rem;
    list-style: none;
}

.timeline-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
}

.timeline-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.timeline-tech {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Skills Section */
.skills {
    background: white;
}

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

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: #2563eb;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: linear-gradient(135deg, #2563eb, #667eea);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Education Section */
.education {
    background: #f8f9fa;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.education-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.education-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education-header h3 i {
    color: #2563eb;
}

.grade {
    background: #2563eb;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.institution {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.duration {
    color: #9ca3af;
    font-size: 0.9rem;
}

.certifications h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.certifications h3 i {
    color: #2563eb;
}

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

.cert-item {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-3px);
}

.cert-item i {
    color: #2563eb;
    font-size: 1.2rem;
}

/* Projects Section */
.projects {
    background: white;
}

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

.project-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-header h3 i {
    color: #2563eb;
}

.project-type {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-features span {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #6b7280;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: white;
    color: #2563eb;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: 1.3rem;
    font-weight: 600;
}

.form-info {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    padding: 10px;
    background: #f3f4f6;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: #10b981;
}

/* Form validation styles */
.form-group.error input,
.form-group.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.success input,
.form-group.success textarea {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Loading state for submit button */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* AOS-like animations */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        justify-content: center;
    }

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

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -35px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

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

    .social-links {
        flex-direction: column;
    }

    .timeline-tech {
        justify-content: center;
    }
}

/* Freelance Success Section */
.freelance {
    padding: 80px 0;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
}

.freelance-content {
    max-width: 1000px;
    margin: 0 auto;
}

.freelance-intro {
    text-align: center;
    margin-bottom: 60px;
}

.freelance-intro h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.freelance-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.freelance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.freelance-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.freelance-stat:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fbbf24;
}

.stat-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: white;
}

.stat-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.freelance-cta {
    text-align: center;
}

.freelance-cta .btn {
    background: white;
    color: #2563eb;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.freelance-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Freelance Section */
@media (max-width: 768px) {
    .freelance-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .freelance-stat {
        padding: 20px;
    }
    
    .freelance-intro h3 {
        font-size: 1.5rem;
    }
    
    .freelance-intro p {
        font-size: 1rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: #2563eb;
    opacity: 0.1;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-top: 20px;
}

.client-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.client-location {
    font-size: 0.9rem;
    color: #6b7280;
    display: block;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    gap: 2px;
}

.rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.project-details {
    text-align: right;
}

.project-type {
    display: block;
    font-size: 0.8rem;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 5px;
}

.project-price {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.review-date {
    font-size: 0.8rem;
    color: #9ca3af;
}

.testimonials-cta {
    text-align: center;
    margin-top: 40px;
}

.testimonials-cta .btn {
    background: #2563eb;
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.testimonials-cta .btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .project-details {
        text-align: left;
    }
}

/* Professional Networks Section */
.networks {
    padding: 80px 0;
    background: white;
}

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

.network-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.network-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.network-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.network-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.network-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 25px;
}

.network-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.network-stats span {
    background: #f3f4f6;
    color: #374151;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.network-link {
    background: #2563eb;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.network-link:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* Responsive Design for Networks */
@media (max-width: 768px) {
    .networks-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .network-card {
        padding: 30px 20px;
    }
}

/* Print Styles for CV Download */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        margin: 0;
        padding: 20px;
    }
    
    .navbar,
    .hamburger,
    .scroll-indicator,
    .hero-buttons,
    .social-links-hero,
    .social-links,
    .footer,
    .testimonials-cta,
    .freelance-cta,
    .network-link {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        padding: 20px 0 !important;
    }
    
    .hero-title {
        color: black !important;
        font-size: 24pt !important;
    }
    
    .hero-subtitle {
        color: #333 !important;
        font-size: 14pt !important;
    }
    
    .section-title {
        color: black !important;
        font-size: 18pt !important;
        page-break-after: avoid;
    }
    
    .timeline-content,
    .project-card,
    .testimonial-card,
    .network-card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    
    .freelance {
        background: white !important;
        color: black !important;
    }
    
    .freelance-stat {
        background: #f5f5f5 !important;
        border: 1px solid #ddd !important;
    }
    
    .testimonials {
        background: white !important;
    }
    
    .testimonial-card {
        background: #f9f9f9 !important;
    }
    
    .networks {
        background: white !important;
    }
    
    .network-card {
        background: #f5f5f5 !important;
        border: 1px solid #ddd !important;
    }
    
    .contact-info {
        background: #f9f9f9 !important;
        padding: 15px !important;
        border: 1px solid #ddd !important;
    }
    
    .contact-form {
        display: none !important;
    }
    
    /* Page breaks */
    section {
        page-break-inside: avoid;
        margin-bottom: 20px !important;
    }
    
    .timeline-item,
    .project-card,
    .testimonial-card {
        page-break-inside: avoid;
    }
    
    /* Headers */
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        page-break-after: avoid;
    }
    
    /* Links */
    a {
        color: black !important;
        text-decoration: underline !important;
    }
    
    /* Lists */
    ul, ol {
        margin-left: 20px !important;
    }
    
    /* Skills */
    .skill-tag,
    .tech-tag,
    .tech-badge {
        background: #f0f0f0 !important;
        color: black !important;
        border: 1px solid #ccc !important;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: #1e40af;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top.show {
    display: flex;
}

/* Responsive Design for Back to Top */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: #6b7280;
}

/* Responsive Design for Breadcrumb */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.8rem;
        padding: 0 15px;
    }
}

/* Services Section */
.services {
    background: #f8f9fa;
    padding: 80px 0;
}
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.08);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
    position: relative;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}
.service-card i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}
.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.7rem;
}
.service-card p, .service-card ul {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}
.service-card ul {
    list-style: disc inside;
    text-align: left;
    margin: 0 auto;
    max-width: 260px;
    padding-left: 0;
}
.service-card ul li {
    margin-bottom: 0.5rem;
}
.service-card .fab.fa-python {
    color: #3776ab;
    font-size: 2.7rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 8px #2563eb22);
}
@media (max-width: 768px) {
    .services-list {
        grid-template-columns: 1fr;
    }
}

/* Shape Divider */
.shape-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px;
}
.shape-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* Services Intro */
.services-intro {
    text-align: center;
    color: #4b5563;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Service Card */
.service-card.featured {
    border: 2.5px solid #3776ab;
    box-shadow: 0 8px 32px rgba(55, 118, 171, 0.12);
    background: linear-gradient(135deg, #f3f4f6 80%, #e0f2ff 100%);
    position: relative;
}
.service-card.featured::after {
    content: 'Featured';
    position: absolute;
    top: 18px;
    right: 18px;
    background: #3776ab;
    color: #fff;
    font-size: 0.8rem;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px #2563eb22;
}

/* WhatsApp Button */
.btn-success, .btn-success:visited {
    background: #25D366;
    color: #fff !important;
    border: none;
}
.btn-success:hover {
    background: #128C7E;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

/* Button Hover Improvements */
.btn, .btn-primary, .btn-secondary, .btn-outline {
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}

/* Navbar Shadow */
.navbar {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

/* Contact Form Button Spacing on Mobile */
@media (max-width: 600px) {
    .contact-form .btn,
    .contact-form .btn-outline,
    .contact-form .btn-success {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
    }
}

/* Hero Tagline */
.hero-tagline {
    font-size: 1.3rem;
    font-weight: 500;
    color: #e0e7ef;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(37,99,235,0.08);
}

/* Learn More Link */
.learn-more-link {
    display: inline-block;
    margin-top: 1rem;
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    font-size: 0.98rem;
    transition: color 0.2s;
}
.learn-more-link:hover {
    color: #1d4ed8;
}

/* Service Icon Hover */
.service-card i {
    transition: color 0.3s, transform 0.3s;
}
.service-card:hover i {
    color: #1d4ed8;
    transform: scale(1.15) rotate(-6deg);
}

/* Client Avatar in Testimonials */
.client-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #2563eb 60%, #667eea 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    margin-right: 0.7rem;
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
    float: left;
}

/* Back to Top Footer Link */
.back-to-top-footer {
    display: inline-block;
    margin-top: 1.2rem;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.back-to-top-footer:hover {
    color: #fff;
    background: #2563eb;
    border-radius: 12px;
    padding: 2px 10px;
}

/* Section Fade-in Animation */
section, .services-list, .testimonials-grid, .projects-grid {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
section.visible, .services-list.visible, .testimonials-grid.visible, .projects-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Copyright Year Script (no CSS needed) */

/* Social Button Shadow and Hover */
.social-btn {
    box-shadow: 0 2px 10px rgba(37,99,235,0.10);
    transition: box-shadow 0.2s, transform 0.2s;
}
.social-btn:hover {
    box-shadow: 0 6px 20px rgba(37,99,235,0.18);
    transform: translateY(-2px) scale(1.04);
}

/* Mobile Spacing for Contact Section */
@media (max-width: 700px) {
    .contact-section .contact-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    .contact-section .contact-info {
        margin-bottom: 2rem;
    }
    .contact-section .social-links {
        margin-top: 1.5rem;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .contact-section .contact-form {
        margin-top: 1.5rem;
    }
}

/* Hero Stat Number Contrast - Improved with background circle */
.stat-number {
    position: relative;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(37,99,235,0.25), 0 0 6px #222, 0 1px 0 #000;
    font-size: 2.2rem;
    font-weight: 800;
}
/* Remove the background circle from .stat-number */
.stat-number::before {
    display: none !important;
}

/* Hero Tagline Contrast */
.hero-tagline {
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(37,99,235,0.18);
}

/* Social Icon Contrast in Profile Card */
.social-link-hero {
    background: rgba(37,99,235,0.12);
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
    color: #fff;
}
.social-link-hero:hover {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37,99,235,0.18);
}

/* Skip Link Styles */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 1000;
    background: #fff;
    color: #222;
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-weight: 700;
    font-size: 1rem;
    transition: left 0.2s, top 0.2s;
}
.skip-link:focus {
    left: 10px;
    top: 10px;
    width: auto;
    height: auto;
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Footer Contrast Improvements */
.footer-section p,
.footer-section ul li a {
    color: #f3f4f6;
}
.footer-section ul li a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-bottom {
    color: #e5e7eb;
}
.back-to-top-footer {
    color: #fff;
    background: #2563eb;
    border-radius: 12px;
    padding: 2px 10px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}
.back-to-top-footer:hover {
    background: #1e40af;
    color: #fff;
}

/* Email link in footer */
.footer-section a[href^="mailto"] {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}
.footer-section a[href^="mailto"]:hover {
    color: #2563eb;
}
