*{
    margin: 0;
    padding: 0;
    font-family: "Sans serif","Monospace";
    box-sizing: border-box;
    
}

body{
    background: linear-gradient(rgba(20,20,20,0.7), rgba(0,0,0,0.8)), url("./backgroundimages/contactback.png") center/cover no-repeat;    background-size: cover;
    background-attachment: fixed;    
    min-height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}
header{
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(52, 50, 50, 0.6);
    backdrop-filter: blur(10px);

    padding: 15px 5%;
    transition: 0.3s ease;
}
header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    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; 
    /* filter: brightness(1.5) contrast(1.5); */
    /* filter: drop-shadow(0 0 8px rgba(108, 104, 104, 0.8)); */
}
.main{    
    display: flex;
    justify-content: space-between;
    align-items: center;                  
    max-width: 1200px;   
    margin: auto;          
}

.contact-section{
    min-height: 100vh;
    padding: 140px 5% 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 1;
}

/* Glass box */
.contact-box{
    .contact-box{
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: 0.3s ease;
}

.contact-box:hover{
    transform: translateY(-5px) scale(1.02);
}
}
form{
    margin-top:20px;
}

form input,
form textarea{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:none;
    border-radius:10px;
    outline:none;
    background: rgba(255,255,255,0.1);
    color: white;
}
form input::placeholder,
form textarea::placeholder{
    color: rgba(255,255,255,0.6);
}
/* Button */
 button{
    width:100%;
    padding:12px;
    border:none;
    border-radius:30px;
    background:#c12929;
    color:white;
    font-size:1rem;
    cursor:pointer;
    transition:0.3s;
}

button:hover{
    background:white;
    color:black;
    transform: scale(1.05);
}
section{
    padding: 120px 5%;
    top: 20%;               
    left: 5%;             
    right: 5%;
}
section h1{
    text-align: center;    
    color: rgb(193, 41, 41); 
    text-shadow: 2px 2px black;  
    font-size: 3rem;
    margin-bottom: 20px;
}
/* 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;
    }
}