@import url(colors.css);

@font-face {
    font-family: 'MyCustomFont';
    src: url('./../fonts/EuclidCircularA-Regular.woff') format('woff'),
         url('./../fonts/EuclidCircularA-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MyCustomFont';
    src: url('./../fonts/EuclidCircularA-Bold.woff') format('woff'),
         url('./../fonts/EuclidCircularA-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'MyCustomFont';
    src: url('/fonts/EuclidCircularA-Medium.woff') format('woff'),
         url('/fonts/EuclidCircularA-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'MyCustomFont';
    src: url('/fonts/EuclidCircularA-SemiBold.woff') format('woff'),
         url('/fonts/EuclidCircularA-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

.footer {
    background: var(--gradient-1);
    padding: 2%;
    background: rgba(0, 0, 0, 0.932);
    color: #fff;
}

.social-media {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.icons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.icon {
    background: #ccc;
    padding: 10px;
    border-radius: 5px;
}

.socialIcon {
    font-size: 1.2rem;
    color: #443d3d;
}

.joining-section p,
.news-letter p,
.company p {
    font-weight: bold;
    font-family: 'MyCustomFont', sans-serif;
    color: #faf9f9;
}

.company-links a{
   color: #d6d4d4;
}
.company-links{
   color: #6b6868;
}

.join_now {
    padding: 10px;
    border: none;
    color: #fff;
    background: linear-gradient(145deg, #3d5c96, #2296b3);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'MyCustomFont', sans-serif;
}

.join_now i {
    font-size: 1rem;
}

.news-letter-input {
    background: #fff;
    padding: 6px;
    box-shadow: 2px 2px 2px #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.email_input {
    border: none;
    padding: 10px;
    flex: 1;
    min-width: 200px;
}

.news-letter-input button {
    /* padding: 10px 15px; */
    border: none;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.news-letter-input button i {
    color: #423f3f;
    font-size: 21px;
}

.company {
    padding: 2%;
}

a {
    text-decoration: none;
    color: #fff;
    font-family: 'MyCustomFont', sans-serif;
}

.copyright {
    padding-left: 2%;
    color: #fff;
    font-family: 'MyCustomFont', sans-serif;
}

.developer-footer {
    display: flex;
    justify-content: space-evenly;
    background: linear-gradient(145deg, #3d5c96, #2296b3);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-contact-details {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info,
.developer-section p,
.developer-section a {
    color: white;
    font-family: 'MyCustomFont', sans-serif;
}

/* --------------------------------------------
   RESPONSIVE MEDIA QUERIES
--------------------------------------------- */
@media (max-width: 768px) {
    .social-media {
        flex-direction: column;
        align-items: flex-start;
    }

    .icons {
        justify-content: flex-start;
    }

    .news-letter-input {
        flex-direction: row;
        align-items: stretch;
    }

    .developer-footer {
        flex-direction: column;
        padding: 2% 4%;
    }

    .footer-contact-details {
        flex-direction: column;
        gap: 10px;
    }

    .joining-section,
    .news-letter,
    .company {
        width: 100%;
    }

    .company{
        box-shadow: 2px 2px 2px #ccc;
        background: #fff;
        margin-top: 3%;
        width: 96%;
        border-radius: 13px;
    }

    .copyright {
        padding-left: 0;
        margin-top: 20px;
        text-align: center;
    }

    .company-links {
        display: none;
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
    }

    .company.open .company-links {
        display: block;
    }

    .company.open p {
        padding-bottom: 1%;
        border-bottom: 1px solid #ccc;
        border-radius: 2px;
        color: black;
    }

    .company p {
        cursor: pointer;
        position: relative;
        color: black;
    }
    
    .company p::after {
        content: "▼";
        position: absolute;
        right: 10px;
        font-size: 0.8em;
        transform: rotate(0deg);
        transition: transform 0.3s;
    }

    .news-letter-input button i {
        font-size: 23px;
    }
}
