/* ===============================
   1. CORE VARIABLES & RESET
=============================== */
:root {
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --primary: #d32f2f; /* Classy Red */
  --primary-hover: #b71c1c;
  --text-main: #1a1a1a;
  --text-muted: #666;
  --bg-body: #f0f2f5;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-main: 'Poppins', sans-serif;
}

[data-theme="dark"] {
  --glass-bg: rgba(18, 18, 18, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --text-main: #f0f0f0;
  --text-muted: #aaa;
  --bg-body: #0a0a0a;
}

[data-theme="light"] {
  --bg-body: #f4f6f8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg-body);
  color: var(--text-main);
  padding-top: 80px; /* Space for fixed header */
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
  line-height: 1.6;
}

/* Background Pattern */
.bg-pattern {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
  /* Subtle noise or gradient */
  background: radial-gradient(circle at 20% 30%, rgba(211, 47, 47, 0.05), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.05), transparent 40%);
}

/* ===============================
   2. HEADER & NAVIGATION (GLASS)
=============================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  text-decoration: none;
}

.brand-dot {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}

.icon-btn {
  background: rgba(0,0,0,0.05);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition);
  font-size: 1.2rem;
}

[data-theme="dark"] .icon-btn {
  background: rgba(255,255,255,0.1);
}

.icon-btn:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.home-btn {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(0,0,0,0.05);
  transition: var(--transition);
}

.home-btn:hover {
  background: var(--primary);
  color: white;
}

/* Desktop Visibility Helper */
.desktop-only { display: block; }
@media (max-width: 768px) { .desktop-only { display: none; } }

/* ===============================
   3. SIDEBAR
=============================== */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  z-index: 2000;
  padding: 25px;
  transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  box-shadow: 4px 0 25px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

.sidebar.open { left: 0; }

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--glass-border);
}

#closeSidebar {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 15px;
}

.sidebar-menu a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  display: block;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.sidebar-menu a:hover {
  background: rgba(211, 47, 47, 0.1);
  color: var(--primary);
  padding-left: 15px;
}

/* Overlay for sidebar */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  display: none;
  z-index: 1500;
  opacity: 0;
  transition: opacity 0.3s;
}
.sidebar-overlay.show {
  display: block;
  opacity: 1;
}

/* ===============================
   4. MAIN LAYOUT & HERO
=============================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 50px;
}

.hero-text {
  text-align: center;
  padding: 60px 20px 40px;
  animation: fadeIn 0.8s ease-out;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Value Props */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.prop-card {
  backdrop-filter: blur(10px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 25px;
  text-align: center;
  transition: var(--transition);
}

.prop-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--glass-shadow);
}

.prop-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  opacity: 0.9;
}

.prop-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.prop-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===============================
   5. CARDS & GRID
=============================== */
.grid-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 30px;
  transition: var(--transition);
  color: var(--text-main);
}

.card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* ===============================
   6. FORMS & INPUTS
=============================== */
.order-card h2, .payment-card h2, .faq-section h2 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--primary);
  border-bottom: 2px solid rgba(211, 47, 47, 0.1);
  padding-bottom: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

select, input[type="url"], input[type="number"], input[type="text"], input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.4);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

[data-theme="dark"] select, 
[data-theme="dark"] input {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255,255,255,0.1);
}

select:focus, input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
  background: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] select:focus, 
[data-theme="dark"] input:focus {
  background: rgba(0, 0, 0, 0.5);
}

/* Price Box */
.price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.03);
  padding: 15px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  font-weight: 600;
}

[data-theme="dark"] .price-box { background: rgba(255,255,255,0.05); }

.price-box strong {
  color: var(--primary);
  font-size: 1.2rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.btn-primary:disabled {
  background: #999;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--glass-border);
  color: var(--text-muted);
  margin-top: 10px;
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text-main);
}

/* Disclaimer */
.disclaimer-box {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===============================
   7. PAYMENT CARD DETAILS
=============================== */
.sub-text { color: var(--text-muted); margin-bottom: 20px; }

.bank-details {
  background: rgba(0,0,0,0.03);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
[data-theme="dark"] .bank-details { background: rgba(255,255,255,0.03); }

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.detail-row:last-child { margin-bottom: 0; }
.detail-row span { color: var(--text-muted); }
.detail-row strong { color: var(--text-main); }

.info-note {
  font-size: 0.9rem;
  padding: 15px;
  border: 1px dashed var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* ===============================
   8. FAQ SECTION
=============================== */
.faq-section {
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--text-main);
  cursor: pointer;
}

.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===============================
   9. FOOTER
=============================== */
footer {
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 50px 20px 20px;
  margin-top: 50px;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-column h4 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-column a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: #888;
}

/* ===============================
   10. MODALS & OVERLAYS (Glass Style)
=============================== */
/* Generic Overlay */
.overlay, .modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
}

/* Success Overlay (Green Tick) */
#successOverlay {
  background: rgba(0,0,0,0.8);
}

.checkmark-container {
  text-align: center;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.checkmark-container h3 {
  color: #fff;
  margin-top: 15px;
  font-size: 1.5rem;
}

/* Checkmark SVG Animation */
.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #4caf50;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #4caf50;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

/* Payment Modal */
#paymentModal { display: none; } /* Flex when active */

.modal-content {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  width: 90%;
  max-width: 450px;
  color: var(--text-main);
  box-shadow: var(--glass-shadow);
  animation: slideUp 0.4s ease-out;
}

.modal-content h3 { margin-top: 0; color: var(--primary); }

.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.error-msg {
  color: #d32f2f;
  font-size: 0.85rem;
  margin-bottom: 15px;
  display: none;
  background: rgba(211, 47, 47, 0.1);
  padding: 8px;
  border-radius: var(--radius-sm);
}

/* ===============================
   11. ANIMATIONS
=============================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}
@keyframes scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
  100% { box-shadow: inset 0px 0px 0px 40px #4caf50; }
}

/* ===============================
   12. RESPONSIVE MEDIA QUERIES
=============================== */
@media (max-width: 900px) {
  .grid-layout {
    grid-template-columns: 1fr; /* Stack cards */
  }
}

@media (max-width: 600px) {
  .hero-text h1 { font-size: 2rem; }
  
  .card { padding: 20px; }
  
  .modal-content {
    width: 95%;
    padding: 20px;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px; /* space between dot and text */
}
.brand-dot {
  width: 10px;
  height: 10px;
  background: #ff2b2b;
  border-radius: 50%;
  position: relative;
}

/* Pulse animation ring */
.brand-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(255, 43, 43, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  70% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* ==========================================
   13. EXTENDED SERVICES SECTION
========================================== */
.extended-services {
    margin: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glass-shadow);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    margin: 0 0 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-contact {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-align: center;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}
.btn-whatsapp:hover { background-color: #20bd5a; }

.btn-email {
    background-color: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}
.btn-email:hover { 
    border-color: var(--text-main);
    background: rgba(0,0,0,0.05);
}
[data-theme="dark"] .btn-email:hover { background: rgba(255,255,255,0.1); }
