*{
    margin: 0;
    padding: 0;
    font-family: "Sans serif","Monospace";
}
 body{
    background: linear-gradient(rgba(20,20,20,0.7), rgba(0,0,0,0.8)), url("./backgroundimages/aboutback.jpg") center/cover no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: white;

    display: flex;
    flex-direction: column;
}
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}
header {
    position: sticky;
    top: 0;
    z-index: 1000; 
    background: rgba(0, 0, 0, 0.6); /* initial */
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    transition: 0.3s ease;
}
header.scrolled {
    background: rgba(0, 0, 0, 0.9); /* darker on scroll */
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
ul{
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    list-style-type: none; 
    margin-top: 25px;
    font-size: 1.5rem;
}
ul li{
    display: inline;
}
ul li a{
    text-decoration: none;  
    color: rgb(193, 41, 41);      
    padding: 5px 20px;                    
    border-radius: 5rem;           
    transition: 0.6s ease;      
}
ul li a:hover{   
    background-color: rgb(245, 249, 250);            
    color: rgb(14, 14, 14);                
}
ul li.active a{                         
    background-color: rgb(193, 41, 41);        
    color: white;     
}
ol li a:visited{                      
    color: whitesmoke; 
    transition: 0.6s ease;
}
.logo img{                
    width: 200px;  
    height:auto; 
}
.main{    
    display: flex;
    justify-content: space-between;
    align-items: center;                  
    max-width: 1200px;   
    margin: auto;          
}
section{
    padding: 120px 5%;
    top: 20%;               
    left: 5%;             
    right: 5%;
}
section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

h5 {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 20px;
}
.section{
    min-height: 50vh;
    padding: 140px 5% 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.section h2{
    font-size: 3rem;
    color: rgb(193,41,41);
    margin-bottom: 10px;
}

.subtitle{
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.content-card{
       background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px;
    width: 55%;
    margin: 20px auto; 
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.content-card p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
}
img{
    width: 100%;
    height: 100%;
    object-fit:contain;
    padding: 5px;
    align-items: center;
  }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* SECTION ANIMATION */
.what {
    background: linear-gradient(rgba(81, 35, 35, 0.85), rgba(0,0,0,0.95));
    
    opacity: 0;
    transform: translateY(80px);
    
    transition: opacity 1s ease, transform 1s ease;
}

.what.show {
    opacity: 1;
    transform: translateY(0);
}

/* CARDS */
.handle-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 20px;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);

    transition: 0.4s ease;
}

/* ICON */
.handle-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* TEXT */
.handle-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.handle-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* HOVER EFFECT */
.handle-card:hover {
    transform: translateY(-12px) scale(1.05);
}

/* GLOW BORDER */
.handle-card::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(45deg, rgb(193,41,41), transparent);
    opacity: 0;
    z-index: -1;
    transition: 0.4s;
}

.handle-card:hover::after {
    opacity: 1;
}
.what.show .handle-card:nth-child(1){ transition-delay: 0.1s; }
.what.show .handle-card:nth-child(2){ transition-delay: 0.2s; }
.what.show .handle-card:nth-child(3){ transition-delay: 0.3s; }
.what.show .handle-card:nth-child(4){ transition-delay: 0.4s; }
.what.show .handle-card:nth-child(5){ transition-delay: 0.5s; }
.what.show .handle-card:nth-child(6){ transition-delay: 0.6s; }

.handle-card {
    opacity: 0;
    transform: translateY(40px);
}

.what.show .handle-card {
    opacity: 1;
    transform: translateY(0);
}


.who {
    background: linear-gradient(rgba(30, 28, 28, 0.85), rgba(30,30,30,0.95));
    padding: 120px 5%;
    text-align: center;
}
.who-content {
    max-width: 800px;
    margin: 20px auto 50px;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);

    padding: 30px;
    border-radius: 20px;

    line-height: 1.7;
    opacity: 0.9;
}
.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;

    max-width: 1100px;
    margin: auto;
}
.who-card h3 {
    margin-bottom: 15px;
    color: rgb(193,41,41);
}

.who-card p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* HOVER EFFECT */
.who-card:hover {
    transform: translateY(-10px) scale(1.03);
}
.who-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);

    padding: 35px 25px;
    border-radius: 20px;

    transition: 0.4s ease;
}

/* FOOTER */
.footer{
    padding:50px 5% 20px;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:30px;
}

.footer-col h4{
    color:rgb(193,41,41);
    margin-bottom:10px;
}

.footer-col ul{
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem; 
    /* list-style:none; */
}

.footer-col a{
    display: inline-block;
    padding: 6px 14px;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    /* color:#ccc;
    text-decoration:none; */
}
.footer-col a:hover {
    background: white;
    color: black;
}
.footer-bottom{
    text-align:center;
    margin-top:20px;
    opacity:0.7;
}

/* MOBILE */
@media (max-width: 768px){

    .menu-toggle{
        display: block;
        z-index: 1100;
    }

    /* NAV MENU */
    ul{
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;

        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(10px);

        flex-direction: column;
        align-items: center;

        display: none;
        padding: 20px 0;
        z-index: 1000;
    }
    ul.active{
        display: flex;
    }

    ul li{
        margin: 10px 0;
    }

    /* HERO TEXT */
    .hero h1{
        font-size: 2.5rem;
    }

    .hero h2{
        font-size: 1rem;
    }

    /* SECTION SPACING FIX */
    .section{
        padding: 80px 5%;
    }

    /* GRID STACK CLEANLY */
    .grid{
        grid-template-columns: 1fr;
    }

    /* FOOTER FIX */
    .footer{
        text-align: center;
    }

    .footer-container{
        grid-template-columns: 1fr;
        gap: 20px;
    }
}