* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    background: #080808;
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

#header {
    width: 100%;
    height: 100vh;
    background-image: url(img/nature4.jpg);
    background-position: center;
    background-size: cover;
    text-align: center; /* Center text within the container */
}
.container {
    padding: 10px 5%; /* Responsive padding */
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    width: 140px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 10px 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #1092de;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

.header-text {
    font-size: 30px;
    margin-top: 10%;
    text-align: center;
}

.welcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.welcome-text {
    text-align: center;
    margin-bottom: 20px;
}

   #header {
        display: flex;
        justify-content: center;  /* Centers content horizontally */
        align-items: center;      /* Centers content vertically */
        height: 100vh;            /* Full viewport height */
        width: 100%;              /* Full viewport width */
    }

    .video-container {
        width: 100%;
        max-width: 800px;  /* Maximum width of the container */
        margin: 0 auto;    /* Centers the container horizontally */
    }

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        height: 0;
        overflow: hidden;
        background-color: #000; /* Optional background color for better visibility */
        border-radius: 10px; /* Optional rounded corners */
    }

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 10px; /* Optional rounded corners */
    }
/*---------start about section-------*/
#about {
    padding: 80px 0;
    color: #fff;
    background: url(img/comp.jpg) no-repeat center center !important; /* Force background */
    background-size: cover;
    z-index: -1; /* Ensure it stays behind other content */
    position: relative; /* Ensures stacking context */
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;
}

.sub-title {
    font-size: 60px;
    font-weight: 600;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #1092de;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

.about-text-box {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.2); /* White text with 80% opacity */
}
/* Responsive Design */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        align-items: center;
    }

    .about-col-1,
    .about-col-2 {
        flex-basis: 100%;
        text-align: center;
    }

    .sub-title {
        font-size: 45px;
    }

    .tab-titles {
        justify-content: center;
    }

    .tab-links {
        margin-right: 30px;
        font-size: 16px;
    }
    
}
/* Sidebar styling */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: rgba(35, 30, 30, 0.8); /* Background with transparency */
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: rgba(87, 87, 87, 0.8); /* Background with transparency on hover */
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
}

.menu-btn {
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    position: absolute;
    top: 15px;
    right: 80px;
}

/*----------------End About section -------------*/



/*---------start service section-------*/
#services {
    padding: 30px 0;
    background: #074751;
}

#services .container {
    text-align: center;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-top: 50px;
}

.services-list div {
    background: #231f1f;
    padding: 20px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div img {
    margin-bottom: 20px;
}

.services-list div h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.services-list div p {
    margin: 10px 0;
}

.services-list div a {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
    border: 1px solid #fff;
    padding: 10px;
    border-radius: 5px;
}

.services-list div a:hover {
    background: #1092de;
}

.services-list div:hover {
    background: #1092de;
    transform: translateY(-10px);
}

/*----------------end service section -------------*/

/*----------------start portfolio section -------------*/
#portfolio {
    padding: 50px 0;
}

#portfolio .container {
    text-align: center;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(#1092de, crimson);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 10px;
}

.layer a {
    margin-top: 20px;
    color: #1092de;
    text-decoration: none;
    font-size: 18px;
    line-height: 40px;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
}

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #1092de;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}

.btn:hover {
    background: #1092de;
    transform: scale(1.1);
}

#contact {
    background: #092d38;
    padding-top: 50px;
}

.contact-left {
    flex-basis: 35%;
}

.contact-right {
    flex-basis: 60%;
}

.contact-left p {
    margin-top: 30px;
}

.contact-left p i {
    color: #1092de;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: white;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: #1092de;
    transform: translateY(-5px);
}

.btn.btn2 {
    background: #1092de;
    display: inline-block;
}

.btn.btn2:hover {
    background: #100d0d;
}

.contact-right form {
    width: 100%;
}

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #fff;
    padding: 15px;
    margin: 15px 0;
    color: black;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2 {
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #000000;
    font-weight: 300;
    margin-top: 20px;
}

.copyright i {
    color: #de102d;
}

/*---------------- End Contact section -------------*/

nav .fa-solid {
    display: none;
}

/* Mobile Navigation Styles */
nav ul {
    background: #1092de; /* Menu background color */
    position: fixed;
    top: 0;
    right: -200px; /* Initially hidden off-screen */
    width: 200px;
    height: 100vh; /* Full height for the menu */
    padding-top: 50px;
    z-index: 2;
    transition: right 0.5s; /* Smooth transition */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
}

nav ul li {
    display: block; /* Make items block elements */
    margin: 15px 0; /* Spacing between items */
    width: 100%; /* Full width for each item */
    text-align: center; /* Center the text */
}

nav ul li a {
    display: block; /* Allow the entire area to be clickable */
    color: #fff; /* Text color */
    text-decoration: none; /* Remove underline */
    padding: 10px 0; /* Padding for clickable area */
    width: 100%; /* Full width for the links */
}

nav ul.active {
    right: 0; /* Slide in the menu */
}

/* Close button styles */
nav .fa-xmark {
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
    font-size: 25px;
    color: white; /* Color for the close icon */
}

/* Responsive Styles */
@media only screen and (max-width: 600px) {
    .header-text {
        margin-top: 50%;
        font-size: 16px;
    }

    .header-text h1 {
        font-size: 30px;
    }

    nav .fa-solid {
        display: block;
        font-size: 25px;
    }

    .sub-title {
        font-size: 40px;
    }

    .about-col-1,
    .about-col-2 {
        flex-basis: 100%;
    }

    .about-col-1 {
        margin-bottom: 30px;
    }

    .about-col-2 {
        font-size: 14px;
    }

    .tab-links {
        font-size: 16px;
        margin-right: 20px;
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%;
    }

    .copyright {
        font-size: 14px;
    }

    .services-list {
        grid-template-columns: 1fr; /* Stack services in one column on small screens */
    }

}

.about-text-box {
    background-color: rgba(0, 0, 0, 0.8); /* Black background with 70% opacity */
    color: white; /* White text */
    padding: 20px; /* Padding around the text */
    border-radius: 8px; /* Rounded corners */
    margin-bottom: 10px; /* Space below the text box */
}
.about-text-box p {
    margin-bottom: 10px;
}
#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-right h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.sticky-tab {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Adjust for box width */
    height: 60px; /* Example: set a fixed height */
    margin: 0 auto; /* Center the box */
    background: rgba(0, 0, 0, 0.8);
    padding: 0px; /* Adjust for box height */
    z-index: 1000;
    display: flex;
    align-items: center; /* Vertically center logo */
    justify-content: flex-start; /* Align logo to the left */
    box-sizing: border-box;
}

.sticky-logo {
    width: 200px; /* Adjust logo size */
    height: 200px;
    margin-right: 10px; /* Space between logo and other content */
}

body {
    padding-top: 30px; /* Adjust based on sticky-tab height */
}