body{
    font-family: jost;
}
#main {
    display: none;
}
.page1 {
    height: 100vh;
    width: 100%;
    padding: 0.1px;
}
#loading-page {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: black;
    height: 100%;
    width: 100%;
}
.loading-content {
    transition: opacity 1s ease-out; /* Smooth transition for the content */
}
.loading-content.fade-out {
    opacity: 0;
}
#loading-page h2{
    font-family: "Orbitron";
    color: #222;
    font-size: 4rem;
    letter-spacing: 1rem;
    position: relative;

}
#loading-page h2::before{
    content: attr(data-text);
    position: absolute;
    color: #f2f2f2;
    top: 0;
    left: 0;
    
    width: 100%;
    
    overflow: hidden;
    animation: animate 2s cubic-bezier(0.96, 0.07, 0.52, 0.97) ;
}
#loading-page .bar{
    width: 150px;
    height: 5px;
    background-color: #222;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    top: 200px;
    left: 12%;
}
#loading-page .bar::before{
    position: absolute;
    background-color: #f2f2f2;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    overflow: hidden;
    animation: animate 2s cubic-bezier(0.96, 0.07, 0.52, 0.97) ;
}
@keyframes animate {
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
    
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

nav{
    width:100%;
    height:96px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    position: absolute;
    z-index: 10;
    
}

nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav ul li{
    
    margin: 10px 10px;
}
nav ul li a{
    font-size: 18px;
    text-decoration: none;
}

.nav-links{
    list-style: none;
}

.links{
    position: relative;
    display:inline-block;
    color:#fff;
    text-transform: uppercase;
    padding: 10px 15px;
    transition: 1s;
    cursor: pointer;
    
}

nav ul li a:hover{
    color:#F47216;
    letter-spacing: .25em;
}


nav ul li a span{
    position: absolute;
    display: block;
    background: #F47216;
}


.nav-items:nth-child(odd) {
    animation: slideInFromLeft 0.8s ease forwards ;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.nav-items:nth-child(even) {
    animation: slideInFromRight 0.8s ease forwards ;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


#background-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.home-content{
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%,-50%);
    color: white;

}
.home-content h3{
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: #F47216;
}
.home-content h2{
    font-size: 3rem;
    
}
#home-paragrah{
    margin-top: 3%;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #cdcece;
}


.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 183px;
    height: 14vh;
    object-fit: cover;
}
.logo img{
        width: 100%;
        height: 100%;
        object-fit: cover;
}
.stambh-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 102px;
    object-fit: cover;
    margin-right: 20px;
}
.stambh-logo img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin-right: 42px;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 11; /* Ensure it is above other elements */
}

.hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}
.video-container {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

#video1, #content1 {
    display: block;
}
.progress-bar {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    overflow: hidden;
}

.progress-bar-segment {
    height: 16%;
    background: rgba(255, 255, 255, 0.3);
    width: 16%; /* Equal width for each segment */
    position: relative;
}

.progress-bar-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress-width, 0%);
    background: #fff;
    transition: width 0.1s;
   
}
.progress-bar-segment i{
    position: absolute;
    top: -236%; /* Adjust based on your preference */
    left: -30px;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
}

/* page2 */
.page2{
    width: 100%;
    background-color: #07080a;
    padding: 0.1px;
}
/* flash news css */
.flash-news-banner {
    background-color: #111214;
    padding: 3px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    position: relative;
    width: 1204px;
    height: 110px;
    max-width: 80%;
    margin: 0 auto;
    margin-top: 60px;
    border-radius: 16px;
    border: 2px solid hsla(0, 0%, 100%, 0.114);
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, .15);
}

.flash-news-text {
    font-size: 1.3rem;
    color: #F47216;
    font-weight: bold;
    margin-right: 15px;
}

.news-content {
    
    color: #fff;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    transform: translateX(-100%);
    opacity: 0;
}

.news-content.slide-in {
    transform: translateX(0);
    opacity: 1;
}

.news-content.slide-out {
    transform: translateX(100%);
    opacity: 0;
}

.circle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 8px;
    width: 100%;
}

.circle {
    width: 5px;
    height: 5px;
    background-color: #6a6b6c;
    border-radius: 50%;
    margin: 0 5px;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.circle.active {
    width: 6px;
    height: 6px;
    background-color: white;
}

/* key Links css */
.key-container {
    width: 1204px;
    margin: 0 auto;
}

.key-container h1 {
    color: white;
    font-size: 3.2rem;
    margin-top: 100px;
    margin-bottom: 13px;
}

.key-container p {
    margin-bottom: 32px;
    font-size: 1.3rem;
    color: #6a6b6c;
}
.link-card p {
    font-size: 1rem;
    color: #6a6b6c;
}
.key-container .links {
    width: 1204px;
    display: flex;
    padding: 0px 0px;
    justify-content: space-between;
    gap: 15px;
    text-transform: none;
    /* flex-wrap: wrap; */
}

.key-container .link-card {
    background-color: #111214;
    border-radius: 10px;
    padding: 20px;
    flex: 1 1 calc(50% - 40px);
    height: 176px;
    border: 2px solid  hsla(0, 0%, 100%, 0.036);
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, .15);
    position: relative;
    transition: transform 0.3s;
}

.key-container .link-card:hover {
    transform: translateY(-10px);
    border: 2px solid  hsla(0, 0%, 100%, 0.267);
    
}

.key-container .icon  {

    font-size: 1.5rem;
    margin-bottom: 10px;
}
.key-container .icon i{
    color: #cdcece;
}

.key-container h2 {
    color: #cdcece;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.key-container button {
    position: absolute;
    bottom: 124px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}




.key-container .link-card:hover h2,
.key-container .link-card:hover i
{
    color: white;
    
}
.key-container .link-card:hover p{
    color: #9c9c9d;
}

.key-container .link-card:hover button{
    opacity: 1;
}



/* About ISRO CSS */
.container1 {
    width: 1204px;
    margin: 0 auto;
    margin-top: 36px;
    position: relative;
}

.text h2 {
    color: white;
    font-size: 3.2rem;
    margin-top: 100px;
    margin-bottom: 13px;
}

.container1 p, .container2 p, .container3 p {
    margin-bottom: 32px;
    font-size: 1.3rem;
    color: #6a6b6c;
}

.img1 {
    height: 300px;
}

.about-content {
    position: relative;
    overflow: hidden;
   
}

.about-content:hover p {
    opacity: 1;
    visibility: visible;
}

.btn {
  
    font-weight: bold;
    word-spacing: 5px;
    background-color: black;
    border: none;
    padding: 20px 40px;
    color: white;
    font-size: 1.2em;
    border-radius: 10px;
    align-items: center;
    background-size: 200% 100%;
    transition: all 2s;
}

.btn:hover {
    border: none;
    animation: gradientShift 1s ease forwards;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

.btn {
    background: linear-gradient(to right, #1e1e1e, #3c5e6cba, #856b46a6, #1e1e1e);
    background-size: 200% 100%;
}

.text {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.about {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.text-overlay h2 {
    color: rgb(252, 248, 248);
    font-size: 22px;
}



.text-overlay p {
    font-size: 14px;
    color: rgb(254, 254, 254);
    visibility: hidden;
    opacity: 0;
}

.text-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    height: 60%;
    width: 100%;
    padding: 10px 10px;
    text-align: center;
    transition: bottom 0.5s ease;
    background: rgba(27, 27, 27, 0.5);
}

.about-content:hover .text-overlay {
    bottom: 0%;
}

/* mission and vision */

.container2{
    width: 1204px;
    margin: 0 auto;
    margin-top: 60px;
    position: relative;
}

.block1{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.box{
    width: 370px;
    aspect-ratio: 1/0.7;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
}

.box .block1-img{
    width: 100%;
    height: 100%;
    border: inherit;
}

.box .block1-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 90%;
    border: inherit;
    transition: .5s ease-in-out;
}

.box::after{
    content: "";
    position: absolute;
    inset: 0;
    border:2px solid grey;
    border-radius: inherit;
    opacity: 0;
    transition: .4s ease-in-out;
}

.box:hover img{
    filter: blur(3px) brightness(60%);
}

.box:hover::after{
    opacity: 1;
    inset: 20px;
}

.text-over{
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    box-sizing: border-box;
    opacity: 0;
    transition: 1s;
    white-space: normal;
    overflow: hidden;
}

.text-over p{
     color:rgb(226, 223, 223);
     font-size: 15px;
}

.text-over h2{
    color: white;
    font-size: 30px;
}

.text-over a{
    text-decoration: none;
    color: orange;
}

.box:hover .text-over{
    opacity: 1;
}



/* Discovery Rocket Technology */
.container3{
    width: 1204px;
    margin: 0 auto;
    margin-top: 36px;
    margin-bottom: 100px;
    position: relative;
}

.img3{
    width: 370px;
}

.block2{
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.card {
    position: relative;
    width: 370px;
    height: 500px;
}

.card .face{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;
}

.card .front{
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px rgb(61, 58, 58);
    transition: transform 1s;
}

.card .front img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .front h2{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45px;
    line-height: 45px;
    font-size: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.646);
    text-align: center;
}

.card .back{
    transform: perspective(600px) rotateY(180deg);
    background:#111214;
    padding: 30px;
    color: rgb(129, 128, 128);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    box-shadow: 2px 2px 10px rgb(67, 66, 66) inset;
    text-align: center;
    transition: transform 1s;
}

.card:hover .front{
    transform: perspective(600px) rotateY(180deg);
}

.card:hover .back{
    transform: perspective(600px) rotateY(360deg);
}

.block2{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card p{
    letter-spacing: 1px;
    word-spacing: 1px;
    color: rgb(161, 160, 160);
}

.link a{
    color:#F47216;
    text-decoration: none;
}

.card .back .link{
    border-top: solid 1px rgb(114, 114, 114);
    height: 50px;
    line-height: 80px;
}

.card .back h1{
    letter-spacing: 4px;
}


.arrow{
    position: absolute;
    bottom: -50px;
    right: 0px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    
}

.left i,  .right i{
    font-weight: lighter;
    font-size: 30px;
    color: rgb(143, 143, 143);
    transition: color 0.5s;
}

.left,.right{
    padding: 3px;
    background-color: transparent;
    border: none;
}

.arrow1{
    position: absolute;
    right:0%;
    top: 104%;
}

.arrow2{
    position: absolute;
    right:0%;
    top: 104%;
}

i:hover{
    color:white;
}


/* ISRO PORTAL CSS */
.main-wrapper {
    width: 1204px;
    margin: 0 auto;
    margin-top: 100px;
}
.heading {
    margin-bottom: 20px;
}
.heading h1 {
    font-size: 36px;
    margin: 0;
    color: white;
}
.heading p {
    font-size: 16px;
    margin: 5px 0 20px;
    color: #94959C;
}
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.portal{
    background-color: #1d1b20;
    padding: 20px;
    border-radius: 10px;
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, .15);
    transition: background 0.5s ease-in;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.portal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    z-index: 1;
}
.portal:nth-child(odd)::before {
    background: linear-gradient(to right, #1e1e1e, #856b46a6);
}
.portal:nth-child(even)::before {
    background: linear-gradient(to right, #1e1e1e, #3b5d6cba);
}
.portal:hover::before {
    opacity: 1;
}
.portal-content {
    position: relative;
    z-index: 2;
}

.portal:hover p{
    color: #E9E6E9;
}
.portal:hover h3{
    color: white;
}
.portal button{
    position: absolute;
    top: 0px;
    right: 0px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portal:hover button{
    opacity: 1;
}
.portal img {
    max-width: 45px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.portal h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #EEE9E8;
}
.portal p {
    margin: 0;
    font-size: 14px;
    color: #94959C;
}


/* units and centers css*/
.container {
    width: 100%;
    max-width: 1204px;
    margin: 0px auto;
    margin-top: 80px;
    
    
}
.centre-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px; /* Added margin for better spacing in smaller screens */
}
.main-box{
    font-family: Arial,sans-serif;
    width: 40%;
    height: 563px;
    padding: 6px 0px;
    background-color: #1d1b20;
    border: 2px solid  hsla(0, 0%, 100%, 0.036);
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, .15);
    border-radius: 16px;
}
.sidebar {
   padding: 0px 0px;
   display: flex;
   flex-direction: column;
}


.sidebar ul {
    list-style-type: none;
    padding: 0px 20px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    position: relative;
    
    
}

.upper-line{
    margin-bottom: 5px;
    width: 100%;
    height: 2px;
    background-color: hsla(0, 0%, 100%, 0.036) ;
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, .15);
}

.line{
    width: 100%;
    height: 2px;
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: hsla(0, 0%, 100%, 0.036) ;
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, .15);
}

.sidebar ul li {
    margin: 20px 0;
    color: #9c9c9d;
    cursor: pointer;
    z-index: 1;
}

.sidebar ul li.visible {
    color: #F47216;
    left: 2.5vw;
}

.sidebar ul .indicator{
    position: absolute;
    width: 5rem;
    height: 5px;
    background: linear-gradient(45deg, #4f1919, #F47216);
    bottom: 0;
    
    left: 2.5vw;
    border-radius: 10px;
    transition: left 0.3s;
}


.main-content {
    position: relative;
    padding: 0px 20px;
    flex-grow: 1;
}

.content {
    display: flex;
    flex-direction: column;
    display: none;
}

.content.visible {
    display: block;
}


.header {
    font-size: 24px;
    margin-bottom: 20px;
}


.centre {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    /* border: 1px solid white; */
    transition: background-color 0.3s;
    border-radius: 10px;
    cursor: pointer;
}
.centre:hover{
    background-color: #444;
}

.img-box{
    width: 50px;
    height: 50px;
    overflow: hidden;
}

.img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.text-box{
   
    display: flex;
    gap: 2px;
    flex-direction: column;
}
.text-box span{
    font-size: 17px;
    color: #fff;
}
.text-box p{
    margin: 0;
    color: #6a6b6c;
    font-size: 14px;
}



.map-container {
    position: relative;
    width: 60%;
    height: 600px; 
    width: 527.69px;
    /* padding: 20px; */
}

.map {
    width: 100%;
    height: auto;
}

.state {
    fill: none;
    transition: fill 1s ease;
}

.state.highlight {
    fill: #565457;
}


.marker {
    fill: rgba(245, 233, 233, 0.404);
    transition: fill 0.3s ease;
    stroke: none;
}

.marker.active, .marker.high {
    fill: #f27e07;
    
}

#details {
    position: absolute;
    color: white;
    background-color: rgba(78, 68, 68, 0.214);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    display: none;
    z-index: 10;
    width: 200px; /* Adjust width as needed */
}

.details h3 {
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.details p {
    margin: 0;
    font-size: 0.7rem;
}
/* page4 */

.page4-wrapper {
    width: 1204px;
    display: flex;
    justify-content: space-evenly;
    margin: 0 auto;
    margin-top: 110px;
}

.panel {
    border-radius: 8px;
    background-color: #1d1b20;
    padding: 16px;
    flex: 1;
    margin: 0 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    /* height:; */
   
    width: 31%;
    
    box-shadow: 10 20 10px rgba(189, 168, 168, 0.1);

}

.page4-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;


}

.panel h3 {
    font-size: 24px;
    margin: 20px 0;
    color: white;
    margin-left: 20px;
}

.panel p {
    font-size: 17px;
    color: white;
    margin-left: 20px;
}

.panel button {
    cursor: pointer;
    /* font-size: larger; */
    margin-left: 20px;
    margin-top: 20px;
    width: 40%;
    padding: 12.5px 30px;
    border: 1px solid white;
    border-radius: 10px;
    background-color: #141516;
    color: #ffffff;
    font-weight: Bold;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;

}

.panel button:hover {
    background-color: #3c3e3f;
    box-shadow: 0 0 20px #6fc5ff50;
    transform: scale(1.1);
    letter-spacing: 1px;


}

.panel button:active {
    background-color: #282a2c;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
}

/* page5 */

.page5-wrapper{
    width: 1204px;
    height: 434px;
    display: flex;
    justify-content: space-evenly;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 50px;
    background-color: #1d1b20;
}


.page5-contents {


    flex-direction: column;
    justify-content: center;
    align-items: start;
    height: 100%;
    max-width: 600px;;
}

.page5-contents h3 {
  
    color: white;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 20px;
}

.page5-contents p {
    color: #c6bdbd;
    line-height: 1.4;
    
    font-size: 1.2rem;
}



.page5-contents button {
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 10px;
    background-color: #141516;
    color: #ffffff;
    font-weight: Bold;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.page5-contents button:hover {
    background-color: #3c3e3f;
    box-shadow: 0 0 20px #6fc5ff50;
    transform: scale(1.1);
    letter-spacing: 1px;
}

.page5-contents button:active {
    background-color: #282a2c;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
}

.page5-img {
    flex-shrink: 0;
}

.page5-img img {
    margin-top: 18px;
    max-width: 100%;
    
}


/* page5 end */
/* *********************************************************************************************** */
/* Page6 Starting */


.page6-wrapper {
    /* it contains both the div's 1- img-six and 2- content-six */
    width: 1204px;
    display: flex;
    
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 50px;
    background-color: #1d1b20;
    color: white;
   

}

.content-six{
    max-width: 632px;
}

.page6-wrapper h1 {
    font-size: 2.6em;
    margin-bottom: 20px;

}

.page6-wrapper p {
   
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 30px;
    color: white;
}

.page6-wrapper li {
    list-style: outside;
    color: #d0d3d5;
    font-size: 1.1em;
    line-height: 1.3;
    margin-bottom: 35px;

}

.page6-wrapper button {
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: #141516;
    color: #ffffff;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.page6-wrapper button:hover {
    background-color: #3c3e3f;
    box-shadow: 0 0 20px #6fc5ff50;
    transform: scale(1.1);
    letter-spacing: 1px;
}

.page6-wrapper button:active {
    background-color: #282a2c;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
}

.img-six {
   flex-shrink: 0;
}

.img-six img {
    width: 100%;
    
}


/* ***********************************************************************************8 */

/* Page7 Started */


.section {
    width: 1204px;
    height: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 100px;
    background-color: #1d1b20;
    /* background-color: black; */
    color: white;

}

.section img{
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.section .section-content{
    max-width: 48%;
    margin-left: 27px;
}

.section-content h3{
    font-size: 3rem;
    margin-bottom: 20px;
}
.section-content p{
    font-size: 1.2rem;
    margin-bottom: 20px;
}




.section-content button {
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: #141516;
    color: #ffffff;
    font-weight: Bold;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.section-content button:hover {
    background-color: #3c3e3f;
    box-shadow: 0 0 20px #6fc5ff50;
    transform: scale(1.1);
    letter-spacing: 1px;
}

.section-content button:active {
    background-color: #282a2c;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
}



/* Page7 Ended */
/* **************************************************************************************** */
/* **************************************************************************************** */
/* Astronaut Div */

.astronout-wrapper{
    width: 1204px;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
   
    
}
.astronout-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition:opacity 0.5s ease;
}
.astronout-wrapper:hover img{
    opacity: 0.5;
}

.above-txt {
   
    position: absolute;
    color: white;
    font-weight: lighter;
    padding: 10px;
    text-align: center;
    transition: color 0.5s ease, background-color 0.5s ease, opacity 0.5s ease;
}
.above-txt h1{
    
     font-weight: 400;
}
.above-txt button{
    cursor: pointer;
    width: 50%;
    height: 40px;
    border: 1px solid white;
    border-radius: 10px;
    background-color: #141516;
    color: #ffffff;
    transition: all 0.5s;
    margin-top: 2%;
    -webkit-transition: all 0.5s;
}
.above-txt button:hover{
    background-color: #3c3e3f;
    box-shadow: 0 0 20px #6fc5ff50;
    transform: scale(1.1);
    letter-spacing: 1px;
}


/* footer css */


.footer {
    background-color: #07080a;
    width: 1204px;
    margin: 0 auto;
    
    
}

.foot-cont {
    /* width: 90%; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.foot-cont img {
    width: 15rem;
    height: auto;
}

.foot-cont p {
    text-align: center;
    color: #94959C;
    line-height: 2;
    
}

.footer-content {
    padding: 2%;
    display: flex;
    /* color: #ec4c4c; */
    color: white;
    justify-content: space-between;
    font-size: 1.6rem;
    text-transform: uppercase;
}

.footer-content span {
    font-weight: bold;
}


.footer-content ul {
    color: #e2e4ec;
    margin-top: 10%;
    /* color: rgb(178, 5, 135); */
    list-style: none;
}


.footer-content li {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 10px
}

/* this is used for giving gap between Icon and Text */
.footer-content ul li span {
    margin-right: 10px;
    font-size: 30px;
}

.footer-content li:hover {
    border-bottom: 10px;
    color: white;
    text-decoration: underline;
}

.footer-content i:hover {
    transform: scale(1.1);
    transition: 0.5s ease;
    color: white;
}
.email{
   margin-left: 27px;
   margin-top: -95px;
   margin-bottom: 95px;
   display: flex;
   gap: 10px;
}

.email input {
   height: 40px;
   color: black;
   border-radius: 2px;
   padding: 10px;
   border:2px dotted #F47216;
   width: 30%;
   outline: none;
   font-size: 18px;
}

.email button {
   cursor: pointer;
   /* width: 40%; */
   /* padding: 12.5px 30px; */
   padding: 10px 10px;
   border: 1px solid white;
   border-radius: 5px;
   background-color: #141516;
   color: #ffffff;
   font-weight: Bold;
   transition: all 0.5s;
   
   
}




.footer-copyright {
    /* position:relative; */
    /* width: 80%; */
    /* color: white; */
    text-align: center;
    padding: 20px;
    color: #fff;

}

.footer-copyright button {
    cursor: pointer;
    height: 50px;
    width: 50px;
    position: fixed;
    bottom: 20px;
    font-size: 30px;
    z-index: 1000;
    margin-left: 35%;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 50%;
    background-color: #04111e;
    color: white;
    transition: all 0.5s;

}
.footer-copyright button i {
    color: white;
     /* Ensure the icon is initially white */
}

.footer-copyright button:hover {
    background-color: #07080a;
    color: #F47216;
    border: 1px solid #F47216;
    content: "Tap to Up";
}
.footer-copyright button:hover i {
    color: #F47216; /* Change the icon color on button hover */
}
.contact LI{
   margin:-10px;
   margin-left: 10px;
}

/* footer Social icons */
.contact i {
    font-size: 25px;
}
/* footer CSS END */

/* PAGE1 Media Query Added */
/* home page */
@media only screen and (max-width: 1200px) {
    .home-content {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
    .video-container {
        left: 0;
        transform: none;
    }
    
}

/* Media Queries */

/* For devices with a width of 900px or less */
@media (max-width: 900px) {
    .logo {
        width: 150px;
        height: 12vh;
    }

    .stambh-logo {
        width: 50px;
        height: 80px;
        max-width: 100%;
        max-height: 100%;
        margin-right: 10px;
    }

    nav ul li {
        margin: 5px 5px;
    }

    nav ul li a {
        font-size: 16px;
    }

    .home-content {
        left: 50%;
        padding: 0 20px;
    }

    .home-content h2 {
        font-size: 2.5rem;
    }
}

/* Media query for max-width 600px */
@media (max-width: 600px) {
    nav {
        justify-content: space-between;
        
    }
    #home-paragrah {
        display: none;
    }
    .hamburger {
        display: flex;
        margin-right: 30px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        background-color: white;
        background-color: rgba(36, 32, 32, 0.5); /* Transparent white background */
        backdrop-filter: blur(5px); /* Blurry effect */

        transition: height 0.3s ease;
        z-index: 10; /* Ensure it is above other elements */
    }

    .nav-links.show {
        height: 40vh; /* Adjust to fill the screen below the nav */
    }

    .nav-items {
        margin: 10px 0;
    }
    .stambh-logo{
        display: none;
    }
}
/* Media Queries of flash new and key links */
@media (max-width: 1200px) {
    .flash-news-banner,
    .key-container,
    .key-container .links {
        max-width: 95%;
    }

    .flash-news-banner {
        padding: 3px;
        margin: 20px auto;
    }

    .key-container h1 {
        font-size: 2.5rem;
    }

    .key-container p {
        font-size: 1.2rem;
    }

    .key-container .link-card {
        height: auto;
        padding: 15px;
    }

    .key-container .link-card h2 {
        font-size: 1.3rem;
    }

    .key-container .link-card p {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .flash-news-banner,
    .key-container,
    .key-container .links {
        max-width: 90%;
    }

    .flash-news-banner {
        padding: 10px;
        margin: 15px auto;
    }
    .flash-news-text{
        font-size: 1.2rem;
    }
    .news-content {
        font-size: 0.8rem; /* Slightly smaller font size */
    }
    .circle {
        width: 3px;
        height: 3px;
    }

    .circle.active {
        width: 4px;
        height: 4px;
    }
    .key-container h1 {
        font-size: 2rem;
    }

    .key-container p {
        font-size: 1.1rem;
    }

    .key-container .links {
        flex-direction: column;
        gap: 10px;
    }

    .key-container .link-card {
        flex: 1 1 100%;
        height: auto;
        padding: 10px;
    }

    .key-container .link-card h2 {
        font-size: 1.2rem;
    }

    .key-container .link-card p {
        font-size: 0.9rem;
    }

    .key-container button {
        bottom: 10px;
        right: 10px;
    }
    .key-container .link-card:hover {
        transform: translateX(10px);
        border: 2px solid  hsla(0, 0%, 100%, 0.267);
        
    }
}

@media (max-width: 600px) {
    .flash-news-banner,
    .key-container,
    .key-container .links {
        max-width: 100%;
    }

    .flash-news-banner {
        padding: 0px;
        margin: 0 auto; /* Add margin to the sides */
        margin-top: 40px;
        height: 90px;
        text-align: center;
        box-sizing: border-box; /* Ensure padding is included in the width */
    }
    .news-content {
        font-size: 0.7rem; /* Further adjust font size */
        white-space: normal; /* Allow text to wrap */
        word-wrap: break-word; /* Break long words */
        max-width: 100%; /* Ensure it doesn't overflow */
    }
    .flash-news-text {
        font-size: 1rem; /* Slightly smaller font size */
    }
    
    .circle {
        width: 3px;
        height: 3px;
    }

    .circle.active {
        width: 4px;
        height: 4px;
    }
   

    .key-container {
        padding: 0 10px; /* Add horizontal padding */
        box-sizing: border-box; /* Ensure padding is included in the width */
    }

    .key-container h1 {
        font-size: 1.8rem;
    }

    .key-container p {
        font-size: 1rem;
    }

    .key-container .links {
        flex-direction: column;
        gap: 10px;
    }

    .key-container .link-card {
        padding: 12px;
        height: auto;
        transition: transform 0.3s; /* Add transition for scale */
    }
    .key-container .link-card button{
        opacity: 1;
    }

    .key-container .link-card:hover {
        transform: scale(1.01); /* Scale on hover */
    }

    .key-container .link-card:hover {
        transform: scale(1.01); /* Scale on hover */
    }

    .key-container .link-card:hover h2,
    .key-container .link-card:hover i,
    .key-container .link-card:hover p,
    .key-container .link-card:hover button {
        color: white;
    }

    .key-container .link-card:hover p {
        color: #9c9c9d;
    }

    
}

/* media queries for about isro (container1) */


/* Media Queries for responsiveness */
@media (max-width: 1200px) {
    .container1 {
        width: auto;
        padding: 0 20px;
    }

    .about-content {
        width: auto;
        margin: 2.5%;
    }

    /* .about {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    } */

    .text h2 {
        font-size: 2.5rem;
    }

    .btn {
        padding: 15px 30px;
        font-size: 1em;
    }

    .img1 {
        height: 250px;
    }
}

@media (max-width: 900px) {
    /* .text {
        flex-direction: column;
        align-items: center;
    } */
     .about{
        justify-content: center;
     }

    .text h2 {
        font-size: 2rem;
        margin-top: 50px;
        text-align: center;
    }

    .btn {
        margin-top: 10px;
    }

    .about-content {
        width: auto;
        margin: 10px auto;
    }
    /* .about{
        display: flex;
        justify-content: center;
        align-items: center;
    } */

    .img1 {
        height: 300px;
    }

    .arrow {
        display: none;
    }
}

@media (max-width: 600px) {
    
    .text h2 {
        font-size: 1.5rem;
    }
    

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .about-content {
        width: auto;
        margin: 10px auto;
    }
    .container1 p, .container2 p, .container3 p{
        font-size: 1rem;
    }
    .img1 {
        height: 250px;
    }

    .text-overlay h2 {
        font-size: 1rem;
    }

    .text-overlay p {
        font-size: 14px;
    }

    .text-overlay {
        padding: 10px 5px;
    }
}
/* ending */

/* media queries for mission and vision (container2)*/
@media (max-width: 1200px) {
    .container2 {
        width: auto;
        padding: 0 20px;
    }
    .block1{
        gap: 15px;
    }
    .box {
        width: 45%;
    }
    .text-over h2 {
        font-size: 20px; /* Font size adjustment for headings */
    }

    .text-over p {
        font-size: 15px; /* Font size adjustment for paragraphs */
    }
    .text-over a{
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    @media (max-width: 900px) {
        .block1 {
            flex-wrap: wrap; /* Allow boxes to wrap to the next line */
            gap: 20px; /* Gap between boxes */
            justify-content: center; /* Center boxes horizontally */
        }
    
        .box {
            width: calc(50% - 20px); /* Two boxes per row with gap */
        }
    
        .text-over {
            width: 70%;
            word-wrap: break-word; /* Overlay takes full width */
        }
    
        .text-over h2 {
            font-size: 18px; /* Font size adjustment for headings */
        }
    
        .text-over p {
            font-size: 14px; /* Font size adjustment for paragraphs */
        }
    }
}
@media (max-width: 600px) {
   
    .block1{
        flex-direction: column;
        
    }
    .box {
        width: 100%; /* Full width for smaller screens */
        margin-right: 0; /* Remove right margin */
    }

    .text-over {
         /* Further adjust font size */
         /* Allow text to wrap */
        word-wrap: break-word; /* Break long words */
        width: 70%;
    }

    .text-over h2 {
        font-size: 25px; /* Font size adjustment for smaller screens */
    }

    .text-over p {
        font-size: 16px; /* Font size adjustment for smaller screens */
    }
    .arrow1 {
        display: none;
    }
   
}
/* Ending of media query of mission and vision */


/* discover and technology media query */
@media (max-width: 1200px) {
    
    .container3 {
        max-width: 100%;
        padding: 0 20px;
    }

    .card {
        max-width: 300px;
        height: 450px;
    }

    .card .front h2, .card .back h1 {
        font-size: 18px;
    }

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

/* For devices with max-width 900px */
@media (max-width: 900px) {
    .container3 {
        max-width: 100%;
        padding: 0 10px;
    }

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

    .card {
        max-width: 300px;
        height: 450px;
    }

    .card .front h2, .card .back h1 {
        font-size: 16px;
    }

    .card .back {
        padding: 20px;
    }
    .block2 {
        flex-direction: column;
        gap: 20px;
    }
}

/* For devices with max-width 600px */
@media (max-width: 600px) {

    .container3 {
        padding: 0 10px;
    }

    .block2 {
        flex-direction: column;
        gap: 10px;
    }

    .card {
        max-width: 300px;
        height: 450px;
    }

    .card .front h2, .card .back h1 {
        font-size: 14px;
    }

    .card .back {
        padding: 15px;
        font-size: 14px;
    }

    .card p {
        font-size: 12px;
    }
    .block2 {
        flex-direction: column;
        gap: 20px;
    }
    .arrow2{
        display: none;
    }
}
/* ending of media query of discover and technology (container3) */

/* Adding Media Query to ISRO Portals*/

 /* Devices with a max-width of 1200px */
 @media (max-width: 1200px) {
    .main-wrapper {
        width: 100%;
        /* Full width to accommodate smaller screens */
        padding: 0 20px;
        /* Add padding for better layout */
    }

    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        /* Two columns for better fit */
        gap: 15px;
        /* Reduced gap for tighter layout */
    }

    .portal {
        padding: 15px;
        /* Reduced padding to fit content better */
    }

    .portal img {
        max-width: 40px;
        /* Adjust image size */
    }

    .portal h3 {
        font-size: 16px;
        /* Adjust font size for headings */
    }

    .portal p {
        font-size: 13px;
        /* Adjust font size for paragraphs */
    }

    .portal button {
        font-size: 1.2rem;
        /* Smaller button icon size */
    }
}

/* Devices with a max-width of 900px */
@media (max-width: 900px) {
    .main-wrapper {
        width: 100%;
        /* Full width for smaller screens */
        padding: 0 15px;
        /* Add padding for better layout */
    }

    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        /* Two columns for medium screens */
        gap: 10px;
        /* Smaller gap for tighter fit */
    }

    .portal {
        padding: 10px;
        /* Reduced padding to fit content better */
    }

    .portal img {
        max-width: 35px;
        /* Adjust image size */
    }

    .portal h3 {
        font-size: 14px;
        /* Adjust font size for headings */
    }

    .portal p {
        font-size: 12px;
        /* Adjust font size for paragraphs */
    }

    .portal button {
        font-size: 1rem;
        /* Smaller button icon size */
    }
}

/* Devices with a max-width of 600px */
@media (max-width: 600px) {
    .main-wrapper {
        width: 100%;
        /* Full width for smaller screens */
        padding: 0 10px;
        /* Add padding for better layout */
    }

    .heading h1 {
        font-size: 24px;
        /* Smaller font size for headings */
    }

    .heading p {
        font-size: 14px;
        /* Smaller font size for subtext */
    }

    .grid-wrapper {
        grid-template-columns: 1fr;
        /* Single column layout for small screens */
        gap: 10px;
        /* Reduced gap */
    }

    .portal {
        padding: 10px;
        /* Smaller padding for compact layout */
    }

    .portal img {
        max-width: 30px;
        /* Adjust image size */
    }

    .portal h3 {
        font-size: 12px;
        /* Smaller font size for headings */
    }

    .portal p {
        font-size: 11px;
        /* Smaller font size for paragraphs */
    }

    .portal button {
        font-size: 0.8rem;
        opacity: 1;
        /* Smaller button icon size */
    }
}

/* Adding Media Query to ISRO Portals End*/
/* units and centers media query */
/* For screens smaller than 1200px */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
    .main-box {
        width: 75%;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .map-container {
        width: 70%;
        height: auto; /* Maintain aspect ratio */
    }
    .centre-container {
        flex-direction: column;
    }
    .heading h1 {
        font-size: 2rem;
    }
    .heading p {
        font-size: 1rem;
    }
    .text-box span {
        font-size: 1rem;
    }
    .text-box p {
        font-size: 0.85rem;
    }
}

/* For screens smaller than 900px */
@media (max-width: 900px) {
    .container {
        width: 95%;
    }
    .main-box {
        width: 80%;
        margin-bottom: 20px;
    }
    .map-container {
        width: 75%;
        height: auto; /* Maintain aspect ratio */
    }
    .centre-container {
        flex-direction: column;
        gap: 30px;
    }
    .heading h1 {
        font-size: 1.75rem;
    }
    .heading p {
        font-size: 0.9rem;
    }
    .text-box span {
        font-size: 0.9rem;
    }
    .text-box p {
        font-size: 0.75rem;
    }
}

/* For screens smaller than 600px */
@media screen and (max-width: 600px) {
    .container {
        width: 95%; /* Adjust width as needed */
    }

    .sidebar ul {
        flex-direction: row; /* Stack tabs vertically */
        align-items: center; /* Center tabs */
        justify-content: space-between;
    }

    .sidebar ul li {
        margin:15px 10px; /* Adjust spacing as needed */
    
    
    }

    .sidebar ul .indicator {
        width: 4rem;
        left: 50%; /* Center indicator */
        transform: translateX(-50%);
        margin-left: 8.5%;
        
    }

    .main-box {
        width: 100%; /* Make main-box full width */
        height: auto;
    }

    .map-container {
        width: 90%; /* Make map-container full width */
        height: auto;
    }

#details {
        width: 90%; /* Adjust width as needed */
    }
    .heading{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column;
        
    }
     /* .heading h1{
        text-align: center;
     } */
     .heading p{
        margin-bottom: 0px;
     }
}

@media screen and (max-width: 900px) {
    .details {
      max-width: 250px; /* Adjust maximum width for tablets */
    }
    
    .details h3 {
      font-size: 1rem; /* Adjust heading font size for tablets */
    }
    
    .details p {
      font-size: 0.75rem; /* Adjust paragraph font size for tablets */
    }
  }
  
  @media screen and (max-width: 600px) {
    .details {
      max-width: 150px; /* Adjust maximum width for mobile devices */
      padding: 8px; /* Adjust padding for smaller screens */
    }
    
    .details h3 {
      font-size: 0.875rem; /* Adjust heading font size for mobile devices */
    }
    
    .details p {
      font-size: 0.625rem; /* Adjust paragraph font size for mobile devices */
    }
  }
/* units and centres query ending */


/* page4 media query */

@media (max-width: 1200px) {
    .page4-wrapper{
        width: auto;
        padding: 0px 20px;
    }
    .panel {
        width: 45%;
    }
}

@media (max-width: 900px) {
    .panel {
        width: 60%;
    }

    .panel h3 {
        font-size: 22px;
        margin-left: 15px;
    }

    .panel p {
        font-size: 16px;
        margin-left: 15px;
    }

    .panel button {
        width: 50%;
        margin-left: 15px;
    }
}

@media (max-width: 600px) {
    .page4-wrapper{
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .panel {
        width: 100%;
       
    }

    .panel h3 {
        font-size: 20px;
        margin-left: 10px;
    }

    .panel p {
        font-size: 15px;
        margin-left: 10px;
    }

    .panel button {
        width: 70%;
        margin: 0 auto;
        margin-top: 20px;
        padding: 10px 20px;
    }
}
/* page4 query ending */

/* page5 media query*/


@media (max-width: 1200px) {
    .page5-wrapper {
        flex-direction: column;
        height: auto;
        align-items: center;
        width: auto;;
    }

    .page5-contents {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .page5-contents h3 {
        font-size: 3rem;
    }

    .page5-contents p {
        font-size: 1.1rem;
    }

    .page5-img {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        width: 100%;
        
    }

    .page5-button {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .page5-contents button {
        width: 60%;
        margin-top: 20px;
    }
}

@media (max-width: 900px) {
    .page5-wrapper {
        width: 90%;
        align-items: center;
    }

    .page5-contents h3 {
        font-size: 2.5rem;
    }

    .page5-contents p {
        font-size: 1rem;
    }

    .page5-img {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .page5-button {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .page5-contents button {
        width: 70%;
    }
}

@media (max-width: 600px) {
    .page5-contents h3 {
        font-size: 1.8rem;
    }

    .page5-contents p {
        font-size: 0.9rem;
    }

    .page5-img {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .page5-button {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .page5-contents button {
        width: 80%;
        padding: 8px 16px;
    }
}
/* page5 query ending */

/* page6 media query  */
/* For screens smaller than or equal to 1200px */
@media (max-width: 1200px) {
    .page6-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        width: auto;
    }

    .img-six {
        width: 100%;
        margin-bottom: 20px;
    }

    .img-six img {
        width: 80%;
        height: auto;
    }

    .content-six {
        max-width: 100%;
    }
}

/* For screens smaller than or equal to 900px */
@media (max-width: 900px) {
    .page6-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        
    }

    .img-six {
        width: 100%;
        margin-bottom: 20px;
    }

    .img-six img {
        width: 90%;
        height: auto;
    }

    .content-six {
        max-width: 100%;
    }

    .page6-wrapper h1 {
        font-size: 2.2em;
    }

    .page6-wrapper p,
    .page6-wrapper li {
        font-size: 1rem;
    }
}

/* For screens smaller than or equal to 600px */
@media (max-width: 600px) {
    .page6-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .img-six {
        width: 100%;
        margin-bottom: 20px;
    }

    .img-six img {
        width: 100%;
        height: auto;
    }

    .content-six {
        max-width: 100%;
    }

    .page6-wrapper h1 {
        font-size: 2rem;
    }

    .page6-wrapper p,
    .page6-wrapper li {
        font-size: 0.9rem;
    }

    .page6-wrapper button {
        width: 80%;
        padding: 8px 16px;
    }
}
/*page6 query ending */

/* page7 media query */
/* For screens smaller than or equal to 1200px */
@media (max-width: 1200px) {
    .section {
        flex-direction: column;
        height: auto;
        align-items: center;
        text-align: center;
        padding: 20px;
        width: auto;
    }

    .section img {
        width: 80%;
        height: auto;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .section .section-content {
        max-width: 100%;
    }

    .section-content h3 {
        font-size: 2.5rem;
    }

    .section-content p {
        font-size: 1.1rem;
    }
}

/* For screens smaller than or equal to 900px */
@media (max-width: 900px) {
    .section {
        flex-direction: column;
        height: auto;
        align-items: center;
        text-align: center;
        padding: 20px;
        
    }

    .section img {
        width: 90%;
        height: auto;
        margin-bottom: 20px;
    }

    .section .section-content {
        max-width: 100%;
    }

    .section-content h3 {
        font-size: 2rem;
    }

    .section-content p {
        font-size: 1rem;
    }
}

/* For screens smaller than or equal to 600px */
@media (max-width: 600px) {
    .section {
        flex-direction: column;
        height: auto;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .section img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .section .section-content {
        max-width: 100%;
    }

    .section-content h3 {
        font-size: 1.8rem;
    }

    .section-content p {
        font-size: 0.9rem;
    }

    .section-content button {
        width: 80%;
        padding: 8px 16px;
    }
}
/* page7 query ending */

/* astronoute section media query */
/* For screens smaller than or equal to 1200px */
@media (max-width: 1200px) {
    .astronout-wrapper {
        width: 100%;
        padding: 20px;
    }

    .above-txt h1 {
        font-size: 2rem;
    }

    .above-txt button {
        width: 60%;
        height: 35px;
    }
}

/* For screens smaller than or equal to 900px */
@media (max-width: 900px) {
    .astronout-wrapper {
        width: 100%;
        padding: 20px;
    }

    .above-txt h1 {
        font-size: 1.8rem;
    }

    .above-txt button {
        width: 60%;
        height: 30px;
    }
}

/* For screens smaller than or equal to 600px */
@media (max-width: 600px) {
    .astronout-wrapper {
        width: 100%;
        padding: 10px;
    }

    .above-txt h1 {
        font-size: 1.5rem;
    }

    .above-txt button {
        width: 45%;
        height: 30px;
    }
}
/* astronout query ending */

/* footer media query */
/* For screens smaller than or equal to 1200px */
@media (max-width: 1200px) {
    .footer {
        width: 90%;
        padding: 20px;
    }

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

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

    .email {
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
    }

    .email input {
        width: 55%;
        margin-bottom: 10px;
    }

    .email button {
        width: 55%;
    }

    .footer-copyright button {
        margin-left: 0;
        bottom: 10px;
    }
}

/* For screens smaller than or equal to 900px */
@media (max-width: 900px) {
    .footer {
        width: 95%;
        padding: 20px;
    }

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

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

    .email {
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
    }

    .email input {
        width: 90%;
        margin-bottom: 10px;
    }

    .email button {
        width: 90%;
    }

    .footer-copyright button {
        margin-left: 0;
        bottom: 10px;
    }
}

/* For screens smaller than or equal to 600px */
@media (max-width: 600px) {
    .footer {
        width: 100%;
        padding: 10px;
    }

    .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-content > div {
        width: 100%;
        margin-bottom: 20px;
    }
    .footer-content h3{
        font-size: 1.8rem;
    }

    .email {
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
    }

    .email input {
        width: 95%;
        margin-bottom: 10px;
    }

    .email button {
        width: 95%;
    }

    .footer-copyright button {
        margin-left: 0;
        bottom: 10px;
    }
}
/* footer query ending */