
/* =========================================
   AM Digital Studio
   order.css - Part 1
   Reset + Global + Navbar
========================================= */

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


/* ===========================
   Reset
=========================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

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

    background:#f7f9fc;

    color:#111;

    overflow-x:hidden;

    line-height:1.7;

}


/* ===========================
   Variables
=========================== */

:root{

    --primary:#1677ff;

    --primary-dark:#005fe0;

    --white:#ffffff;

    --black:#111111;

    --gray:#666666;

    --border:#e8e8e8;

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

    --radius:20px;

}


/* ===========================
   Global
=========================== */

.container{

    width:min(92%,1200px);

    margin:auto;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

img{

    max-width:100%;

    display:block;

}


/* ===========================
   Header
=========================== */

.navbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    height:85px;

    background:#ffffff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 5%;

    z-index:9999;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.logo a{

    font-size:1.8rem;

    font-weight:800;

    color:var(--primary);

}

.nav-links{

    display:flex;

    gap:35px;

}

.nav-links a{

    font-weight:600;

    transition:.3s;

}

.nav-links a:hover{

    color:var(--primary);

}

.menu-toggle{

    display:none;

    flex-direction:column;

    cursor:pointer;

}

.menu-toggle span{

    width:28px;

    height:3px;

    background:#111;

    margin:3px;

    border-radius:20px;

}
/* =========================================
   order.css - Part 2
   Hero + Progress
========================================= */


/* ===========================
   Hero Section
=========================== */

.order-hero{

    padding:150px 0 70px;

    background:linear-gradient(135deg,#1677ff,#4aa3ff);

    color:#ffffff;

    text-align:center;

}

.order-hero h1{

    font-size:clamp(2.8rem,6vw,4.5rem);

    font-weight:800;

    margin-bottom:20px;

}

.order-hero p{

    max-width:760px;

    margin:auto;

    font-size:1.1rem;

    opacity:.95;

    line-height:1.8;

}


/* ===========================
   Order Progress
=========================== */

.order-progress{

    padding:70px 0;

    background:#ffffff;

}

.progress-wrapper{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

}


/* Step */

.step{

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

}


/* Number */

.step-number{

    width:60px;

    height:60px;

    border-radius:50%;

    background:#e5e7eb;

    color:#666;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    font-weight:700;

    transition:.35s;

}


/* Active */

.step.active .step-number{

    background:var(--primary);

    color:#ffffff;

    box-shadow:0 10px 25px rgba(22,119,255,.35);

}

.step span{

    margin-top:12px;

    font-weight:600;

    color:#555;

}


/* Progress Line */

.progress-line{

    width:100px;

    height:4px;

    background:#dcdcdc;

    border-radius:100px;

}


/* Responsive */

@media(max-width:768px){

    .progress-wrapper{

        flex-direction:column;

        gap:25px;

    }

    .progress-line{

        width:4px;

        height:50px;

    }

}
/* =========================================
   order.css - Part 3
   Order Form
========================================= */


/* ===========================
   Order Section
=========================== */

.order-section{

    padding:80px 0;

    background:#f7f9fc;

}


/* Grid */

.order-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:40px;

    align-items:flex-start;

}


/* ===========================
   Form Card
=========================== */

.order-form{

    background:#ffffff;

    padding:40px;

    border-radius:20px;

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

}

.order-form h2{

    font-size:2rem;

    margin-bottom:30px;

    color:#111111;

}


/* ===========================
   Input Groups
=========================== */

.input-group{

    margin-bottom:25px;

}

.input-group label{

    display:block;

    margin-bottom:10px;

    font-size:.95rem;

    font-weight:600;

    color:#333333;

}


/* ===========================
   Inputs
=========================== */

.input-group input,

.input-group textarea,

.input-group select{

    width:100%;

    padding:16px 18px;

    border:2px solid #e5e7eb;

    border-radius:12px;

    background:#ffffff;

    font-size:16px;

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

    transition:.3s ease;

    outline:none;

}


/* Focus */

.input-group input:focus,

.input-group textarea:focus,

.input-group select:focus{

    border-color:#1677ff;

    box-shadow:0 0 0 4px rgba(22,119,255,.12);

}


/* Textarea */

.input-group textarea{

    resize:vertical;

    min-height:170px;

}


/* Placeholder */

.input-group input::placeholder,

.input-group textarea::placeholder{

    color:#9ca3af;

}


/* Readonly */

input[readonly]{

    background:#f3f4f6;

    cursor:not-allowed;

}


/* ===========================
   Responsive
=========================== */

@media(max-width:992px){

    .order-grid{

        grid-template-columns:1fr;

    }

    .order-form{

        padding:30px;

    }

}
/* =========================================
   order.css - Part 4
   Service Details + File Upload
========================================= */


/* ===========================
   Service Details Card
=========================== */

.service-details{

    background:#ffffff;

    padding:40px;

    border-radius:20px;

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

}

.service-details h2{

    font-size:2rem;

    color:#111111;

    margin-bottom:30px;

}


/* ===========================
   Readonly Inputs
=========================== */

.service-details input[readonly]{

    background:#eef5ff;

    border:2px solid #1677ff;

    color:#1677ff;

    font-weight:600;

}


/* ===========================
   Select Box
=========================== */

.service-details select{

    cursor:pointer;

}




/* ===========================
   Notes
=========================== */

#notes{

    min-height:150px;

}


/* ===========================
   Hover Animation
=========================== */

.order-form,

.service-details{

    transition:.35s ease;

}

.order-form:hover,

.service-details:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 50px rgba(0,0,0,.12);

}
/* =========================================
   order.css - Part 5
   Order Summary + Coupon
========================================= */


/* ===========================
   Summary Section
=========================== */

.summary-section{

    padding:0 0 60px;

    background:#f7f9fc;

}

.summary-card{

    background:#ffffff;

    border-radius:20px;

    padding:35px;

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

    position:sticky;

    top:110px;

}

.summary-card h2{

    font-size:2rem;

    margin-bottom:30px;

    color:#111111;

}


/* ===========================
   Summary Items
=========================== */

.summary-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:16px 0;

    border-bottom:1px solid #ececec;

}

.summary-item span{

    color:#666666;

}

.summary-item strong{

    color:#111111;

    font-weight:700;

}


/* ===========================
   Total
=========================== */

.summary-total{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:25px;

}

.summary-total span{

    font-size:1.15rem;

    font-weight:700;

}

.summary-total strong{

    font-size:1.7rem;

    color:#1677ff;

    font-weight:800;

}


/* Divider */

.summary-card hr{

    margin:25px 0;

    border:none;

    height:1px;

    background:#e5e7eb;

}


/* ===========================
   Coupon Section
=========================== */

.coupon-section{

    padding:20px 0 80px;

    background:#f7f9fc;

}




/* Coupon Input */

.coupon-input{

    display:flex;

    gap:15px;

}

.coupon-input input{

    flex:1;

    padding:16px 18px;

    border:2px solid #e5e7eb;

    border-radius:12px;

    outline:none;

    transition:.3s;

}


/* ===========================
   Mobile
=========================== */

@media(max-width:768px){

  

    }

    .summary-card{

        position:static;

    }

}
/* =========================================
   order.css - Part 6
   Checkout Section
========================================= */


/* ===========================
   Checkout Section
=========================== */

.checkout-section{

    padding:0 0 90px;

    background:#f7f9fc;

}

.checkout-card{

    background:#ffffff;

    padding:40px;

    border-radius:20px;

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

}


/* ===========================
   Terms Box
=========================== */

.terms-box{

    margin-bottom:30px;

}

.checkbox{

    display:flex;

    align-items:flex-start;

    gap:15px;

    cursor:pointer;

    line-height:1.8;

}

.checkbox input{

    width:22px;

    height:22px;

    margin-top:3px;

    accent-color:#1677ff;

}

.checkbox span{

    color:#555;

    font-size:15px;

}

.checkbox a{

    color:#1677ff;

    font-weight:600;

}

.checkbox a:hover{

    text-decoration:underline;

}


/* ===========================
   Checkout Button
=========================== */

.checkout-btn{

    width:100%;

    border:none;

    outline:none;

    padding:18px;

    border-radius:14px;

    background:#1677ff;

    color:#ffffff;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.35s;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

}

.checkout-btn:hover{

    background:#005fe0;

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(22,119,255,.35);

}

.checkout-btn:active{

    transform:scale(.98);

}


/* ===========================
   Secure Payment
=========================== */

.secure-payment{

    margin-top:22px;

    text-align:center;

    color:#666;

    font-size:15px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

}

.secure-payment i{

    color:#16a34a;

    font-size:18px;

}


/* ===========================
   Disabled Button
=========================== */

.checkout-btn:disabled{

    background:#b7c7e8;

    cursor:not-allowed;

    transform:none;

    box-shadow:none;

}
/* =========================================
   order.css - Part 7
   Footer
========================================= */


/* ===========================
   Footer
=========================== */

footer{

    background:#111111;

    color:#ffffff;

    padding:80px 0 30px;

}


/* Grid */

.footer-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:45px;

}


/* Footer Box */

.footer-box h3{

    font-size:1.5rem;

    margin-bottom:18px;

    color:#ffffff;

}

.footer-box p{

    color:#cfcfcf;

    line-height:1.9;

    margin-bottom:12px;

}


/* Footer Links */

.footer-box a{

    display:block;

    color:#d6d6d6;

    margin:10px 0;

    transition:.3s ease;

}

.footer-box a:hover{

    color:#1677ff;

    padding-left:8px;

}


/* ===========================
   Social Icons
=========================== */

.social-text{

    color:#cfcfcf;

    margin-bottom:20px;

}

.social-icons{

    display:flex;

    flex-wrap:wrap;

    gap:14px;

}

.social-icons a{

    width:50px;

    height:50px;

    border-radius:50%;

    background:#1d1d1d;

    color:#ffffff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:20px;

    transition:.35s ease;

}

.social-icons a:hover{

    background:#1677ff;

    transform:translateY(-6px);

    box-shadow:0 10px 25px rgba(22,119,255,.35);

}


/* Divider */

footer hr{

    margin:50px 0 30px;

    border:none;

    height:1px;

    background:#2b2b2b;

}


/* Copyright */

.copyright{

    text-align:center;

    color:#bdbdbd;

    font-size:.95rem;

    line-height:1.9;

}


/* ===========================
   Mobile Footer
=========================== */

@media(max-width:768px){

    .footer-grid{

        grid-template-columns:1fr;

        text-align:center;

    }

    .social-icons{

        justify-content:center;

    }

}
/* =========================================
   order.css - Part 8
   Loading + Success Modal
========================================= */


/* ===========================
   Loading Overlay
=========================== */

.payment-loading{

    position:fixed;

    inset:0;

    background:rgba(255,255,255,.95);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    opacity:0;

    visibility:hidden;

    transition:.35s ease;

}

.payment-loading.active{

    opacity:1;

    visibility:visible;

}

.loading-box{

    text-align:center;

}

.loading-box h3{

    margin-top:25px;

    font-size:1.8rem;

    color:#111;

}

.loading-box p{

    margin-top:10px;

    color:#666;

}


/* Loader */

.loader{

    width:70px;

    height:70px;

    border:6px solid #e5e7eb;

    border-top:6px solid #1677ff;

    border-radius:50%;

    margin:auto;

    animation:spin 1s linear infinite;

}

@keyframes spin{

    100%{

        transform:rotate(360deg);

    }

}


/* ===========================
   Success Modal
=========================== */

.success-modal{

    position:fixed;

    inset:0;

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

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99998;

    opacity:0;

    visibility:hidden;

    transition:.35s ease;

}

.success-modal.active{

    opacity:1;

    visibility:visible;

}

.success-card{

    width:min(92%,500px);

    background:#ffffff;

    padding:45px;

    border-radius:22px;

    text-align:center;

    box-shadow:0 25px 60px rgba(0,0,0,.18);

    animation:popup .35s ease;

}


/* Success Icon */

.success-icon{

    width:90px;

    height:90px;

    margin:0 auto 20px;

    border-radius:50%;

    background:#16a34a;

    color:#ffffff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:42px;

}


/* Text */

.success-card h2{

    font-size:2rem;

    margin-bottom:15px;

    color:#111;

}

.success-card p{

    color:#666;

    line-height:1.8;

}


/* Buttons */

.success-buttons{

    display:flex;

    gap:15px;

    margin-top:35px;

}

.success-buttons button{

    flex:1;

}


/* Secondary Button */

.secondary-btn{

    border:2px solid #1677ff;

    background:transparent;

    color:#1677ff;

    padding:16px;

    border-radius:14px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.secondary-btn:hover{

    background:#1677ff;

    color:#ffffff;

}


/* Popup Animation */

@keyframes popup{

    from{

        opacity:0;

        transform:scale(.8);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}


/* ===========================
   Mobile
=========================== */

@media(max-width:600px){

    .success-buttons{

        flex-direction:column;

    }

}
/* =========================================
   order.css - Part 9
   Final Effects + Responsive
========================================= */


/* ===========================
   Progress Bar
=========================== */

.progress-bar{

    position:fixed;

    top:0;

    left:0;

    width:0;

    height:4px;

    background:linear-gradient(90deg,#1677ff,#4aa3ff);

    z-index:999999;

    transition:width .2s linear;

}


/* ===========================
   Back To Top
=========================== */

.back-to-top{

    position:fixed;

    right:25px;

    bottom:25px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#1677ff;

    color:#ffffff;

    font-size:22px;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:0 12px 30px rgba(22,119,255,.35);

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:.35s ease;

    z-index:999;

}

.back-to-top.show-top{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.back-to-top:hover{

    background:#005fe0;

    transform:translateY(-5px);

}


/* ===========================
   Page Fade
=========================== */

body{

    opacity:0;

    transition:opacity .45s ease;

}

body.page-loaded{

    opacity:1;

}


/* ===========================
   Utility Classes
=========================== */

.text-center{

    text-align:center;

}

.mt-20{

    margin-top:20px;

}

.mt-40{

    margin-top:40px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-40{

    margin-bottom:40px;

}

.hidden{

    display:none !important;

}


/* ===========================
   Prevent Drag
=========================== */

img{

    user-select:none;

    -webkit-user-drag:none;

}


/* ===========================
   Smooth Elements
=========================== */

button,
input,
textarea,
select,
a{

    transition:all .3s ease;

}


/* ===========================
   Responsive
=========================== */

@media(max-width:992px){

    .order-form,
    .service-details,
    .summary-card,
    .coupon-box,
    .checkout-card{

        padding:30px;

    }

}

@media(max-width:768px){

    .order-hero h1{

        font-size:2.5rem;

    }

    .order-hero p{

        font-size:1rem;

    }

    .order-form,
    .service-details,
    .summary-card,
    .coupon-box,
    .checkout-card{

        padding:25px;

    }

}

@media(max-width:480px){

    .logo a{

        font-size:1.5rem;

    }

    .order-hero{

        padding:130px 0 60px;

    }

    .order-hero h1{

        font-size:2rem;

    }

    .step-number{

        width:50px;

        height:50px;

        font-size:18px;

    }

    .summary-total strong{

        font-size:1.4rem;

    }

}

/* =========================================
   SOCIAL ICONS — SINGLE ROW
========================================= */

.social-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;

    gap: 16px;

    width: 100%;
    max-width: 100%;

    box-sizing: border-box;
}


.social-icons a {
    width: 58px;
    height: 58px;

    min-width: 58px;
    min-height: 58px;

    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    box-sizing: border-box;

    text-decoration: none;
}


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

@media (max-width: 600px) {

    .social-icons {
        gap: 9px;
    }

    .social-icons a {
        width: 46px;
        height: 46px;

        min-width: 46px;
        min-height: 46px;

        flex: 0 0 46px;
    }

}
/* =========================================
   MOBILE NAVBAR — FINAL
========================================= */

@media (max-width: 768px) {

    /* Navbar */
    .navbar {
        width: 94%;
        height: 72px;
        position: relative;
    }


    /* Logo */
    .logo {
        flex: 1;
        min-width: 0;
    }

    .logo a {
        display: block;

        font-size: 1.45rem;
        font-weight: 800;

        white-space: nowrap;

        line-height: 1;
        color: var(--primary);

        letter-spacing: -0.5px;
    }


    /* Hamburger */
    .menu-toggle {
        display: flex;

        width: 44px;
        height: 44px;

        align-items: center;
        justify-content: center;

        flex-direction: column;

        margin-left: 12px;

        cursor: pointer;

        border-radius: 10px;

        transition: .3s;
    }


    .menu-toggle:hover {
        background: #f1f6ff;
    }


    .menu-toggle span {
        display: block;

        width: 27px;
        height: 3px;

        margin: 3px 0;

        background: #111;

        border-radius: 20px;

        transition: .3s;
    }


    /* Hamburger animation */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

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


    /* Mobile Navigation */
    .nav-links {
        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        display: flex;

        flex-direction: column;

        gap: 0;

        background: #ffffff;

        padding: 10px 0;

        border-radius: 0 0 18px 18px;

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

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity .3s ease,
            transform .3s ease,
            visibility .3s ease;

        z-index: 9998;
    }


    /* Open menu */
    .nav-links.active {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }


    /* Menu items */
    .nav-links li {
        width: 100%;
    }


    .nav-links a {
        display: block;

        width: 100%;

        padding: 15px 22px;

        color: #222;

        font-size: 1rem;

        font-weight: 600;

        border-bottom: 1px solid #f0f0f0;
    }


    .nav-links li:last-child a {
        border-bottom: none;
    }


    .nav-links a:hover {
        color: var(--primary);

        background: #f5f9ff;
    }


    /* Remove desktop underline on mobile */
    .nav-links a::after {
        display: none;
    }

}
/* =========================================
   End of order.css
========================================= */
