@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root {
    --primary-color: #3a36c8;
    --accent-color: #69bffd;
    --background-color: #f5f5f5;
    --text-color: #333;
    --border-color: #ccc;
}

body {
    line-height: 1.6;
    background: var(--background-color);
    color: var(--text-color);
    padding-top: 60px; /* Ensure padding for fixed header */
}

.container {
    width: 100%;
    margin: auto;
    overflow: visible;
}

header {
    background: linear-gradient(#141e30, #145875 , #45abd7);
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container img {
    margin-left: 10px;
}

header .logo-container .header {
    margin-right: 0; 
}

.logoname {
    color: white;
    margin: 0;
    font-weight: bold;
}

nav {
    display: flex;
    align-items: right;
}

nav ul {
    list-style: none;
    display: flex;
    text-align: right;
}

nav ul li {
    margin: 0 10px;
    margin-top: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: var(--accent-color);
}

header nav {
    float: right;
}

header ul {
    list-style: none;
}

header ul li {
    display: inline;
    margin: 0 10px;
}

header ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    font-size: 14px;
}

header ul li a:hover {
    color: var(--accent-color);
    margin: 2px;
}

section {
    padding: 2rem 0;
}

@media (max-width: 1020px) {
    .hamburger {
        display: flex; /* Show hamburger icon */
        flex-direction: column;
        cursor: pointer;
        margin-left: auto;
        margin-right: 15px
    }

    .hamburger div {
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    nav ul {
        display: none; /* Hide menu by default */
    }

    nav ul.show {
        display: flex; /* Show menu when active */
        flex-direction: column; /* Stack menu items vertically */
        position: absolute; /* Position it absolutely */
        top: 60px; /* Position it below the header */
        right: 0;
        background: #141e30; /* Background color */
        width: 100%; /* Full width */
        padding: 1rem; /* Padding */
        box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Shadow */
        z-index: 1001; /* Ensure above other content */
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }
}

#home {
    background: url('bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 11rem 0;
}

#home h2 {
    font-size: 2.5rem;
}

#home p {
    font-size: 1.2rem;
}

#home p.sub {
    font-size: 0.75rem;
    margin-top: 0;
}

#home .btn {
    padding: 0.7rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
}

#home .btn:hover {
    background: var(--accent-color);
    color: #03054b;
}

#overview {
    background: linear-gradient(#000000, #145875 , #45abd7);  
}

#overview .overviewbody {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 60%;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    font-size: 20px;
}

.overviewhead {
    color: #0e3742;
    width: 100%;
    font-size: 35px;
    text-align: center;
    margin: 0;
    margin-top: 10px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-family: 'Times New Roman', Times, serif;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #004);
    line-height: 0.8em;
    outline: none;
    animation: animate 5s linear infinite;
}

.headproduct,
.headproducts,
.headproductx,
#contact .headcontact,
#aboutus .headabout,
.headservice {
    color: #0e3742;
    width: 100%;
    font-size: 35px;
    text-align: center;
    margin: 0;
    margin-top: 10px;
    margin-bottom: 25px;
    letter-spacing: 2px;
    font-family: 'Times New Roman', Times, serif;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #004);
    line-height: 0.8em;
    outline: none;
    animation: animate 5s linear infinite;
}

@keyframes animate {
    0%,18%,20%,50.1%,60%,65.1%,80%,90.1%,92% {
        color: #0e3742;
        text-shadow: none;
    }
    18.1%,20.1%,30%,50%,60.1%,65%,80.1%,90%,92.1%,100% {
        color: #fff;
        text-shadow: 0 0 10px #03bcf4,
                     0 0 20px #03bcf4,
                     0 0 40px #03bcf4,
                     0 0 80px #03bcf4,
                     0 0 160px #03bcf4;
    }
}

#products,
#services,
#contact,
#aboutus {
    background: linear-gradient( #000000, #145875 , #45abd7);
    background-blend-mode: color-burn;
}

#products .products-grid,
#services .services-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 30px;
    height: 380px;
    transition: all 0.5s ease;
}

#products .products,
#services .service {
    background: #0372b3;
    padding: 2rem;
    border: 2px solid #5eeaff;
    border-radius: 10px;
    width: 30%;
    margin-bottom: 1rem;
    transition: all 0.5s ease 0s;
}

#products .products h3,
#services .service h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--accent-color);
}

#contact form {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    margin-left: 130px;
}

#contact label {
    margin: 0.5rem 0 0.2rem;
    color: #fff;
}

#contact input,
#contact textarea {
    padding: 0.7rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    width: 100%;
}

#contact button.btn {
    padding: 0.7rem 1.5rem;
    background: #2d85ab;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-self: start;
}

#contact button.btn:hover {
    background: #0a66e7;
}

.about-us-btn {
    width: 141px;
    text-align: center;
    display: inline-block;
}

.abouthead {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #fff;
    margin-left: 60px;
}

.aboutbody {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fff;
    margin-left: 60px;
    max-width: 600px;
}

footer {
    background: #444;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0;
}

.btn {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #69bffd;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    overflow: hidden;
    letter-spacing: 2px;
    transition: color 0.5s;
}

.btn:hover {
    color: #03054b; /* Text color on hover */
    background: #5ee2ec; /* Background color on hover */
    box-shadow: 0 0 5px #03f4e4, 0 0 25px #03f4f4, 0 0 50px #03d0f4, 0 0 100px #03f0f4;
}

.btn span {
    position: absolute;
    display: block;
}

.btn span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #03acf4);
    animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }
    50%,
    100% {
        left: 100%;
    }
}

.btn span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #03acf4);
    animation: btn-anim2 1s linear infinite;
    animation-delay: 0.25s;
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }
    50%,
    100% {
        top: 100%;
    }
}

.btn span:nth-child(3) {
    bottom: 0;
    right: 100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #03acf4);
    animation: btn-anim3 1s linear infinite;
    animation-delay: 0.5s;
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }
    50%,
    100% {
        right: 100%;
    }
}

.btn span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #03acf4);
    animation: btn-anim4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }
    50%,
    100% {
        bottom: 100%;
    }
}

#products {
    background: linear-gradient( #000000, #145875 , #45abd7);
}

.section-padding {
    padding: 40px 0;
}

#products .container,
#services .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.single-service {
    width: 370px;
    height: 380px;
    padding: 20px;
    transition: all 0.5s ease;
    border: 2px solid #00ffff;
    margin: 20px 0;
    background: #333333;
    box-sizing: border-box;
}

.symbol {
    position: relative;
    text-align: center;
    top: 50px;
    transition: all 0.4s ease;
    width: 60px;
    border-radius: 50px;
    color: #fff;
    display: inline-block;
    font-size: 24px;
    height: 60px;
    line-height: 60px;
    margin-bottom: 0;
}

.symbol img {
    width: 160px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

.single-service h3 {
    font-family: 'Times New Roman', Times, serif;
    color: #fff;
    margin: 0;
    position: relative;
    text-transform: uppercase;
    top: 90px;
    transition: all 700ms cubic-bezier(0.65, -0.50, 0.255, 1.50);
}

.single-service:hover {
    background: rgba(1,41,108,255);
    border: 2px solid rgba(1,41,108,255);
}

.single-service:hover .symbol {
    top: -10px;
    color: #20639b;
}

.single-service:hover h3 {
    color: #fff;
    top: 0;
    margin-bottom: 15px;
}

.single-service p {
    opacity: 0;
    transition: all 700ms cubic-bezier(0.65, -0.50, 0.255, 1.50);
    font-family: 'Times New Roman', Times, serif;
}

.single-service:hover p {
    color: #fff;
    opacity: 1;
    transform: scale(1);
}

.abouthead,
.aboutbody {
    text-align: center;
    margin-left: auto; 
    margin-right: auto; 
}

.image-container {
    display: flex;
    align-items: center;
    margin: 50px 0 0 50px; 
}

.image-container img {
    max-width: 100%;
    height: auto; 
    border-radius: 10px; 
    margin-right: 20px; 
    margin-bottom: 20px;
}

.section-padding {
    padding: 40px 0; /
}

.abouthead,
.aboutbody {
    text-align: center;
    margin-left: auto; 
    margin-right: auto;
}

@media (max-width: 768px) {
    .image-container {
        padding: 10px;
    }

    .image-container img {
        width: 90%;
        margin: 0 auto;
    }
}

body.company-product {
    background: linear-gradient( #000000, #145875 , #45abd7);
}

.description-frame {
    border: 2px solid #45abd7;
    padding: 15px; 
    margin-left: 20px;
    margin-right: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.headproducts {
    margin-top: 50px;
    text-align: center;
}

.headproductx {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 50px;
    text-align: left;
}