/* ==========================================
   SUCI CONSTRUCTIONS
========================================== */

:root{

    --primary:#F4511E;
    --secondary:#1F2937;
    --white:#ffffff;
    --light:#f8f9fa;
    --gray:#6c757d;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
    background:#fff;

}

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

.custom-navbar{

    padding:18px 0;
    transition:.4s;
    background:transparent;
    z-index:999;

}

.navbar-brand img{

    height:65px;

}

.navbar-nav .nav-link{

    color:white;
    font-weight:500;
    margin:0 15px;
    transition:.3s;
    position:relative;

}

.navbar-nav .nav-link:hover{

    color:var(--primary);

}

.navbar-nav .nav-link::after{

    content:"";
    width:0;
    height:2px;
    background:var(--primary);
    position:absolute;
    left:0;
    bottom:-5px;
    transition:.3s;

}

.navbar-nav .nav-link:hover::after{

    width:100%;

}

.quote-btn{

    background:var(--primary);
    color:white;
    border-radius:50px;
    padding:12px 28px;
    font-weight:600;
    transition:.3s;

}

.quote-btn:hover{

    background:#d84315;
    color:white;
    transform:translateY(-3px);

}

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

.hero{

    position:relative;
    min-height:100vh;

    background:url("../images/hero.jpeg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;

}

.overlay{

    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;

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

}

.hero .container{

    position:relative;
    z-index:2;

}

.hero h1{

    font-size:70px;
    font-weight:800;
    line-height:1.2;

}

.hero h2{

    font-size:42px;
    color:#f5f5f5;

}

.hero-text{

    color:#ddd;
    max-width:650px;
    line-height:1.9;
    font-size:18px;

}

.btn-warning{

    background:var(--primary);
    border:none;
    color:white;
    padding:15px 34px;
    border-radius:50px;
    font-weight:600;

}

.btn-warning:hover{

    background:#d84315;
    color:white;

}

.btn-outline-light{

    border-radius:50px;
    padding:15px 34px;

}

/* ===========================
     STATISTICS
=========================== */

.stats{

    margin-top:-90px;
    position:relative;
    z-index:20;

}

.stat-box{
    background: #fff;
    border-radius: 18px;
    padding: 35px 20px;
    text-align: center;

    /* Makes each card stand out */
    border: 1px solid #ececec;
    border-top: 5px solid #ff6b00;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.stat-box:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.stat-box h2{

    color:var(--primary);
    font-size:40px;
    font-weight:700;
    margin-bottom:12px;

}

.stat-box p{

    color:#555;
    font-weight:500;
    line-height:1.6;
    margin:0;

}

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

@media(max-width:992px){

.hero h1{

font-size:50px;

}

.hero h2{

font-size:30px;

}

.navbar-nav{

background:white;
padding:20px;
border-radius:15px;
margin-top:15px;

}

.navbar-nav .nav-link{

color:#222;

}

.quote-btn{

margin-top:20px;
display:inline-block;

}

}

@media(max-width:768px){

.hero h1{

font-size:40px;

}

.hero h2{

font-size:25px;

}

.hero-text{

font-size:16px;

}

}

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

.about{

    padding:120px 0;

}

.about h2{

    color:#222;
    font-weight:700;

}

.about p{

    font-size:17px;
    line-height:1.9;

}

.feature-item{

    background:white;

    padding:18px;

    border-radius:12px;

    box-shadow:0 8px 20px rgba(0,0,0,.06);

    transition:.3s;

    font-weight:600;

}

.feature-item:hover{

    transform:translateY(-5px);

}

.feature-item i{

    color:var(--primary);

    margin-right:10px;

    font-size:20px;

}

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

.services{
    background:#f8f9fa;
    padding:120px 0;
}

.service-card{

    background:#fff;

    padding:35px 30px;

    border-radius:18px;

    text-align:center;

    height:100%;

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

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s ease;

}

.service-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

.service-card i{

    font-size:60px;

    color:var(--primary);

    margin-bottom:25px;

    transition:.3s;

}

.service-card:hover i{

    transform:scale(1.08);

}

.service-card h4{

    font-size:24px;
    
    font-weight:700;
    
    margin-bottom:15px;
    
    color:#222;
}



.service-card p{

    color:#666;

    line-height:1.8;

    margin:0;

}

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

.why-us{

    padding:120px 0;

    background:#fff;

}

.why-card{

    background:#fff;

    border-radius:18px;

    padding:30px;

    height:100%;

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

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s ease;

}

.why-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

.why-card h5{

    font-size:21px;
    
    font-weight:700;
    
    color:#222;
    
    margin-bottom:15px;
}



.why-card p{

    color:#666;

    line-height:1.8;

    font-size:15px;

    margin:0;

}

.why-banner{

    width:100%;

    height:380px;

    object-fit:cover;

    border-radius:20px;

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

/* ===========================
      PROJECTS
=========================== */

.projects{

    background:#f8f9fa;
    padding:120px 0;

}

.project-card{

    position:relative;

    overflow:hidden;

    border-radius:20px;

    cursor:pointer;

    box-shadow:0 15px 35px rgba(0,0,0,.1);

}

.project-card img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:.5s;

}

.project-overlay{

    position:absolute;

    inset:0;

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

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    color:white;

    opacity:0;

    transition:.4s;

}

.project-card:hover img{

    transform:scale(1.1);

}

.project-card:hover .project-overlay{

    opacity:1;

}

.project-overlay h4{

    font-weight:700;

    margin-bottom:10px;

}

.project-overlay p{

    margin:0;

}

/* ===========================
      TESTIMONIALS
=========================== */

.testimonials{

    background:#f8f9fa;
    padding:120px 0;

}

.testimonial-card{

    background:#fff;

    padding:40px;

    border-radius:20px;

    height:100%;

    text-align:center;

    transition:.4s;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.testimonial-card:hover{

    transform:translateY(-10px);

}

.quote-icon{

    width:80px;

    height:80px;

    margin:auto;

    border-radius:50%;

    background:#F4511E;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:25px;

}

.quote-icon i{

    color:white;

    font-size:38px;

}

.testimonial-card p{

    color:#666;

    line-height:1.9;

    margin-bottom:25px;

}

.testimonial-card h5{

    margin-top:20px;

    font-weight:700;

}

.testimonial-card span{

    color:#888;

    font-size:15px;

}

.stars{

    color:#FFC107;

    font-size:22px;

    margin-top:15px;

}

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

.contact{

    padding:120px 0;

}

.contact-info{

    background:#1F2937;

    color:white;

    padding:45px;

    border-radius:20px;

    height:100%;

}

.contact-item{

    display:flex;

    gap:20px;

    margin-bottom:35px;

    align-items:flex-start;

}

.contact-item i{

    font-size:28px;

    color:#F4511E;

}

.contact-item a{

    color:white;

    text-decoration:none;

}

.contact-item p{

    margin:0;

}

.contact-form{

    background:white;

    padding:45px;

    border-radius:20px;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.form-control{

    border-radius:12px;

    padding:15px;

}

.html{
    scroll-behavior:smooth;
}

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

.footer{

    background:#1F2937;
    color:white;
    padding:70px 0 25px;

}

.footer-logo{

    height:70px;

}

.footer h4{

    font-weight:700;

}

.footer-text{

    color:var(--primary);
    font-weight:600;
    margin-bottom:15px;

}

.footer-title{

    margin-bottom:25px;
    font-weight:700;

}

.footer-links{

    list-style:none;
    padding:0;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-links a{

    color:#ddd;
    text-decoration:none;
    transition:.3s;

}

.footer-links a:hover{

    color:var(--primary);
    padding-left:5px;

}

.footer p{

    color:#ddd;
    line-height:1.8;

}

.footer p i{

    color:var(--primary);
    margin-right:10px;

}

.footer a{

    color:#ddd;
    text-decoration:none;

}

.footer a:hover{

    color:var(--primary);

}

.footer-line{

    margin:40px 0 20px;
    border-color:rgba(255,255,255,.1);

}

.copyright{

    margin:0;
    color:#aaa;

}

/* ==========================================
        CONTACT FORM STYLING
========================================== */

.contact-form{

    background:#fff;
    padding:45px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    border-top:5px solid var(--primary);

}

.contact-form h3{

    margin-bottom:30px;

}

.contact-form .form-control{

    border:2px solid #ececec;
    border-radius:12px;
    padding:15px 18px;
    font-size:16px;
    transition:0.3s;
    box-shadow:none;

}

.contact-form .form-control:focus{

    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(244,81,30,.15);

}

.contact-form textarea{

    resize:none;

}

.contact-form .btn{

    width:100%;
    padding:15px;
    font-size:18px;
    font-weight:600;
    border-radius:12px;
    transition:0.3s;

}

.contact-form .btn:hover{

    transform:translateY(-3px);

}

.contact-form input::placeholder,
.contact-form textarea::placeholder{

    color:#999;

}

/* ===========================
   FORM VALIDATION STYLES
=========================== */

.field-error {
    display: block;
    color: #dc3545;
    font-size: 12.5px;
    font-weight: 500;
    margin-top: 5px;
    min-height: 18px;
    line-height: 1.4;
}

.field-error:empty {
    min-height: 0;
    margin-top: 0;
}

.form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.12) !important;
}

.form-control.is-valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.10) !important;
}

/* Phone input */
.phone-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
}

.phone-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(244,81,30,.15);
}

.phone-input-wrap.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.12) !important;
}

.phone-input-wrap.is-valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.10) !important;
}

.phone-prefix {
    padding: 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    background: #f3f4f6;
    border-right: 2px solid #ececec;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    user-select: none;
}

.phone-input {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: 1;
}

/* Select dropdown styled */
.form-select-styled {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px !important;
    cursor: pointer;
    color: #999;
}

.form-select-styled option:not([value=""]) {
    color: var(--secondary);
}

.form-select-styled.selected {
    color: var(--secondary);
}

/* ===========================
   SCROLL POPUP STYLES
=========================== */

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 35, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-box {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    border-top: 5px solid var(--primary);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s ease;
    scrollbar-width: thin;
}

.popup-overlay.active .popup-box {
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #555;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.25s;
    z-index: 2;
}

.popup-close:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg);
}

.popup-header {
    text-align: center;
}

.popup-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), #ff7043);
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(244,81,30,0.35);
}

/* Popup form inherits contact-form field styles */
.popup-box .form-control {
    border: 2px solid #ececec;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 15px;
    transition: 0.3s;
    box-shadow: none;
    font-family: 'Poppins', sans-serif;
}

.popup-box .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(244,81,30,.15);
}

.popup-box textarea {
    resize: none;
}

/* ===========================
        MOBILE OPTIMIZATION
=========================== */

@media (max-width: 768px) {

    /* Navbar */
    .custom-navbar{
        padding:12px 0;
    }

    .navbar-brand img{
        height:48px;
    }

    /* Hero */

    .hero{
        min-height:100vh;
        text-align:left;
    }

    .hero h5{
        font-size:16px;
    }

    .hero h1{
        font-size:52px;
        line-height:1.1;
    }

    .hero h2{
        font-size:24px;
    }

    .hero-text{
        font-size:17px;
        line-height:1.8;
    }

    .hero .btn{
        width:100%;
        margin-bottom:15px;
    }

    /* Sections */

    .about,
    .services,
    .projects,
    .testimonials,
    .contact{
        padding:70px 0;
    }

    /* Stats */

    .stats{
        margin-top:-40px;
    }

    .stat-box{
        padding:25px 15px;
    }

    .stat-box h2{
        font-size:32px;
    }

    /* Cards */

    .service-card,
    .why-card,
    .testimonial-card,
    .contact-form,
    .contact-info{
        padding:25px;
    }

    /* Images */

    .project-card img{
        height:230px;
    }

    /* Footer */

    .footer{
        text-align:center;
    }

    /* Popup responsive */
    .popup-box {
        padding: 28px 20px;
        border-radius: 18px;
    }
}
