/* ===================================================
   ALLCONNECTIVE SERVICES
   Bootstrap 5.2.3
   Theme : Black & Gold
   Version : 1.0
=================================================== */

/* ===================================================
   GOOGLE FONT
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* ===================================================
   ROOT
=================================================== */

:root{

    --primary:#D4AF37;

    --primary-hover:#e7c65b;

    --dark:#111111;

    --secondary:#1A1A1A;

    --background:#0B0B0B;

    --text:#FFFFFF;

    --gray:#8A8A8A;

    --border:#333333;

    --transition:.35s ease;

}


/* ===================================================
   RESET
=================================================== */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--background);

    color:var(--text);

    font-family:'Inter',sans-serif;

    overflow-x:hidden;

}


/* ===================================================
   TYPOGRAPHY
=================================================== */

h1,
h2,
h3,
h4,
h5,
h6{

    font-family:'Poppins',sans-serif;

    color:var(--text);

    font-weight:700;

}

p{

    color:var(--gray);

    line-height:1.9;

    margin-bottom:1rem;

}


/* ===================================================
   LINKS
=================================================== */

a{

    text-decoration:none;

    transition:var(--transition);

}

a:hover{

    color:var(--primary);

}


/* ===================================================
   SECTION
=================================================== */

section{

    padding:100px 0;

}


/* ===================================================
   TITLE
=================================================== */

.section-subtitle{

    color:var(--primary);

    text-transform:uppercase;

    letter-spacing:2px;

    font-weight:600;

    font-size:14px;

}

.section-title{

    font-size:42px;

    margin-top:15px;

    margin-bottom:20px;

}

.section-description{

    max-width:700px;

    margin:auto;

}


/* ===================================================
   NAVBAR
=================================================== */

.custom-navbar{

    background:rgba(0,0,0,.65);

    backdrop-filter:blur(15px);

    transition:.4s;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.navbar-brand{

    font-size:28px;

    font-weight:700;

    color:#fff;

}

.navbar-brand:hover{

    color:#fff;

}

.nav-link{

    color:#fff;

    font-weight:500;

    margin-left:20px;

}

.nav-link:hover{

    color:var(--primary);

}


/* Navbar เมื่อ Scroll */

.navbar-scroll{

    background:#111;

    box-shadow:0 10px 30px rgba(0,0,0,.35);

}


/* ===================================================
   BUTTON
=================================================== */

.btn-gold{

    background:var(--primary);

    color:#111;

    border:2px solid var(--primary);

    padding:12px 35px;

    border-radius:50px;

    font-weight:600;

    transition:var(--transition);

}

.btn-gold:hover{

    background:transparent;

    color:var(--primary);

}


/* ===================================================
   HERO
=================================================== */

.hero-section{

    position:relative;

    height:100vh;

    overflow:hidden;

}

.hero-video{

    position:absolute;

    width:100%;

    height:100%;

    object-fit:cover;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.65);

}

.hero-content{

    position:relative;

    z-index:10;

    padding-top:220px;

}

.hero-small{

    color:var(--primary);

    letter-spacing:3px;

    font-weight:600;

}

.hero-content h1{

    font-size:64px;

    margin:25px 0;

}

.hero-content p{

    font-size:20px;

    max-width:700px;

    margin:auto;

}

.scroll-down{

    position:absolute;

    bottom:40px;

    left:50%;

    transform:translateX(-50%);

    color:#fff;

    font-size:28px;

}


/* ===================================================
   ABOUT
=================================================== */

.bg-dark-section{

    background:var(--dark);

}

.feature-box{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:25px;

}

.feature-box i{

    width:60px;

    height:60px;

    background:var(--secondary);

    color:var(--primary);

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

}


/* ===================================================
   SERVICES
=================================================== */

.services-section{

    background:var(--background);

}

.service-card{

    background:var(--secondary);

    border:1px solid var(--border);

    border-top:4px solid var(--primary);

    border-radius:20px;

    padding:40px;

    transition:.4s;

    height:100%;

}

.service-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:0 25px 50px rgba(212,175,55,.20);

}

.service-icon{

    width:85px;

    height:85px;

    border-radius:50%;

    background:#222;

    color:var(--primary);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    margin-bottom:30px;

    transition:.4s;

}

.service-card:hover .service-icon{

    background:var(--primary);

    color:#111;

}

.service-list{

    list-style:none;

    padding:0;

    margin-top:25px;

}

.service-list li{

    margin-bottom:12px;

    color:#ddd;

}

.service-list li::before{

    content:"✓ ";

    color:var(--primary);

}

.service-btn{

    display:inline-block;

    margin-top:25px;

    color:var(--primary);

    font-weight:600;

}

.service-btn:hover{

    color:#fff;

}


/* ===================================================
   UTILITIES
=================================================== */

.text-gold{

    color:var(--primary);

}

.bg-gold{

    background:var(--primary);

}

.border-gold{

    border-color:var(--primary);

}




/* ==========================================
        WHY CHOOSE US
========================================== */

.why-section{

    background:#111;

}

.why-card{

    background:#1A1A1A;

    border:1px solid #333;

    border-radius:18px;

    padding:35px;

    text-align:center;

    height:100%;

    transition:.4s;

}

.why-card:hover{

    transform:translateY(-10px);

    border-color:#D4AF37;

    box-shadow:0 20px 40px rgba(212,175,55,.20);

}

.why-card i{

    font-size:48px;

    color:#D4AF37;

    margin-bottom:25px;

    display:block;

    transition:.4s;

}

.why-card:hover i{

    transform:scale(1.15);

}

.why-card h5{

    color:#fff;

    margin-bottom:15px;

    font-weight:600;

}

.why-card p{

    color:#9a9a9a;

    margin:0;

    line-height:1.8;

}




/* ==========================================
        COUNTER
========================================== */

.counter-section{

    background:#0B0B0B;

    padding:120px 0;

}

.counter-box{

    background:#1A1A1A;

    border:1px solid #333;

    border-radius:20px;

    padding:45px 25px;

    transition:.4s;

    height:100%;

}

.counter-box:hover{

    transform:translateY(-10px);

    border-color:#D4AF37;

    box-shadow:0 20px 45px rgba(212,175,55,.20);

}

.counter-box i{

    font-size:48px;

    color:#D4AF37;

    margin-bottom:20px;

    display:block;

}

.counter{

    font-size:58px;

    font-weight:700;

    color:#D4AF37;

    margin-bottom:10px;

}

.counter-box span{

    color:#BBBBBB;

    font-size:18px;

    letter-spacing:1px;

}


/* ==========================================
        PARALLAX COUNTER
========================================== */

.counter-parallax{

    position:relative;

    padding:140px 0;

    background:url("../images/counter/counter-bg.jpg") center center;

    background-size:cover;

    background-attachment:fixed;

}

.counter-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.78);

}

.counter-parallax .container{

    position:relative;

    z-index:10;

}

.counter-parallax i{

    font-size:52px;

    color:#D4AF37;

    margin-bottom:25px;

    display:block;

}

.counter{

    font-size:64px;

    color:#D4AF37;

    font-weight:700;

}

.counter-parallax p{

    color:#fff;

    font-size:18px;

    letter-spacing:1px;

    margin-top:10px;

}

/* ===================================================
   PORTFOLIO
=================================================== */

.portfolio-section{

    background: var(--background);

}

.portfolio-card{

    background: var(--secondary);

    border:1px solid var(--border);

    border-radius:20px;

    overflow:hidden;

    height:100%;

    transition:all .35s ease;

}

.portfolio-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:0 20px 45px rgba(212,175,55,.18);

}

/* ========================================= */

.portfolio-image{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.5s;

}

.portfolio-card:hover .portfolio-image{

    transform:scale(1.08);

}

/* ========================================= */

.portfolio-content{

    padding:30px;

}

/* ========================================= */

.portfolio-category{

    display:inline-block;

    background:rgba(212,175,55,.15);

    color:var(--primary);

    padding:6px 15px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

    letter-spacing:1px;

    text-transform:uppercase;

    margin-bottom:18px;

}

/* ========================================= */

.portfolio-content h4{

    color:var(--text);

    font-size:26px;

    margin-bottom:18px;

}

.portfolio-content p{

    color:var(--gray);

    line-height:1.8;

    margin-bottom:25px;

}

/* ========================================= */

.portfolio-content hr{

    border-color:var(--border);

    margin:25px 0;

}

/* ========================================= */

.project-detail small{

    color:var(--gray);

    display:block;

    margin-bottom:6px;

    font-size:13px;

    text-transform:uppercase;

    letter-spacing:1px;

}

.project-detail h6{

    color:var(--text);

    font-weight:600;

    margin:0;

}

/* ========================================= */

.portfolio-btn{

    display:inline-flex;

    align-items:center;

    margin-top:30px;

    color:var(--primary);

    font-weight:600;

    text-decoration:none;

    transition:.3s;

}

.portfolio-btn i{

    margin-left:10px;

    transition:.3s;

}

.portfolio-btn:hover{

    color:#fff;

}

.portfolio-btn:hover i{

    transform:translateX(8px);

}

/* ========================================= */

.portfolio-card:hover .portfolio-category{

    background:var(--primary);

    color:#111;

}

/* ========================================= */

.portfolio-card:hover h4{

    color:var(--primary);

}

/* ========================================= */


/* ===================================================
   FAQ
=================================================== */

.faq-section{

    background:var(--dark);

}

/* Accordion */

.accordion-item{

    background:var(--secondary);

    border:1px solid var(--border);

    border-radius:12px;

    overflow:hidden;

    margin-bottom:18px;

}

.accordion-button{

    background:var(--secondary);

    color:var(--text);

    font-weight:600;

    font-size:18px;

    padding:22px 25px;

    box-shadow:none;

}

.accordion-button:not(.collapsed){

    background:var(--secondary);

    color:var(--primary);

    box-shadow:none;

}

.accordion-button:focus{

    box-shadow:none;

    border:none;

}

.accordion-body{

    background:var(--secondary);

    color:var(--gray);

    line-height:1.9;

    padding:25px;

}

/* เปลี่ยนสีไอคอน + / - */

.accordion-button::after{

    filter:invert(76%) sepia(61%) saturate(450%) hue-rotate(5deg);

}

/* Hover */

.accordion-item:hover{

    border-color:var(--primary);

}


/* ===================================================
   CONTACT
=================================================== */


.contact-section{

    background:var(--background);

}



.contact-info h3,
.contact-form h3{

    color:#fff;

    font-size:30px;

    margin-bottom:20px;

}



.contact-info p{

    color:var(--gray);

}



.contact-item{

    display:flex;

    align-items:flex-start;

    gap:20px;

    margin-top:30px;

}



.contact-icon{

    width:55px;

    height:55px;

    background:var(--secondary);

    border:1px solid var(--border);

    border-radius:50%;


    display:flex;

    justify-content:center;

    align-items:center;


    color:var(--primary);

    font-size:22px;

}



.contact-item h6{

    margin-bottom:5px;

}



.contact-item p{

    margin:0;

}



/* FORM */


.contact-form{

    background:var(--secondary);

    border:1px solid var(--border);

    border-radius:20px;

    padding:40px;

}



.form-control{

    background:#111;

    border:1px solid #333;

    color:#fff;

    padding:15px;

    border-radius:10px;

}



.form-control::placeholder{

    color:#777;

}



.form-control:focus{

    background:#111;

    border-color:var(--primary);

    color:#fff;

    box-shadow:0 0 0 .25rem rgba(212,175,55,.15);

}



select.form-control option{

    background:#111;

    color:#fff;

}



textarea.form-control{

    resize:none;

}




/* ===================================================
        GOOGLE MAP
=================================================== */


.map-section{

    background:var(--dark);

    padding:80px 0 0;

}



.map-title{

    padding-bottom:50px;

}



.map-title p{

    color:var(--gray);

}



.google-map{

    width:100%;

    filter:grayscale(80%);

    transition:.4s;

}



.google-map:hover{

    filter:grayscale(0%);

}



.google-map iframe{

    display:block;

}

/* ===================================================
        PRODUCTS
=================================================== */


.product-section{

    background:#111;

}



.product-card{

    background:#1A1A1A;

    border:1px solid #333;

    border-radius:20px;

    overflow:hidden;

    height:100%;

    transition:.4s;

}



.product-card:hover{

    transform:translateY(-10px);

    border-color:#D4AF37;

    box-shadow:0 20px 40px rgba(212,175,55,.18);

}



/* Image */


.product-image{

    height:250px;

    overflow:hidden;

}



.product-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}



.product-card:hover img{

    transform:scale(1.1);

}




/* Content */


.product-content{

    padding:30px;

}



.product-content span{

    color:#D4AF37;

    font-size:13px;

    letter-spacing:2px;

}



.product-content h4{

    color:#fff;

    font-size:26px;

    margin:15px 0;

}



.product-content p{

    color:#888;

    line-height:1.8;

}



.product-content a{

    display:inline-flex;

    align-items:center;

    margin-top:20px;

    color:#D4AF37;

    text-decoration:none;

    font-weight:600;

}



.product-content a i{

    margin-left:10px;

    transition:.3s;

}



.product-content a:hover i{

    transform:translateX(8px);

}

/* ===================================================
        FOOTER
=================================================== */


.footer{

    background:#050505;

    padding:80px 0 0;

    border-top:1px solid #333;

}



/* Logo */


.footer-about h3{

    color:#fff;

    font-size:32px;

    font-weight:700;

}


.footer-about h3 span{

    color:#D4AF37;

}



.footer-about p{

    color:#888;

    line-height:1.9;

    margin-top:20px;

}



/* Footer Title */


.footer h5{

    color:#fff;

    font-size:20px;

    margin-bottom:25px;

    position:relative;

}



.footer h5::after{

    content:"";

    display:block;

    width:40px;

    height:2px;

    background:#D4AF37;

    margin-top:10px;

}



/* Links */


.footer-links{

    list-style:none;

    padding:0;

}



.footer-links li{

    margin-bottom:15px;

}



.footer-links a{

    color:#888;

    text-decoration:none;

    transition:.3s;

}



.footer-links a:hover{

    color:#D4AF37;

    padding-left:8px;

}



/* Contact */


.footer-contact p{

    color:#aaa;

}



.footer-contact i{

    color:#D4AF37;

    margin-right:12px;

}



/* Social */


.footer-social{

    margin-top:25px;

}



.footer-social a{

    width:42px;

    height:42px;

    border-radius:50%;

    border:1px solid #333;

    display:inline-flex;

    justify-content:center;

    align-items:center;

    color:#D4AF37;

    margin-right:10px;

    transition:.3s;

}



.footer-social a:hover{

    background:#D4AF37;

    color:#111;

}



/* Bottom */


.footer-bottom{

    margin-top:60px;

    padding:25px 0;

    border-top:1px solid #222;

}



.footer-bottom p{

    color:#777;

    margin:0;

    font-size:14px;

}






/* ===================================================
   FOOTER
=================================================== */

footer{

    background:var(--dark);

    border-top:1px solid var(--border);

    padding:60px 0;

}

/* ===================================================
  line
=================================================== */

#lineWidget{
    position:fixed;
    right:20px;
    bottom:20px;
    width:320px;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 35px rgba(0,0,0,.2);
    z-index:9999;
    display:none;
    animation:slideUp .3s ease;
}

.line-header{
    background:#06C755;
    color:#fff;
    display:flex;
    align-items:center;
    gap:12px;
    padding:15px;
}

.line-header img{
    width:40px;
    background:#fff;
    border-radius:50%;
    padding:5px;
}

.line-body{
    padding:18px;
    color:#444;
    line-height:1.7;
}

.line-btn{
    display:block;
    margin:0 18px 18px;
    text-align:center;
    background:#06C755;
    color:#fff;
    padding:12px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.line-btn:hover{
    background:#04b34c;
}

#lineClose{
    position:absolute;
    top:10px;
    right:10px;
    border:none;
    background:none;
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

#lineBubble{
    position:fixed;
    right:20px;
    bottom:20px;
    width:65px;
    height:65px;
    background:#06C755;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:28px;
    cursor:pointer;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
    z-index:9998;
}

#lineBubble:hover{
    transform:scale(1.08);
}

@keyframes slideUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}





/* ===================================================
   RESPONSIVE
=================================================== */

@media(max-width:991px){

    .hero-content{

        padding-top:170px;

    }

    .hero-content h1{

        font-size:42px;

    }

    .section-title{

        font-size:34px;

    }

    .counter-parallax{
        background-attachment: scroll;
    }

      .portfolio-image{

        height:230px;

    }

}

@media(max-width:768px){

    section{

        padding:70px 0;

    }

    .hero-content h1{

        font-size:32px;

    }

    .hero-content p{

        font-size:17px;

    }


      .portfolio-content{

        padding:22px;

    }

    .portfolio-content h4{

        font-size:22px;

    }

    .portfolio-image{

        height:220px;

    }

}