.nav {
    background-color: rgba(219, 216, 216, 0.95);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(249, 248, 248, 0.942);
}

.nav a {
    text-decoration: none;
    color: rgb(11, 11, 11);
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    flex: 1 1 auto;
    min-width: 150px;
}

.nav a:hover {
    background-color: rgba(55, 51, 51, 0.505);
}




/* Mobile responsive */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
    }

    .nav a {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.HEAD {
    height: 30px;
    font-size: larger;
    text-align: center;
    word-spacing: 9px;
    background-color: aliceblue;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

body {
    background-image: url(download.jpg);
    background-repeat: no-repeat;

}

/*foooter*/
.site-footer {
    background-color: rgba(0, 11, 20, 0.574);
    text-align: end;
}

@media (max-width:760px) {
    .site-footer .foot {
        grid-template-columns: 1fr
    }
}

.site-footer {
    background: var(--neutral);
    border-top: 1px solid #000000;
    margin-top: 3px;
    background-color: #e5e7ebd9;
}

.site-footer .foot {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 69px;
    padding: 1rem 0
}


/*contact*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

h1 {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    font-size: 1.8rem;
    letter-spacing: 3px;
}

nav {
    background-color: rgba(200, 200, 200, 0.9);
    display: flex;
    justify-content: center;
}

nav a {
    padding: 15px 25px;
    text-decoration: none;
    color: #000;
    font-weight: 600;

}

nav a:hover {
    background-color: rgba(150, 150, 150, 0.9);
}

nav a.active {
    background-color: #2ecc71;
    color: white;
}

.contact-container {
    max-width: 630px;
    margin: 19px auto;
    padding: 33px;
    background-color: rgba(40, 50, 60, 0.9);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

h2 {
    color: white;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 13px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    background-color: rgba(255, 255, 255, 0.95);
}

input:focus,
textarea:focus {
    outline: 2px solid #2ecc71;
}

textarea {
    resize: vertical;
    font-family: Arial, sans-serif;
}

.checkbox-label {
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 19px;
    font-size: 14px;
}

.checkbox-label input {
    width: auto;
    margin-right: 8px;
    margin-bottom: 0;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #5f2c1495;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;

}

button:hover {
    background-color: #95ae27b0;
}

@media (max-width: 768px) {
    .contact-container {
        margin: 30px 15px;
        padding: 20px;
    }
}



details {
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 30px;
    background: rgba(40, 50, 60, 0.9);
    margin: 60px;
    color: #ffffff;

}

/*index*/

/* Container */
.cont {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: rgba(0, 0, 0, 0.5);

}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.lede {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta {
    display: inline-block;
    padding: 15px 40px;
    background-color: rgba(93, 116, 139, 0.9);
    ;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.cta:hover {
    background-color: rgba(172, 214, 255, 0.9);
    ;
}

/* Section */
.section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: white;
}

/* Grid for Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card Styling */
.card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.p {
    padding: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.card a {
    color: rgba(40, 50, 60, 0.9);
    text-decoration: none;
    font-weight: bold;
}

.card a:hover {
    text-decoration: underline;
}

/* Visually Hidden (for accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .lede {
        font-size: 1rem;
    }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* important */

.accessibility-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
}

.main-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.intro-text {
    font-size: 16px;
    line-height: 26px;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.features-list {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 30px;
}

.features-list li {
    font-size: 15px;
    line-height: 28px;
    color: #444;
    margin-bottom: 12px;
}

.features-list code {
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    color: #c7254e;
}

.helper-text {
    font-size: 14px;
    color: #666;
    font-style: italic;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #0e3f51;
}

/* assibility */
.contact-box {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #29145a;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .accessibility-container {
        padding: 20px;
        margin: 20px;
    }

    .main-title {
        font-size: 26px;
    }
}


/* explore*/
h1 {
    font-size: 36px;
    text-align: center;
    color: #2c3e50;
    margin: 40px 0 20px 0;
}

/* Intro Text */
.prose {
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    background-color: #110d0d8a;
}

/* Section Heading */
h2 {
    font-size: 28px;
    color: #fdfeff;
    margin: 50px 0 30px 0;
    text-align: center;
    border-bottom: 3px solid #042913;
    padding-bottom: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Container */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
}

/* Card */
.card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Card Image */
.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Card Content Padding */
.p {
    padding: 20px;
}

/* Card Title */
.card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 12px;
}

/* Card Text */
.card p {
    font-size: 15px;
    line-height: 24px;
    color: #666;
    margin: 0;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    .prose {
        font-size: 16px;
    }

    h2 {
        font-size: 24px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px 40px 15px;
    }

    .card img {
        height: 200px;
    }
}

.grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr)
}

.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
    background: var(--paper);
    color: var(--ink);
    padding: .5rem 1rem;
    border: 2px solid var(--brand);
    z-index: 1000
}

.skip-link:focus {
    left: 1rem;
    top: 1rem
}
.thx{
    background-color: rgba(40, 50, 60, 0.9);
    color: white;
    text-align: center;


}
.btn{

    width: 100%;
    padding: 6px;
    background-color: #5f2c1495;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 509px;
    
    
    
}

.btn:hover {
    background-color: #95ae27b0;
    
}
