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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-links li {
    margin: 0;
}

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

.nav-links a:hover {
    color: #667eea;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #667eea;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

.nav-links a.active {
    color: #667eea;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #667eea;
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-content {
    max-width: 800px;
    color: white;
    animation: fadeInUp 1s ease;
    width: 100%;
}

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

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin: 0 0.5rem 1rem 0.5rem;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Section Styles */
.section {
    width: 100%;
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About Section */
.about {
    background: white;
    margin: 2rem auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

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

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills {
    background: white;
    margin: 2rem auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

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

.skill-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.skill-category i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    display: block;
}

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

.skill-list {
    list-style: none;
    color: #666;
    padding: 0;
}

.skill-list li {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    margin: 0.3rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Projects Section */
.projects {
    background: white;
    margin: 2rem auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

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

.project-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 15px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.project-card:hover::before {
    animation: shine 0.5s ease-in-out;
}

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

.project-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.tech-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

.project-links a {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.project-links a:hover {
    background: rgba(255,255,255,0.2);
}

/* Experience Section */
.experience {
    background: white;
    margin: 2rem auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    border-left: 4px solid #667eea;
    margin-bottom: 2rem;
    background: #f8f9fa;
    border-radius: 0 15px 15px 0;
}

.experience-icon {
    font-size: 3rem;
    color: #667eea;
    width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.experience-content {
    flex: 1;
}

.experience-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.experience-content .company {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.experience-content p {
    color: #666;
    line-height: 1.6;
}

/* Certifications Section */
.certifications {
    background: white;
    margin: 2rem auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

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

.cert-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cert-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
}

.cert-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    display: block;
}

.cert-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

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

.cert-status {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: 1rem;
}

.completed {
    background: #28a745;
    color: white;
}

.in-progress {
    background: #ffc107;
    color: #333;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 2rem auto;
    border-radius: 20px;
    text-align: center;
    width: 100%;
}

.contact h2 {
    color: white;
}

.contact > p {
    color: white;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

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

.contact-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-item h3 {
    color: white;
    margin-bottom: 1rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    word-break: break-word;
}

.contact-item a:hover {
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 2rem 5%;
    text-align: center;
    width: 100%;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

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

@keyframes shine {
    0% {
        top: -50%;
        right: -50%;
    }
    100% {
        top: 150%;
        right: 150%;
    }
}

/* Mobile Menu Styles */
.nav-links.active {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.98) !important;
    flex-direction: column !important;
    padding: 1rem !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    border-radius: 0 0 10px 10px;
    gap: 0;
}

.nav-links.active li {
    margin: 0.5rem 0;
    width: 100%;
}

.nav-links.active a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section {
        padding: 4rem 3%;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 5%;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .experience-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .experience-icon {
        width: auto;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 2rem 3%;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        display: block;
        margin: 0.5rem auto;
        width: fit-content;
    }
    
    .project-card,
    .skill-category,
    .cert-card {
        padding: 1.5rem;
    }
    
    .navbar {
        padding: 1rem 3%;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}