@font-face {
    font-display: block;
    font-family: bootstrap-icons;
    src: url('../fonts/bootstrap-icons.woff'),
        url('../fonts/bootstrap-icons.woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

img {
    user-select: none;
}

p {
    font-family: 'Arial', sans-serif;
}

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

.containerOverOns {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.containerOverOns p {
    margin: 0 auto;
    text-align: left !important;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    width: 160px;

}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

nav ul {
    list-style: none;
    display: flex;
    margin-bottom: 0 !important;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

#hero {
    background-color: #007bff;
    color: #fff;
    text-align: center;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

#project-title {
    margin: 0 auto 10px;
}

#project-description {
    white-space: pre-line !important;
    color: #000000 !important;
    margin: 10px auto;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ddedfd;
    color: #007bff;
    text-decoration: none !important;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
}

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

#about {
    background-color: #fff;
}

#about h2, #services h2, #contact h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #007bff;
    text-align: center;
}

#about p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    text-align: center;
}

#services {
    background-color: #f8f9fa;
}

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

.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: scale(1.03);
}

.service-icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
    display: block;
}

.service-card h3 {
    color: #007bff;
    margin-bottom: 15px;
}

#portfolio {
    background-color: #007bff;
}

#contact {
    background-color: #fff;
}

.contact-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-tile {
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.2);
}

.contact-tile-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 15px;
    display: block;
}

.contact-tile h3 {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.contact-tile p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-tile .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.contact-tile .btn:hover {
    background-color: #0056b3;
    color: #fff;
}

footer {
    background-color: #007bff;
    text-align: center;
    padding: 20px 0;
    color: #fff;
}

.footerText {
    font-weight: bold;
}

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

.social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 40px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: #f8f9fa;
    font-size: 50px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 95%;
    max-width: 1000px;
    border-radius: 10px;
    position: relative;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    text-align: center;
}

.close {
    width: 80px;
    height: 80px;
    color: #ff3d3d;
    float: right;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.back-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.portfolio-item {
    min-width: 270px;
    max-width: 270px !important;
    cursor: pointer;
    text-align: center;
    border: 1px groove #888;
    border-radius: 15px;
    padding: 5px;
    margin: 0 auto;
    transition: all 0.3s;
}

.portfolio-item:hover{
    transform: scale(1.03);
    transition: all 0.3s;
}

.portfolio-item img {
    max-width: 260px;
    width: auto;
    height: auto;
    max-height: 200px;
    border-radius: 5px;
    cursor: pointer;
}

.portfolio-item h3 {
    margin: 15px 0 10px;
    color: #007bff;
}

.portfolio-item p {
    color: #666;
    text-align: left;
}

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

    .hamburger {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        display: none;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #007bff #f1f1f1;
}

/* Carousel custom styles */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}