/* ==========================================
        NEW DEX INDUSTRY
            CUSTOMIZE PAGE
========================================== */

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

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

body{
    font-family:'Poppins',sans-serif;
    background:#faf9f6;
    color:#222;
    overflow-x:hidden;
}

/* ===========================
      HEADER
=========================== */

header{
    width:100%;
    position:sticky;
    top:0;
    z-index:999;
    background:#14532d;
    box-shadow:0 5px 20px rgba(0,0,0,.12);
}

.navbar{
    width:90%;
    max-width:1400px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo img{
    width:180px;
    transition:.3s;
}

.logo img:hover{
    transform:scale(1.05);
}

.nav-links{
    display:flex;
    align-items:center;
    list-style:none;
    gap:35px;
}

.nav-links li{
    list-style:none;
}

.nav-links a{
    color:#fff;
    text-decoration:none;
    font-size:17px;
    font-weight:500;
    transition:.3s;
    position:relative;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:#d4af37;
    transition:.3s;
}

.nav-links a:hover::after{
    width:100%;
}

.nav-links a:hover{
    color:#d4af37;
}

.nav-links .active{
    color:#d4af37;
}

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

.customize-hero{
    background:linear-gradient(135deg,#14532d,#1a6b3a);
    background-size:cover;
    background-position:center;
    text-align:center;
    color:#fff;
    padding:120px 20px;
}

.customize-hero h1{
    font-size:56px;
    margin-bottom:20px;
    font-weight:700;
}

.customize-hero p{
    font-size:18px;
    max-width:750px;
    margin:auto;
    line-height:1.8;
    color:#f3f3f3;
}

/* ===========================
      WHY CUSTOMIZE CARDS
=========================== */

.customize-why{
    width:90%;
    max-width:1400px;
    margin:80px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.why-card{
    background:#fff;
    padding:35px 25px;
    text-align:center;
    border-radius:18px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.35s;
}

.why-card:hover{
    transform:translateY(-10px);
    background:#14532d;
}

.why-card h2{
    color:#14532d;
    margin-bottom:14px;
    font-size:23px;
    transition:.3s;
}

.why-card p{
    color:#666;
    line-height:1.7;
    transition:.3s;
}

.why-card:hover h2,
.why-card:hover p{
    color:#fff;
}

/* ===========================
      CUSTOMIZE FORM
=========================== */

.customize-section{
    width:90%;
    max-width:900px;
    margin:20px auto 90px;
}

.customize-form{
    background:#fff;
    padding:50px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.customize-form h2{
    text-align:center;
    color:#14532d;
    margin-bottom:12px;
    font-size:38px;
}

.form-subtext{
    text-align:center;
    color:#777;
    margin-bottom:30px;
    font-size:15px;
    line-height:1.6;
}

.customize-form form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.customize-form input,
.customize-form select,
.customize-form textarea{
    width:100%;
    padding:16px 20px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    outline:none;
    transition:.3s;
    font-family:'Poppins',sans-serif;
    background:#fff;
    color:#222;
}

.customize-form input:focus,
.customize-form select:focus,
.customize-form textarea:focus{
    border-color:#14532d;
    box-shadow:0 0 8px rgba(20,83,45,.2);
}

.customize-form textarea{
    resize:none;
}

.field-label{
    font-size:15px;
    font-weight:600;
    color:#14532d;
    margin-bottom:-8px;
}

.checkbox-group{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    background:#faf9f6;
    border:1px solid #eee;
    border-radius:10px;
    padding:16px 20px;
}

.checkbox-group label{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:15px;
    color:#333;
    cursor:pointer;
}

.checkbox-group input[type="checkbox"]{
    width:auto;
    accent-color:#14532d;
}

.customize-form button{
    background:#14532d;
    color:#fff;
    border:none;
    padding:16px;
    font-size:17px;
    font-weight:600;
    border-radius:10px;
    cursor:pointer;
    transition:.35s;
}

.customize-form button:hover{
    background:#d4af37;
    color:#14532d;
}

.customize-form button:disabled{
    opacity:.6;
    cursor:not-allowed;
}

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

footer{
    background:#14532d;
    color:#fff;
    margin-top:0;
}

.footer-container{
    width:90%;
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:50px;
    padding:70px 0;
}

.footer-logo img{
    width:180px;
    margin-bottom:20px;
}

.footer-logo p{
    color:#ddd;
    line-height:1.8;
}

.footer-links{
    display:flex;
    flex-direction:column;
}

.footer-links h3,
.footer-contact h3{
    color:#d4af37;
    margin-bottom:20px;
    font-size:22px;
}

.footer-links a{
    color:#ddd;
    text-decoration:none;
    margin-bottom:12px;
    transition:.3s;
}

.footer-links a:hover{
    color:#d4af37;
    padding-left:8px;
}

.footer-contact p{
    color:#ddd;
    margin-bottom:12px;
    line-height:1.8;
}

.copyright{
    text-align:center;
    padding:20px;
    border-top:1px solid rgba(255,255,255,.15);
    color:#ccc;
    font-size:15px;
}

/* ===========================
      ANIMATION
=========================== */

.customize-hero,
.customize-why,
.customize-section,
footer{
    animation:fadeUp .8s ease;
}

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

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

@media(max-width:992px){

.nav-links{
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
}

.customize-hero h1{
    font-size:40px;
}

.customize-form{
    padding:35px;
}

.footer-container{
    grid-template-columns:1fr;
    text-align:center;
}

.footer-links{
    align-items:center;
}

}

@media(max-width:768px){

.customize-hero{
    padding:90px 20px;
}

.customize-hero h1{
    font-size:32px;
}

.customize-hero p{
    font-size:16px;
}

.form-row{
    grid-template-columns:1fr;
}

.customize-form{
    padding:25px;
}

.customize-form h2{
    font-size:28px;
}

.why-card{
    padding:30px 20px;
}

.footer-logo img{
    margin:auto auto 20px;
}

}

@media(max-width:480px){

.nav-links{
    flex-direction:column;
    gap:15px;
}

.customize-form input,
.customize-form select,
.customize-form textarea{
    padding:14px;
}

.customize-form button{
    padding:14px;
}

.checkbox-group{
    flex-direction:column;
    gap:12px;
}

}

/*==========================================
        MOBILE HAMBURGER MENU
==========================================*/

.menu-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:6px;
    cursor:pointer;
    z-index:1001;
}

.menu-toggle span{
    width:30px;
    height:3px;
    background:#fff;
    border-radius:2px;
    transition:.3s;
}

.menu-toggle.active span:nth-child(1){
    transform:rotate(45deg) translate(7px,7px);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:rotate(-45deg) translate(7px,-7px);
}

@media(max-width:992px){

    .navbar{
        position:relative;
    }

    .menu-toggle{
        display:flex;
    }

    .nav-links{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#14532d;
        flex-direction:column;
        align-items:center;
        gap:0;
        max-height:0;
        overflow:hidden;
        transition:.4s;
    }

    .nav-links.active{
        max-height:600px;
        padding:15px 0;
        box-shadow:0 15px 25px rgba(0,0,0,.2);
    }

    .nav-links li{
        width:100%;
        text-align:center;
    }

    .nav-links a{
        display:block;
        padding:14px 0;
    }

}
