/* Footer container */
.footer-con {
    min-height: 100vh; /* allows content to expand */
    color: #000;
    padding: 2rem 1rem;
}
a{
    text-decoration: none;
    color: #f9f7f2;
}
/* Text inside footer */
.footer-con .rf {
    font-weight: 400;
}

/* Buttons in footer links */
.consec a button {
    background-color: transparent;
    height: 50px;
    width: 120px;
    border-radius: 25px;
    border: 1px solid #1b4242;
    color: #1b4242;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.consec a button:hover {
    background-color: #1b4242;
    color: #fffdd0;
}

/* Headings */
.consec h2 span {
    font-size: clamp(2rem, 6vw, 4rem); /* scales between 2rem and 4rem */
    font-weight: 700;
    color: #1b4242;
    display: inline-block;
}

.consec p {
    font-size: clamp(0.9rem, 1.3vw, 1.2rem);
    color: #1b4242;
    text-align: justify;
}

.int {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1b4242;
}

/* Boxes */
.fot-box {
    border: 2px solid #1b4242;
    color: #1b4242;
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 1rem;
}

.fot-box:hover {
    background-color: #1b4242;
    color: #e7e7e7;
}
/* Layout adjustments for mobile */
@media (max-width: 992px) {
    .footer-con .row.rf {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .consec {
        margin: 0 auto;
    }

    .int {
        margin-top: 2rem;
    }

    .r2, .r3 {
        flex-direction: column;
        gap: 1rem;
    }

    .fot-box {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .consec h2 span {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .consec p {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }

    .consec a button {
        width: 120px;
        height: 45px;
        font-size: 0.9rem;
    }

    .fot-box {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .r2, .r3 {
        gap: 0.75rem;
    }
}
/* Footer main section */
#hassan-footer {
    min-height: 62vh; /* allows growth on mobile */
    background-color: #0f3535;
  
  background-image: url(../../images/back.png);
    padding: 2rem 1rem;
 
    padding: 2rem 1rem;
}

/* Footer text */
#footer-text {
    color: #fffdd0;
}

#footer-text h4 {
    padding-bottom: 10px;
    font-weight: 500;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
}

#hassan-footer h6 {
    color: #ffffff;
    padding-left: 1rem;
    font-size: clamp(0.8rem, 1vw, 1rem);
}

/* Section r5 */
.r5 {
    padding: 3rem 1rem 1rem 1rem;
    border-bottom: 1px solid #fffdd0;
}

/* Social icons */
.soc {
    padding-left: 1rem;
}

#footer-social h5 {
    color: #fffdd0;
    font-size: clamp(0.8rem, 1vw, 1rem);
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 1024px) {
    .consec h2 span {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }

    .consec p {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }

    .int {
        font-size: clamp(1.2rem, 3.5vw, 2rem);
    }

    #hassan-footer {
        padding: 2rem;
    }

    #footer-text h4 {
        font-size: clamp(1rem, 2vw, 1.3rem);
    }

    #footer-social h5 {
        font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    }
}

@media screen and (max-width: 768px) {
    .footer-con {
        padding: 1.5rem;
    }

    .consec h2 span {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .consec p {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
    }

    .int {
        font-size: clamp(1rem, 5vw, 1.8rem);
    }

    .fot-box {
        padding: 0.8rem;
    }

    .r5 {
        padding: 2rem 1rem 1rem 1rem;
    }
}

@media screen and (max-width: 480px) {
    .consec h2 span {
        font-size: clamp(1.2rem, 7vw, 2rem);
    }

    .consec p {
        font-size: clamp(0.75rem, 3vw, 0.9rem);
    }

    .int {
        font-size: clamp(0.9rem, 6vw, 1.5rem);
    }

    .fot-box {
        padding: 0.5rem;
    }

    .r5 {
        padding: 1.5rem 0.5rem 0.5rem 0.5rem;
    }

    .consec a button {
        width: 100%;
        max-width: 200px;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}


