*{
    margin: 0;
    padding: 0;
    
}

html{
    scroll-behavior: smooth;
}

body{
    background-color: #000000;
}

nav {
    display: flex;
    padding: 20px 60px; 
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    height: 100px; 
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

nav img {
    width: 240px; 
    height: 120px; 
    object-fit: contain;
    overflow: hidden;
    position: relative;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    text-decoration: none;
    color: white;
    font-size: 16px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #4222e0;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.text-box h1{
    font-size: 62px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 18px;
    color: white;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/kool.jpeg);
    background-size:cover;
    background-position: center;
    position: relative;
}

.header2{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/opsid-transformed.jpeg);
    background-size:cover;
    background-position: center;
    position: relative;
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 10px 34px;
    font-size: 14px;
    background: transparent;
    position: static;
    cursor: pointer;
    transition: 0.6s;
    font-weight: 500;
}
.hero-btn:hover{
    border: 1px solid #000000;
    background-color: white;
    color: black;
    padding: 16px 40px;
    
}

nav .fa{
    display: none;
}

@media (max-width: 700px) {
    .logo img {
        width: 200px;
        height: 200px;
        padding-left: 15%;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        text-align: center;
        position: absolute;
        background: #1d1d1d;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 12; /* Ensure navbar stays above other elements */
        transition: 1s;
    }

    .text-box {
        position: relative;
        z-index: 1; /* Lower than the navbar */
        padding: 20px; /* Ensure some padding around the text for better spacing */
        margin-top: 200px; /* Adjust margin to push text below navbar */
    }

    .text-box h1 {
        font-size: 20px;
        z-index: 1;
    }

    .text-box p {
        font-size: 16px;
        z-index: 1;
    }

    .showmenu {
        max-height: 100%;
        transition: 0.5s;
    }

    nav .fa {
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
        
    }
    .nav-links ul{
        padding: 30px;
    }
}

.gradient-text {
    font-weight: bold; /* Optional: make the last word bold */
    background: linear-gradient(270deg,#0f0fa5, #0769fc, #a0a0d3);
    background-size: 600% 600%; /* Ensure the background moves smoothly */
    -webkit-background-clip: text; /* Clip the gradient to the text */
    color: transparent; /* Make the text color transparent */
    animation: gradient-animation 5s ease infinite; /* Apply the animation */
}

/* Keyframes for the gradient animation */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/*----- about -----*/

.about{
    list-style: none;
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.abth1 {
    font-size: 36px;
    font-weight: 600;
    position: relative; /* Ensure the text is positioned relative to its container */
    margin-bottom: 60px;
    z-index: 1; /* Ensure the text stays on top */
}

.abth1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    margin-top: 25px;
    width: 50%;
    height: 2px;
    background-color: #4222e0;
    z-index: -1; /* Ensures the background line is behind the text */
}
.row {
    display: flex;
    justify-content: space-around; /* Distribute space evenly around the items */
    align-items: flex-start; /* Align items to the top */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    margin-top: 50px;
    max-width: 1200px; /* Limit the max width of the container */
    margin-left: auto;
    margin-right: auto;
}

/* Style for each column (left and right) */
.row div {
    flex-basis: 45%; /* Take up almost half the width of the container */
    margin-right: 2%;
    margin-left: 2%;
    box-sizing: border-box; /* Include padding and borders in the width */
    text-align: left; /* Align text to the left */
}

/* Add space between paragraphs */
.row div p {
    margin-bottom: 20px;
    text-align: center;
}

/* Style for section headings */
h3 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    top: -10px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    
}
h3::before {
    content: '';
    position: absolute;
    margin-top: 30px;
    left: 0;
    right: 0;
    bottom: -5px;
    margin: 0 auto;
    width: 65%;
    height: 7%;
    background-color: #4222e0;
    z-index: -1; /* Ensures the background line is behind the text */
}

/* Ensure responsiveness for smaller screens */
@media (max-width: 768px) {
    .row div {
        flex-basis: 100%; /* Stack columns on top of each other on smaller screens */
        margin: 10px 0;
    }
    .abth1::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 25%;
        margin-top: 70px;
        width: 50%;
        height: 2px;
        background-color: #4222e0;
        z-index: -1; /* Ensures the background line is behind the text */
    }
    .fa-bars {
        z-index: 2;
    }
    h2 {
        margin-top: 70px;
    }
}

/*----- contact -----*/


.contact-section {
    padding: 50px 20px;
    background-color: #f9f9f900;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 26px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 18px;
    margin-bottom: 5px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

input, textarea {
    color: #ffffff;
    font-size: 16px;
    padding: 10px;
    border: 2px solid #ccc;
    background-color: #00000018;
    border-radius: 5px;
}

input:focus, textarea:focus {
    color: #ffffff;
    outline: none;
    border-color: #4222e0; /* Optional focus color */
}

