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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
    margin: 0;
    padding-top: 70px;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    top: 0;
}

.nav-content {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.logo-link:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.logo-img {
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: rotate(15deg);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.nav-links a.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 1rem;
    margin-bottom: 4rem;
}

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

.hero-content h2 {
    font-size: 1.8rem;
    color: #3b82f6;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.3rem;
    color: #4b5563;
    margin: 1.5rem 0;
    line-height: 1.8;
}

.hero-links {
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.website-link, .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.website-link {
    background: #2563eb;
    color: white;
}

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

.cta-button {
    background: #10b981;
    color: white;
}

.cta-button:hover {
    background: #059669;
    transform: translateY(-2px);
}

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

.social-links a {
    color: #3b82f6;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #1e40af;
    transform: translateY(-2px);
}

.profile-photo-wrapper {
    width: 170px;
    height: 170px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 60% 40%, #e0f2fe 60%, #3b82f6 100%);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.profile-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.10);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    background: #fff;
}

.profile-photo-wrapper:hover .profile-photo {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25);
}

/* Sections */
section {
    padding: 5rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background: #fff;
    padding-top: 100px;
    min-height: calc(100vh - 100px);
}

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

/* Experience Section */
.experience {
    background: #f8fafc;
    padding-top: 100px;
}

.experience-card {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: none;
}

.experience-card h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.experience-card h4 {
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.date {
    color: #64748b;
    font-style: italic;
    margin-bottom: 1rem;
}

.role {
    margin-top: 1.5rem;
}

.role h5 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.experience-card ul {
    list-style-position: inside;
    margin-left: 1rem;
}

/* Skills Section */
.skills {
    background: #fff;
    padding-top: 100px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1;
    transform: none;
}

.skill-category {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: none;
}

.skill-category h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.skill-category li::before {
    content: "•";
    color: #3b82f6;
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact {
    background: #f8fafc;
    padding-top: 100px;
    min-height: calc(100vh - 100px);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: #3b82f6;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}

#contact-form button {
    background: #3b82f6;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

#contact-form button:hover {
    background: #2563eb;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    transition: all 0.3s ease;
    position: relative;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.mobile-menu-btn:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.mobile-menu-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Animations */
.experience-card.animate,
.skill-category.animate {
    opacity: 1;
    transform: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-content {
        padding: 0.75rem 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        gap: 1rem;
        z-index: 1001;
    }

    .nav-links.show {
        right: 0;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        border-radius: 8px;
        font-size: 1.1rem;
        width: 100%;
        text-align: left;
    }

    .nav-links a.active {
        background: rgba(37, 99, 235, 0.1);
    }

    .nav-links a.active::after {
        display: none;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

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

    .hero-content h2 {
        font-size: 1.5rem;
    }

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

    .contact-content {
        padding: 1rem;
    }

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

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

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

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

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

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

    .website-link, .cta-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    #contact-form input,
    #contact-form textarea {
        width: 100%;
        padding: 0.8rem;
    }

    .form-status {
        width: 100%;
        text-align: center;
    }

    body {
        padding-top: 60px;
    }
}

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

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .profile-photo-wrapper {
        width: 140px;
        height: 140px;
    }

    .profile-photo {
        width: 120px;
        height: 120px;
    }

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

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-item {
        padding: 1rem;
    }

    .tech-item img {
        width: 40px;
        height: 40px;
    }

    .service-card {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .blog-content {
        padding: 1rem;
    }

    .nav-content {
        padding: 0.75rem;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }

    .mobile-menu-btn {
        font-size: 1.25rem;
        padding: 0.4rem;
        width: 36px;
        height: 36px;
    }

    .nav-links {
        padding: 70px 1.5rem 1.5rem;
    }

    .nav-links a {
        padding: 0.75rem;
        font-size: 1rem;
    }
}

/* Add smooth transition for mobile */
.nav-links {
    transition: right 0.3s ease-in-out;
}

/* Improve form elements on mobile */
#contact-form input,
#contact-form textarea {
    font-size: 16px; /* Prevents zoom on iOS */
}

/* Add touch-friendly spacing for mobile */
@media (max-width: 768px) {
    .nav-links a {
        padding: 0.5rem 0;
        display: block;
    }

    section {
        padding: 3rem 1rem;
    }

    .experience-card {
        padding: 1.5rem;
    }
}

/* Active Navigation Link */
.nav-links a.active {
    color: #2563eb;
    font-weight: 600;
}

/* Projects Section Styles */
.projects {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.projects h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.5em;
}

.project-category {
    margin-bottom: 60px;
}

.project-category h3 {
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-category h3 i {
    color: #3498db;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.project-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.project-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .projects {
        padding: 60px 15px;
    }

    .project-category h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .project-card {
        padding: 20px;
    }

    .project-card h4 {
        font-size: 1.1em;
    }

    .project-card p {
        font-size: 0.9em;
    }
}

/* Form Status Styles */
.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #34d399;
}

.form-status.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

.form-status.loading {
    display: block;
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #60a5fa;
}

/* Ensure proper spacing for all sections */
.about,
.experience,
.skills,
.contact,
.projects {
    padding-top: 100px;
    min-height: calc(100vh - 100px);
}

/* Tech Stack Section */
.tech-stack {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 1rem;
    text-align: center;
}

.tech-stack h3 {
    color: #1e40af;
    margin-bottom: 3rem;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.tech-stack h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    padding: 0 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 10px;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(37, 99, 235, 0.1);
}

.tech-item img {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.tech-item:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.15));
}

.tech-item span {
    color: #4b5563;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.tech-item:hover span {
    color: #2563eb;
}

/* Quick Stats Section */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.stat-item i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.stat-item h4 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #4b5563;
    font-size: 1.1rem;
}

/* Featured Projects Preview */
.featured-projects {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.featured-projects h3 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 3rem;
    font-size: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.featured-projects h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

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

.project-preview {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

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

.project-preview h4 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: #1e40af;
    margin: 0;
    font-size: 1.3rem;
}

.project-preview p {
    padding: 0 1.5rem 1rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #1e40af;
}

.view-all-projects {
    text-align: center;
    margin-top: 2rem;
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Call to Action Section */
.cta-section {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    margin-top: 4rem;
    width: 100%;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.cta-section .cta-button {
    background: white;
    color: #2563eb;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.cta-section .cta-button:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Footer Enhancements */
footer {
    background: #1e40af;
    color: white;
    padding: 3rem 1rem;
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

footer .social-links {
    margin: 2rem 0;
}

footer .social-links a {
    color: white;
    font-size: 1.5rem;
}

footer .social-links a:hover {
    opacity: 0.8;
}

footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

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

    .tech-grid {
        gap: 2rem;
    }

    .tech-item img {
        width: 60px;
        height: 60px;
    }

    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-preview-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

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

    .website-link, .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .quick-stats {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        gap: 1.5rem;
    }

    .tech-item {
        padding: 0.5rem;
    }

    .tech-item img {
        width: 50px;
        height: 50px;
    }
}

/* Services Section */
.services-section {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 1rem;
    text-align: center;
}

.services-section h3 {
    color: #1e40af;
    margin-bottom: 3rem;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.services-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

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

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.service-card h4 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #4b5563;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 1rem;
    text-align: center;
}

.testimonials-section h3 {
    color: #1e40af;
    margin-bottom: 3rem;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.testimonials-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    color: #2563eb;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: #4b5563;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: #1e40af;
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: #4b5563;
    margin: 0;
    font-size: 0.9rem;
}

/* Blog Section */
.blog-section {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 1rem;
    text-align: center;
}

.blog-section h3 {
    color: #1e40af;
    margin-bottom: 3rem;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.blog-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

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

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

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

.blog-content {
    padding: 1.5rem;
}

.blog-content h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.blog-content p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: #1e40af;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .blog-content {
        padding: 1rem;
    }
}

/* Main Content Grid */
.main-content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.content-section {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-section h3 {
    color: #1e40af;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.content-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

/* Services Section */
.services-section {
    flex: 1;
}

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

.service-card {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.service-card h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.service-card p {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Featured Projects */
.featured-projects {
    flex: 1;
}

.project-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.project-preview {
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.project-preview h4 {
    padding: 1rem 1rem 0.5rem;
    color: #1e40af;
    margin: 0;
    font-size: 1.2rem;
}

.project-preview p {
    padding: 0 1rem 1rem;
    color: #4b5563;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #1e40af;
}

/* Blog Section */
.blog-section {
    flex: 1;
}

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

.blog-card {
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.blog-content {
    padding: 1rem;
}

.blog-content h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.blog-content p {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: #1e40af;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content-grid {
        flex-direction: column;
    }

    .content-section {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .project-preview-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 1.5rem;
    }
}

/* Improve touch targets */
@media (max-width: 768px) {
    .nav-links a,
    .mobile-menu-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Add smooth transitions */
.nav-links,
.mobile-menu-btn,
.nav-links a {
    transition: all 0.3s ease;
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Add subtle animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-content, .main-content {
    animation: fadeIn 0.5s ease-out;
}

/* Enhanced focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Add hover effects to interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Add subtle shadows to cards and containers */
.card, .container {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.card:hover, .container:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 2rem;
    background: #f8fafc;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-info {
    padding: 3rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.contact-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-methods {
    display: grid;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method i {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.contact-method:hover i {
    transform: scale(1.1);
}

.contact-method h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-method a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.contact-method a:hover {
    opacity: 1;
}

.contact-form-container {
    padding: 3rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(4px);
}

.form-status {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.form-status.success {
    background: #dcfce7;
    color: #166534;
    display: block;
}

.form-status.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

.form-status.loading {
    background: #e0f2fe;
    color: #0369a1;
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info {
        padding: 2rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .contact-info h1 {
        font-size: 2rem;
    }

    .contact-method {
        gap: 0.75rem;
    }

    .contact-method i {
        font-size: 1.25rem;
        padding: 0.75rem;
    }
}

/* Animation for form elements */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: slideUp 0.5s ease-out forwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.submit-btn { animation-delay: 0.4s; }

/* Updated About Page Styles to match website color scheme */
.about-section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.about-intro {
    font-size: 1.2rem;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.about-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.10);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e7ef;
}

.card-header i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-right: 1rem;
}

.card-header h2 {
    font-size: 1.5rem;
    color: #1e40af;
    margin: 0;
}

/* Education Timeline */
.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2563eb;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2563eb;
    border: 2px solid #fff;
}

.timeline-content h3 {
    font-size: 1.1rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.timeline-content .institution {
    color: #4b5563;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.timeline-content .year {
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Career Section */
.career-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.career-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e7ef;
}

.career-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.career-item h3 {
    font-size: 1.1rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.career-item .company {
    color: #2563eb;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.career-item .company a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s;
}
.career-item .company a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.career-item .duration {
    color: #3b82f6;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievements li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
    font-size: 0.9rem;
}

.achievements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.skill-category h3 {
    font-size: 1.1rem;
    color: #1e40af;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e7ef;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-category li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: #4b5563;
    font-size: 0.9rem;
}

.skill-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2563eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        padding: 1rem;
    }

    .about-container {
        padding: 1.5rem;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .about-intro {
        font-size: 1.1rem;
    }

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

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

@media (max-width: 480px) {
    .about-header h1 {
        font-size: 1.75rem;
    }

    .about-intro {
        font-size: 1rem;
    }

    .card-header h2 {
        font-size: 1.25rem;
    }

    .timeline-content h3,
    .career-item h3,
    .skill-category h3 {
        font-size: 1rem;
    }
} 