*{
    margin: 0;
    padding: 0;
    font-family:"Poppins", sans-serif;
   
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image:linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url("Sport.jpeg");
    background-position: center;
    background-size: cover;
    position: relative;
}
.marq{
    background-color: black;
    color:#fff;
    font-weight: bolder;
    font-size:x-large;    
}
.content {
     display:flex;
     white-space: nowrap;
     animation: scroll-left linear infinite;
     animation-duration: 10s;
}

.Logo img{
    border-radius: 200px;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items:center;
}
nav img{
    width: 120px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color:white;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: "";
    width: 0%;
    height: 2px;
    background:blue;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color:#fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}
/*-----Welcome-----*/

.Welcome{
    min-height: 100vh;
    width: 100%;
    background-image:linear-gradient(rgba(4,9,30,0.7)),url("mil-logo.jpg");
    opacity: 0.8;
    background-position: center;
    background-size: cover;
    position: relative;
}
.Welcome-box{
    width: 90%;
    color:#fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.Welcome-box h1{
    font-size: 62px;
}
.Welcome-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}
@media(max-width:700px){
    .Welcome-box h1{
        font-size: 30px;
    }

}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color:#fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid navy;
    background: navy;
    transition: 1s;
}
nav .fa{
    display: none;
}
@media(max-width:700px){
    .text-box h1{
    font-size: 20px;
    }


.nav-links ul li{
    display: block;
}
.nav-links{
    position: absolute;
    background: navy;
    height: 100vh;
    width: 200px;
    top: 0;
    right:-200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
}
nav .fa{
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
}
.nav-links ul{
    padding: 30px;
}

html, body {overflow-x: hidden;}
}
/*-----sections-----*/
.events{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.events-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    text-decoration: none;
}
.events-col img{
    width: 100%;
    display: block;
    height:50%;
    border-radius: 10px;
}
.events-col h3{
    text-align: center;
    font-weight: 700;
    margin: 20px 0;
    margin-top: 10%;
    margin-bottom: 20%;
}
.events-col h3 a{
    text-decoration: none;
    color: black;
}

.events-col:hover{
    box-shadow: 0 0 20px  0px rgba(0,0,0,0.2);
}
@media(max-width:700px){
    .row{
        flex-direction: column;
    }
    h1{
        font-size: 26px;
    }

}
/*-----Sports Club-----*/
.SportsClub{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.SportsClub-col{
    flex-basis: 31%;
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.SportsClub-col img{
    width: 100%;
    height: 20%;
    display: block;
}
.layer{
    background:transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
.layer:hover{
    background:rgba(0, 222, 226, 0.7);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom:0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0;
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/*-----facilities-----*/
.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;

}
.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;  
    transition: 0.5s;
    display: inline-block;
    
}
.facilities-col :hover{
     box-shadow: 0 0 20px  0px rgba(0,0,0,0.2);
     transform: translateY(-5px);
}
.facilities-col img{
    width: 100%;
    height: 50%;
    border-radius: 10px;
}
.facilities-col p{
    padding: 0;
}
.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
    font-size: medium;
}
 .facilities-col img,.events-col img,.span img {
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.8s ease-out;
}

.facilities-col img.visible,.events-col img.visible,.span img.visible {
  transform: translateY(0);
  opacity: 1;
}
/*-----The Founder-----*/
.TheFounder{
    width: 70%;
    margin: auto;
    padding-top: 100px;
    text-align: center;  
}
.TheFounder h6 a{
    text-decoration: none;
    color: black;
   
}

.TheFounder-col{
    display:inline-block;
    grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
    cursor: pointer;
    background:#4346f42d;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform(0.5s);
    margin-right: 250px;
    margin-left: 250px;
}
.TheFounder-col p{
    font-size:8px;
    font-weight:700;
}
.TheFounder-col:hover{
    transform: translateY(-5px);
} 
.TheFounder-col img{
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
  
    
   
}
@media(max-width:700px){
    .TheFounder-col{
        margin-right: 15px;
        margin-left: 0px;
    }
}
/*-----Visit-----*/
.Visit{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7)), url("Office.jpeg");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.Visit h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}
/*-----footer-----*/
.footer{
    background:rgba(0, 0, 128, 0.39);
    width: 100%;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding-top: 10px;
}

.Quick{
    margin-top: 25px;
    margin-bottom: 20px;
    align-items: flex-start;
   
}
.Quick p{
    color: #fff;
}
.Quick h4 a{
    text-decoration: none;
    color: #fff;
    
}
.footer h3{
    color: #fff;
    font-weight:100;
    font-size: medium;
}
.footer h3 a{
    text-decoration: none;
    color: #fff;
}
@media(max-width:700px){
    .footer h3{
        font-weight: 50;
    }
    .footer h3{
        font-size:11px ;
    }
}


/*-----Sub-header page-----*/
.sub-header{
    height: 56vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url("UCL.jpeg");
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
    position: relative;
}
.sub-headerz{
    height: 56vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url("Gate.jpg");
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
    position: relative;
}
.sub-headerx{
    height: 56vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url("View.jpg");
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
    position: relative;
}
.sub-headers{
    height: 56vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url("Contact.jpg");
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
    position: relative;
}
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
    text-align: justify;
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col img{
    width: 100%;
}
.about-col{
    padding-top: 0;
}
.about-col p{
    padding-top: 15px 0 25px;
    margin-bottom: 1rem;
}
.blue-btn{
    border: 1px solid navy;
    background-color: transparent;
    color: navy;
}
.blue-btn:hover{
    color: #fff;
}

@media(max-width:700px){
    .sub-header{height:72vh;}
    .sub-header h1{margin-top: 200px;}
}
/*-----Sections-----*/
.Section{
    width: 80%;
    margin: auto;
    padding: 10px 0;
}
.More h1{
    text-align: center;
}
.More p{
    font-weight: bolder;
    font-size: large;
    color: navy;
    margin-bottom: 5%;
}

.section-left img{
    width: 100%;
    height: 60%;
    border-radius: 10px;
}
.section-right{
    flex-basis: 65%;
    
}
.section-right h3{
    background:navy;
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}
.section-right p{
    text-align: justify;
    padding: 0;
}
.span{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.span{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    text-decoration: none;
}
.span:hover{
    box-shadow: 0 0 20px  0px rgba(0,0,0,0.2); 
}
.span img{
    display: block;
    width: 100%;
    display: block;
    height:300px;
    border-radius: 10px;
    
}
.span p{
    color: black;
    font-size: large;

}
/*-----Gallery-----*/
.OG{
  padding: 40px 20px;
  text-align: center;
}

.Sneaker-Heaven{
    display: grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:10px;
}

.Sneakers{
    background: white;
    padding: 15px;
    border-radius: 25px;
    text-align: center; 
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.Sneakers img{
    max-width:100%;
    height: 200px;
    object-fit:cover;
    border-radius: 25px;
}

.Sneakers h1{
    margin:10px 0p;
    font-size:1rem;
}

.Sneakers p{
   font-size:0.8rem;
   color: #006600;
 }

 .Sneakers img {
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.8s ease-out;
}

.Sneakers img.visible {
  transform: translateY(0);
  opacity: 1;
}



/*-----Contact US-----*/
.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}
.contact-us{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa{
    font-size: 28px;
    color: navy;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: black;
    font-weight: 400;
}
.contact-col div h5 a{
    text-decoration: none;
    color: black;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom:17px;
    outline: none;
    border: 1px solid navy;
    box-sizing: border-box;
}

#scrollTopBtn {
  opacity: 0; 
  visibility: hidden;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color:navy;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: opacity 0.4s, visibility 0.4s, transform 0.2s;
}
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  animation: floatBtn 2s infinite ease-in-out;
}
#scrollTopBtn:hover {
  background-color: #0b5ed7;
  transform: scale(1.1);
}
@keyframes floatBtn {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* ===== Gallery Layout ===== */

.media-section {
 padding: 3rem 1rem 4rem;
 background: #020617; /* match your site's dark tone */
 color: #f9fafb;
}

.media-inner {
 max-width: 1120px;
 margin: 0 auto;
}

/* Header */
.media-header {
 margin-bottom: 2.25rem;
 text-align: center;
}

.media-header h2 {
 font-size: clamp(2rem, 3vw, 2.4rem);
 font-weight: 800;
 text-transform: uppercase;
 letter-spacing: 0.04em;
 margin: 0 0 0.75rem;
}

.media-header p {
 margin: 0 auto;
 max-width: 560px;
 color: #9ca3af;
 font-size: 0.98rem;
}

/* Grid: big video left + smaller curled images right */
.media-grid {
 display: grid;
 grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.3fr);
 gap: 1.5rem;
 align-items: stretch;
}

/* Cards */
.media-card {
 background: #020617;
 border-radius: 18px;
 border: 1px solid rgba(148, 163, 184, 0.45);
 overflow: visible;
 display: flex;
 flex-direction: column;
 box-shadow: 0 14px 35px rgba(15, 23, 42, 0.7);
 transition:
 transform 0.18s ease-out,
 box-shadow 0.18s ease-out,
 border-color 0.18s ease-out;
}

/* Featured video column – as tall as the stack of images */
.media-card--featured {
 grid-row: 1 / span 3;
}

/* Hover effect */
.media-card:hover {
 transform: translateY(-3px);
 box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
 border-color: rgba(148, 163, 184, 0.8);
}

/* Media area */
.media-thumb {
 position: relative;
 overflow: hidden;
 background: #020617;
}

/* Video (featured) – wide, not curled as much (you can change if you want) */
.media-card--featured .media-thumb {
 aspect-ratio: 16 / 9;
 border-radius: 18px;
}

/* Right-side images – smaller and more “curled” */
.media-card:not(.media-card--featured) .media-thumb {
 aspect-ratio: 4 / 3; /* shorter than 16:9 */
 max-height: 220px;
 border-radius: 24px; /* curl amount */
}

/* Actual media sizes */
.media-thumb video,
.media-thumb img,
.media-thumb iframe {
 width: 100%;
 height: 100%;
 display: block;
 border: 0;
 object-fit: cover;
}

/* Slight overlay on images only (not video) */
.media-card:not(.media-card--featured) .media-thumb::after {
 content: "";
 position: absolute;
 inset: 0;
 background: radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.3) 95%);
 pointer-events: none;
}

/* Optional captions under each item */
.media-body {
 padding: 0.8rem 1rem 1rem;
}

.media-body h3 {
 font-size: 1.02rem;
 margin: 0 0 0.3rem;
}

.media-body p {
 margin: 0;
 font-size: 0.9rem;
 color: #9ca3af;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
 .media-grid {
 grid-template-columns: minmax(0, 1fr);
 }

 .media-card--featured {
 grid-row: auto;
 order: -1; /* video goes on top on mobile */
 }
}

@media (max-width: 600px) {
 .media-section {
 padding: 2.5rem 0.75rem 3rem;
 }

 .media-card {
 border-radius: 16px;
 }

 .media-card--featured .media-thumb,
 .media-card:not(.media-card--featured) .media-thumb {
 border-radius: 18px;
 }
}



    

 



