
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
    display: flex;
    flex-direction: column;
}
section,  .About-us {
    flex: 1;
}
.top-space1 {
    height: 100px;
    background: linear-gradient(to bottom, rgb(0, 21, 10), #ffffff);
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 90px;
}
.section-header{
    text-align: center;

}
.section-header p{
    font-family: Goudy Old Style;
}

.join-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-bottom: 5px solid transparent;
}

.join-card:hover {
    transform: translateY(-10px); 
    transition: ease-in 0.2s;
}

.card-icon {
    font-size: 3rem;
    color: #c0392b;
    margin-bottom: 20px;
}

.join-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.join-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-tag {
    display: inline-block;
    background: #f1f1f1;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #1a5d1a; 
}

.btn-main-join {
    background: #c0392b;
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    transition: 0.3s;
    margin: 40px;
}

.btn-main-join:hover {
    background: #1a5d1a; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.btn-primary-small{
    font-size: 1.2rem;
    font-family: 'Times New Roman', Times, serif;
    color: #c0392b;
  
    padding: 15px;
   
    margin-top: 8px;
    
}

.btn-primary-small:hover{
    color: #124dff;
    text-decoration: underline;
}

.fancy1 {
 background-color: #9ccd62;
 border: 2px solid #3a3c42;
 border-radius: 0;
 box-sizing: border-box;
 color: #3a3c42;
 cursor: pointer;
 display: inline-block;
 font-weight: 700;
 letter-spacing: 0.05em;
 margin: 0;
 outline: none;
 overflow: visible;
 padding: 1.25em 2em;
 position: relative;
 text-align: center;
 text-decoration: none;
 text-transform: none;
 transition: all 0.3s ease-in-out;
 user-select: none;
 font-size: 13px;
 margin-top: 30px;
 font-family:MV Boli ;
 margin-left: 30px;
}

.fancy1::before {
 content: " ";
 width: 1.5625rem;
 height: 2px;
 background: #3a3c42;
 top: 50%;
 left: 1.5em;
 position: absolute;
 transform: translateY(-50%);
 transform-origin: center;
 transition: background 0.3s linear, width 0.3s linear;
}

.fancy1 .text {
 font-size: 1.125em;
 line-height: 1.33333em;
 padding-left: 2em;
 display: block;
 text-align: left;
 transition: all 0.3s ease-in-out;
 text-transform: uppercase;
 text-decoration: none;
 color: #3a3c42;
}

.fancy1 .top-key {
 height: 2px;
 width: 1.5625rem;
 top: -2px;
 left: 0.625rem;
 position: absolute;
 background: #9ccd62;
 transition: width 0.5s ease-out, left 0.3s ease-out;
}

.fancy1 .bottom-key-1 {
 height: 2px;
 width: 1.5625rem;
 right: 1.875rem;
 bottom: -2px;
 position: absolute;
 background: #9ccd62;
 transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy1 .bottom-key-2 {
 height: 2px;
 width: 0.625rem;
 right: 0.625rem;
 bottom: -2px;
 position: absolute;
 background: #9ccd62;
 transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy1:hover {
 color: #9ccd62;
 background: #3a3c42;
}

.fancy1:hover::before {
 width: 0.9375rem;
 background: #9ccd62;
}

.fancy1:hover .text {
 color: #9ccd62;
 padding-left: 1.5em;
}

/* Medium devices (tablets, max-width: 991px) */
@media (max-width: 991px) {
    .join-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 60px;
    }

    .join-card {
        padding: 30px 20px;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .join-card h3 {
        font-size: 1.3rem;
    }

    .join-card p {
        font-size: 0.9rem;
    }

    .btn-main-join {
        padding: 15px 35px;
        font-size: 1rem;
        margin: 30px auto;
        display: block;
    }

    .btn-primary-small {
        font-size: 1rem;
        padding: 12px;
        margin-top: 6px;
    }
}

/* Small devices (mobiles, max-width: 767px) */
@media (max-width: 767px) {
    .join-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 40px;
    }

    .join-card {
        padding: 25px 15px;
    }

    .card-icon {
        font-size: 2rem;
    }

    .join-card h3 {
        font-size: 1.1rem;
    }

    .join-card p {
        font-size: 0.85rem;
    }

    .btn-main-join {
        padding: 12px 25px;
        font-size: 0.95rem;
        margin: 20px auto;
    }

    .btn-primary-small {
        font-size: 0.95rem;
        padding: 10px;
    }
}



