/* User Info Modal Styles */
.user-info-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.35);
  transition: var(--transition);
}
.user-info-modal-content {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  min-width: 320px;
  max-width: 95vw;
  position: relative;
  animation: fadeInModal 0.3s;
}
.user-info-modal-content h4 {
  margin-top: 0;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}
.user-info-modal-content .form-group {
  margin-bottom: 1.2rem;
}
.user-info-modal-content label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--dark-color);
  font-weight: 500;
}
.user-info-modal-content input[type="text"],
.user-info-modal-content input[type="email"],
.user-info-modal-content input[type="tel"] {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--lighter-gray);
  transition: border 0.2s;
}
.user-info-modal-content input:focus {
  border-color: var(--primary-color);
  outline: none;
}
.user-info-modal-content .btn.btn-primary {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s;
}
.user-info-modal-content .btn.btn-primary:hover {
  background: var(--secondary-color);
}
.close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.5rem;
  color: var(--gray-color);
  cursor: pointer;
  transition: color 0.2s;
}
.close-modal:hover {
  color: var(--primary-color);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
:root {
  --primary-color: #f51414;
  --secondary-color: #b60707;
  --dark-color: #3b1e1e;
  --gray-color: #64748b;
  --light-gray: #e2e8f0;
  --lighter-gray: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
  --font-primary: 'Poppins', sans-serif;
}

.cloud-dashboard {
  font-family: var(--font-primary);
  background-color: var(--lighter-gray);
  min-height: 100vh;
}

.dashboard-header {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.dashboard-header p {
  opacity: 0.9;
}

.dashboard-header-section {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(245, 20, 20, 0.1);
  position: relative;
  overflow: hidden;
}

.dashboard-header-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f51414, #ff6b6b, #f51414);
  background-size: 200% 100%;
  animation: premiumGradientShift 3s ease-in-out infinite;
}

.dashboard-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 50%, #1a1a1a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.dashboard-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: #666666;
  margin: 0;
  opacity: 0.9;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 250px 1fr 300px;
  gap: 2rem;
}

.dashboard-nav {
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1rem 0;
}

.dashboard-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-nav li {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-nav li:hover {
  background: var(--lighter-gray);
}

.dashboard-nav li.active {
  background: var(--primary-color);
  color: white;
}

.dashboard-nav li i {
  width: 20px;
  text-align: center;
}

.configuration-panels {
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.panel h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-color);
}

input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--light-gray);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
}

select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-family: var(--font-primary);
}

.summary-card {
  background-color: rgba(37, 99, 235, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--light-gray);
}

.summary-item.total {
  font-weight: 600;
  border-bottom: none;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.cost-preview {
  position: sticky;
  top: 1rem;
}

.cost-card {
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.cost-card h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cost-item.total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
  font-weight: 600;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-primary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

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

.btn-secondary {
  background-color: white;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--lighter-gray);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: 200px 1fr;
  }
  
  .cost-preview {
    grid-column: span 2;
    position: static;
  }
}

/* Add these new styles to your existing CSS */

/* Checkbox group styling */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

/* Conditional form group styling */
.block-storage-config,
.object-storage-config,
.archive-storage-config,
.custom-size {
  padding: 1rem;
  background-color: var(--lighter-gray);
  border-radius: 6px;
  margin-top: 1rem;
  border-left: 3px solid var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .checkbox-group {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Basic Reset & Font */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.5;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 250px 1fr 300px;
  gap: 20px;
}

/* Navigation */
.dashboard-nav {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.dashboard-nav ul {
  list-style: none;
}
.dashboard-nav li {
  padding: 15px 20px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dashboard-nav li:last-child {
  border-bottom: none;
}
.dashboard-nav li.active {
  background-color: #e0e7ff;
  font-weight: 600;
}

/* Panels */
.configuration-panels {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
}
.panel {
  display: none;
}
.panel.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}
.panel h2 {
  margin-bottom: 20px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

/* Form Groups */
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #555;
}
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}
.form-group input[type="range"] {
  width: 100%;
}
.form-group .checkbox-group {
  display: flex;
  gap: 20px;
}
.checkbox-group label {
  font-weight: 400;
  font-size: 0.9rem;
}

/* Custom Size (Compute) */
.custom-size {
  margin-left: 20px;
}

/* Cost Preview */
.cost-preview {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
}
.cost-card h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #444;
}
.cost-breakdown {
  margin-bottom: 15px;
}
.cost-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cost-item.total {
  font-weight: 600;
  border-top: 1px solid #eee;
  padding-top: 8px;
}
.cost-actions {
  text-align: right;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}
.btn i {
  font-size: 1rem;
}
.btn-primary {
  background-color: #4f46e5;
  color: #fff;
}
.btn-secondary {
  background-color: #6b7280;
  color: #fff;
}
.btn-small {
  background-color: #f3f4f6;
  color: #333;
}

/* Summary Card */
.summary-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #e5e7eb;
}
.summary-item:last-child {
  border-bottom: none;
}
.summary-item.total {
  font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Premium gradient animation */
@keyframes premiumGradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Add these new styles to your existing CSS */

/* Data Recovery Panel Styles */
.recovery-options {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f8fafc;
  border-radius: 6px;
  border-left: 3px solid var(--primary-color);
}

.recovery-options .form-group {
  margin-bottom: 1rem;
}

.recovery-options select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}

.recovery-options .hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #64748b;
}

.recovery-validation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #fff5f5;
  border-radius: 6px;
  margin-top: 1rem;
  border-left: 3px solid #e53e3e;
}

.recovery-validation i {
  color: #e53e3e;
}

/* Bottom Pill Header Styles */
.header {
  position: fixed;
  left: 50%;
  bottom: 20px;
  top: auto;
  transform: translateX(-50%);
  width: 958.96px;
  max-width: 95vw;
  height: 56px;
  z-index: 1000;
  background: var(--primary-color);
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 8px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideUpHeader 0.8s cubic-bezier(.68,-0.55,.27,1.55);
  transition: box-shadow 0.3s, border-radius 0.3s, width 0.3s;
}

.header .container {
  width: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: center; /* center the navbar block in the pill */
  align-items: center;
}

.navbar {
  /* was: flex/center; make it a 3-column grid */
  display: grid;
  grid-template-columns: auto 1fr auto; /* home | links | hamburger */
  align-items: center;
  width: 100%;
  gap: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;   /* center links between left and right */
  gap: 16px;
}

/* Show and style the hamburger on desktop, too */
.mobile-menu-btn {
  display: flex;              /* was: none */
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.mobile-menu-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}

/* Responsive styles for the header */
@media (max-width: 992px) {
  .header {
    width: 95%;
  }
  
  .nav-links a {
    font-size: 0.85rem;
    padding: 6px 8px;
  }
}

@media (max-width: 768px) {
  .header {
    bottom: 0;
    width: 100%;
    border-radius: 0;
    height: 60px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.5s;
    z-index: 1000;
    padding: 50px 20px;
  }
  
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-links a,
  .nav-links .dropbtn {
    font-size: 1.1rem;
    padding: 15px 20px;
    width: 100%;
    text-align: center;
  }
  
  /* Mobile: collapse panel version of the products list */
  .dropdown-content,
  .dropup-menu {
    position: relative;
    left: 0;
    transform: none;
    width: 100%;
    background-color: rgba(245,20,20,0.15);
    box-shadow: none;
    margin-top: 5px;
    max-height: 0;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
  }
  
  .dropdown:hover .dropdown-content,
  .dropdown:hover .dropup-menu,
  .dropdown:focus-within .dropdown-content,
  .dropdown:focus-within .dropup-menu,
  .dropdown.open .dropdown-content,
  .dropdown.open .dropup-menu {
    max-height: 300px;
    padding: 8px 0;
  }
  
  .dropup-menu .dropup-header { color: #fff; font-weight: 700; padding: 8px 0; }
  .dropdown-content a,
  .dropup-menu a { color: #fff; padding: 10px 0; text-align: center; }
  
  .dropdown-content a:hover,
  .dropup-menu a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
  }

  /* Responsive adjustments for mobile screens */
  .dashboard-grid {
    display: flex;
    flex-direction: column;
  }

  .dashboard-nav {
    width: 100%;
    margin-bottom: 1rem;
    overflow-x: auto;
    background: #fff;
  }
  .dashboard-nav ul {
    display: flex;
    flex-wrap: nowrap;
  }
  .dashboard-nav li {
    flex: 0 0 auto;
    margin-right: 1rem;
  }

  .configuration-panels {
    width: 100%;
  }
  .panel {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .cost-preview {
    width: 100%;
    margin-top: 2rem;
  }

  /* Ensure form elements expand full width */
  .configuration-panels .form-group {
    display: flex;
    flex-direction: column;
  }
  .configuration-panels select,
  .configuration-panels input[type="range"],
  .configuration-panels input[type="number"],
  .configuration-panels input[type="text"] {
    width: 100%;
  }
}

/* Fine-grained Breakpoints for small devices */
@media (max-width: 576px) {
  .dashboard-nav li {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .dashboard-header-section h1 {
    font-size: 1.8rem;
  }
  .dashboard-header-section p {
    font-size: 1rem;
  }
  .panel h3 {
    font-size: 1rem;
  }
  .cost-card h3 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  /* Stack navigation above content for narrow phones */
  .dashboard-nav {
    order: -1;
  }
  .dashboard-nav li {
    padding: 0.5rem;
    font-size: 0.85rem;
  }
  .configuration-panels {
    padding: 1rem;
  }
  .cost-card {
    padding: 1rem;
  }
}

/* Footer Animation and Layout Styles */
.footer {
  background-color: #ffffff;
  color: #333333;
  margin-top: 60px;
  padding: 0;
  position: relative;
  overflow: hidden; /* contain the decorative wave */
}

.footer.animate { animation: footerFadeIn 0.8s ease both; }
@keyframes footerFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Decorative parallax wave that blends into the white footer */
.footer-parallax-bg {
  position: absolute;
  inset: 0 0 auto 0; /* top aligned */
  height: 260px;
  background: url('../parallax-bg-wave.png') center top / cover no-repeat;
  filter: saturate(1.05) contrast(1.02);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
/* soft fade to white below the wave */
.footer-parallax-bg::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px; height: 120px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 80%);
}

/* Keep real footer content above the decoration */
.footer > .container,
.footer-bottom,
.footer-newsletter,
.footer-main { position: relative; z-index: 1; }

/* Mobile adjustments: shorter wave and static background for performance */
@media (max-width: 768px) {
  .footer-parallax-bg { height: 180px; background-position: center top; opacity: 0.85; }
}

/* Newsletter Section */
.footer::before {
  content: "";
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  padding: 50px 0;
  position: relative;
}

.footer-newsletter {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 50px 0;
  margin-bottom: 0;
  border-bottom: 1px solid #e9ecef;
}

.footer-newsletter .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-newsletter h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
  margin: 0;
}

.footer-newsletter p {
  font-size: 1.1rem;
  color: #666666;
  margin: 8px 0 0 0;
}

.footer-newsletter-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-newsletter-form input {
  padding: 14px 20px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  width: 300px;
  outline: none;
  transition: border-color 0.3s ease;
}

.footer-newsletter-form input:focus {
  border-color: #f51414;
}

.footer-newsletter-form button {
  padding: 14px 28px;
  background-color: #f51414;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-newsletter-form button:hover {
  background-color: #b60707;
  transform: translateY(-2px);
}

/* Main Footer */
.footer-main {
  background-color: #ffffff;
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr; /* About | Quick Link | Our Services | You've question? */
  gap: 48px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.footer.animate .footer-grid {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Logo and About Section */
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo img {
  height: 45px;
  margin-right: 12px;
}

.footer-logo span {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333333;
}

.footer-logo .highlight {
  color: #f51414;
}

.footer-about-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 25px;
}

/* Footer Titles */
.footer .footer-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0e1b2a;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer .footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: #f51414;
}

/* Footer Links */
.footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer .footer-links a {
  color: #666666;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.footer .footer-links a::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #f51414;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.footer .footer-links a:hover {
  color: #f51414;
  padding-left: 18px;
}

.footer .footer-links a:hover::before {
  opacity: 1;
}

/* Footer CTA (You've question?) */
.footer-cta { display: flex; flex-direction: column; gap: 18px; }
.cta-item { display: flex; align-items: center; gap: 14px; }
.cta-icon { width: 44px; height: 44px; border-radius: 50%; background: #f51414; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 6px 18px rgba(245,20,20,0.25); }
.cta-label { color: #f51414; font-weight: 700; font-size: 0.95rem; line-height: 1; margin-bottom: 4px; }
.cta-value { color: #111; font-weight: 600; text-decoration: none; }
.cta-value:hover { text-decoration: underline; }

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #e9ecef;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.5s ease 0.8s;
}

.footer.animate .footer-bottom {
  opacity: 1;
}

.footer-copyright {
  color: #666666;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: #666666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #f51414;
}

/* Footer Social Icons */
.footer .footer-social {
  display: flex;
  gap: 12px;
}

.footer .footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: #666666;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid #e9ecef;
}

.footer .footer-social a:hover {
  background-color: #f51414;
  color: #ffffff;
  border-color: #f51414;
  transform: translateY(-3px);
}

/* Footer Contact */
.footer .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-contact li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #666666;
}

.footer .footer-contact i {
  width: 20px;
  color: #f51414;
  margin-right: 12px;
}

.footer .footer-contact a {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .footer-contact a:hover {
  color: #f51414;
}

/* Footer Responsive Design */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-newsletter .container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-newsletter h2 {
    font-size: 1.6rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .footer .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer .footer-links a::before {
    display: none;
  }
  
  .footer .footer-links a {
    padding-left: 0;
  }
  
  .footer .footer-links a:hover {
    padding-left: 0;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer .footer-social {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .dashboard-nav li {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .dashboard-header-section h1 {
    font-size: 1.8rem;
  }
  .dashboard-header-section p {
    font-size: 1rem;
  }
  .panel h3 {
    font-size: 1rem;
  }
  .cost-card h3 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  /* Stack navigation above content for narrow phones */
  .dashboard-nav {
    order: -1;
  }
  .dashboard-nav li {
    padding: 0.5rem;
    font-size: 0.85rem;
  }
  .configuration-panels {
    padding: 1rem;
  }
  .cost-card {
    padding: 1rem;
  }
}