* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(74, 144, 226, 0.95);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Go to Top Button */
.go-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #4a90e2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.go-top.visible {
    opacity: 1;
    visibility: visible;
}

.go-top:hover {
    background: #357abd;
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    overflow: hidden;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 1.5s ease-in-out;
    transform: scale(1);
}

.hero-slideshow .slide.active {
    right: 0;
    opacity: 1;
    transform: scale(1.1);
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(248,250,252,0.9) 0%, rgba(248,250,252,0.7) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: #4a90e2;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: #4a5568;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #718096;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
}

.btn.primary {
    background: #4a90e2;
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn.secondary {
    background: transparent;
    color: #4a90e2;
    border: 2px solid #4a90e2;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn.primary:hover {
    background: #357abd;
}

.btn.secondary:hover {
    background: #4a90e2;
    color: white;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #4a90e2;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4a90e2;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #e8f4f8 0%, #d1e7f5 100%);
    position: relative;
    overflow: hidden;
}

.about-slideshow {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    overflow: hidden;
}

.about-slideshow .slide {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 1.5s ease-in-out;
    transform: scale(1);
}

.about-slideshow .slide.active {
    right: 0;
    opacity: 0.3;
    transform: scale(1.05);
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 150px;
}

.number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 0.5rem;
}

.label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, #f0f9ff 0%, #e1f5fe 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.skill:hover {
    transform: translateY(-5px);
}

.skill h3 {
    margin-bottom: 1rem;
    color: #2d3748;
    font-size: 1.2rem;
}

.skill-bar {
    background: #e2e8f0;
    height: 12px;
    border-radius: 10px;
    margin-top: 1rem;
    overflow: hidden;
    position: relative;
}

.skill-level {
    background: linear-gradient(90deg, #4a90e2, #63b3ed);
    height: 100%;
    border-radius: 10px;
    transition: width 2s ease-in-out;
    position: relative;
}

.skill-level::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.project-image {
    font-size: 3.5rem;
    color: #4a90e2;
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card h3 {
    margin-bottom: 1rem;
    color: #2d3748;
    font-size: 1.4rem;
}

.project-card p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.project-tech span {
    background: #4a90e2;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.project-links .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Contact Section - Reduced Height */
.contact {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 60px 0; /* Reduced padding */
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: #4a90e2;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #4a90e2;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #357abd;
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: #475569;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: #4a5568;
    box-shadow: 0 0 0 2px #4a90e2;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(74, 144, 226, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-slideshow {
        width: 100%;
    }
    
    .hero-overlay {
        background: linear-gradient(90deg, rgba(248,250,252,0.9) 0%, rgba(248,250,252,0.8) 100%);
    }
    
    .about-slideshow {
        width: 100%;
        opacity: 0.2;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .go-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Mobile menu animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
