 :root {
            --primary-color: #2563eb;
            --secondary-color: #1e40af;
            --accent-color: #3b82f6;
            --text-color: #1f2937;
            --light-bg: #f8fafc;
            --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', sans-serif;
        }

        body {
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--light-bg);
        }

        .navbar {
            background: rgba(255, 255, 255, 0.95);
            /* backdrop-filter: blur(10px); */
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .nav-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
        }

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

        .nav-links a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }
        /* education  */
        .education {
            padding: 60px 20px;
            background: #f8f9fa;
            text-align: center;
        }
        
        .section-title {
            font-size: 2.5rem;
            margin-bottom: 40px;
            color: #333;
        }
        
        .education-content {
            display: flex;
            justify-content: space-between; /* For side by side layout */
            gap: 30px;
            flex-wrap: wrap; /* Allows wrapping on smaller screens */
        }
        
        .education-box {
            background: white;
            padding: 20px;
            width: 30%; /* Adjust the width of each box */
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            text-align: left;
        }
        
        .education-box h3 {
            color: #007bff;
            font-size: 1.5rem;
            margin-bottom: 10px;
        }
        
        .education-box p {
            font-size: 1rem;
            margin: 5px 0;
        }
        
        /* Media query for smaller screens */
        @media (max-width: 768px) {
            .education-content {
                flex-direction: column; /* Stack the items vertically */
            }
        
            .education-box {
                width: 100%; /* Make each box take full width on smaller screens */
            }
        }
        
        
        .hero {
            min-height: 100vh;
            background: var(--gradient);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6rem 2rem;
            clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
        }
        
        .hero-content {
            flex: 1;
            max-width: 600px;
            text-align: center;
            animation: fadeIn 1s ease-out;
        }
        
        /* .hero-image {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .hero-image img {
            max-width: 80%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
        } */
        .hero-image {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }
        
        .hero-image img {
            max-width: 80%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
            padding: 5px;
            background: linear-gradient(to bottom, #0073e6, #00c6ff); /* Gradient Border Effect */
        }
        .hero-image img:hover {
            transform: translateY(-10px) scale(1.05) rotate(-2deg);
        }
        
        /* Adding a glow effect behind the image */
        .hero-image::before {
            content: "";
            position: absolute;
            width: 90%;
            height: 90%;
            background: radial-gradient(circle, rgba(0, 115, 230, 0.3), transparent);
            border-radius: 10px;
            z-index: -1;
        }
        
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }
        
        .hero p {
            font-size: 1.25rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }
        

        .download-btn {
            display: inline-block;
            padding: 1rem 2rem;
            background: white;
            color: var(--primary-color);
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .download-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .section {
            padding: 6rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
            
        }

        .section h2 {
            font-size: 2.5rem;
            margin-bottom: 3rem;
            text-align: center;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
/* --------------------------------------------------- contact------------------------------  */
.contact-info-main {
    text-align: center;
    margin-top: 2rem;
   
}

.contact-item-main {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(to bottom, #0073e6, #00c6ff); /* Gradient Border Effect */
    /* background: white; */
    color: white;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    
}

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

.contact-item-main i {
    color: var(--primary-color);
}

.contact-item-main a {
    color: var(--text-color);
    text-decoration: none;
}

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

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

        .skill-card:hover {
            transform: translateY(-5px);
        }
        /* experience  */
        
        .work-experience {
            padding: 60px 20px;
            background: #ffffff;
            text-align: center;
        }
        
        .section-title {
            font-size: 2.5rem;
            margin-bottom: 40px;
            color: #333;
        }
        
        .experience-content {
            display: flex;
            justify-content: space-between; /* Keeps the boxes side-by-side */
            gap: 30px;
            flex-wrap: wrap;
        }
        
        .experience-box {
            background: #f8f9fa;
            padding: 20px;
            width: 45%;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            text-align: left;
        }
        
        .experience-box h3 {
            color: #007bff;
            font-size: 1.5rem;
            margin-bottom: 10px;
        }
        
        .experience-box p {
            font-size: 1rem;
            margin: 5px 0;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .experience-content {
                flex-direction: column; /* Stacks the items on smaller screens */
            }
        
            .experience-box {
                width: 100%;
            }
        }
        



        /* Problem Solving Section */
        .problem-solving {
            padding: 4rem 2rem;
            text-align: center;
            background: #f9f9f9;
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: #333;
        }

        .profile-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .profile-card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            max-width: 200px;
            text-align: center;
            padding: 20px;
            text-decoration: none;
            transition: transform 0.3s ease-in-out;
        }

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

        .profile-card img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            margin-bottom: 10px;
        }

        .profile-card h3 {
            font-size: 1.5rem;
            color: #333;
        }

        .profile-card p {
            font-size: 1rem;
            color: #666;
        }

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

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

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

        .project-content {
            padding: 2rem;
        }

        .project-title {
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .project-links {
            margin-top: 1rem;
        }

        .project-links a {
            color: var(--primary-color);
            text-decoration: none;
            margin-right: 1rem;
        }
   /* Awards Section */
   .awards-section {
    padding: 4rem 2rem;
    text-align: center;
    background: #f9f9f9;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.awards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.award-card {
    position: relative;
    max-width: 380px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    background: white;
    text-align: center;
    padding-bottom: 10px;
}

.award-card:hover {
    transform: scale(1.05);
}

.award-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.award-card:hover .award-img {
    transform: scale(1.5);
}

.award-title {
    font-size: 1.2rem;
    color: #333;
    margin: 10px 10px ;

}

/* Full Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

#imageCaption {
    color: white;
    font-size: 1.5rem;
    margin-top: 10px;
}
        
        .contact-info {
            text-align: center;
            margin-top: 2rem;
           
        }

        .contact-item {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin: 1rem;
            padding: 0.5rem 1rem;
            background: white;
            border-radius: 50px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            
        }

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

        .contact-item i {
            color: var(--primary-color);
        }

        .contact-item a {
            color: var(--text-color);
            text-decoration: none;
        }

        footer {
            background: var(--gradient);
            color: white;
            text-align: center;
            padding: 3rem 2rem;
            margin-top: 4rem;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

            .nav-links {
                display: none;
            }

            .section {
                padding: 4rem 1rem;
            }

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