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

/* ─── CSS VARIABLES ─────────────────────────── */
:root {
  --primary:      #1a2c4e;
  --primary-dark: #111d33;
  --accent:       #e8922a;
  --accent-dark:  #c97520;
  --white:        #ffffff;
  --light-bg:     #f7f8fc;
  --text-dark:    #1a1a2e;
  --text-gray:    #6c757d;
  --border:       #e4e7ed;
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.14);
  --radius:       10px;
  --radius-sm:    6px;
  --transition:   all 0.3s ease;
}

/* ─── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; font-size: 15px; color: var(--text-dark); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }

/* ─── PRELOADER ──────────────────────────────── */
.preloader { position: fixed; inset: 0; background: var(--white); z-index: 99999; display: flex; align-items: center; justify-content: center; }
.preloader .spinner { width: 48px; height: 48px; border: 4px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── TOP BAR ────────────────────────────────── */
.top-bar { background: var(--primary); color: var(--white); padding: 8px 0; font-size: 13px; }
.top-bar .top-contact a { color: var(--white); margin-right: 20px; opacity: 0.9; }
.top-bar .top-contact a:hover { opacity: 1; color: var(--accent); }
.top-bar .top-contact i { margin-right: 5px; color: var(--accent); }
.top-btn { background: var(--accent); color: var(--white); border: none; padding: 5px 16px; border-radius: 4px; font-size: 12px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.top-btn:hover { background: var(--accent-dark); }

/* ─── NAVBAR ─────────────────────────────────── */
.main-navbar { background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.navbar-brand img { height: 55px; }
.main-navbar .nav-link { font-size: 14px; font-weight: 500; color: var(--text-dark) !important; padding: 20px 14px !important; position: relative; }
.main-navbar .nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--accent); transition: var(--transition); }
.main-navbar .nav-link:hover::after, .main-navbar .nav-link.active::after { width: 70%; }
.main-navbar .nav-link:hover, .main-navbar .nav-link.active { color: var(--accent) !important; }
.btn-enquiry { background: var(--accent); color: var(--white) !important; padding: 10px 22px !important; border-radius: 5px; font-weight: 600; font-size: 13px !important; margin-left: 10px; }
.btn-enquiry:hover { background: var(--accent-dark) !important; color: var(--white) !important; }
.btn-enquiry::after { display: none !important; }
.navbar-toggler { border: 2px solid var(--primary); border-radius: 4px; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a2c4e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ─── PAGE BANNER ────────────────────────────── */
.page-banner { background: linear-gradient(135deg, var(--primary) 0%, #2d4a7a 100%); padding: 60px 0; text-align: center; }
.page-banner h1 { color: var(--white); font-size: 36px; font-weight: 700; margin-bottom: 10px; }
.breadcrumb-nav { color: rgba(255,255,255,0.7); font-size: 14px; }
.breadcrumb-nav a { color: var(--accent); }

/* ─── HERO ───────────────────────────────────── */
.hero-section { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: var(--primary); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26, 44, 78, 0.85) 0%, rgb(17 29 51 / 0%) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: 80px 20px; width: 100%; }
.hero-content h1 { font-size: clamp(32px,5vw,60px); font-weight: 800; line-height: 1.2; margin-bottom: 30px; }
.hero-content h1 span { color: var(--accent); }

.hero-search-box { background: var(--white); border-radius: 12px; padding: 24px 28px; max-width: 720px; margin: 0 auto 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.hero-search-box select { border: 2px solid var(--border); border-radius: 6px; padding: 12px 16px; font-size: 14px; width: 100%; color: var(--text-dark); background: var(--light-bg); transition: var(--transition); outline: none; font-family: 'Poppins',sans-serif; }
.hero-search-box select:focus { border-color: var(--accent); background: var(--white); }
.btn-search { background: var(--accent); color: var(--white); border: none; padding: 13px 30px; border-radius: 6px; font-weight: 600; font-size: 14px; cursor: pointer; width: 100%; transition: var(--transition); font-family: 'Poppins',sans-serif; }
.btn-search:hover { background: var(--accent-dark); }
.cat-btn { background: rgba(255,255,255,0.15); color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); padding: 7px 18px; border-radius: 25px; font-size: 13px; cursor: pointer; transition: var(--transition); font-family: 'Poppins',sans-serif; }
.cat-btn:hover, .cat-btn.active { background: var(--accent); border-color: var(--accent); }

/* ─── SECTIONS ───────────────────────────────── */
section { padding: 80px 0; }
.section-title { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.section-title span { color: var(--accent); }
.section-subtitle { color: var(--text-gray); font-size: 15px; margin-bottom: 50px; }
.section-divider { width: 55px; height: 3px; background: var(--accent); margin: 12px 0 16px; border-radius: 2px; }
.section-divider.mx-auto { margin-left: auto; margin-right: auto; }

/* ─── ABOUT ──────────────────────────────────── */
.about-section { background: var(--light-bg); }
.about-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); position: relative; }
.about-img::before { content: ''; position: absolute; top: -12px; right: -12px; width: 80%; height: 80%; border: 3px solid var(--accent); border-radius: var(--radius); z-index: -1; }
.about-img img { border-radius: var(--radius); width: 100%; }

/* ─── PROPERTY CARDS ─────────────────────────── */
.prop-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); transition: var(--transition); height: 100%; display: flex; flex-direction: column; }
.prop-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.prop-card-img { position: relative; overflow: hidden; height: 220px; flex-shrink: 0; }
.prop-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.prop-card:hover .prop-card-img img { transform: scale(1.06); }
.badge-forsale { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--white); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 4px; letter-spacing: 0.5px; text-transform: uppercase; z-index: 2; }
.badge-featured { position: absolute; top: 12px; right: 12px; background: var(--primary); color: var(--white); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; z-index: 2; }
.prop-card-body { padding: 18px 20px; flex: 1; overflow-y: auto; max-height: 220px; scrollbar-width: thin; scrollbar-color: var(--accent) var(--light-bg); }
.prop-card-body::-webkit-scrollbar { width: 4px; }
.prop-card-body::-webkit-scrollbar-track { background: var(--light-bg); border-radius: 10px; }
.prop-card-body::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }
.prop-card-body h5 { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 6px; line-height: 1.4; }
.prop-card-body h2 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.prop-location { color: var(--text-gray); font-size: 13px; margin-bottom: 6px; }
.prop-location i { color: var(--accent); margin-right: 5px; }
.prop-description { color: var(--text-gray); font-size: 13px; line-height: 1.6; margin-bottom: 15px; white-space: pre-line; }
.prop-card-footer { padding: 14px 20px; border-top: 1px solid var(--border); background: var(--light-bg); flex-shrink: 0; margin-top: auto; }

/* Carousel in card */
.prop-carousel { height: 220px; }
.prop-carousel .carousel-item { height: 220px; }
.prop-carousel .carousel-item img { width: 100%; height: 220px; object-fit: cover; }
.prop-carousel .carousel-control-prev,
.prop-carousel .carousel-control-next { width: 32px; height: 32px; background: rgba(0,0,0,0.5); border-radius: 50%; top: 50%; transform: translateY(-50%); opacity: 0; transition: var(--transition); }
.prop-card:hover .carousel-control-prev,
.prop-card:hover .carousel-control-next { opacity: 1; }
.prop-carousel .carousel-indicators { bottom: 5px; }
.prop-carousel .carousel-indicators button { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.7); border: none; }
.prop-carousel .carousel-indicators .active { background: var(--accent); }

/* ─── SERVICE CARDS ──────────────────────────── */
.service-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); height: 280px; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover img { transform: scale(1.08); }
.service-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,44,78,0.85) 0%, rgba(26,44,78,0.1) 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.service-card-overlay h6 { color: var(--white); font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.badge-service { display: inline-block; background: var(--accent); color: var(--white); font-size: 11px; padding: 3px 9px; border-radius: 3px; margin-right: 6px; }
.view-more-btn { color: var(--white); font-size: 12px; font-weight: 600; border: 1.5px solid rgba(255,255,255,0.6); padding: 5px 14px; border-radius: 4px; margin-top: 10px; display: inline-block; transition: var(--transition); }
.view-more-btn:hover { background: var(--accent); border-color: var(--accent); }

/* ─── LOCATION CARDS ─────────────────────────── */
.location-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 180px; cursor: pointer; transition: var(--transition); display: block; }
.location-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.location-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.location-card:hover img { transform: scale(1.08); }
.location-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,44,78,0.8) 0%, rgba(26,44,78,0.1) 70%); display: flex; align-items: flex-end; padding: 16px; }
.location-card-overlay h2 { color: var(--white); font-size: 18px; font-weight: 700; margin: 0; }

/* ─── WHY SECTION ────────────────────────────── */
.why-section { background: var(--primary); }
.why-section .section-title { color: var(--white); }
.feature-item { display: flex; gap: 15px; margin-bottom: 28px; }
.feature-icon { width: 48px; height: 48px; min-width: 48px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; }
.feature-text h5 { color: var(--white); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.feature-text p { color: rgba(255,255,255,0.7); font-size: 13px; margin: 0; line-height: 1.6; }

/* ─── SALE CARD ──────────────────────────────── */
.sale-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); transition: var(--transition); }
.sale-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.sale-card img { width: 100%; height: 200px; object-fit: cover; }
.sale-card-body { padding: 16px; }
.sale-card-body h5 { font-size: 13px; color: var(--text-gray); margin-bottom: 4px; }
.sale-card-body h2 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.sale-location { font-size: 12px; color: var(--text-gray); }

/* ─── BLOG CARD ──────────────────────────────── */
.blog-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); transition: var(--transition); display: flex; gap: 14px; padding: 14px; align-items: center; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }
.blog-card img { width: 80px; height: 70px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.blog-card h5 { font-size: 13px; font-weight: 600; color: var(--primary); line-height: 1.4; margin: 0; }

/* ─── BUTTONS ────────────────────────────────── */
.btn-primary-custom { background: var(--primary); color: var(--white); padding: 12px 28px; border-radius: 6px; font-weight: 600; font-size: 14px; border: 2px solid var(--primary); display: inline-block; transition: var(--transition); cursor: pointer; }
.btn-primary-custom:hover { background: transparent; color: var(--primary); }
.btn-accent { background: var(--accent); color: var(--white); padding: 12px 28px; border-radius: 6px; font-weight: 600; font-size: 14px; border: 2px solid var(--accent); display: inline-block; transition: var(--transition); cursor: pointer; }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-outline-accent { background: transparent; color: var(--accent); padding: 10px 22px; border-radius: 6px; font-weight: 600; font-size: 13px; border: 2px solid var(--accent); display: inline-block; transition: var(--transition); cursor: pointer; }
.btn-outline-accent:hover { background: var(--accent); color: var(--white); }

/* ─── GALLERY ────────────────────────────────── */
.gallery-grid { columns: 4 200px; gap: 12px; }
.gallery-item { break-inside: avoid; margin-bottom: 12px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; display: block; transition: var(--transition); }
.gallery-item:hover img { opacity: 0.85; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(26,44,78,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); color: var(--white); font-size: 24px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ─── CONTACT ────────────────────────────────── */
.contact-form-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.contact-info-card { background: var(--primary); border-radius: var(--radius); padding: 35px 30px; color: var(--white); height: 100%; }
.contact-info-card h4 { color: var(--white); margin-bottom: 25px; }
.contact-info-item { display: flex; gap: 15px; margin-bottom: 22px; align-items: flex-start; }
.ci-icon { width: 42px; height: 42px; min-width: 42px; background: rgba(255,255,255,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 16px; }
.ci-text h6 { color: var(--white); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.ci-text p { color: rgba(255,255,255,0.7); font-size: 13px; margin: 0; }

/* ─── FORM CONTROLS ──────────────────────────── */
.form-control-custom { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 6px; font-size: 14px; font-family: 'Poppins',sans-serif; color: var(--text-dark); background: var(--light-bg); transition: var(--transition); outline: none; }
.form-control-custom:focus { border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px rgba(232,146,42,0.12); }
.form-control-custom::placeholder { color: #aaa; }
label.form-label { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 6px; display: block; }
.gap-form { margin-bottom: 18px; }

/* ─── ALERTS ─────────────────────────────────── */
.success-alert { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; border-radius: 6px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
.error-alert { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; border-radius: 6px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }

/* ─── ENQUIRY MODAL ──────────────────────────── */
.enquiry-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.enquiry-modal-overlay.show { display: flex; }
.enquiry-modal-box { background: var(--white); border-radius: 14px; padding: 40px; width: 100%; max-width: 480px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.25); animation: modalIn 0.3s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.92) translateY(-20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.enquiry-modal-box h3 { color: var(--primary); font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.enquiry-modal-box p { color: var(--text-gray); font-size: 13px; margin-bottom: 24px; }
.modal-close-btn { position: absolute; top: 14px; right: 16px; background: var(--light-bg); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--text-dark); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.modal-close-btn:hover { background: #e74c3c; color: var(--white); }

/* ─── MOBILE OFFCANVAS ───────────────────────── */
.mobile-offcanvas { position: fixed; top: 0; right: -300px; width: 280px; height: 100%; background: var(--white); z-index: 9998; box-shadow: -5px 0 25px rgba(0,0,0,0.15); transition: right 0.35s ease; padding: 20px; overflow-y: auto; }
.mobile-offcanvas.open { right: 0; }
.mobile-offcanvas-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9997; display: none; }
.mobile-offcanvas-backdrop.show { display: block; }
.offcanvas-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.offcanvas-nav a { display: block; padding: 11px 0; color: var(--text-dark); font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--border); transition: var(--transition); }
.offcanvas-nav a:hover { color: var(--accent); padding-left: 8px; }
.offcanvas-close { background: none; border: 1.5px solid var(--border); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.offcanvas-close:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ─── FOOTER ─────────────────────────────────── */
.footer { background: var(--primary); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-logo { height: 50px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer h5 { color: var(--white); font-size: 17px; font-weight: 600; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 35px; height: 2px; background: var(--accent); }
.footer ul li a { color: rgba(255,255,255,0.7); font-size: 14px; padding: 4px 0; display: block; transition: var(--transition); }
.footer ul li a:hover { color: var(--accent); padding-left: 6px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13px; align-items: flex-start; }
.footer-contact-item i { color: var(--accent); font-size: 14px; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; margin-top: 40px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ─── SCROLL ANIMATIONS ──────────────────────── */
.fade-in { opacity: 0; transform: translateY(25px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.text-accent { color: var(--accent) !important; }

/* ─── IMAGE PREVIEW (upload) ─────────────────── */
.img-preview-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.img-preview-item { position: relative; width: 100px; height: 80px; border-radius: 6px; overflow: hidden; border: 2px solid var(--border); }
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.img-preview-item .remove-img { position: absolute; top: 3px; right: 3px; background: #e74c3c; color: #fff; border: none; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* =============================================
   ADMIN PANEL STYLES
   ============================================= */

/* ─── ADMIN LAYOUT ───────────────────────────── */
body.admin-body { background: #f0f2f8; }

/* Admin Login */
.admin-login-page { min-height: 100vh; background: linear-gradient(135deg, var(--primary) 0%, #2d4a7a 100%); display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin-login-box { background: var(--white); border-radius: 16px; padding: 50px 45px; width: 100%; max-width: 440px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.admin-login-box .logo { text-align: center; margin-bottom: 30px; }
.admin-login-box .logo img { height: 55px; }
.admin-login-box h2 { font-size: 24px; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 6px; }
.admin-login-box p { text-align: center; color: var(--text-gray); font-size: 13px; margin-bottom: 30px; }

/* Admin Wrapper */
.admin-wrapper { display: flex; min-height: 100vh; }

/* ─── SIDEBAR ────────────────────────────────── */
.admin-sidebar { width: 255px; min-width: 255px; background: var(--primary); color: var(--white); display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; z-index: 900; overflow-y: auto; transition: var(--transition); }
.sidebar-logo { padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-logo img { height: 45px; filter: brightness(0) invert(1); }
.sidebar-logo p { color: rgba(255,255,255,0.55); font-size: 11px; margin: 4px 0 0; }
.sidebar-nav { padding: 16px 0; flex: 1; }
.sidebar-nav .nav-section { padding: 8px 20px 4px; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.35); font-weight: 600; }
.sidebar-link { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500; transition: var(--transition); border-left: 3px solid transparent; }
.sidebar-link i { width: 18px; text-align: center; font-size: 15px; }
.sidebar-link:hover { color: var(--white); background: rgba(255,255,255,0.08); border-left-color: var(--accent); }
.sidebar-link.active { color: var(--white); background: rgba(232,146,42,0.15); border-left-color: var(--accent); }
.sidebar-link .badge-count { background: var(--accent); color: #fff; font-size: 10px; padding: 2px 7px; border-radius: 10px; margin-left: auto; }
.sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.sidebar-footer a { color: rgba(255,255,255,0.6); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.sidebar-footer a:hover { color: var(--white); }

/* ─── ADMIN CONTENT ──────────────────────────── */
.admin-content { flex: 1; margin-left: 255px; display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar { background: var(--white); padding: 14px 28px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 800; }
.admin-topbar h5 { font-size: 18px; font-weight: 600; color: var(--primary); margin: 0; }
.admin-topbar .admin-user { display: flex; align-items: center; gap: 10px; color: var(--text-gray); font-size: 14px; }
.admin-topbar .admin-user .avatar { width: 36px; height: 36px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; }
.admin-main { padding: 28px; flex: 1; }

/* ─── STAT CARDS ─────────────────────────────── */
.stat-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-left: 4px solid var(--accent); display: flex; align-items: center; gap: 18px; transition: var(--transition); }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-card.blue  { border-left-color: #3498db; }
.stat-card.green { border-left-color: #2ecc71; }
.stat-card.orange{ border-left-color: var(--accent); }
.stat-card.purple{ border-left-color: #9b59b6; }
.stat-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.stat-icon.blue   { background: rgba(52,152,219,0.12); color: #3498db; }
.stat-icon.green  { background: rgba(46,204,113,0.12); color: #2ecc71; }
.stat-icon.orange { background: rgba(232,146,42,0.12); color: var(--accent); }
.stat-icon.purple { background: rgba(155,89,182,0.12); color: #9b59b6; }
.stat-info h3 { font-size: 30px; font-weight: 800; color: var(--primary); margin-bottom: 2px; line-height: 1; }
.stat-info p  { font-size: 13px; color: var(--text-gray); margin: 0; }

/* ─── ADMIN CARD ─────────────────────────────── */
.admin-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 24px; }
.admin-card-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.admin-card-header h5 { font-size: 17px; font-weight: 600; color: var(--primary); margin: 0; }
.admin-card-body { padding: 24px; }

/* ─── ADMIN TABLE ────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { background: var(--light-bg); color: var(--primary); font-weight: 600; padding: 13px 16px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--border); white-space: nowrap; }
.admin-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--text-dark); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(247,248,252,0.8); }
.admin-table .prop-thumb { width: 60px; height: 48px; object-fit: cover; border-radius: 6px; border: 2px solid var(--border); }

/* Status Badges */
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.status-badge.active   { background: #d4edda; color: #155724; }
.status-badge.inactive { background: #f8d7da; color: #721c24; }

/* Action Buttons */
.action-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; border: none; cursor: pointer; font-size: 13px; transition: var(--transition); margin: 0 2px; }
.action-btn.edit   { background: rgba(52,152,219,0.12); color: #3498db; }
.action-btn.edit:hover   { background: #3498db; color: #fff; }
.action-btn.delete { background: rgba(231,76,60,0.12); color: #e74c3c; }
.action-btn.delete:hover { background: #e74c3c; color: #fff; }
.action-btn.view   { background: rgba(46,204,113,0.12); color: #27ae60; }
.action-btn.view:hover   { background: #27ae60; color: #fff; }

/* ─── ADMIN FORM ─────────────────────────────── */
.admin-form-control { width: 100%; padding: 11px 15px; border: 2px solid var(--border); border-radius: 6px; font-size: 14px; font-family: 'Poppins',sans-serif; color: var(--text-dark); background: var(--white); transition: var(--transition); outline: none; }
.admin-form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,146,42,0.1); }
.admin-form-control::placeholder { color: #bbb; }
.admin-label { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 6px; display: block; }
.admin-label span { color: #e74c3c; }
.form-group { margin-bottom: 20px; }
.form-hint { font-size: 12px; color: var(--text-gray); margin-top: 5px; }

/* ─── PAGINATION ─────────────────────────────── */
.pagination-wrap { display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding: 16px 24px; border-top: 1px solid var(--border); }
.page-btn { width: 34px; height: 34px; border-radius: 6px; border: 1.5px solid var(--border); background: var(--white); color: var(--text-dark); font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.page-btn.active, .page-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ─── CONFIRM DIALOG ─────────────────────────── */
.confirm-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9999; display: none; align-items: center; justify-content: center; }
.confirm-overlay.show { display: flex; }
.confirm-box { background: var(--white); border-radius: 12px; padding: 36px 32px; max-width: 400px; width: 90%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.confirm-box .confirm-icon { font-size: 48px; margin-bottom: 16px; }
.confirm-box h4 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.confirm-box p { color: var(--text-gray); font-size: 14px; margin-bottom: 24px; }

/* ─── EMPTY STATE ────────────────────────────── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-gray); }
.empty-state i { font-size: 56px; color: var(--border); margin-bottom: 16px; }
.empty-state h5 { color: var(--text-gray); margin-bottom: 8px; }

/* ─── SIDEBAR TOGGLE (Mobile) ────────────────── */
.sidebar-toggle-btn { display: none; background: none; border: none; font-size: 22px; color: var(--primary); cursor: pointer; }

/* ─── ADMIN RESPONSIVE ───────────────────────── */
@media (max-width: 991px) {
  .admin-sidebar { left: -255px; }
  .admin-sidebar.open { left: 0; }
  .admin-content { margin-left: 0; }
  .sidebar-toggle-btn { display: block; }
  .admin-main { padding: 18px; }
  .admin-table { display: block; overflow-x: auto; }
}

/* ─── FRONTEND RESPONSIVE ────────────────────── */
@media (max-width: 991px) {
  .main-navbar .navbar-collapse { background: var(--white); padding: 10px 0; }
  .main-navbar .nav-link { padding: 10px 16px !important; }
  .main-navbar .nav-link::after { display: none; }
  section { padding: 55px 0; }
  .hero-section { min-height: auto; padding: 80px 0; }
  .section-title { font-size: 26px; }
}
@media (max-width: 767px) {
  .top-bar .top-contact { display: none; }
  .hero-content h1 { font-size: 28px; }
  .hero-search-box { padding: 18px; }
  .gallery-grid { columns: 2; }
  .page-banner h1 { font-size: 26px; }
  .contact-form-wrap { padding: 25px 18px; }
  section { padding: 45px 0; }
  .about-img { margin-top: 30px; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .enquiry-modal-box { padding: 25px 18px; margin: 15px; }
  .admin-login-box { padding: 30px 22px; }
}
