/* ==========================================
   CONTACT PAGE
   JABB TECH HUB
   PART 1
========================================== */


/* ==========================================
   HERO SECTION
========================================== */

.contact-page .contact-hero{

    position:relative;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    overflow:hidden;

    background:
    linear-gradient(
        rgba(0,0,0,.78),
        rgba(0,0,0,.78)
    ),
    url("../images/contact/contact-bg.jpg")
    center center/cover no-repeat;

}



.contact-page .hero-content{

    position:relative;

    z-index:2;

    width:90%;

    max-width:900px;

}



.contact-page .hero-subtitle{

    display:inline-block;

    color:#d4af37;

    text-transform:uppercase;

    letter-spacing:4px;

    font-size:15px;

    font-weight:600;

    margin-bottom:18px;

}



.contact-page .hero-content h1{

    color:#fff;

    font-size:60px;

    margin-bottom:20px;

    line-height:1.2;

}



.contact-page .hero-content p{

    color:#ddd;

    font-size:20px;

    max-width:760px;

    margin:auto;

    line-height:1.8;

}



.contact-page .hero-buttons{

    margin-top:45px;

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}



/* ==========================================
   CONTACT INFORMATION
========================================== */

.contact-page .contact-info{

    background:#0b0b0b;

}



.contact-page .contact-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

    margin-top:60px;

}



.contact-page .contact-card{

    background:#181818;

    text-align:center;

    padding:40px 30px;

    border-radius:18px;

    border:1px solid rgba(212,175,55,.15);

    transition:.4s ease;

}



.contact-page .contact-card:hover{

    transform:translateY(-10px);

    border-color:#d4af37;

    box-shadow:0 15px 35px rgba(212,175,55,.18);

}



.contact-page .contact-card i{

    font-size:55px;

    color:#d4af37;

    margin-bottom:20px;

}



.contact-page .contact-card h3{

    color:#fff;

    margin-bottom:15px;

    font-size:24px;

}



.contact-page .contact-card p{

    color:#ccc;

    line-height:1.8;

}



/* ==========================================
   CONTACT FORM
========================================== */

.contact-page .contact-form-section{

    background:#111;

}



.contact-page .contact-form-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:45px;

    margin-top:60px;

}



.contact-page .contact-form-box{

    background:#181818;

    padding:40px;

    border-radius:18px;

    border:1px solid rgba(212,175,55,.15);

}



.contact-page .form-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

    margin-bottom:20px;

}



.contact-page .form-group{

    display:flex;

    flex-direction:column;

}



.contact-page .form-group label{

    color:#fff;

    margin-bottom:10px;

    font-weight:500;

}



.contact-page .form-group input,

.contact-page .form-group select,

.contact-page .form-group textarea{

    background:#111;

    color:#fff;

    border:1px solid rgba(212,175,55,.2);

    border-radius:10px;

    padding:15px;

    outline:none;

    transition:.3s;

    font-size:15px;

}



.contact-page .form-group textarea{

    resize:vertical;

    min-height:180px;

}



.contact-page .form-group input:focus,

.contact-page .form-group select:focus,

.contact-page .form-group textarea:focus{

    border-color:#d4af37;

    box-shadow:0 0 10px rgba(212,175,55,.2);

}



.contact-page .contact-form-box .btn-primary{

    margin-top:10px;

}



/* ==========================================
   COMPANY DETAILS
========================================== */

.contact-page .contact-details{

    display:flex;

    flex-direction:column;

    gap:25px;

}



.contact-page .details-box{

    background:#181818;

    padding:30px;

    border-radius:18px;

    border:1px solid rgba(212,175,55,.15);

}



.contact-page .details-box h3{

    color:#fff;

    margin-bottom:18px;

}



.contact-page .details-box p{

    color:#ccc;

    line-height:1.8;

}



.contact-page .details-box ul{

    list-style:none;

}



.contact-page .details-box ul li{

    color:#ccc;

    margin-bottom:15px;

}



.contact-page .details-box ul li i{

    color:#d4af37;

    margin-right:10px;

}



/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

    .contact-page .contact-form-grid{

        grid-template-columns:1fr;

    }

}


@media(max-width:768px){

    .contact-page .hero-content h1{

        font-size:42px;

    }

    .contact-page .hero-content p{

        font-size:17px;

    }

    .contact-page .form-row{

        grid-template-columns:1fr;

    }

}


@media(max-width:480px){

    .contact-page .hero-content h1{

        font-size:32px;

    }

    .contact-page .hero-buttons{

        flex-direction:column;

    }

    .contact-page .hero-buttons a{

        width:100%;

        text-align:center;

    }

    .contact-page .contact-form-box{

        padding:25px;

    }

}
/* ==========================================
   CONTACT PAGE
   PART 2
========================================== */


/* ==========================================
   GOOGLE MAP SECTION
========================================== */

.contact-page .contact-map{

    background:#0b0b0b;

}


.contact-page .map-container{

    margin-top:60px;

    overflow:hidden;

    border-radius:18px;

    border:2px solid rgba(212,175,55,.20);

    box-shadow:0 15px 35px rgba(0,0,0,.35);

}


.contact-page .map-container iframe{

    width:100%;

    height:500px;

    border:0;

    display:block;

}



/* ==========================================
   FAQ SECTION
========================================== */

.contact-page .faq-section{

    background:#111;

}


.contact-page .faq-container{

    max-width:900px;

    margin:60px auto 0;

}


.contact-page .faq-item{

    background:#181818;

    border:1px solid rgba(212,175,55,.15);

    border-radius:15px;

    margin-bottom:20px;

    overflow:hidden;

    transition:.3s;

}


.contact-page .faq-item:hover{

    border-color:#d4af37;

}


.contact-page .faq-question{

    width:100%;

    background:none;

    border:none;

    color:#fff;

    cursor:pointer;

    padding:22px 25px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:18px;

    font-weight:600;

    text-align:left;

}


.contact-page .faq-question i{

    color:#d4af37;

    transition:.3s;

}


.contact-page .faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .35s ease;

}


.contact-page .faq-answer p{

    padding:0 25px 25px;

    color:#ccc;

    line-height:1.8;

}



/* ==========================================
   SOCIAL MEDIA
========================================== */

.contact-page .social-connect{

    background:#0b0b0b;

    text-align:center;

}


.contact-page .social-icons{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:20px;

    margin-top:50px;

}


.contact-page .social-icons a{

    width:65px;

    height:65px;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    font-size:24px;

    color:#d4af37;

    border:2px solid rgba(212,175,55,.20);

    border-radius:50%;

    transition:.4s ease;

}


.contact-page .social-icons a:hover{

    background:#d4af37;

    color:#000;

    transform:translateY(-8px);

    box-shadow:0 10px 30px rgba(212,175,55,.30);

}



/* ==========================================
   SECTION DIVIDER
========================================== */

.contact-page .contact-info::after,
.contact-page .contact-form-section::after,
.contact-page .faq-section::after{

    content:"";

    display:block;

    width:120px;

    height:3px;

    background:#d4af37;

    margin:70px auto 0;

    border-radius:20px;

}



/* ==========================================
   HOVER EFFECTS
========================================== */

.contact-page .contact-card,
.contact-page .details-box,
.contact-page .faq-item{

    transition:all .4s ease;

}


.contact-page .contact-card:hover,
.contact-page .details-box:hover{

    transform:translateY(-10px);

}



/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

    .contact-page .map-container iframe{

        height:420px;

    }

}


@media(max-width:768px){

    .contact-page .faq-question{

        font-size:16px;

        padding:20px;

    }

    .contact-page .social-icons{

        gap:15px;

    }

    .contact-page .social-icons a{

        width:58px;

        height:58px;

        font-size:22px;

    }

}


@media(max-width:480px){

    .contact-page .map-container iframe{

        height:320px;

    }

    .contact-page .faq-question{

        font-size:15px;

    }

    .contact-page .social-icons a{

        width:52px;

        height:52px;

        font-size:20px;

    }

}
/* ==========================================
   CONTACT PAGE
   PART 3 (FINAL)
========================================== */


/* ==========================================
   CONTACT CTA
========================================== */

.contact-page .contact-cta{

    background:
    linear-gradient(
        rgba(0,0,0,.85),
        rgba(0,0,0,.85)
    ),
    url("../images/contact/contact-cta.jpg")
    center center/cover no-repeat;

    padding:100px 8%;

    text-align:center;

}


.contact-page .cta-content{

    max-width:850px;

    margin:auto;

}


.contact-page .cta-content span{

    display:inline-block;

    color:#d4af37;

    text-transform:uppercase;

    letter-spacing:3px;

    font-weight:600;

    margin-bottom:15px;

}


.contact-page .cta-content h2{

    color:#fff;

    font-size:46px;

    margin-bottom:20px;

}


.contact-page .cta-content p{

    color:#ddd;

    font-size:18px;

    line-height:1.8;

    margin-bottom:35px;

}


.contact-page .cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}



/* ==========================================
   SUCCESS MESSAGE
========================================== */

.contact-page .success-message{

    display:none;

    margin-top:25px;

    padding:18px;

    background:#12381d;

    border-left:5px solid #28a745;

    color:#fff;

    border-radius:8px;

}


.contact-page .success-message.show{

    display:block;

}



/* ==========================================
   ERROR MESSAGE
========================================== */

.contact-page .error-message{

    display:none;

    margin-top:20px;

    padding:18px;

    background:#4b1010;

    border-left:5px solid #dc3545;

    color:#fff;

    border-radius:8px;

}


.contact-page .error-message.show{

    display:block;

}



/* ==========================================
   LOADING BUTTON
========================================== */

.contact-page .btn-loading{

    pointer-events:none;

    opacity:.75;

}


.contact-page .btn-loading i{

    margin-right:8px;

}



/* ==========================================
   INPUT VALIDATION
========================================== */

.contact-page input:invalid,

.contact-page textarea:invalid,

.contact-page select:invalid{

    box-shadow:none;

}


.contact-page input.valid,

.contact-page textarea.valid,

.contact-page select.valid{

    border-color:#28a745;

}


.contact-page input.invalid,

.contact-page textarea.invalid,

.contact-page select.invalid{

    border-color:#dc3545;

}



/* ==========================================
   PAGE ANIMATION
========================================== */

@keyframes contactFade{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


.contact-page .contact-hero,
.contact-page .contact-info,
.contact-page .contact-form-section,
.contact-page .contact-map,
.contact-page .faq-section,
.contact-page .social-connect,
.contact-page .contact-cta{

    animation:contactFade .8s ease;

}



/* ==========================================
   BACK TO TOP BUTTON
========================================== */

.contact-page .back-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#d4af37;

    color:#000;

    cursor:pointer;

    font-size:20px;

    transition:.35s;

    opacity:0;

    visibility:hidden;

    z-index:9999;

}


.contact-page .back-top.show{

    opacity:1;

    visibility:visible;

}


.contact-page .back-top:hover{

    background:#fff;

    transform:translateY(-6px);

}



/* ==========================================
   FINAL RESPONSIVE DESIGN
========================================== */

@media(max-width:992px){

    .contact-page .cta-content h2{

        font-size:38px;

    }

}


@media(max-width:768px){

    .contact-page .cta-content h2{

        font-size:32px;

    }

    .contact-page .cta-content p{

        font-size:16px;

    }

    .contact-page .cta-buttons{

        flex-direction:column;

        align-items:center;

    }

    .contact-page .cta-buttons a{

        width:260px;

        text-align:center;

    }

}


@media(max-width:480px){

    .contact-page .contact-cta{

        padding:80px 6%;

    }

    .contact-page .cta-content h2{

        font-size:28px;

    }

    .contact-page .cta-content span{

        font-size:13px;

    }

    .contact-page .back-top{

        width:48px;

        height:48px;

        right:18px;

        bottom:18px;

    }

}
/* ==========================================
   FOOTER
========================================== */

.footer{
    background:#050505;
    padding:70px 8% 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer h2,
.footer h3{
    color:#fff;
    margin-bottom:20px;
}

.footer p,
.footer li{
    color:#bdbdbd;
    line-height:1.9;
}

.footer ul{
    list-style:none;
}

.footer ul li{
    margin-bottom:12px;
}

.footer ul li a{
    color:#bdbdbd;
    text-decoration:none;
    transition:.3s;
}

.footer ul li a:hover{
    color:#d4af37;
}

.footer-contact i{
    color:#d4af37;
    margin-right:10px;
}

.footer hr{
    border:none;
    height:1px;
    background:#222;
    margin:50px 0 25px;
}

.footer-bottom{
    text-align:center;
}

.footer-bottom p{
    color:#888;
}


/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{
    background:#d4af37;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#f1c84b;
}


/* ==========================================
   GLOBAL ANIMATIONS
========================================== */

@keyframes fadeIn{

    from{
        opacity:0;
    }

    to{
        opacity:1;
    }

}

@keyframes zoomIn{

    from{
        opacity:0;
        transform:scale(.9);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

.country-card,
.faq-item,
.cta-content{
    animation:zoomIn .8s ease;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

    .countries-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .countries-grid{
        grid-template-columns:1fr;
    }

    .cta-content h2{
        font-size:36px;
    }

    .cta-content p{
        font-size:16px;
    }

    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

}

@media(max-width:480px){

    .section-title h2{
        font-size:30px;
    }

    .country-card h3{
        font-size:20px;
    }

    .faq-item h3{
        font-size:18px;
    }

    .cta-content h2{
        font-size:28px;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
        text-align:center;
    }

}

/* ==========================
   BACK TO TOP BUTTON
========================== */

.back-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:#d4af37;

    color:#000;

    font-size:20px;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.4s;

    z-index:999;

}


.back-top.show{

    opacity:1;

    visibility:visible;

}


.back-top:hover{

    background:#fff;

    transform:translateY(-5px);

}