/* =====================================================
   ROOT CONFIGURATION (EDIT ONLY HERE)
===================================================== */
:root{
  --page-width:1200px;
  --sidebar-width:240px;

  --primary:#f97316;
  --primary-dark:#ea580c;
  --primary-soft:rgba(249,115,22,.12);

  --bg:#e4e3e3; /* ✅ UPDATED */
  --card:#ffffff;

  --border:#e5e7eb;
  --border-soft:#edf0f5;

  --text:#111827;
  --text-muted:#6b7280;

  --radius:12px;
  --radius-sm:8px;

  --shadow-sm:0 4px 12px rgba(0,0,0,.05);
  --shadow:0 12px 32px rgba(0,0,0,.08);
}

/* =====================================================
   GLOBAL RESET
===================================================== */
*,
*::before,
*::after{
  box-sizing:border-box;
}

html,body{
  width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
}

a{color:var(--primary);text-decoration:none}
a:hover{color:var(--primary-dark)}

h1,h2,h3,h4,h5{font-weight:800}
p{color:var(--text-muted)}

/* =====================================================
   SIDEBAR
===================================================== */
body.has-sidebar{
  padding-left:var(--sidebar-width);
}

.sidebar{
  position:fixed;
  top:0;
  left:0;
  width:var(--sidebar-width);
  height:100%;
  background:#111827;
  z-index:1030;
  overflow-y:auto;
}

.sidebar-brand{
  padding:18px;
  text-align:center;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.sidebar-brand img{
  max-height:50px;
  filter:brightness(0) invert(1); /* white logo */
}

.sidebar-menu{
  list-style:none;
  margin:0;
  padding:10px 0;
}

.sidebar-menu li a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 20px;
  color:#9ca3af;
  font-weight:600;
}

.sidebar-menu li.active>a,
.sidebar-menu li a:hover{
  background:#020617;
  color:#fff;
}

/* =====================================================
   CONTENT WRAPPER (ALL PAGES)
===================================================== */
.container,
.container-fluid,
#content,
.content,
.main-content,
.page-wrapper,
.wrapper,
.child-panel,
.childpanel{
  max-width:var(--page-width);
  margin-left:auto;
  margin-right:auto;
  padding:20px;
}

/* Kill PerfectPanel forced centering */
.container-fluid > .container,
.child-panel .container,
.child-panel .container-fluid{
  max-width:100%;
  margin:0;
  padding:0;
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar{
  background:#e4e3e3;
  border:none;
  box-shadow:var(--shadow-sm);
  min-height:50px;
}

.navbar > .container-fluid{
  max-width:var(--page-width);
  margin:0 auto;
  padding:0 20px;
}

.navbar-brand img{max-height:50px}

.navbar-nav>li>a{
  font-weight:600;
  color:#374151;
  line-height:50px;
  padding:0 12px;
}

.navbar-nav>.active>a,
.navbar-nav>li>a:hover{
  background:transparent;
  color:var(--primary);
}

.navbar-nav.navbar-right{
  display:flex;
  align-items:center;
}

/* =====================================================
   CARDS / PANELS
===================================================== */
.panel,
.well,
.card,
.box,
.order-form,
.ticket-message,
.service-item{
  background:var(--card);
  border-radius:var(--radius);
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-sm);
  width:100%;
}

.panel-heading{
  background:transparent;
  border-bottom:1px solid var(--border-soft);
  font-weight:700;
  padding:14px 18px;
}


/* =====================================================
   HERO + AUTH SECTION – FLAT CLEAN
   Bootstrap 3.3.7
===================================================== */

.hero-auth{
  background:#e4e3e3;
  padding:90px 0;
  overflow:hidden;
}

/* FLEX ALIGN */
.hero-auth .row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
}

/* ===============================
   LEFT CONTENT
================================ */
.hero-left{
  color:#000;
}

.hero-title{
  font-size:42px;
  font-weight:800;
  line-height:1.2;
  margin-bottom:18px;
  color:#000;
}

.hero-text{
  font-size:16px;
  line-height:1.7;
  max-width:480px;
  margin-bottom:30px;
  color:#000;
}

/* ===============================
   LOGIN FORM – NO BOX
================================ */
.hero-login-form{
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0;
}

/* INPUTS */
.hero-input{
  height:46px;
  border-radius:8px;
  border:1px solid #cfcfcf;
  background:#fff;
  font-size:14px;
  color:#000;
}

.hero-input:focus{
  border-color:#111;
  box-shadow:none;
}

.hero-input::placeholder{
  color:#666;
}

/* ===============================
   OPTIONS
================================ */
.hero-options{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:14px 0;
  font-size:13px;
}

.hero-options label{
  color:#000;
  font-weight:500;
}

/* LINKS */
.hero-link{
  color:#000;
  font-weight:600;
}

.hero-link:hover{
  text-decoration:underline;
}

/* ===============================
   BUTTON
================================ */
.hero-btn{
  background:#fff;
  border:none;
  color:#000;
  font-weight:700;
  padding:12px;
  border-radius:8px;
  font-size:15px;
  margin-top:10px;
}

.hero-btn:hover{
  background:#8c8989;
}

/* ===============================
   ALERTS
================================ */
.hero-login-form .alert{
  border-radius:8px;
}

/* ===============================
   GOOGLE LOGIN
================================ */
.hero-google{
  margin-top:15px;
}

/* ===============================
   SIGNUP TEXT
================================ */
.hero-signup{
  margin-top:16px;
  font-size:13px;
  color:#000;
}

.hero-signup a{
  color:#000;
  font-weight:700;
  text-decoration:underline;
}
/* H1 – FORCE SINGLE LINE */
.hero-title{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* P – FORCE TWO LINES */
.hero-text{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ===============================
   RIGHT IMAGE
================================ */
.hero-right{
  text-align:center;
}

.hero-image-box img{
  max-width:80%;
  height:auto;
}

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

/* TABLET */
@media (max-width:991px){
  .hero-auth{
    padding:70px 0;
  }

  .hero-title{
    font-size:34px;
  }

  .hero-text{
    max-width:100%;
  }

  .hero-right{
    margin-top:40px;
  }
}

/* MOBILE */
@media (max-width:767px){
  .hero-auth{
    padding:60px 0;
    text-align:center;
  }

  .hero-auth .row{
    display:block;
  }

  .hero-title{
    font-size:28px;
  }

  .hero-text{
    font-size:15px;
  }

  .hero-options{
    flex-direction:column;
    gap:10px;
  }

  .hero-right{
    margin-top:30px;
  }
}

/* EXTRA SMALL */
@media (max-width:480px){
  .hero-title{
    font-size:24px;
  }

  .hero-input{
    margin-bottom:10px;
  }
}

/* ===============================
   RTL SUPPORT
================================ */
.rtl-form{
  direction:rtl;
  text-align:right;
}








/* =====================================================
   TABLES
===================================================== */
.table,
.table-responsive{
  width:100%;
  background:#fff;
  border-radius:var(--radius);
}

.table>thead>tr>th{
  background:#f9fafb;
  font-weight:700;
}

/* =====================================================
   FORMS
===================================================== */
form{width:100%}

.form-control{
  height:44px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
}

.form-control:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 3px var(--primary-soft);
}

label{font-weight:600}

/* =====================================================
   BUTTONS
===================================================== */
.btn{
  border-radius:var(--radius-sm);
  font-weight:700;
  padding:10px 16px;
}

.btn-primary{
  background:var(--primary);
  border-color:var(--primary);
}

.btn-primary:hover{
  background:var(--primary-dark);
}

/* =====================================================
   ALERTS
===================================================== */
.alert{
  border:none;
  border-radius:var(--radius-sm);
  box-shadow:var(--shadow-sm);
}

/* =====================================================
   CODE / API
===================================================== */
pre,code{
  background:#020617;
  color:#e5e7eb;
  border-radius:10px;
  padding:12px;
}

/* =====================================================
   MOBILE
===================================================== */
@media(max-width:768px){
  body.has-sidebar{
    padding-left:0;
  }

  .sidebar{
    left:-240px;
  }

  body.sidebar-open .sidebar{
    left:0;
  }

  .container,
  .container-fluid,
  .child-panel{
    max-width:100%;
    padding:15px;
  }

  .navbar > .container-fluid{
    padding:0 15px;
  }
}



/* =====================================================
   GLOBAL SECTION SYSTEM
===================================================== */

.section-padding{
  padding:90px 0;
}

.section-desc,
.section-subtitle{
  max-width:760px;
  margin:0 auto;
  font-size:15px;
  color:#6b7280;
  line-height:1.75;
}

.mb-40{margin-bottom:48px}

/* =====================================================
   GRID SPACING (IMPORTANT)
===================================================== */

/* Add safe gutter spacing without breaking Bootstrap 3 */
.section-padding .row{
  margin-left:-15px;
  margin-right:-15px;
}

.section-padding [class*="col-"]{
  padding-left:15px;
  padding-right:15px;
  margin-bottom:36px; /* ✅ SPACE BETWEEN BOX ROWS */
}

/* =====================================================
   BORDER BOX – CORE COMPONENT
===================================================== */

.border-box{
  position:relative;
  background:#ffffff;
  border-radius:12px;
  padding:32px 26px; /* ✅ more inner space */
  border:1px solid #edf0f5;
  box-shadow:0 8px 24px rgba(0,0,0,0.06);
  transition:all .3s ease;
  height:100%;
}

/* Top gradient accent */
.border-box:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#f97316,#facc15);
  border-radius:12px 12px 0 0;
}

.border-box:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 44px rgba(0,0,0,0.14);
  border-color:#f97316;
}

/* =====================================================
   ICON SYSTEM
===================================================== */

.box-icon,
.icon-circle{
  width:54px;
  height:54px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ffffff;
  font-size:22px;
  margin-bottom:20px;
  background:linear-gradient(135deg,#f97316,#facc15);
  box-shadow:0 6px 18px rgba(249,115,22,0.45);
}

/* Platform gradients */
.gradient-instagram{background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af)}
.gradient-youtube{background:linear-gradient(135deg,#ff0000,#cc0000)}
.gradient-tiktok{background:linear-gradient(135deg,#000000,#25f4ee)}
.gradient-facebook{background:linear-gradient(135deg,#1877f2,#0f5bd8)}
.gradient-twitter{background:linear-gradient(135deg,#000000,#1d9bf0)}
.gradient-telegram{background:linear-gradient(135deg,#229ed9,#1c88c7)}

/* =====================================================
   BOX TEXT
===================================================== */

.border-box h4{
  font-size:18px;
  font-weight:700;
  margin-bottom:12px;
  color:#111827;
}

.border-box p{
  font-size:14px;
  line-height:1.7;
  color:#6b7280;
  margin:0;
}

/* =====================================================
   EQUAL HEIGHT FIX (BOOTSTRAP 3)
===================================================== */

.row.flex-row{
  display:flex;
  flex-wrap:wrap;
}

.row.flex-row > [class*="col-"]{
  display:flex;
}

.row.flex-row .border-box{
  width:100%;
}

/* Mobile reset */
@media(max-width:767px){
  .row.flex-row{
    display:block;
  }
  .row.flex-row > [class*="col-"]{
    display:block;
  }
}

/* =====================================================
   HOW IT WORKS (4 BOX)
===================================================== */

.how-it-works .row{
  display:flex;
  flex-wrap:wrap;
}

.how-it-works [class*="col-"]{
  display:flex;
}

/* =====================================================
   WHY CHOOSE (6 BOX)
===================================================== */

.why-choose .row{
  display:flex;
  flex-wrap:wrap;
}

.why-choose [class*="col-"]{
  display:flex;
}

/* FAQ SECTION */
.faq-section .section-desc{
  max-width:760px;
  margin:0 auto 40px;
}

/* FAQ PANEL */
.faq-panel{
  border:1px solid #e5e7eb;
  border-radius:12px;
  margin-bottom:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
  overflow:hidden;
}

.faq-panel .panel-heading{
  background:#fff;
  padding:16px 20px;
}

.faq-panel .panel-title a{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:700;
  color:#111827;
  text-decoration:none;
}

.faq-panel .panel-body{
  padding:18px 20px;
  color:#6b7280;
  line-height:1.65;
}

/* ICON */
.faq-icon{
  width:28px;
  height:28px;
  border-radius:50%;
  background:linear-gradient(135deg,#f97316,#facc15);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}
/* =====================================================
   FAQ SECTION – 2 COLUMN DESKTOP LAYOUT
   Bootstrap 3.3.7 SAFE
===================================================== */

/* Desktop: 2 columns */
@media (min-width: 992px){
  .faq-accordion{
    column-count: 2;
    column-gap: 30px;
  }

  .faq-accordion .faq-panel{
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* Mobile & Tablet: single column */
@media (max-width: 991px){
  .faq-accordion{
    column-count: 1;
  }
}

/* TOGGLE ICON SWITCH */
.panel-title .fa-minus{display:none}
.panel-title a:not(.collapsed) .fa-minus{display:inline}
.panel-title a:not(.collapsed) .fa-plus{display:none}

/* =====================================================
   CLIENT REVIEWS
===================================================== */

.review-box{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:32px 26px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
  transition:all .3s ease;
}

.review-box:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 50px rgba(0,0,0,.1);
}

.review-stars{
  color:#facc15;
  margin-bottom:14px;
  font-size:16px;
}

.review-text{
  font-size:14px;
  color:#374151;
  line-height:1.75;
  margin-bottom:18px;
}

.review-author strong{
  display:block;
  font-weight:800;
  color:#111827;
}

.review-author span{
  font-size:13px;
  color:#6b7280;
}

/* =====================================================
   PAYMENT METHODS
===================================================== */

.payment-box{
  padding:16px 0;
  margin-bottom:24px;
}

.payment-box img{
  max-height:56px;
  margin:0 auto 10px auto;
}

.payment-box p{
  font-size:14px;
  color:#374151;
  margin-top:8px;
  font-weight:600;
}

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

.footer-section{
  background:#edf8fd;
  color:#cbd5e1;
  padding:80px 0 30px;
}

.footer-title{
  font-size:16px;
  font-weight:800;
  color:#263138;
  margin-bottom:18px;
}

.footer-widget p{
  font-size:14px;
  line-height:1.75;
  color:#94a3b8;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links li{
  margin-bottom:12px;
}

.footer-links a{
  font-size:14px;
  color:#94a3b8;
  transition:all .25s ease;
}

.footer-links a:hover{
  color:#f97316;
  padding-left:6px;
  text-decoration:none;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:48px;
  padding-top:22px;
  text-align:center;
}

.footer-bottom p{
  font-size:13px;
  color:#94a3b8;
}
/* =====================================================
   COUNTER SECTION – TOTALS (FIXED MOBILE GRID)
===================================================== */

.counter-section{
  background:#ffffff;
}

.counter-row{
  display:flex;
  flex-wrap:wrap;
}

/* Each column becomes a flex item */
.counter-row > [class*="col-"]{
  display:flex;
}

/* CARD */
.counter-box{
  background:#ffffff;
  border:1px solid #edf0f5;
  border-radius:12px;
  padding:36px 20px;
  text-align:center;
  width:100%;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  transition:all .3s ease;
}

.counter-box:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 45px rgba(0,0,0,.12);
  border-color:#f97316;
}

/* ICON */
.counter-icon{
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:24px;
  margin:0 auto 18px;
  background:linear-gradient(135deg,#f97316,#facc15);
  box-shadow:0 6px 18px rgba(249,115,22,.4);
}

/* NUMBER */
.counter-number{
  font-size:34px;
  font-weight:800;
  color:#111827;
  margin-bottom:6px;
}

/* LABEL */
.counter-box p{
  font-size:14px;
  font-weight:600;
  color:#6b7280;
  margin:0;
}

/* ===============================
   RESPONSIVE GRID FIX
================================ */

/* Tablet & Mobile → 2 columns */
@media (max-width: 991px){
  .counter-row > .col-md-3{
    width:50%;
    float:left;
  }
}

/* Small Mobile polish */
@media (max-width: 768px){
  .counter-box{
    padding:30px 18px;
  }

  .counter-number{
    font-size:28px;
  }

  .counter-row > .col-md-3{
    margin-bottom:20px;
  }
}

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

@media(max-width:768px){
  .section-padding{padding:64px 0}
  .border-box{padding:26px 22px}
  .section-padding [class*="col-"]{margin-bottom:28px}
  .footer-section{text-align:center}
}
