/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #2c3e50;
}

p {
    color: #6c757d;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #007bff;
}

.navbar-nav .nav-link {
    color: #2c3e50;
    font-weight: 600;
    margin-right: 1rem;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-nav .nav-link.active {
    color: #007bff;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(206, 230, 255, 0.792), rgba(71, 160, 255, 0.7)), url(img/333.png) center/cover no-repeat;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 2rem;
}

.hero-section h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.25rem;
    margin-top: 1rem;
}

.hero-section .btn {
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: white;
}

.about-section img {
    border-radius: 50%;
    max-width: 100%;
    height: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.1rem;
}

.about-section .btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.about-section .btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}

/* Skills Section */
.skills-section {
    padding: 5rem 0;
}

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

.skill-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.skill-item .skill-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.skill-item h4 {
    font-size: 1.5rem;
    color: #2c3e50;
}

.skill-item p {
    font-size: 1rem;
    color: #6c757d;
}

/* Portfolio Section */
.works-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

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

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item img {
    width: 100%;
    display: block;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-overlay h4 {
    font-size: 1.5rem;
}

.work-overlay p {
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #2c3e50;
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #6c757d;
}

.contact-section form .form-control {
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.contact-section form .btn {
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
}

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

footer p {
    margin-bottom: 1rem;
}

.social-icons a {
    color: white;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }
}
