/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #ededed;
    background: navy;
}

/* Header section */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: #051129;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    font-size: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar a {
    font-size: 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
}

.navbar a:hover {
    color: #0ef;
}

/* Toggle button for small screens */
.toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Home section */
.home {
    width: 100%;
    height: 100vh;
    background: url('download (1).jfif') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 70px 10%;
}

.home-content {
    max-width: 600px;
}

.home-content h3, .home-content h1, .home-content p {
    margin-bottom: 20px;
}

.home-content .text {
    color: #0ef;
}

.home-sci a {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: .5s ease;
}

.home-sci a:hover {
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 20px #0ef;
}

.btn-box {
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 5px #0ef, 0 0 25px #0ef;
    transition: .5s ease;
}

.btn-box:hover {
    box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan, 0 0 200px cyan;
}

/* Responsive styles */
@media (max-width: 768px) {
    .toggle {
        display: block;
        position: relative;
        z-index: 11; /* Ensure it's above the navigation when shown */
    }

    .navbar {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background: #051129;
        position: absolute;
        top: 70px; /* Adjust based on your header height */
        left: 0;
        padding: 20px;
        z-index: 10; /* Ensure it's below the toggle button */
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        margin-left: 0;
        margin-bottom: 15px;
        font-size: 20px;
    }

    .home-content h1 {
        font-size: 32px;
    }

    .home-content h3 {
        font-size: 24px;
    }

    .home-content p {
        font-size: 18px;
    }
}



#services {
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
}

.sub-title {
    text-align: center;
    font-size: 40px;
    line-height: 1.4;
    margin-bottom: 4rem;
}

.sub-title span {
    color: #0ef;
}

.container {
    padding: 90px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(259px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div {
    background-color: transparent;
    padding: 40px;
    font-size: 13px;
    font-weight: 13px;
    border-right: 10px;
    border-radius: 20px;
    transition: background 0.5s, transform 0.5s;
    box-shadow: 1px 1px 20px #012290f7, 1px 1px 40px #012290f7;
}

.services-list div i {
    font-size: 50px;
    margin-bottom: 30px;
}

.services-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.services-list div a {
    text-decoration: none;
    color: #000000;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}

.read {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #0ef, 0 0 25px #0ef;
}

.read:hover {
    box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan, 0 0 200px cyan;
}

.services-list div:hover {
    transform: translateY(-10px);
}

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

@keyframes animate {
    100% {
        transform: scaleX(1);
    }
}

@keyframes showText {
    100% {
        opacity: 1;
    }
}

@keyframes animate-bar {
    100% {
        stroke-dashoffset: -1;
    }
}

@keyframes animate-path1 {
    100% {
        stroke-dashoffset: 50;
    }
}

@keyframes animate-path2 {
    100% {
        stroke-dashoffset: 175;
    }
}

@keyframes animate-path3 {
    100% {
        stroke-dashoffset: 125;
    }
}

@keyframes animate-path4 {
    100% {
        stroke-dashoffset: 75;
    }
}

.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
    padding-left: 30px;
    margin-top: 130px;
}

.contact-text h2 {
    font-size: 90px;
    line-height: 1;
    text-align: center;
}

.contact-text h2 span {
    color: #0ef;
}

.contact-text h4 {
    margin: 15px 0;
    color: rgb(228, 228, 228);
    font-size: 20px;
    font-weight: 600;
}

.contact-text p {
    color: rgb(177, 177, 177);
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 2rem;
}

.contact-list {
    margin-bottom: 3rem;
}

.contact-list li {
    margin-bottom: 10px;
    display: block;
}

.contact-list i {
    display: inline-block;
    color: #0ef;
    font-size: 20px;
    font-weight: 600;
    transition: all .40s ease;
}

.contact-list li a:hover {
    transform: scale(1.01) translateY(-5px);
    color: #0ef;
}

.contact-icons i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: .5s ease;
}

.contact-icons i:hover {
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 20px #0ef;
}

.contact-form form {
    width: 100%;
    position: relative;
}

.contact-form form .input-group {
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-form form .input-group span {
    font-size: 20px;
    color: #0ef;
    margin-right: 10px;
    transition: .5s;
}

.contact-form form .input-group input,
.contact-form form .input-group textarea {
    width: 100%;
    background: transparent;
    color: white;
    border: none;
    border-bottom: 2px solid #0ef;
    outline: none;
    padding-bottom: 5px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: .5s;
}

.contact-form form .input-group input::placeholder,
.contact-form form .input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    font-weight: 500;
}

.contact-form form .input-group input:focus,
.contact-form form .input-group textarea:focus {
    border-color: cyan;
}

.contact-form form .input-group.textarea {
    display: flex;
}

.contact-form form .input-group.textarea textarea {
    resize: none;
    height: 150px;
}

.contact-form form .btn {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #0ef, 0 0 25px #0ef;
}

.contact-form form .btn:hover {
    box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan, 0 0 200px cyan;
}

@media (max-width: 768px) {
    .home {
        padding: 70px 5%;
    }

    .home-content h1 {
        font-size: 36px;
    }

    .home-content h3 {
        font-size: 24px;
    }

    .home-content p {
        font-size: 18px;
    }

    .header {
        padding: 20px 5%;
    }

    .navbar a {
        font-size: 20px;
    }

    .services-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-gap: 20px;
    }

    .contact {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 20px;
    }

    .contact-text h2 {
        font-size: 48px;
    }

    .contact-text h4,
    .contact-text p {
        font-size: 18px;
    }

    .contact-list i,
    .contact-icons i {
        font-size: 16px;
    }

    .contact-icons i {
        width: 35px;
        height: 35px;
        margin: 20px 10px 20px 0;
    }

    .contact-form form .input-group span,
    .contact-form form .input-group input,
    .contact-form form .input-group textarea {
        font-size: 18px;
    }

    .contact-form form .btn {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .home-content h1 {
        font-size: 28px;
    }

    .home-content h3 {
        font-size: 20px;
    }

    .home-content p {
        font-size: 16px;
    }

    .header {
        padding: 15px 5%;
    }

    .navbar a {
        font-size: 18px;
        margin-left: 20px;
    }

    .services-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-gap: 10px;
    }

    .contact-text h2 {
        font-size: 36px;
    }

    .contact-text h4,
    .contact-text p {
        font-size: 16px;
    }

    .contact-list i,
    .contact-icons i {
        font-size: 14px;
    }

    .contact-icons i {
        width: 30px;
        height: 30px;
        margin: 15px 5px 15px 0;
    }

    .contact-form form .input-group span,
    .contact-form form .input-group input,
    .contact-form form .input-group textarea {
        font-size: 16px;
    }

    .contact-form form .btn {
        font-size: 12px;
    }
}

/* Contact Form */
.contact-form {
    margin-top: 50px;
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="name"],
.contact-form input[type="subject"],
.contact-form input[type="message"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #051129;
    border-radius: 20px;
    font-size: 16px;
    background-color: #ededed;
    color: red;
}

.contact-form textarea {
    height: 150px;
}

.contact-form input[type="submit"] {
    padding: 12px 20px;
    background-color: #051129;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form input[type="submit"]:hover {
    background-color: #0ef;
}

/* Last Text */
.last-text {
    text-align: center;
    margin-top: 50px;
}

.last-text p{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: rgb(7, 85, 91);
    font-weight: 300;
    margin-top: 70px;
}

.top{
    position: fixed;
    bottom: 2.1rem;
    right: 2,1rem;

}
.top i{
    color: #000;
    background: #0ef;
    font-size: 20px;
    padding: 10px;
    border-radius: 0.5rem;
}