body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    margin: 0 0 10px;
    font-size: 2rem;
    color: #444;
}

p {
    margin: 0 0 15px;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

h1.text-center {
    text-align: center;
    margin-bottom: 1rem;
    color: #222;
}

.text-left {
    text-align: left;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 2rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

.py-5 {
    padding: 2rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #318DE4;
}

.btn-primary:hover {
    background-color: #2169b7;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #1e90ff, #00bcd4);
    color: #fff;
    padding: 2rem 1rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1rem;
    color: #010;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    animation: marquee-animation 25s linear infinite;
}

.hero-description-wrapper {
    width: 100%;
    overflow: hidden;
}

.hero-description {
    display: inline-block;
    white-space: nowrap; 
    animation: scroll-text 15s linear infinite; 
}

@keyframes scroll-text {
    0% {
        transform: translateX(100%); 
    }
    100% {
        transform: translateX(-100%); 
    }
}



/* nav */

@media (min-width: 992px) {
    .navbar .ms-auto {
        margin-left: auto;
    }
}


/* About Section */
.about-section {
    background-color: #fff;
}

.about-section img {
    max-width: 100%;
    border-radius: 10px;
}

.social-links .btn {
    margin-right: 10px;
}

.about-section img:hover {
    transform: scale(1.1);
}

/* Mobile Container */
.mobile {
    padding: 2rem 1rem;
}

/* Projects Section */
.projects-section {
    background-color: #f8f9fa;
}

.project {
    margin-bottom: 2rem;
}

.project img {
    max-width: 100%;
    border-radius: 10px;
}

.project h3 {
    font-size: 1.5rem;
}

.project p {
    font-size: 1rem;
}

.project ul {
    padding-left: 20px;
    list-style-type: disc;
}

.project ul li {
    margin-bottom: 5px;
}

.project img {
    object-fit: contain;
    object-position: cover;
    max-width: 500px;
    transition: transform 0.3s ease-in-out;
}

.project img:hover {
    transform: scale(1.1);
}

.projecttext {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    width: calc(50% - 1rem);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projecttext h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.projecttext ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.projecttext ul li {
    font-size: 0.9rem;
    color: #555;
}

.projecttext a button {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.projecttext a button:hover {
    background-color: #0056b3;
}

.projecttext:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Hosted Project Section */
.hosted {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1200px;
}

/* Contact Section */
.contact-section {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
}

.contact-section a {
    color: #00bcd4;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .projects-section .project {
        flex-direction: column;
    }

    .social-links .btn {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .projecttext {
        width: 100%;
    }
}

@media (max-width: 576px) {
    h1.text-center {
        font-size: 1.5rem;
    }

    .projecttext h2 {
        font-size: 1.2rem;
    }

    .projecttext a button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}