/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background:rgb(58, 176, 155);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #eff3f6;
    color: rgb(58, 176, 155);
    border-color:  #eff3f6;
    
}

.btn-primary:hover {
    background-color:rgb(58, 176, 155);
    color: white;
    transform:translateY(5%);
}

.btn-secondary {
    background-color: #75eaaa ;
    color: #164667;
    border-color:  #75eaaa;
}

.btn-secondary:hover {
    background-color: rgb(58, 176, 155);
    color: white;
    transform:translateY(5%);   
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #3498db;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.highlight {
    color: #b2eeec;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #c0dfe3;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(167, 217, 212, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h3 {
    color: rgb(58, 176, 155);
    font-weight: 800;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    background-color:  #c0dfe3;
}

.nav-link {
    text-decoration: none;
    color: #575555;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #333333;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #666666;
    margin: 3px 0;
    transition: 0.3s;
}

/* Home Section */
.home {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;

}

.home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.home-title {
    font-size: 4rem;
    font-weight: 1000;
    margin-bottom: 1rem;
    color: #e6eaed;
}

.home-subtitle {
    font-size: 1.4rem;
    color:#e6eaed;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.home-description {
    font-size: 1.1rem;
    color: #e6eaed;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.home-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #0c3e5f;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

.home-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items:center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.3);
    background-image: url('Assests/WhatsApp\ Image\ 2025-09-06\ at\ 14.09.20_797898d1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 10px solid;
    border: 8px solid #eaec6f; 
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #fff;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #5d6d7e;
    line-height: 1.8;
}

/* Skills Section */
.skills {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.skill-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.skill-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background-color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.project-content p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background-color: #e3f2fd;
    color: #1565c0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #2980b9;
}

/* Education Section */
.education {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.education-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.education-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.education-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.education-info h4 {
    font-size: 1.2rem;
    color: #3498db;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.education-year {
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 1rem;
}

.education-description {
    color: #5d6d7e;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-content > p {
    color: #7f8c8d;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-items {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    text-align: left;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #2980b9;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #A2E9E2;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .home-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .home-title {
        font-size: 2.2rem;
    }

    .home-buttons {
        flex-direction: column;
        align-items: center;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .education-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .home {
        padding: 100px 0 60px;
    }

    .home-title {
        font-size: 1.8rem;
    }

    .home-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 2.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}