body {
    margin: 0px;
    font-family:Georgia, 'Times New Roman', Times, serif;
    cursor: url("Pics/x2.png"), auto;
    
    color: #000000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
    background-color: #4d9ca57c;
    
    background:
    linear-gradient(rgba(173, 21, 173, 0.508), rgba(156, 48, 68, 0.499)),
    url("Pics/b3.jpg");
    background-repeat: no-repeat;
    background-position:center;
    background-size:cover;
}
.milestone-body {
    background: #000000a6;   /* solid color only */
}


.site-header {
    filter: drop-shadow(0 0 0.2rem rgba(0, 0, 0, 0.349));
    background-color: #1f29378b;
    padding: 20px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

}

.logo {
    width: clamp(100px, 15vw, 280px);
    height: auto;
    flex-shrink: 10;
    opacity: 0%;
    animation: fadeUp 0.3s ease-out forwards;
}

.header-text {
    text-align: center;
    flex: 1;
}


.site-header h1 {
    font-family:"Ribeye", serif;
    margin: 0;
    font-size: clamp(3rem, 6vw, 8.5rem);
    font-weight: 900;
    color: rgb(135, 9, 9);
    background: linear-gradient(to bottom, #fffffff0, #34f30494);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0%;
    animation: fadeUp 0.3s ease-out forwards;

}
.site-header h2 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size:clamp(1rem, 2vw, 3rem);
    color: aqua;
}

.site-header p {
    font-family:"Ribeye", serif;
    margin-top: 10px;
    font-size: clamp(1.2rem, 2.5vw, 3rem);
    color: rgb(5, 135, 36);
    opacity: 0%;
    animation: fadeUp 0.3s ease-out forwards;
}

main {
    filter: drop-shadow(0 0 0.2rem rgb(0, 0, 0));
    align-items: center;
    max-width: 1300px;
    width: 95%;
    border-radius: 30px;
    margin: 50px auto 10px auto;
    padding: 25px;
    text-align: center;
    background-color:rgba(22, 10, 18, 0.481);
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); /* For Safari */
    border: 1px solid rgba(253, 0, 0, 10);
    animation: fadeUp 1s ease-out forwards;
}


main h2 {
font-family:"Ribeye", serif;
text-align: center;
font-size: clamp(1.8rem, 3vw, 4.2rem);
color: #33bb14;
}

main p{
padding: 2px;
max-width: auto;
font-family:Domine;
font-size:clamp(1.1rem, 1.6vw, 3.0rem);
color: rgb(255, 255, 255);
}
.milestone-main {
    max-width: 1500px;
    width: 96%;
    margin: 40px auto;
    background-color:rgba(209, 196, 196, 0.803)
}
.milestone-main p {
padding: 2px;
max-width: auto;
font-family:Domine;
font-size:clamp(1.1rem, 1.6vw, 3.0rem);
color: rgb(0, 2, 2);
}
.mile-h3{
    font-size:clamp(1.1rem, 1.6vw, 3.0rem);
    color: #000000;
    background-color: #0ac02892;
    text-align: center;
}

/* Sections */
.section {
    max-width: 900px;
    margin: 10px auto;
    padding: 0 20px;
}

.section h2 {
    color: #03174a;
    font-family: monospace;
    font-size: 1.8rem;
}


/*Footer Style - Imtiaz Created By */
.footer {
    font-family:"MedievalSharp", cursive;
    margin:0;
    font-size:clamp(16px, 2vw, 35px);
    text-align:center;
    padding:clamp(2px, 1vw, 5px);
    margin-top: auto;
    margin-bottom:0px;
    text-align: center;
    background-color: #22221981;
    filter: drop-shadow(0 0 0.2rem rgba(0, 0, 0, 0.548));

}
.footer p{
    font-size:clamp(16px, 2vw, 35px);
    color: #0ac028;
}

/* Miles Stone Buttons*/
.milestone-buttons {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 50px 0;
    font-size: 100px;
    display:flex;
}

/* Button style */
.btn {
    font-family: "Permanent Marker";
    font-size: clamp(40px, 5vw, 80px);
    margin-top: 5px;
    filter: drop-shadow(0 0 2.0rem yellow);
    text-decoration:none;
    background-color:rgba(15, 23, 42, 0.539);
    color:rgb(2, 14, 70);
    cursor: url("Pics/m1.png"),auto;
    padding: clamp(12px, 2vw, 35px) clamp(20px, 4vw, 65px);;
    border-radius: 10px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.15s ease;
    flex-wrap: wrap;
 
    border: 1px solid rgba(4, 0, 253, 30);  
}

/* Hover effect */
.btn:hover {
    background-color: #2ca91edb;
    transform: translateY(-15px);
    box-shadow: 0 10px 20px rgba(44, 169, 30, 0.4); /* Glow matches the button color */
    filter: drop-shadow(0 0 1.0rem #adff2f);
}

.download-btn{
    justify-content:center;
    gap: 210px;
    margin-top: 5px;
    margin-bottom: 30px;
    font-size: 40px;
    display:flex;
    border-radius: 50px;
    text-decoration: none;
}
.d-btn{
    background-color: #c8e20769;
    padding: 1.2rem;
    color: #000000;
    backdrop-filter: blur(1000px); 
    -webkit-backdrop-filter: blur(1000px);
    filter: drop-shadow(0 0 0.95rem rgb(29, 167, 11));
    text-decoration:double;
    cursor: url("File_2/file.png"), auto;

}
.d-btn:hover{
transform: translateY(-8px);
box-shadow: 0 10px 20px rgba(235, 5, 170, 0.54); /* Glow matches the button color */
filter: drop-shadow(0 0 1.0rem #e00d06);
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* Starts 30px lower */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Ends at its normal position */
    }
}

/* ===== MAIN CONTAINER ===== */
.milestone-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #1c213243;

    display: flex;
    flex-direction: column;
    gap: 40px;
}


/* ===== SECTION GRID ===== */
.content-section {
    display: grid;
    gap: 30px;
    background: rgb(255, 255, 255);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    align-items: center;
}


/* Text styling */
.section-text h1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(1rem, 3vw, 4rem);
    color: #03174a;
    background-color: #0ac0285c;
}


.section-text h2 {
    font-family: "Ribeye", serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: #128603;
    margin-bottom: 15px;
    text-align:center;

}
.section-text h3 {
    display: flex;
    justify-content: center;
    font-family: "Ribeye", serif;
    font-size: clamp(1rem, 2vw, 2.2rem);
    color: #000000;
    margin-bottom: 12px;
    text-align:center;
    color: rgb(2, 36, 1);
    background-color: #bac00a5c;
}


.section-text p {
    font-family:'Times New Roman', Times, serif;
    font-size: clamp(1rem, 1.8vw, 2.1rem);
    color: #000000;
    line-height: 1.6;
    text-align: left;
    flex: 1;
}


/* Image styling */
.section-image img {
    align-items: end;
    width:100%;
    height:100%;
    border-radius: 12px;
}

.section-image figcaption {
    font-family:monospace;
    background-color: #0ac0285d;
    margin-top: 10px;
    font-size: 1.5rem;
    color: #444;
    font-style: italic;
}

a {
  color:rgb(23, 2, 117);
  text-decoration:underline;
  cursor: url("Pics/link4.png"),auto;
}