@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
box-sizing: border-box;
margin:0px;
}
body{
font-size: 15px;
font-family: "Poppins", sans-serif;
font-style: normal;
color: white;
}
:root{
--maincolor: rgb(0, 97, 255);;
--secondarycolor: #155095;
--fontgray:rgb(108, 107, 107);

}

h1 {
all: unset;               
display: block;
font-size: 40px;
}

.container {
width: 100%;
}
.content-section {
display: none;
}

.content-section.active {
display: block;
}
.content-section {
padding: 40px 20px;
animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

/* TOPBAR*/
.topbar {
display: flex;
justify-content: flex-end;
background-color: var(--secondarycolor);
padding: 10px 20px;
}

.topbar ul {
display: flex;
list-style: none;
padding: 0;
margin: 0;
}

.topbar li {
margin-left: 20px; /* spacing between items */
display: flex;
align-items: center;

}
.topbar ul li a{
    text-decoration: none;
    color:white;
}
.topbar i{
padding-right: 5px;
}


/*NAVBAR*/
.topnav{
height: 70px;
width: 100%;
background:white;
}

.topnav a{
text-align: center;
align-items: center;
font-weight: 600;
text-decoration: none;
}
.topnav a:not(.button) {
color: var(--fontgray);
float: left;
padding: 25px;

}

.links{
float: right;
}

.icon{
color: var(--secondarycolor);
margin: 10px;
display: none;
cursor: pointer;
}

.line{
display: grid;
width: 40px;
height: 7px;
background: var(--secondarycolor);
margin: 5px;
border-radius: 2rem;
}


.icon.active .line:nth-child(2){
opacity: 0;
}
.icon.active .line:nth-child(1) {
transform:  rotate(-40deg) translate(-8px, 9px);
opacity: 1;
transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1s;

}
.icon.active .line:nth-child(3) {
transform:  rotate(40deg) translate(-8px, -9px);
opacity: 1;
transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1s;

}

.topnav a:hover:not(.button){
color: black;
}

.logo{
height: 50px;
margin: 10px 10px 10px 20px;
float: left;
}
button{
 background: transparent;
 border: none;
}
.button {
display: inline-block;

border-radius: 1rem;
margin-top: 13px;
padding: 10px 20px;
background-color: var(--maincolor);
cursor: pointer;
color: white;
text-decoration: none;
border: none;
font-size: 1rem;
}

.button:hover{
background-color: #05264c;
color: white;
}

/*************** HOME PAGE***************/
/* Header*/
.top {
  background: linear-gradient(rgba(0, 0, 0, 0.648), rgba(0, 0, 0, 0.589)),
              url("./headernew.jpg");
  background-repeat: no-repeat;
  background-size: cover;      
  background-position: center center; /* Ensures center is visible */
  width: 100%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.heading{
text-align:center;
padding: 30px;
}

.heading p {
font-size: 19px;
}

/* 2nd Section OLD*/
.container2 { 
display: flex;
justify-content: center;
text-align: center;
margin: 0 auto;
background-color: var(--secondarycolor);

}

.funding-section {
display: flex;
justify-content: space-between;
gap: 40px;
padding: 40px;
width: 80%;
}

.funding-highlight {
font-size: 20px;

flex: 0 0 150px;
margin: 0;
}

.funding-highlight span {
font-size: 80px;
display: block;
margin-top: 5px;
color: var(--maincolor);
line-height: 1;
margin-top: -5px; /* Optional, use with care */
display: inline-block;
}

.funding-description {
flex: 1;
margin: 0;
padding: 10px;
font-size: 16px;
line-height: 1.6;
}
/* 2nd Section new */
.grid-benefits {
padding: 40px 200px;
text-align: center;
background-color: var(--secondarycolor);
}

.grid-benefits .steps{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
gap: 22px;

}

.benefit-column {
border-radius: 12px;
padding-top: 25px;
}
.benefit-column:hover{
    transform: scale(1.1);
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1s;

}
.benefit-column i {
font-size: 33px;
margin-bottom: 10px;
}

.benefit-column p {
margin: 0;
}

/* Simple Steps*/
.midcontainer{
background-color: var(--secondarycolor);
padding: 80px;
}

.simple-steps {
list-style: none;
padding: 0;
margin: 20px 0;
justify-content: center;
display: flex;
text-align: left;
}

.simple-steps li {
margin-bottom: 12px;
padding-left: 20px;
position: relative;
font-size: 16px;
list-style: none;
color: white;
}

.simple-steps li::before {
content: "✔";
position: absolute;
left: 0;
color: #007bff;
}

/* Home Grid*/
.image-grid {
display: grid;
grid-template-columns: repeat(4, 1fr); /* Four columns in a row */
gap: 50px;
padding: 100px 40px;
}

.grid-item, .imgbox {
position: relative;
height: 400px;
overflow: hidden;
border-radius: 8px;
}

.grid-item:hover .imgbox{
-ms-transform: scale(1.5);
-webkit-transform: scale(1.5);
transform: scale(1.5);
transition: 3s;
cursor: pointer;
}


.grid-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
border-radius: 8px;
}

.image-title {
bottom: 10px;
width: 100%;
padding: 15px;
box-sizing: border-box;
z-index: +1;
position: absolute;
}


/* Services section*/
.services {
padding: 60px 100px;
margin: auto;
color: var(--fontgray);
width: 80%;
}

.services h1 {
text-align: center;
margin-bottom: 40px;
}

.service {
display: flex;
align-items: center;
margin-bottom: 40px;
gap: 20px;
}

.service img {
width: 200px;
height: auto;
border-radius: 50%;
}

.service-text {
flex: 1;
}
.service-text h3{
  padding-bottom: 10px;
}

/*Footer*/
.site-footer {
background-color: #021830;
padding: 30px 80px;
}

.footer-content {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 30px;
}

.about-container,
.contact-container, .company-container{
flex: 1;
min-width: 250px;
}

.about-title,
.contact-title, .company-title {
font-size: 18px;
margin-bottom: 10px;
}
.about-container {
padding-right: 20px;       /* Adds space to the right */
margin-bottom: 20px;       /* Adds space below on smaller screens */
}

.about-text {
font-size: 15px;
line-height: 1.8;          /* Increased line spacing for better readability */
margin-top: 10px;          /* Adds space between the title and text */
}


.footer-info {
list-style: none;
padding: 0;
font-size: 15px;
line-height: 1.8;
}

.footer-info a{
    text-decoration: none;
    color: rgb(243, 233, 233);
}

.footer-links {
list-style: none;
padding: 0;
}

.footer-links li {
display: block;
}

.footer-links.inline li {
display: inline-block;
margin-right: 15px;
}
.footer-info .fa-brands{
font-size: 30px;
padding: 10px;
}


.site-footer hr {
border: 0;
height: 1px;
background: white;
margin: 30px 0;
}

.site-footer a:hover {
text-decoration: none;
}

.copyright {
text-align: center;
font-size: 14px;
margin-top: 10px;
color: #bbb;
}

/*************** INDUSTRIES PAGE***************/


.category-section {
padding-top: 80px;
padding-bottom: 80px;
max-width: 1100px;
margin: auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
gap: 50px;
}
.category-card {
cursor: pointer;
background: rgba(255, 255, 255, 0.1);
border-radius: 2rem;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.313);
border: 1px solid rgba(255, 255, 255, 0.3);
overflow: hidden;
transition: transform 0.3s;
display: flex;
}
.category-card:hover {
transform: translateY(-15px);

}

.category-card img {
width: 40%;
height: 100%;
object-fit: cover;
}

.category-content {
padding: 20px;
width: 50%;
color: var(--fontgray);
}

.category-content h3 {
font-size: 18px;
margin: 0 0 10px;
}
.category-content p {
font-size: 14px;
}


/*************** ABOUT PAGE***************/

.mision-vision{
    padding: 90px;
    color: var(--fontgray);
}

/*RESPONSIVE*/

@media screen and (max-width: 1030px) {
.icon{
display: block;
right: 0;
position: absolute;
z-index: 4;
margin-top: 15px;
}

.links{
display: none;
}

.links.responsive{
position: absolute;
width: 50%;
display: grid;
background-color: white;
z-index: 3;
right: 0px;
}

.topnav a:not(.button) {
color: var(--fontgray);
}
.links .button {
margin: 20px;
}
.footer{
width: 100vw;
text-align: center;
display: block;
}

}
@media (max-width: 834px) {

    .midcontainer{
padding: 20px;
}
.grid-benefits {
padding: 40px 40px;

}
.grid-benefits .steps {
  grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
}

    .services {
padding: 30px 20px;
}
.footer-content {
flex-direction: column;
text-align: center;
}

.footer-content > div {
margin-bottom: 20px;
}

.image-grid {
grid-template-columns: 1fr 1fr; /* One column on small screens */
gap: 20px;
padding: 40px 20px;
}

.grid-item, .imgbox {
height: 250px; /* Reduce height for small screens */
}

.image-title {
padding: 10px;
font-size: 14px;
text-align: center;
}

}

@media screen and (max-width: 690px) {
.topbar{
    justify-content: flex-start;
    flex-direction: column;
}
  .topbar ul {
    flex-direction: column;
    align-items: flex-start; /* optional: align items to the left */
  }
  .topbar li {
    margin: 10px 0; /* vertical spacing */
    margin-left: 0;  /* remove horizontal margin */
  }

.links.responsive{
width: 100%;
}


.funding-section {
flex-direction: column;
width: 90%;
padding: 20px;
gap: 20px;
}

.funding-highlight {
font-size: 18px;
flex: none;
text-align: center;
}

.funding-highlight span {
font-size: 60px;
margin-top: 0;
}

.funding-description {
font-size: 15px;
padding: 0;
text-align: center;
}




.service {
flex-direction: column;
text-align: center;
}

.service img {
width: 180px;
margin-bottom: 20px;
}

.service-text {
width: 100%;
}
.site-footer {
padding: 30px 20px;
}

.footer-content {
flex-direction: column;
gap: 20px;
}

.about-container,
.contact-container,
.company-container {
padding-right: 0;
margin-bottom: 20px;
}

.about-text {
margin-right: 0;
}

.footer-info,
.footer-links {
text-align: center;
}

.footer-links.inline li {
display: block;
margin: 5px 0;
}

.footer-info .fa-brands {
font-size: 26px;
padding: 8px;
}

.copyright {
font-size: 13px;
margin-top: 20px;
}
}

