/* =========================================
   FONTS
========================================= */
@font-face {
    font-family: 'CairoBold';
    src: url('assets/fonts/alfont_com_Cairo-Bold-1.ttf');
}

/* =========================================
   FOOTER BASE
========================================= */
.footer {
    background: #0f1f2a;
    color: #fff;
    padding: 60px 80px 20px;
    font-family: 'CairoBold', sans-serif;
}

/* =========================================
   FOOTER CONTAINER
========================================= */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px; /* space between columns */
}

/* =========================================
   FOOTER FORM (LEFT)
========================================= */
.footer-form {
    flex: 1 1 300px;
    order: 1;
}

.footer-form h3 {
    color: #f5b034;
    margin-bottom: 22px;
    font-size: 20px;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    background: #1d3646;
    border: 1px solid #2c7bad;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 14px;
    text-align: inherit;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
    color: #ccc;
}

.footer-form textarea {
    resize: none;
    height: 95px;
}

.footer-form button {
    width: 100%;
    background: #f5b034;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.footer-form button:hover {
    background: #dc7317;
}

/* =========================================
   FOOTER INFO (CENTER)
========================================= */
.footer-info {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px; /* space between info lines */
    order: 2;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    width: 100%;
    line-height: 1.8; /* better readability */
    text-align: left;
}

.info-item span {
    display: inline-block;
    padding-top: 2px;
}

.info-item i {
    color: #f5b034;
    font-size: 22px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

/* RTL for info */
html[dir="rtl"] .footer-info {
    align-items: flex-end;
}

html[dir="rtl"] .info-item {
    flex-direction: row-reverse;
    text-align: right;
}

/* =========================================
   SOCIAL ICONS
========================================= */
.social-icons {
    margin-top: 28px; /* space from info */
    display: flex;
    gap: 18px;
    justify-content: flex-start;
}

.social-icons a {
    background: #2c7bad;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 22px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #034f84;
}

html[dir="rtl"] .social-icons {
    justify-content: flex-end;
}

/* =========================================
   FOOTER LOGO (RIGHT)
========================================= */
.footer-logo {
    flex: 1 1 200px;
    text-align: right;
    order: 3;
}

.footer-logo img {
    width: 200px;
}

html[dir="rtl"] .footer-logo {
    text-align: left;
}

/* =========================================
   FOOTER BOTTOM
========================================= */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 45px;
    padding-top: 18px;
    text-align: center;
    font-size: 14px;
    color: #9bb7c8;
}

.footer-bottom .diterra {
    color: #dc7317;
    font-weight: bold;
}

/* =========================================
   WHATSAPP FLOAT
========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-form,
    .footer-info,
    .footer-logo {
        text-align: center;
        align-items: center;
    }

    .info-item {
        justify-content: center;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}
