/* Resetting some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Satoshi', sans-serif;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #333;
}

.border-light{
    margin: 0px 150px;
}

/* Navbar Styling */
.navbar {
    background-color: indigo;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 70px;
}


/* Logo Styling */
.navbar .logo h1 {
    font-size: 1.8rem;
    color: white;
    margin: 0;
}

/* Navbar Links Styling */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Navbar Links Hover Effect with App Colors */
.nav-links a:hover {
    color: #b857e6; /* LinkedIn blue */
}


/* Social Icons Styling */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons a {
    color: white;
    font-size: 1.6rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease; /* Add transform for smooth movement */
}

.social-icons a:hover {
    transform: translateY(-4px); /* Move slightly upwards */
}

.social-icons a:nth-child(1):hover {
    color: #0077B5; /* LinkedIn blue */
}

.social-icons a:nth-child(2):hover {
    color: #333; /* GitHub black */
}

.social-icons a:nth-child(3):hover {
    color: #4267B2; /* Facebook blue */
}

.social-icons a:nth-child(4):hover {
    color: #E4405F; /* Instagram pinkish-red */
}

html {
    scroll-behavior: smooth; /* Enables smooth scrolling */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        margin-top: 10px;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .social-icons {
        margin-top: 10px;
    }

    .social-icons a {
        margin: 0 10px;
    }
}


/* Hero Section */
.hero {
    color: white;
    padding: 150px 20px;
    text-align: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.hero-text {
    width: 55%;
    padding-right: 20px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .cta-btn {
    background-color: indigo;
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.hero .cta-btn:hover {
    background-color: #b857e6;
}

/* Hero Image 3D Hover Effect */
.hero-image {
    margin: 20px;
    display: inline-block;
    perspective: 1000px; /* Defines the 3D space */
}

.hero-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.1s ease; /* Reduced duration */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-image img:hover {
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); /* Enhanced shadow effect */
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        width: 100%;
        padding-right: 0;
    }

    .hero-image {
        margin-top: 20px;
        width: 100%;
    }

    .hero-image img {
        width: 80%;
        margin: 0 auto;
    }
}


/* About Section */
.about {
    padding: 0px 20px;
    padding-top: 80px;
    padding-bottom: 195px;
}

.about-container {
    margin-top: 40px;
}

.about h2 {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    color: white;
    width: 55%;
    font-size: 1.1rem;
}

.about-img img {
    width: 300px;
    border-radius: 10px;
}

/* Experience Section */
.experience {
    padding: 0px 20px;
    padding-top: 80px;
    padding-bottom: 195px;
}

.experience-container {
    margin-top: 40px;
}

.experience h2 {
    text-align: center;
    font-size: 2rem;
    color: #ffff;
    margin-bottom: 30px;
}

.experience-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.experience-item {
    background-color: #ffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.experience-item h3 {
    font-size: 1.5rem;
    color: blueviolet;
    margin-bottom: 10px;
}

.experience-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

.experience-item strong {
    color: #333;
}


/* Projects Section */
.projects {
    padding: 0px 20px;
    padding-top: 80px;
    padding-bottom: 100px;
}

.project-container {
    margin-top: 40px;
}

.projects h2 {
    color: #ffff;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

.projects-gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.project-card {
    background-color: white;
    padding: 20px;
    width: 30%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

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

.project-card h3 {
    color: blueviolet;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.project-card p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.project-card .btn {
    background-color: indigo;
    color: white;
    padding: 10px 25px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
}

.project-card .btn:hover {
    background-color: #b857e6;
}

/* Project CTA Button Styling */
.project-cta-btn {
    text-align: center;
    max-width: 400px;
    margin: 40px auto;
}

.project-cta-btn p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.project-cta-btn .btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: indigo;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.project-cta-btn .btn:hover {
    background-color: #b857e6;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-cta-btn {
        padding: 15px;
    }
    .project-cta-btn p {
        font-size: 1rem;
    }
    .project-cta-btn .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}


/* Contact Section */
.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 50px;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
}

.contact-form h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-form p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s ease-in-out;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #0077B5;
    box-shadow: 0 0 8px rgba(0, 119, 181, 0.5);
}

.cta-btn {
    display: inline-block;
    padding: 12px 19px;
    background: indigo;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #b857e6;
}

.contact-email {
    margin-top: 20px;
    font-size: 1rem;
    color: #333;
}

.contact-email a {
    color: #b857e6;
    text-decoration: none;
    font-weight: bold;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        padding: 20px;
    }

    .cta-btn {
        width: 100%;
    }
}

.success-message {
    background-color: #83f59e;
    color: #155724;
    padding: 10px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    margin-bottom: 20px;
}
.message {
    font-weight: bold;
    text-align: center;
}

/* Footer Styles */
.footer {
    background-color: #141618; /* Dark background */
    color: #f8f9fa; /* Light text */
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer h5 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer .social-icons {
    display: flex;
    align-items: center;
}

.footer .social-icons a {
    text-decoration: none;
    color: #f8f9fa;
    margin-right: 15px;
    transition: color 0.3s ease;
}

/* Social Icons Styling */
.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-social-icons a {
    color: white;
    font-size: 1.6rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease; /* Add transform for smooth movement */
}

.footer-social-icons a:nth-child(1):hover {
    color: #0077B5; /* LinkedIn blue */
}

.footer-social-icons a:nth-child(2):hover {
    color: #333; /* GitHub black */
}

.footer-social-icons a:nth-child(3):hover {
    color: #4267B2; /* Facebook blue */
}

.footer-social-icons a:nth-child(4):hover {
    color: #E4405F; /* Instagram pinkish-red */
}


.footer .row {
    display: flex;
    flex-wrap: wrap;
}

.footer .col-md-4 {
    flex: 1;
    padding: 15px;
    box-sizing: border-box;
}

.footer .col-md-4 .list-unstyled{
    text-align: center;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    text-decoration: none;
    color: #f8f9fa;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: blueviolet; /* Blue on hover */
}

.footer .footer-border-light {
    margin: 20px 0px;
    border-color: #f8f9fa !important;
}

.footer .text-center {
    padding-bottom: 10px;
}

.footer .text-center p {
    text-align: center;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Media Query for Mobile Responsiveness */
@media (max-width: 768px) {
    .footer .row {
        flex-direction: column;
    }

    .footer .col-md-4 {
        margin-bottom: 20px;
    }
}
