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

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

html {
    scroll-behavior: smooth;
}

/* Active Navigation Link */
.nav-link.active {
    color: #3498db !important;
    font-weight: 600;
}

.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;
    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;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
}

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

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

.nav-link:hover {
    color: #3498db;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    z-index: 1001;
    position: relative;
    background: transparent;
    border: none;
    outline: none;
}

.hamburger:hover {
    background: rgba(52, 152, 219, 0.1);
}

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

.nav-contact {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #333;
    margin-left: 30px;
    gap: 20px;
}

.nav-contact i {
    margin-right: 6px;
    color: #007bff;
}

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

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

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

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: #f39c12;
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

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

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

.btn-primary {
    background: #3498db;
    color: white;
    border: 2px solid #3498db;
}

.btn-primary:hover {
    background: transparent;
    color: #3498db;
}

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

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    width: 50px;
    height: 3px;
    background: #3498db;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about {
    background: #f8f9fa;
}

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

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

.about-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.info-item i {
    color: #3498db;
    width: 20px;
}

/* Skills Section */
.skills-content {
    display: grid;
    gap: 3rem;
}

.skills-category h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: #3498db;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

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

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

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.timeline-content h4 {
    color: #3498db;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    margin-left: 1.5rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

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

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.project-icon {
    width: 80px;
    height: 80px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.project-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.project-tech span {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Project Links */
.project-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
    text-align: center;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #3498db;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.project-link i {
    font-size: 0.8rem;
}

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

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

.education-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.education-icon {
    width: 60px;
    height: 60px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.education-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.education-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.education-content h4 {
    color: #e74c3c;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.education-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #555;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.social-link:hover {
    background: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        flex-direction: column;
        background-color: white;
        min-width: 200px;
        width: auto;
        text-align: left;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        padding: 1rem 0;
        z-index: 999;
        border: 1px solid #e0e0e0;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu li {
        margin: 0;
        list-style: none;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        display: block;
        border-radius: 0;
        margin: 0;
        transition: all 0.3s ease;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link:hover {
        background: rgba(52, 152, 219, 0.1);
        color: #3498db;
    }

    .nav-link.active {
        background: rgba(52, 152, 219, 0.1);
        color: #3498db !important;
        font-weight: 600;
    }

    .nav-menu li:last-child .nav-link {
        border-bottom: none;
    }

    .hamburger {
        display: flex !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 1002;
        background: transparent;
        border: none;
        outline: none;
        cursor: pointer;
        flex-direction: column;
        padding: 8px;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }

    .hamburger:hover {
        background: rgba(52, 152, 219, 0.1);
    }

    .hamburger:focus {
        outline: 2px solid #3498db;
        outline-offset: 2px;
    }

    .hamburger.active {
        background: rgba(52, 152, 219, 0.1);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #3498db;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #3498db;
    }

    .bar {
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 3px 0;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 2px;
        display: block;
        transform-origin: center;
    }

    /* Remove backdrop - not needed for dropdown */

    /* Ensure navbar container is responsive */
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

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

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

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

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .timeline-item,
    .education-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    section {
        padding: 3rem 0;
    }
}

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

    .hero-text h2 {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .container {
        padding: 0 15px;
    }
}

/* Enhanced Hero Styles for Landing Page */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: -0.5s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: -2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: -3.5s;
}

.shape-4 {
    width: 40px;
    height: 40px;
    top: 10%;
    left: 70%;
    animation-delay: -1s;
}

.shape-5 {
    width: 120px;
    height: 120px;
    top: 40%;
    left: 60%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Enhanced Landing Page Hero Content */
.hero-greeting {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-name {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.first-name {
    display: block;
    font-weight: 300;
}

.last-name {
    display: block;
    font-weight: 800;
    color: #f39c12;
}

.hero-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.typing-text {
    position: relative;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f39c12;
    margin-bottom: 0.5rem;
}

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

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

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

.social-links-hero .social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links-hero .social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Enhanced Image Section */
.image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

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

.image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.tech-badge {
    position: absolute;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    animation: float 4s ease-in-out infinite;
}

.tech-1 {
    top: 20%;
    right: -20px;
    animation-delay: -1s;
}

.tech-2 {
    bottom: 30%;
    left: -30px;
    animation-delay: -2s;
}

.tech-3 {
    top: 60%;
    right: -10px;
    animation-delay: -3s;
}

.tech-4 {
    bottom: 10%;
    left: -20px;
    animation-delay: -0.5s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

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

/* Quick Overview Section */
.quick-overview {
    background: #f8f9fa;
    padding: 5rem 0;
}

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

.overview-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3498db, #2980b9);
}

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

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
}

.overview-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.overview-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.card-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    color: #2980b9;
}

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-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 20"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23FFF" stop-opacity="0.1"/><stop offset="100%" stop-color="%23FFF" stop-opacity="0"/></radialGradient></defs><rect width="100" height="20" fill="url(%23a)"/></svg>')
    repeat-x;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    from { background-position-x: 0; }
    to { background-position-x: 100px; }
}

.page-hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* About Page Specific Styles */
.about-detailed {
    padding: 6rem 0;
}

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

.about-image-container {
    position: relative;
    text-align: center;
}

.about-profile-img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3498db, #f39c12);
    border-radius: 50%;
    opacity: 0.8;
    z-index: -1;
}

.decoration-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: rotate 10s linear infinite;
}

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

.about-content-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.about-intro {
    font-size: 1.2rem;
    color: #3498db;
    margin-bottom: 2rem;
    font-weight: 500;
}

.personal-info {
    margin-top: 3rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.personal-info h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-label {
    font-weight: 600;
    color: #555;
}

.info-value {
    color: #2c3e50;
}

/* Skills Detailed */
.skills-detailed {
    background: #f8f9fa;
    padding: 6rem 0;
}

.skills-category h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 4px;
    transition: width 1.5s ease;
}

/* Interests Section */
.interests {
    padding: 6rem 0;
}

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

.interest-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-10px);
}

.interest-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.interest-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

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

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

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

.cta-buttons .btn {
    padding: 15px 30px;
    font-size: 1rem;
}

/* Experience Page Specific */
.experience-summary {
    background: #f8f9fa;
    padding: 4rem 0;
}

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

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #666;
}

/* Timeline Detailed */
.timeline-detailed {
    position: relative;
}

.timeline-item-detailed {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.timeline-line {
    width: 2px;
    height: 100px;
    background: #e0e0e0;
    margin-top: 1rem;
}

.timeline-content-detailed {
    flex: 1;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-header {
    margin-bottom: 2rem;
}

.timeline-header h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.company {
    color: #3498db;
    font-weight: 600;
    margin-right: 1rem;
}

.location {
    color: #666;
    margin-right: 1rem;
}

.duration {
    color: #666;
    margin-right: 1rem;
}

.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status.current {
    background: #2ecc71;
    color: white;
}

.project-highlights {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.project-highlight {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.project-highlight h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.project-highlight p {
    color: #666;
    margin-bottom: 1rem;
}

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

.tech-stack span {
    background: #3498db;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Skills Used Section */
.skills-used {
    background: #f8f9fa;
    padding: 6rem 0;
}

.skills-categories {
    display: grid;
    gap: 3rem;
}

.skill-category h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.skill-tag {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid;
}

.skill-tag.advanced {
    background: #2ecc71;
    color: white;
    border-color: #2ecc71;
}

.skill-tag.intermediate {
    background: #f39c12;
    color: white;
    border-color: #f39c12;
}

.skill-tag.beginner {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* Projects Page */
.projects-filter {
    background: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.projects-showcase {
    padding: 6rem 0;
}

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

.project-card-enhanced {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.project-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card-enhanced:hover .project-overlay {
    opacity: 1;
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn:hover {
    background: white;
    color: #333;
}

.project-icon-large {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
}

.project-content {
    padding: 2rem;
}

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

.project-header h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0;
}

.project-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-status.featured {
    background: #f39c12;
    color: white;
}

.project-status.government {
    background: #2ecc71;
    color: white;
}

.project-status.ecommerce {
    background: #e74c3c;
    color: white;
}

.project-status.business {
    background: #3498db;
    color: white;
}

.project-status.personal {
    background: #9b59b6;
    color: white;
}

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

.project-stats {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.project-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

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

/* Project Statistics Section */
.project-stats-section {
    background: #f8f9fa;
    padding: 6rem 0;
}

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

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

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

.stat-icon {
    width: 80px;
    height: 80px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
}

/* Education Page Specific */
.education-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.overview-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.education-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-stats .stat-card {
    text-align: center;
}

.education-stats i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

/* Education Timeline Detailed */
.education-timeline-detailed {
    position: relative;
}

.education-item-detailed {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.education-content-detailed {
    flex: 1;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.education-header h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.institution-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.institution {
    color: #e74c3c;
    font-weight: 600;
}

.status.completed {
    background: #2ecc71;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

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

.subject-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.subject-category h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.subject-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    color: #666;
}

.achievements-list {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.achievement {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.achievement i {
    color: #f39c12;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.achievement h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.skills-acquired {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.skill-acquired {
    background: #3498db;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Continuous Learning */
.continuous-learning {
    background: #f8f9fa;
    padding: 6rem 0;
}

.learning-grid {
    display: grid;
    gap: 3rem;
}

.learning-category h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.learning-items {
    display: grid;
    gap: 1.5rem;
}

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

.learning-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.platform {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Academic Skills */
.academic-skills {
    padding: 6rem 0;
}

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

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

.skill-group h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item-academic {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.skill-level {
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.skill-level.expert {
    background: #2ecc71;
    color: white;
}

.skill-level.advanced {
    background: #3498db;
    color: white;
}

.skill-level.intermediate {
    background: #f39c12;
    color: white;
}

/* Contact Page Specific */
.contact-intro {
    background: #f8f9fa;
    padding: 6rem 0;
}

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

.intro-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

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

.highlight-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.highlight-item i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.contact-information {
    padding: 6rem 0;
}

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

.contact-info-center {
    display: flex;
    justify-content: center;
}

.contact-info-center .contact-info-detailed {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.contact-info-detailed h2 {
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: #3498db;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-content p {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-note {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

/* Social Media Section */
.social-media-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.social-media-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.social-media-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.social-media-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-media-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.social-media-link.github {
    color: #333;
}

.social-media-link.linkedin {
    color: #0077b5;
}

.social-media-link.twitter {
    color: #1da1f2;
}

.social-media-link.email {
    color: #e74c3c;
}

/* Enhanced Contact Form */
.contact-form-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-form-enhanced {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    color: #666;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    padding: 6rem 0;
}

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

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

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.faq-item i {
    color: #3498db;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

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

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

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

.cta-stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design Enhancements */
@media (max-width: 1024px) {
    .about-grid,
    .education-overview,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-stats {
        gap: 2rem;
    }

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

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .overview-grid,
    .interests-grid,
    .contact-highlights {
        grid-template-columns: 1fr;
    }

    .timeline-item-detailed,
    .education-item-detailed {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .timeline-line {
        display: none;
    }

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

    .social-media-links {
        grid-template-columns: 1fr;
    }
}

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

    .hero-name {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

    .contact-form-enhanced {
        padding: 1.5rem;
    }

    .about-profile-img {
        width: 250px;
        height: 300px;
    }
}

/* Loading States */
.btn-loading {
    display: none;
}

.btn-submit:disabled .btn-text {
    display: none;
}

.btn-submit:disabled .btn-loading {
    display: inline;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}
/* Mobile First Adjustments */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hide nav menu by default on small screens */
.nav-menu {
    display: flex;
    gap: 20px;
}

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

    .nav-menu {
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        height: auto;
        padding: 20px 0;
    }

    .nav-item {
        margin: 10px 0;
    }
}

