body{
    font-family: 'Arial', Helvetica, sans-serif;
    text-align: center;
    background-color: rgb(207, 228, 248);
    margin: 0;
    overflow: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}
html {
    height: 100%;
}
h1 {
    font-size: 40px;
    /*color: #167197;*/
    /*color: aqua;*/
    /*color: rgb(22, 113, 135);*/
    font-family: 'Arial', Helvetica, sans-serif;
    font-style: italic;
}
/*header{s
    /*padding-top: 51px;
}*/
#index{
    width: 90px;
    margin-left: 8px;
    margin-right: 8px;
}

.hero-image {
    width: 100%;
    height: 100vh;       /* full viewport height */
    object-fit: cover;   /* trims/crops sides if needed */
    display: block;
    margin: 0 auto;
}

.hero {
    position: relative;
    height: 100vh;
    max-width: 3440px;   /* don’t exceed image’s natural width */

    margin: 0 auto;      /* center on large displays */
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Grey fade overlay */
  .hero .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(116, 132, 163, 0.212), rgb(44, 52, 68));
    z-index: 1;
    
  }
  
  /* Centered text */
  .hero-text {
    position: absolute;
    z-index: 2;
    color: rgb(207, 228, 248);
    font-size: 80px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
    padding-top: 400px;
  }
  
.content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

.p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333; /* adjust to match your theme */
}

#MAIE{
    width: 90px;
    margin-left: 8px;
    margin-right: 8px;
}
#Afterglow{
    width: 90px;
    margin-left: 8px;
    margin-right: 8px;
}
.active{
    background-color: rgb(104, 127, 177);
    border-radius: 10px 10px 0px 0px;
    height: 51px;
    
}
.afterglow-section {
    background-image: url('../pictures/Afterglow_Engine_back.png');
    background-repeat: no-repeat;
    background-size: contain; /* or 'contain' depending on the effect */
    background-position: center;
    background-color: transparent; 
    background-color: rgb(207, 228, 248);
}
.not_active{
    border-radius: 10px;
    background: rgb(40, 64, 105); 
    height: 30px;
    padding-bottom: 2px;  
    text-align: center;
    
}

#logo{
    margin-bottom: 20px;
    padding-bottom: 20px;
    height: 80px; 
    width: 288px;
    padding-left: 30px;
    margin-top: -20px;
    padding-right: 10px;
}
#top{
    width: 1080px;
    height: 720px;
}
#PHANTOM1{
    width: 1216px;
    height: 452px;
}
#PHANTOM2{
    width: 100%;
    height: 100%;
}

.p{ 
    width: 1000px;
    margin: 0 auto;
    padding: 30px;
    font-size: 18px;
} 

nav ul {
    list-style-type: none; margin: 0 auto;
    padding: 0;
    padding-top: 12px;
    overflow: hidden; background-color: rgb(65, 89, 134);
    height: 50px;
    /* Start fixed nav at the top of the screen*/
    position: relative; top: 0;
    /* End fixed nav ---*/ 
    width: 100%;
    line-height: 30px;
    

    }
    #nav{
        padding-bottom: 12px;
    }
    #nav2{
        padding-bottom: 12px;
        margin-right: 30px;
        padding-right: 10px;


    }
    #nav2 ul{
        list-style-type: none; margin: 0 auto;
        padding: 0;
        padding-top: 12px;
        overflow: hidden; background-color: #93c47dff;
        height: 150px;
        /* Start fixed nav at the top of the screen*/
        position: relative; top: 0;
        /* End fixed nav ---*/ 
        width: 200px;
        display: block;
        float: right;
        clear: right;
        margin-top: -130px;
        line-height: 30px;
        
        

        }
        #nav2 ul li {
            float: right;
            }
nav ul li {
    float: left;
    
    }
    nav ul li.lk a {
    color:  rgb(207, 228, 248); display: block;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    }

    nav ul li.lk a:hover:not(.active) { 
        /*transition: border-radius 15px 15px 0px 0px 2s; */
        background: #494f7e; 
        box-shadow: 5px 5px 10px 2px rgba(0,0,0,.8);
    }
.nav2i:hover{
     box-shadow: 5px 5px 10px 2px rgba(0,0,0,.8);
}
.contactb:hover{
    box-shadow: 4px 4px 6px 1px rgba(0,0,0,.8);
}
ol li{
    padding-top: 10px;
}
main {
    flex: 1; 
    margin: 0 auto; /*Used to center an element horizontally on a page*/
}
ul.textb{
    
    padding-top: 50px;
    text-align: left;
    padding-left: 530px;
    
    
}
.ulbody{
    list-style-type: circle;
    
}
.ulhead{
    list-style-type: none;
    list-style: none;
    
}
ul p{
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 18px;
}

#Rus{
    color: black;
font-size: 25px;
}

#mod{
padding-top: 140px;
color: black;
font-size: 25px;
}
#fant{
padding-top: 135px;
color: black;
font-size: 25px;
}
.headdp{
    color: black;
font-size: 18px;

text-align: left;
}

#grow{
padding-top: 115px;
color: black;
font-size: 25px;
}


h2{
    /*color: #4e94b2;*/
    color: rgba(22, 113, 135, 0.7);
    
}



.icon{ 
/*class used for more than one 1 element */
object-position: bottom ;
} 

#main_image{
    /*id used for singel element*/
    width: 1250px;
    height: 632px;
}

nav {
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    
    
    
}
ol{
    list-style-type: none; margin: 0 auto;
    width: 450px;
    float: left;
    padding-top: 40px;
    padding-bottom: 40px;
    
}
h3{
    color: rgb(47, 161, 190)

}
.text{
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 18px;
    font-size:1.5vw;
    line-height: 30px;
}
p{
    padding: 1px ;
    
}

#pada{
    
    margin-top: 50px;
}

#padb{
    padding-top: 20px;
}

.images{
    height: 265px;
    width: 400px;
    box-shadow: 5px 5px 10px 2px rgba(0,0,0,.8);

}
footer {
    color: #f0f0f0;
    background-color: #3e4a64;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    margin-top: 4rem;
}

#aboutspace{
    padding-top: 20px;
    padding-bottom: 200px ;

}
.mainfoot{
    position: relative;
}
#conactform{
    text-align: left;
}
.secondfoot{
 margin-top: 500px;
}
.contactfoot{
    position: relative;
}
#aboutimg1{
    float: left;
    height: 380px;
    width: 254px;
    margin-left: 80px;
    
    box-shadow: 5px 5px 10px 2px rgba(0,0,0,.8);
}
.heada{
    margin-top: 50px;
    
}

#MAIETEXT{
    list-style-type: none; margin: 0 auto;
    width: 600px;
    padding-left: 300px;
    padding-bottom: 20px;
    text-align: center;
    text-align: left;
    padding-bottom: 150px;
    
}

#aboutmain{
    list-style-type: none; margin: 0 auto;
    width: 600px;
    padding-left: 300px;
    padding-bottom: 20px;
    text-align: center;
    text-align: left;
    padding-bottom: 150px;
}




#icons{
    margin-left: 230px; 
    float: left;
    margin-top: -35px;
    
    
}
.dptext{
    text-align: left;
    padding-bottom: 5px;
    font-size: 16px;
    align-self: center;
    align-content: center;
    width: 400px;
}
#dptext1{
    padding-top: 5px;
}
#dptext2{
padding-top: 20px;
}
#dptext3{
padding-top: 20px;
}
#dptext4{
padding-top: 25px;
}
#dptext5{
    padding-top: 30px;
}

.dplist{
    margin-left: -300px;
    
}

.foot{
    padding-top: 0px;
    padding-bottom: 0px;
}
#foothead{
    font-weight: bold;
    color: black;
}

.Spacing{
    line-height: 30px;
}

.contactformpad{
    margin-top: 50px;
}

#nonecircl{
    float: left;
    list-style-type: none;
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 768px) {
  body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }

  /* Hero section */
  .hero {
    width: 100%;
    max-width: 100%;   /* remove desktop cap */
    height: 60vh;      /* smaller on mobile */
  }
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-text {
    font-size: 2rem;
    padding-top: 0;
    padding: 1rem;
  }

  /* Nav bar */
  nav ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav ul li {
    float: none;
    flex: 1 1 auto;
    text-align: center;
  }

  /* Content blocks */
  .content,
  .p,
  #MAIETEXT,
  #aboutmain {
    max-width: 100%;
    width: 100%;
    padding: 1rem;
  }

  /* Images scale to screen */
  img, #main_image, #PHANTOM1, #PHANTOM2, #aboutimg1 {
    max-width: 100%;
    height: auto;
  }
}
