/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    position: fixed; /* Keeps the header fixed at the top */
    top: 0;
    width: 100%; /* Ensures the header spans the full width */
    background-color: #000000; /* Background to make it stand out */
    z-index: 1000; /* Ensures it stays above the video and other content */
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
}

.header-content {
    display: flex; /* Align items in a horizontal row */
    justify-content: space-between; /* Space out the logo and navbar */
    align-items: center; /* Vertically center all items */
}

.header .logo h1 {
    color: #fff;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.navbar ul li {
    margin-right: 15px; /* Adds space to the right of each navigation item */
}

.navbar ul li:last-child {
    margin-right: 0; /* Ensures the last item does not have extra space */
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

.navbar a:hover {
    color: #F7931E;
}

.logo img {
    /* max-width: 100px; */ /* Adjust size of the image */
    height: 40px ; /* Maintain aspect ratio */
    width: auto;
    margin-right: 10px; /* Add space between the image and text */
}

.logo {
    display: flex; /* Align image and text horizontally */
    /* align-items: flex-start; */ /* Vertically align image and text */
    align-items: center;
    /* height: 100%; */
    text-decoration: none; /* Remove underline from the logo link */
}

.logo a {
    text-decoration: none; /* Removes the underline */
    color: inherit; /* Ensures the text color matches the parent */
}

.logo span {
    font-size: 1.2rem; /* Adjust text size */
    color: #fff; /* Ensure text contrasts with the header background */
    font-weight: bold; /* Make the text bold */
    line-height: 1; /* Prevent extra spacing around the text */
    /* display: flex;
    align-items: center;
    height: 100%; */
}

/* Video Section */
.video-container {
    position: relative;
    width: 100%;
    height: 50vh; /* Video takes half the viewport height */
    overflow: hidden;
    /* margin-top: 5rem; */
    margin-bottom: 4rem;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Ensure it stays in the background */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
    text-align: center;
}

.video-overlay h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.video-overlay p {
    font-size: 1.5em;
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 1;
    color: #fff;
    height: 80vh;
    /* padding-top: 5rem; */
    padding-bottom: 2rem;
    margin-bottom: 0;
    display: flex; 
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #F7931E;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #00263E;
}

/* Services Section */
.services {
    background-color: #f4f4f4;
    padding: 3rem 0;
    position: relative;
    z-index: 2;
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to the next row */
    justify-content: space-around; /* Adjusts spacing between items */
    gap: 20px; /* Adds space between rows and columns */
}

.service-item {
    background-color: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    width: 30%;
    flex: 1 1 calc(30% - 20px); /* Each item takes 30% of the width minus the gap */
    max-width: calc(30% - 20px); /* Ensures consistent sizing */
    box-sizing: border-box; /* Includes padding and border in the size calculation */
}

.service-item a {
    text-decoration: none; /* Removes underline from links */
    color: inherit; /* Keeps the text color consistent */
    display: block; /* Ensures the entire container is clickable */
}

.service-item h3 {
    margin-bottom: 1rem;
    color: #00263E;
}

.service-item p {
    font-size: 1rem;
}

.service-item:hover {
    transform: scale(1.1);  /* Makes the option 10% bigger */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Adds a shadow effect */
}

/* Service Image Option */
.service-item img {
    width: 90%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: #00263E;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

.footer p {
    margin: 0;
}

/* Contact Section */
.contact {
    padding-top: 5rem;
    padding-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact h1 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #333;
    z-index: 3;
    position: relative;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left; /* Align fields to the left */
    z-index: 2;
    position: relative;
}

.contact-form .form-group {
    margin-bottom: 1.5rem; /* Adds spacing between form fields */
}

.contact-form label {
    display: block; /* Ensures label appears above the input */
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1rem;
    color: #555;
}

.contact-intro {
    margin-bottom: 2rem; /* Adds vertical space */
    font-size: 1.2rem;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%; /* Full-width fields */
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; /* Ensures padding is included in the width */
}

.contact-form textarea {
    resize: none; /* Prevent resizing */
    font-family: Arial, sans-serif; /* Matches input font style */
    height: auto; /* Prevent fixed height interference */
}

.contact-form button {
    display: inline-block;
    background-color: #F7931E;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #00263E;
}

.cloud-solutions,
.devops-solutions,
.cad-design,
.etl-solutions,
.embedded-devices,
.database-solutions,
.vlsi-solutions,
.software-development,
.data-engineering {
    padding: 2rem 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.cloud-solutions h1, .cloud-solutions h2,
.devops-solutions h1, .devops-solutions h2,
.cad-design h1, .cad-design h2,
.etl-solutions h1, .etl-solutions h2,
.embedded-devices h1, .embedded-devices h2,
.database-solutions h1, .database-solutions h2,
.vlsi-solutions h1, .vlsi-solutions h2,
.software-development h1, .software-development h2,
.data-engineering h1, .data-engineering h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.cloud-solutions ul,
.devops-solutions ul,
.cad-design ul,
.etl-solutions ul,
.embedded-devices ul,
.database-solutions ul,
.vlsi-solutions ul,
.software-development ul,
.data-engineering ul {
    list-style: disc;
    margin: 1rem 0 2rem 1.5rem;
}

.cloud-solutions p,
.devops-solutions p,
.cad-design p,
.etl-solutions p,
.embedded-devices p,
.database-solutions p,
.vlsi-solutions p,
.software-development p,
.data-engineering p {
    margin-bottom: 1.5rem;
}



/* Experimental Styles */
.bundle-services {
    padding: 3rem 0;
}

.bundle-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.bundle-box {
    position: relative;
    background-color: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    width: 22%;
    overflow: hidden;
    z-index: 0;
    transition: color 0.3s ease;
}

.bundle-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 100%;
    width: 100%;
    height: 100%;
    background-color: #ff0000;
    transition: right 0.4s ease;
    z-index: -1;
}

.bundle-box:hover::before {
    right: 0;
}

.bundle-box:hover {
    color: white;
}

.bundle-box img {
    width: 75%;
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    transition: filter 0.3s ease;
}

.bundle-box:hover img {
    filter: none; /* Keep the original image colors on hover */
}

.bundle-box h3, .bundle-box p {
    position: relative;
    z-index: 1;
}
