.seo-report-section {
    margin-top: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.seo-report-title {
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 28px;
    display: flex;
    align-items: center;
}

.seo-report-title-bar {
    display: inline-block;
    width: 8px;
    height: 30px;
    background: linear-gradient(to bottom, #e91e63, #9c27b0);
    margin-right: 12px;
    border-radius: 4px;
}

#recommendationsContainer {
    margin-top: 20px;
}

.recommendation-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.recommendation-content {
    display: flex;
    align-items: flex-start;
}

.recommendation-icon {
    margin-right: 15px;
    color: #e91e63;
    font-size: 24px;
}

.recommendation-message {
    margin: 0 0 10px 0;
    font-weight: 500;
    color: #333;
}

.recommendation-link {
    color: #2196F3;
    text-decoration: none;
    display: inline-block;
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.recommendation-link i {
    margin-right: 5px;
}

.no-recommendations {
    color: #666;
    font-style: italic;
}
@media (max-width: 768px) {
    .seo-report-section {
        margin-top: 20px;
        padding: 20px 15px;
        border-radius: 10px;
    }

    .seo-report-title {
        margin-bottom: 20px;
        font-size: 22px;
    }

    .seo-report-title-bar {
        width: 6px;
        height: 24px;
        margin-right: 10px;
    }

    .recommendation-card {
        padding: 15px;
    }

    .recommendation-icon {
        margin-right: 12px;
        font-size: 20px;
    }

    .recommendation-message {
        font-size: 15px;
    }

    .recommendation-link {
        font-size: 13px;
        padding: 4px 8px;
    }

    .no-recommendations {
        font-size: 15px;
    }
}

.performance-metrics-section {
    width: 100%;
    margin: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f5 100%);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.section-heading {
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 28px;
    display: flex;
    align-items: center;
}

.section-bar {
    display: inline-block;
    width: 8px;
    height: 30px;
    background: linear-gradient(to bottom, #e91e63, #9c27b0);
    margin-right: 12px;
    border-radius: 4px;
}

.usability-card {
    width: 100%;
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid #00ffff;
    border-left: 5px solid #9c27b0;
}

.email-warning-title {
    font-weight: 500;
    margin-bottom: 15px;
}

.email-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.email-badge {
    background-color: #f1f5f9;
    color: #333;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tech-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.tech-card {
    flex: 1 1 200px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tech-card h4 {
    font-size: 18px;
    color: #34495e;
    margin-bottom: 12px;
}

.success-icon {
    color: green;
    font-size: 22px;
}

.error-icon {
    color: red;
    font-size: 22px;
}

@media (max-width: 768px) {
    .performance-metrics-section {
        padding: 20px;
        margin: 20px 0;
    }

    .section-heading {
        font-size: 22px;
        flex-direction: row;
        align-items: flex-start;
    }

    .section-bar {
        height: 25px;
        width: 6px;
        margin-right: 10px;
    }

    .usability-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .email-warning-title {
        font-size: 16px;
    }

    .email-badges {
        flex-direction: column;
        align-items: center;
    }

    .email-badge {
  background-color: #f0f4ff;
  color: #2c3e50;
  border: 1px solid #ccdffc;
  padding: 4px 10px;
  border-radius: 18px;
  font-weight: 500;
  font-size: 13px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-all;
}


   /* Complete Mobile Redesign - Tech Cards */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    padding: 0 8px;
}

.tech-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.tech-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin: 0 0 12px 0;
    text-align: center;
    position: relative;
    padding-bottom: 8px;
}

.tech-card h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: rgba(0,0,0,0.05);
}

.tech-card p {
    margin: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.success-icon {
    color: #10b981;
    font-size: 20px;
}

.error-icon {
    color: #ef4444;
    font-size: 20px;
}

/* Active/Pressed State */
.tech-card:active {
    transform: scale(0.96);
    background: #f8fafc;
}

/* Status Indicator Dot */
.tech-card p::before {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.3;
}

/* Adjust icon spacing */
.fa-check-circle, 
.fa-times-circle {
    margin-top: -4px; /* Pulls icon up slightly */
}
}
/* ================================
   Fix: speed-metrics grid for mobile
   ================================ */
@media (max-width: 768px) {
  .speed-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .speed-metrics {
    grid-template-columns: 1fr;
  }

  .speed-metric {
    width: 100%;
  }
}



.device-preview-wrapper {
    margin-top: 60px;
    background: #f9fafb;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.device-preview-title {
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 28px;
    display: flex;
    align-items: center;
}

.device-preview-bar {
    display: inline-block;
    width: 8px;
    height: 30px;
    background: linear-gradient(to bottom, #e91e63, #9c27b0);
    margin-right: 12px;
    border-radius: 4px;
}

.device-preview-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 460px;
}

/* Desktop Screenshot */
.desktop-wrapper {
    text-align: center;
    z-index: 1;
    position: relative;
}

.desktop-frame {
    border: 12px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.desktop-img {
    width: 640px;
    display: block;
}

/* Tablet Screenshot */
.tablet-wrapper {
    position: absolute;
    bottom: 20px;
    left: 0;
    transform: translate(10%, 0);
    z-index: 3;
}

.tablet-frame {
    border: 10px solid #bbb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.tablet-img {
    width: 260px;
    display: block;
}

/* Mobile Screenshot */
.mobile-wrapper {
    position: absolute;
    bottom: 20px;
    right: 0;
    transform: translate(-10%, 0);
    z-index: 2;
}

.mobile-frame {
    border: 8px solid #aaa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.mobile-img {
    width: 200px;
    display: block;
}
@media (max-width: 768px) {
    .device-preview-wrapper {
    margin-top: 40px;
    background: #f9fafb;
    padding: 40px 15px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.device-preview-title {
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 22px;
    display: flex;
    align-items: center;
}

.device-preview-bar {
    display: inline-block;
    width: 6px;
    height: 24px;
    background: linear-gradient(to bottom, #e91e63, #9c27b0);
    margin-right: 10px;
    border-radius: 4px;
}

.device-preview-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    height: auto;
    padding-bottom: 20px;
}

/* Desktop Screenshot */
.desktop-wrapper {
    text-align: center;
    z-index: 1;
    position: relative;
    margin-bottom: 20px;
}

.desktop-frame {
    border: 8px solid #ccc;
    border-radius: 15px;
    overflow: hidden;
    display: inline-block;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.desktop-img {
    width: 100%;
    max-width: 320px;
    display: block;
}

/* Tablet Screenshot */
.tablet-wrapper {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    z-index: 3;
    text-align: center;
    margin-bottom: 15px;
}

.tablet-frame {
    border: 8px solid #bbb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 12px rgba(0,0,0,0.08);
    display: inline-block;
}

.tablet-img {
    width: 100%;
    max-width: 200px;
    display: block;
}

/* Mobile Screenshot */
.mobile-wrapper {
    position: relative;
    bottom: auto;
    right: auto;
    transform: none;
    z-index: 2;
    text-align: center;
}

.mobile-frame {
    border: 6px solid #aaa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: inline-block;
}

.mobile-img {
    width: 100%;
    max-width: 150px;
    display: block;
}
}


.email-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.email-badge {
    background-color: #f0f4ff;
    color: #2c3e50;
    border: 1px solid #ccdffc;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.email-alert {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 12px 15px;
    border-radius: 8px;
    color: #856404;
    margin-top: 15px;
}

/* Performance Metrics Section Styles */
.performance-metriks-section {
    width: 100%;
    margin: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f5 100%);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.performance-metriks-section h2 {
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 28px;
    display: flex;
    align-items: center;
}

.section-decorator {
    display: inline-block;
    width: 8px;
    height: 30px;
    background: linear-gradient(to bottom, #e91e63, #9c27b0);
    margin-right: 12px;
    border-radius: 4px;
}

/* Metric Card Styles */
.metrik-card {
    width: 100%;
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.load-speed-card {
    border-left: 5px solid #4285f4;
}

.download-size-card {
    border-left: 5px solid #9c27b0;
}

.compression-card {
    border-left: 5px solid #ff9800;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
    font-size: 22px;
    display: flex;
    align-items: center;
}

.card-header svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-right: 10px;
}

.load-speed-card .card-header h3 {
    color: #4285f4;
}

.download-size-card .card-header h3 {
    color: #9c27b0;
}

.compression-card .card-header h3 {
    color: #ff9800;
}

.status-badge {
    background: #e8f0fe;
    color: #4285f4;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-badge.good {
    background: #e6f4ea;
    color: #34a853;
}

.size-badge {
    background: #f3e5f5;
    color: #9c27b0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.card-description {
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Speed Metrics Grid */
.speed-metrics {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.speed-metric {
    background: linear-gradient(to right, #f6f9ff 0%, #f0f5ff 100%);
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.server-response {
    border-top: 4px solid #4285f4;
}

.content-loaded {
    border-top: 4px solid #ea4335;
}

.scripts-complete {
    border-top: 4px solid #34a853;
}

.metric-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-response .metric-icon {
    background: #e8f0fe;
}

.server-response .metric-icon svg {
    fill: #4285f4;
}

.content-loaded .metric-icon {
    background: #feebee;
}

.content-loaded .metric-icon svg {
    fill: #ea4335;
}

.scripts-complete .metric-icon {
    background: #e6f4ea;
}

.scripts-complete .metric-icon svg {
    fill: #34a853;
}

.speed-metric h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #5f6368;
    font-weight: 500;
}

.metrik-value-container {
    display: flex;
    align-items: baseline;
}

.metrik-value {
    font-size: 32px;
    font-weight: 700;
    margin: 0 5px 0 0;
}

.server-response .metrik-value {
    color: #4285f4;
}

.content-loaded .metrik-value {
    color: #ea4335;
}

.scripts-complete .metrik-value {
    color: #34a853;
}

.metric-unit {
    font-size: 16px;
    color: #7f8c8d;
    margin: 0;
}

.progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-top: 15px;
    overflow: hidden;
    width: 75%; 
    height: 100%; 
    background: linear-gradient(to right, #4285f4, #34a853);
}

.progress-fill {
    height: 100%;
    width: 75%; 
    
}

.server-response .progress-fill {
  height: 100%;
    background: linear-gradient(to right, #4285f4, #34a853);
}

.content-loaded .progress-fill {
    background: linear-gradient(to right, #ea4335, #fbbc05);
}

.scripts-complete .progress-fill {
    background: linear-gradient(to right, #34a853, #4285f4);
}

/* Chart Styles */
.chart-container {
    width: 100%;
    margin-bottom: 30px;
}

.chart-container h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #5f6368;
    font-weight: 500;
}

/*.chart-bars {
    display: flex;
    height: 200px;
    align-items: flex-end;
    gap: 10px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}*/
.chart-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 240px;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.chart-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0 8px;
  box-sizing: border-box;
}

/* Fix image layout */
.bar-icon {
  width: 80px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 25px;
}


.bar {
    width: 80%;
    border-radius: 8px 8px 0 0;
    position: relative;
    min-height: 20px;
     margin-bottom: 20px; 
    transition: height 0.3s ease; /* Smooth animations */
    
}

.html-bar {
    background: linear-gradient(to top, #4285f4, #34a853);
}

.css-bar {
    background: linear-gradient(to top, #ea4335, #fbbc05);
}

.js-bar {
    background: linear-gradient(to top, #fbbc05, #ea4335);
}

.images-bar {
    background: linear-gradient(to top, #34a853, #4285f4);
}

.other-bar {
    background: linear-gradient(to top, #9c27b0, #673ab7);
}

.bar-value {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}
/*.bar-value {
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 500;
}*/

.html-bar .bar-value {
    color: #4285f4;
}

.css-bar .bar-value {
    color: #ea4335;
}

.js-bar .bar-value {
    color: #fbbc05;
}

.images-bar .bar-value {
    color: #34a853;
}

.other-bar .bar-value {
    color: #9c27b0;
}

.bar-label {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  margin-top: 4px;
}

/* ================================
   Responsive Fixes for Mobile & Tablet
   ================================ */
@media (max-width: 768px) {

  /* Make section more compact */
  .performance-metriks-section {
    padding: 20px 15px;
  }

  .performance-metriks-section h2 {
    font-size: 25px;
    flex-direction: column;
    align-items: flex-start;
  }

  .section-decorator {
    height: 20px;
    margin-right: 8px;
  }

  .metrik-card {
    padding: 15px;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .card-header h3 {
    font-size: 18px;
  }

  .status-badge,
  .size-badge {
    font-size: 12px;
    padding: 5px 10px;
  }

  .card-description {
    font-size: 14px;
    margin-bottom: 15px;
  }

  /* Speed Metrics Grid: 2 columns for tablets */
  .speed-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .speed-metric {
    padding: 15px;
  }

  .metrik-value {
    font-size: 24px;
  }

  .metric-unit {
    font-size: 14px;
  }

  .metric-icon {
    width: 24px;
    height: 24px;
    top: 10px;
    right: 10px;
  }
}
/* Only show icons on desktop */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}
@media (max-width: 480px) {
  /* Stack metrics in one column */
  .speed-metrics {
    grid-template-columns: 1fr;
  }

  .metrik-card {
    margin-bottom: 20px;
  }

  .card-header h3 {
    font-size: 16px;
  }

  .metrik-value {
    font-size: 20px;
  }

  .metric-unit {
    font-size: 13px;
  }

  .progress-bar {
    width: 100%;
  }
}

  /* Chart adjustments *
    .chart-container {
    padding: 10px;
  }

  .chart-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: none;
    padding-bottom: 0;
    height: 15px;
  }

  .chart-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color:#006666;
  }

  .bar-label {
    font-size: 13px;
    font-weight: 500;
    color: #444;
    width: 25%;
    text-align: right;
    margin-left: 10px;
    flex-shrink: 0;
  }

  .bar {
    width: 70%;
    min-height: 2px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    margin-right: 10px;
    
  }

  .bar-value {
    position: absolute;
    left: 8px;
    top: -20px;
    font-size: 12px;
    font-weight: bold;
  }
  .chart-bar .html-bar .bar-value {
    color: #4285f4;
}
.bar.css-bar .bar-value {
    color: #ea4335;
}
.bar.js-bar .bar-value {
    color: #fbbc05;
}
.bar.images-bar .bar-value {
    color: #34a853;
}
.bar.other-bar .bar-value {
    color: #9c27b0;
}
  .images-bar {
  background: linear-gradient(to right, #ab47bc, #7e57c2); 
}

.other-bar {
  background: linear-gradient(to right, #26c6da, #00acc1); 
}

  .chart-container h4 {
    font-size: 16px;
    text-align: center;
  }

  .performance-metriks-section h2 {
    font-size: 20px;
  }
}*/
/* Mobile Version - Horizontal Bars */
@media (max-width: 768px) {
    .chart-container {
        padding: 10px;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .chart-bars {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        height: auto;
        padding-bottom: 0;
    }

    .chart-bar {
        display: flex;
        
        width: 100%;
    }

    .bar-label {
        font-size: 13px;
        font-weight: 500;
        color: #444;
        width: 25%;
        text-align: right;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .bar {
        width: 70%;
        height: 20px; /* Fixed height for mobile */
        min-height: 20px; /* Override your 2px */
        border-radius: 10px;
        position: relative;
        overflow: hidden;
        flex-grow: 1;
        background: #e0e0e0; /* Base color */
        
    }

    /* Bar fill - using CSS variable for width */
    .bar::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: var(--percent, 0%);
        border-radius: 10px;
    }

    .bar-value {
        position: absolute;
        
        top: 50%;
        transform: translateY(-50%);
        font-size: 13px;
        font-weight: bold;
        color: white;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
        z-index: 2;
        
        
    }

    /* Color schemes - now applied to ::before */
    .html-bar::before { background: #4285f4; }
    .css-bar::before { background: #ea4335; }
    .js-bar::before { background: #fbbc05; }
    .images-bar::before { background: linear-gradient(to right, #ab47bc, #7e57c2); }
    .other-bar::before { background: linear-gradient(to right, #26c6da, #00acc1); }

    .chart-container h4 {
        font-size: 16px;
        text-align: center;
        margin-bottom: 15px;
    }
    .performance-metriks-section h2 {
    font-size: 20px;
  }
}

/* Compression Info */
.compression-card {
    width: 100%;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #ff9800;
}

/* Header Section */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
    font-size: 22px;
    display: flex;
    align-items: center;
}

.card-header svg {
    width: 24px;
    height: 24px;
    fill: #ff9800;
    margin-right: 10px;
}

.status-badge {
    background: #fff3e0;
    color: #ff9800;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Description */
.card-description {
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Compression Details */
.compression-details {
    width: 100%;
}

.compression-details h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #5f6368;
    font-weight: 500;
}

.compression-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Compression Items */
.compression-item {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
}

.compression-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.compression-item-header span:first-child {
    font-weight: 500;
    color: #5f6368;
}

.compression-rate {
    font-weight: 700;
}

.compression-item:nth-child(1) .compression-rate {
    color: #ea4335;
}

.compression-item:nth-child(2) .compression-rate {
    color: #fbbc05;
}

.compression-item:nth-child(3) .compression-rate {
    color: #4285f4;
}

.compression-item-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.compression-item-fill {
    height: 100%;
}

.compression-item:nth-child(1) .compression-item-fill {
    background: #ea4335;
}

.compression-item:nth-child(2) .compression-item-fill {
    background: #fbbc05;
}

.compression-item:nth-child(3) .compression-item-fill {
    background: #4285f4;
}

.compression-size {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Non-Compressed Notice */
.non-compressed-notice {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.non-compressed-notice svg {
    width: 24px;
    height: 24px;
    fill: #7f8c8d;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
}

.non-compressed-notice p {
    margin: 5px 0 0;
    color: #7f8c8d;
    font-size: 13px;
}

/* Note Box */
.note-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #6c757d;
}

.note-box p {
    margin: 0;
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
}

.note-box strong {
    color: #343a40;
}

.report-footer {
            text-align: center;
            margin-top: 30px;
            padding-top: 15px;
            border-top: 1px solid #ddd;
            color: #666;
            font-size: 12px;
        }

.google-algo-update {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.update-title {
    color: #202124;
    font-size: 25px;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.update-name {
    color: #1a73e8;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.update-description {
    color: #5f6368;
    font-size: 14px;
    margin: 0 0 12px 0;
}

.update-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.published-date {
    color: #70757a;
}

.official-link {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.official-link:hover {
    background-color: #e8f0fe;
    text-decoration: underline;
}


.custom-dropdown .dropdown-menu {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
  }

  .custom-dropdown .dropdown-item {
    padding: 10px 20px;
    color: #333;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .custom-dropdown .dropdown-item:hover {
    background-color: #f2f2f2;
    color: #007bff;
  }

  .custom-dropdown .dropdown-item:active {
    background-color: #e9ecef;
    color: #0056b3;
  }
 
 
 @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .recommendation-card {
        animation: fadeIn 0.3s ease-out;
        transition: all 0.2s ease;
    }
    .recommendation-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    a:hover {
        text-decoration: underline;
    }

/* Modern Grade Summary Styles */
.grade-summary {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.grade-summary h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grade-overall {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.grade-overall::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 25%;
    right: 25%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.grade-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.grade-label {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.grade-display {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.8rem;
    margin: 8px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.grade-display:hover {
    transform: scale(1.05);
}

.grade-percent {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    background: white;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.grade-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.grade-category {
    background: white;
    padding: 15px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grade-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.category-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.category-name {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grade Colors - Modernized */
.grade-a { 
    background-color: #2ecc71;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.grade-b { 
    background-color: #3498db;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.grade-c { 
    background-color: #f39c12;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.grade-d { 
    background-color: #e74c3c;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.grade-e { 
    background-color: #e74c3c;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grade-categories {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grade-display {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .grade-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grade-summary {
        padding: 15px;
    }
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}
.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.2;
}
.close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.5;
}

/* Tooltip styles */
.tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.tooltip-wrapper .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Disabled button styles */
.disabled-btn {
    pointer-events: none;
    opacity: 0.7;
    cursor: not-allowed;
}


.grade-recommendations {
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#overallGrade {
    transition: all 0.3s ease;
}

#recommendationsList li {
    transition: all 0.3s ease;
}

#recommendationsList li:hover {
    transform: translateX(5px);
}


/* Performance Metric Styles */
.performance-metric {
    font-weight: bold;
    font-size: 25px;
}

.performance-score {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    margin: 5px auto;
    font-size: 25px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .performance-score {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .performance-score {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
    }
}

.vertical-social-icons {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px; /* Increased gap for larger icons */
    z-index: 100;
    background-color: #f8e800; /* Yellow background */
    padding: 30px 15px; /* Increased padding */
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
}

/* Larger icon sizing */
.vs-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Increased from 36px */
    height: 50px; /* Increased from 36px */
    transition: all 0.3s ease;
}

.vs-icon i {
    font-size: 28px; /* Increased icon size (was 20-24px) */
}

/* Hover effects */
.vs-icon:hover i {
    transform: scale(1.25); /* Slightly larger hover effect */
}

/* Mobile responsive */
@media (max-width: 768px) {
    .vertical-social-icons {
        flex-direction: row;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 15px 25px;
    }
    
    .vs-icon {
        width: 44px; /* Slightly smaller for mobile */
        height: 44px;
    }
    
    .vs-icon i {
        font-size: 24px;
    }
}
#progressText {
    font-family: monospace;
    white-space: pre;
}
#currentUrl {
    color: #666;
    font-style: italic;
    margin-top: 5px;
}
/*---------------
General
---------------*/
.section {
  background-color: #017070;
  padding: 0px 0px ;
  overflow: hidden;
  margin: 0;
}
/* Header Section */
.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
}


.table thead th {
  background-color: yellow;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}
/* Change the color of the navbar toggler (hamburger) icon */
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Optional: Change the border color of the toggler button */
.navbar-light .navbar-toggler {
  border-color: rgb(255, 255, 255); /* Light border */
}

.navbar-logo {
  height: auto; /* Maintain aspect ratio */
  max-width: 300px; /* Default size for larger screens */
  width: 100%; /* Make it responsive */
}
/* Flash messages styling */
.flash-message {
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 4px;
  text-align: center;
  font-size: 15px;
}

.flash-message.warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.flash-message.danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.flash-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
  .navbar-logo {
    max-width: 350px; /* Slightly smaller for tablets */
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
  .navbar-logo {
    max-width: 350px; /* Smaller for mobile phones */
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 400px) {
  .navbar-logo {
    max-width: 250px; /* Even smaller for very small screens */
  }
}


/*---------------
 select Plan 
---------------*/
.plan {
    background-image: url('/static/assets/images/background.jpg');
    font-family: Arial, sans-serif; /* Updated background color */
    color: #fff; /* Set text color to white for better contrast */
}
.back-to-dashboard .btn{
  background-color: #026475;
  color: #fff;
  border: solid 2px;
  border-color: #00ffff;
}
.plan-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.plan-container h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #017981; /* Ensure the title is visible */
    font-family: montserrat alternates;
}
.pricing-table {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}
.pricing-card {
  background: #038299;
  border: 2px solid #00ffea; /* Border color */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  width: 300px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.ribbon {
  position: absolute;
  top: 10px;
  right: -30px;
  background: #e5ff00;
  color: #000000;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.pricing-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffffff;
}

.pricing-card .price {
  font-size: 36px;
  font-weight: bold;
  color: #00ffff;
}

.pricing-card .billing-frequency {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.pricing-card ul li {
  margin: 10px 0;
  color: #ffffff;
}

.pricing-card .btn {
  background: #026674;
  color: #fff;
  padding: 10px 20px;
  border-radius: 40px;
  border-color: #00fff2;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}

.pricing-card .btn:hover {
  background: #0056b3;
}
.custom-plan-section {
  text-align: center;  /* Centers text */
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers content */
  justify-content: center;
  padding: 20px;
  color: rgb(255, 255, 255); /* Ensures text is readable */
}

/* Style the "Request Custom Plan" button */
.custom-plan-section a.btn {
  display: inline-block;
  background-color: #027888; /* Blue color */
  color: rgb(255, 255, 255) !important; /* Ensures text color is white */
  padding: 10px 20px;
  border-radius: 5px;
  border: solid 2px;
  border-color: #00fff2;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

/* Hover effect */
.custom-plan-section a.btn:hover {
  background-color: #00fff2; 
  color: #027888 /* Darker blue */
}

@media screen and (max-width: 768px) {
  .plan-container {
    max-width: 100%;
    padding: 15px;
  }

  .plan-container h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .pricing-table {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 10px;
  }

  .pricing-card {
    width: 90%;
    padding: 15px;
  }

  .pricing-card h2 {
    font-size: 20px;
  }

  .pricing-card .price {
    font-size: 28px;
  }

  .pricing-card .billing-frequency {
    font-size: 14px;
  }

  .pricing-card ul li {
    font-size: 14px;
  }

  .pricing-card .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .custom-plan-section {
    padding: 15px;
  }

  .custom-plan-section a.btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .ribbon {
    font-size: 12px;
    padding: 5px 30px;
    top: 8px;
    right: -25px;
  }
}


/*------------------- 
Dashboard
--------------------*
/* Background Image */
.dashboard {
    background-image: url('/static/assets/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    color: white; /* Ensure text is readable */
    height: 100vh;
    display: flex;
    justify-content: center; 
    align-items: center;  
    font-family: Arial, sans-serif;
    overflow: hidden; 
    margin: 0; 
    padding: 0; 
    font-family: Montserrat Alternates;
}

/* Overlay for better readability */
.dashboard-container {
    background-color: rgba(18, 45, 65, 0.9); /* Semi-transparent black overlay */
    padding: 20px 20px 20px 20px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    
}
 /* Main container styling */
 .dashboard-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  overflow-y: auto;
  height: calc(100vh - 100px);
}
.mb-4 .btn {
  background-color: #00665D;
  border-radius: 3em;
  font-size: 20px;
  border: solid 2px;
  border-color: #00f5fd;
  color: #fff;
}
.mb-4 .btn:hover{
  background-color: #025968;
  color: #00f5fd;
}

.download-button {
  display: flex;
  justify-content: center; /* Horizontally centers the button */
  align-items: center;     /* Vertically centers if there's a height */
}

.download-button .btn {
background-color: #00665D;
border-radius: 3em;
border: solid 2px;
border-color: #00f5fd;
}
.download-button .btn:hover {
  background-color: #025968;
  color: #00f5fd;
}
.mr-3 {
  text-transform: uppercase;
}
/* Table styling */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 20px;
}

.table-compact {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table-compact th,
.table-compact td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  white-space: nowrap;
}

.table-compact th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.table-compact tr:nth-child(even) {
  background-color: transparent;
}

/* URL cell styling */
.url-cell {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Image styling in table */
.table-image {
  max-width: 50px;
  max-height: 50px;
  display: block;
  margin: 0 auto;
}

/* Grade badge styling */
.grade-badge {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  color: #00665D;
  font-weight: bold;
  font-size: 12px;
}

.grade-a { background-color: #28a745; }
.grade-b { background-color: #5cb85c; }
.grade-c { background-color: #ffc107; }
.grade-d { background-color: #fd7e14; }
.grade-e { background-color: #dc3545; }

/* Progress bar styling */
.progress-bar-container {
  margin-top: 10px;
}

/* Header styling */
.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* Plan Information in One Line */
.plan-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 20px;
    padding: 15px; /* Add padding */
    background-color: rgba(255, 255, 255, 0.1); /* Light background for the plan line */
    border: 1px solid #00eeff; /* Blue border */
    border-radius: 10px; /* Rounded corners */
}
.plan-info .separator {
    color: #ccc; /* Light gray color for the separator */
}

.dashboard-form-group {
  margin-bottom: 20px;
}

.dashboard-form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.dashboard-form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
/* Table Styling */
.table {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    color: white;
}

.table th, .table td {
    border-color: #f7f7f7; /* Darker border for better contrast */
}




.processing-container {
  margin: 20px 0;
  width: 100%;
}

.processing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.processing-header p {
  margin: 0;
  font-weight: bold;
  color: #fff;
}

.progress-bar-container {
  width: 100%;
}

.progress {
  position: relative;
  height: 10px;
  background-color: #222;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #44bbbf;
  transition: width 0.3s ease;
}


/* Add this to your main CSS file or <style> block */
@keyframes slant-stripes {
  from { background-position: 0 0; }
  to { background-position: 40px 0; }
}

#slantLines {
  background-image: linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);
  background-size: 40px 40px;
  animation: slant-stripes 1s linear infinite;
}

/* Cancel button styles */
.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

/* Metrics Section */
.metrics-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.metric-card {
  background: #00665D;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border: solid 2px;
  border-color: #00f5fd;
}


.metric-card h3 {
  margin-top: 0;
  color: #ffffff;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  font-family: 'MontserratSubrayada-Bold';
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 14px;
  color: #ffffff;
}

.metric-value {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
}

/* Grade Display */
.grade-display {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  margin: 0 auto;
}

.grade-description {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: #ffffff;
}

/* Grade Colors */
.grade-a { background-color: #4CAF50; color: white; }
.grade-b { background-color: #8BC34A; color: white; }
.grade-c { background-color: #FFC107; color: black; }
.grade-d { background-color: #FF9800; color: white; }
.grade-e { background-color: #F44336; color: white; }

/* Table Improvements */
.table-compact th, .table-compact td {
  padding: 8px 12px;
}

.url-cell {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .dashboard {
    height: auto;
    padding: 20px;
    text-align: center;
    overflow: hidden;
}

.dashboard-container {
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
}

.plan-info {
    flex-direction: column;
    gap: 5px;
    font-size: 16px;
    padding: 10px;
}

h1 {
    font-size: 36px;
    text-align: center;
}

/* Table Wrapper */
.table-container {
    width: 100%;
    overflow-x: auto; /* Enables horizontal scroll if needed */
}

/* Table Adjustments */
.table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
    table-layout: auto; /* Allows table to adjust to content */
}

/* Table Header & Cells */
.table th, .table td {
    padding: 8px;
    font-size: 14px;
    text-align: left;
    white-space: nowrap; /* Prevents breaking into multiple lines */
    overflow: hidden;
    text-overflow: ellipsis; /* Shows "..." for long text */
}

/* Wrap text for URLs & Long Text */
.table td:nth-child(2) { /* Second column (URL) */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
    max-width: 200px; /* Prevents it from becoming too wide */
}

/* Buttons */
.btn {
    font-size: 14px;
    padding: 8px 12px;
    display: inline-block;
    white-space: nowrap; /* Prevents button from wrapping */
}

/* Progress Bar */
.progress {
    height: 8px;
    max-width: 100%;
}

/* Responsive Adjustments */
    h1 {
        font-size: 28px;
    }

    .table-container {
        overflow-x: auto; /* Allow scrolling if table is too wide */
    }

    .table {
        display: table;
        width: 100%;
    }

    .table th, .table td {
        font-size: 12px;
        padding: 6px;
    }

    .table td:nth-child(2) {
        max-width: 150px; /* Reduce width of URL column for smaller screens */
    }
    /* Metrics Section */
.metrics-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.metric-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.metric-card h3 {
  margin-top: 0;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 14px;
  color: #666;
}

.metric-value {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

/* Grade Display */
.grade-display {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  margin: 0 auto;
}

.grade-description {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: #666;
}

/* Grade Colors */
.grade-a { background-color: #4CAF50; color: white; }
.grade-b { background-color: #8BC34A; color: white; }
.grade-c { background-color: #FFC107; color: black; }
.grade-d { background-color: #FF9800; color: white; }
.grade-e { background-color: #F44336; color: white; }

/* Table Improvements */
.table-compact th, .table-compact td {
  padding: 8px 12px;
}

.url-cell {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
}

/*---------------------
Base
---------------------*/
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; /* Set default text color to white for better contrast */
    color: #fff;
  }
  .navbar {
    background-color: #0d1117;
    display: flex; /* #122D41 with 90% opacity */ /* Dark background for the navbar */
  }
  .navbar-brand, .navbar-nav .nav-link {
    color: rgb(255, 255, 255) !important;
    font-family: montserrat; /* Ensure navbar text is white */
    margin: 10px 10px 10px 10px;
    font-size: 20px;
  }
  .navbar-nav .nav-link:hover {
    color: #f7f7f7 !important; /* Change color on hover */
  }
  .btn-login {
    padding: 10px 20px ;
    border-radius: 1em;
    border: solid 2px;
    border-color: #00fff2;
    font-size: 20px;
    margin-left: 10px;
    color: #fff;
    font-family: montserrat;
  }

  .btn-login:hover {
    color: #ffffff; /* Darker blue on hover */
    border-color: #ffffff;
    background-color: #00fff2;
  }
  .btn-register {
    padding: 10px 20px ;
    border-radius: 1em;
    border: solid 2px;
    border-color: #00fff2;
    font-size: 20px;
    margin-left: 10px;
    color: #fff;
    font-family: montserrat;
  }
  
  .btn-register:hover {
    color: #ffffff; /* Darker blue on hover */
    border-color: #ffffff;
    background-color: #00fff2;
  }
  
  @media (max-width: 768px) {
    .btn-login, .btn-register {
      padding: 10px; /* Adjust padding for better spacing */
      border-radius: 8px; /* Slightly reduce border-radius for a cleaner look */
      font-size: 16px;
      width: 100%; /* Make buttons full width */
      display: block; /* Ensure they take the full width */
      text-align: center; /* Center text properly */
      margin: 10px 0; /* Add vertical margin for spacing */
  }
  
  .btn-login {
      background-color: #07C9B7; /* Blue background */
      border: 2px solid #007bff;
  }
  
  .btn-login:hover {
      background-color: #0056b3;
      border-color: #0056b3;
  }
  
  .btn-register {
      background-color: #07C9B7; /* Green background */
      border: 2px solid #28a745;
  }
  
  .btn-register:hover {
      background-color: #218838;
      border-color: #218838;
  }
  
  /* Ensure proper layout on mobile */
  @media (max-width: 768px) {
      .btn-login, .btn-register {
          font-size: 18px; /* Increase font size slightly */
      }
  }
  }
  
  /*---------------------
  Register
  ----------------------*/
 .register {
  position: relative;
  background-image: url('/static/assets/images/register.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  padding: 40px 0;
  z-index: 1;
  overflow: hidden;
}

.register::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 12, 25, 0.7); /* dark overlay */
  z-index: 0;
}


.registration-container {
  background: rgba(10, 15, 20, 0.9);
  border: 2px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  color: #00f5ff;
  backdrop-filter: blur(6px);
    position: relative;
  z-index: 2; 
}

.register-logo-img {
  width: 180px;
  margin-bottom: 20px;
}

.registration-container h2 {
  font-size: 22px;
  color: #00f6ff;
  margin-bottom: 10px;
  font-weight: 600;
}

.login-prompt {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 20px;
}

.login-prompt a {
  color: #00ffe7;
  text-decoration: none;
  font-weight: 500;
}

.login-prompt a:hover {
  text-decoration: underline;
}

.register-form-group {
  margin-bottom: 18px;
}

.register-form-group label {
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
  color: #00f5ff;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background-color: #0f1115;
  color: #ffffff;
  font-size: 14px;
  transition: 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #00f0ff;
  box-shadow: 0 0 6px rgba(0, 255, 255, 0.6);
  background-color: #11141a;
}

.error {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.register-submit-button {
  background: linear-gradient(135deg, #00ffc8, #0094ff);
  border: none;
  border-radius: 30px;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  color: #0b0f14;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.register-submit-button:hover {
  background: linear-gradient(135deg, #00eeff, #0077ff);
  color: #fff;
}

.alert {
  padding: 10px 15px;
  background: #ff5f5f;
  border-radius: 5px;
  margin-bottom: 15px;
  color: #fff;
  font-size: 14px;
}


  @media screen and (max-width: 768px) {
    #register {
      background-image: url("/static/assets/images/register.jpg");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      width: 100%;
      min-height: 100vh; /* Ensures full viewport height */
      display: flex;
      justify-content: center;
      align-items: center;
      font-family: Arial, sans-serif;
      overflow: hidden;
      padding: 1rem; /* Prevents content from touching screen edges */
  }
  
  .registration-container {
      background-color: rgba(18, 45, 65, 0.8);
      padding: 1rem;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      width: 90%;
      max-width: 350px;
      text-align: center;
  }
  
  .logo-img {
      width: 180px; /* Slightly smaller for better scaling */
      margin-bottom: 1rem;
  }
  
  .registration-container h2 {
      margin-bottom: 0.8rem;
      color: #fff;
      font-family: "Montserrat", sans-serif;
      font-size: 24px; /* Reduced for better mobile fit */
  }
  
  .register-form-group {
      margin-bottom: 0.8rem;
      text-align: left;
  }
  
  .register-form-group label {
      display: block;
      margin-bottom: 0.2rem;
      color: #fff;
      font-size: 14px;
  }
  
  .register-form-group input {
      width: 100%;
      padding: 0.6rem;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 14px;
      color: #333;
  }
  
  .register-form-group input:focus {
      border-color: #007bff;
      outline: none;
  }
  
  .register-submit-button {
      background-color: #007bff;
      color: white;
      padding: 0.6rem 1rem;
      border: none;
      border-radius: 4px;
      font-size: 16px;
      cursor: pointer;
      width: 100%;
      margin-top: 0.8rem;
  }
  
  .register-submit-button:hover {
      background-color: #0056b3;
  }
  
  .login-link {
      margin-top: 0.8rem;
      display: block;
      color: #007bff;
      text-decoration: none;
      font-size: 14px;
  }
  
  .login-link:hover {
      text-decoration: underline;
  }
  
  }
/*----------------------
login
----------------------*/


.moz-login-wrapper {
  display: flex;
  min-height: 100vh;
  background-color: #0d1117;
}

.moz-login-container {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 380px;
  padding: 30px;
 border: solid 1px #00f5ff;
}

/* Logo */
.moz-logo {
  font-size: 28px;
  font-weight: 700;
  color: #00f5ff;
  text-align: center;
  margin-bottom: 5px;
  letter-spacing: 1px;
}
.login-logo-img {
  width: 200px; /* Adjust width as needed */
  margin-bottom: 1rem;
  margin-left: 3rem;
  
}

/* Welcome Text */
.moz-welcome {
  font-size: 20px;
  color: #00f5ff;
  margin: 0 0 15px 0;
  font-weight: 500;
  text-align: center;
}

/* Signup Link */
.moz-signup-prompt {
  text-align: center;
  color: #00f5ff;
  margin-bottom: 25px;
  font-size: 14px;
}

.moz-signup-prompt a {
  color: #00a59b;
  text-decoration: none;
  font-weight: 500;
}

/* Form Elements */
.moz-login-form {
  margin-bottom: 25px;
}

.moz-form-group {
  margin-bottom: 15px;
}

.moz-form-group label {
  display: block;
  font-size: 13px;
  color: #00f5ff;
  margin-bottom: 5px;
  font-weight: 600;
}

.moz-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #d5d7da;
  border-radius: 3px;
  font-size: 14px;
  box-sizing: border-box;
}

.moz-input:focus {
  border-color: #00a59b;
  outline: none;
}

/* Options Row */
.moz-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
}

.moz-remember {
  display: flex;
  align-items: center;
}

.moz-remember input {
  margin-right: 5px;
}

.moz-reset {
  color: #00a59b;
  text-decoration: none;
  font-weight: 500;
}

/* Submit Button */
.moz-submit {
  background: linear-gradient(135deg, #00ffc8, #0094ff);
  color: #000000;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.moz-submit:hover {
  background-color: #008c84;
}

/* Feature Box */
.moz-feature-box {
  background-color: #f5f7f9;
  border-radius: 4px;
  padding: 20px;
  position: relative;
  margin-top: 25px;
}

.moz-feature-tag {
  position: absolute;
  top: -10px;
  left: 15px;
  background-color: #00a59b;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
}

.moz-feature-box h3 {
  font-size: 15px;
  color: #141618;
  margin: 10px 0 5px 0;
  font-weight: 600;
}

.moz-feature-box p {
  font-size: 13px;
  color: #6f737b;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.moz-new-badge {
  display: inline-block;
  background-color: #e1f5f4;
  color: #00a59b;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.moz-feature-data h4 {
  font-size: 14px;
  color: #141618;
  margin: 0 0 3px 0;
  font-weight: 600;
}

.moz-feature-data p {
  font-size: 13px;
  color: #6f737b;
  margin: 0;
}

/* Error Messages */
.moz-error {
  color: #d1423f;
  font-size: 12px;
  margin-top: 3px;
  display: block;
}

/* Main Layout */
.split-login-wrapper {
  position: relative;
  display: flex;
  min-height: 100vh;
  background-image: url('/static/assets/images/login.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.split-login-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7); /* adjust opacity here */
  z-index: -1;
}


.login-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  
}

.tech-visual-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #121a2a 0%, #0d1117 100%);
  margin-top: 5em;
  margin-bottom: 5em;
  border: solid 1px #00f5ff;
  border-radius: 15px;
  margin-right: -5px;
  
 
}

/* Grid Animation */
.grid-scan-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(0, 245, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.scan-beam {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.8), 
    transparent);
  box-shadow: 0 0 15px white;
  animation: scan 4s linear infinite;
  opacity: 0.7;
}

@keyframes scan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Content Styling */
.visual-content {
  position: relative;
  z-index: 2;
  width: 80%;
  height: 80%;
}

.data-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
}

.data-bubble {
  background: rgba(30, 36, 46, 0.9);
  padding: 8px 15px;
  border-radius: 20px;
  color: #00f5ff;
  font-weight: bold;
  border: 1px solid rgba(0, 245, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

.feature-card {
  position: absolute;
  bottom: 10%;
  left: 10%;
  background: rgba(30, 36, 46, 0.7);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 245, 255, 0.2);
  backdrop-filter: blur(5px);
  max-width: 300px;
}

.feature-card h3 {
  color: #00f5ff;
  margin-bottom: 1rem;
}

.feature-card ul {
  list-style: none;
  padding: 0;
}

.feature-card li {
  margin-bottom: 0.8rem;
  color: #e0e6ff;
  display: flex;
  align-items: center;
}

.feature-icon {
  margin-right: 10px;
  font-size: 1.2rem;
  color: #b026ff;
}

/* Responsive */
@media (max-width: 768px) {
  .split-login-wrapper {
    flex-direction: column;
  }
  
  .tech-visual-panel {
    display: none;
  }
}
      @media screen and (max-width: 768px) {
        .login {
          background-image: url('/static/assets/images/login.jpg');
          background-size: cover;
          background-position: center;
          min-height: 100vh;
          margin: 0;
          font-family: Arial, sans-serif;
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 1rem;
      }
      
      .flex-container {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 100%;
      }
      
      .login-container {
          background: rgba(18, 45, 65, 0.9);
          padding: 1.5rem;
          border-radius: 10px;
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
          text-align: center;
          width: 90%; /* Adjust width dynamically */
          max-width: 350px;
          color: #fff;
      }
      
      .logo {
          width: 180px; /* Adjusted for better mobile fit */
          margin-bottom: 1rem;
      }
      
      .login-form-group {
          margin-bottom: 1rem;
          text-align: left;
      }
      
      .login-form-group label {
          display: block;
          margin-bottom: 0.3rem;
          font-weight: bold;
          color: #fff;
          font-size: 14px; /* Reduced for better readability */
      }
      
      .login-form-group input {
          width: 100%;
          padding: 0.75rem;
          box-sizing: border-box;
          border: 1px solid #ccc;
          border-radius: 5px;
          font-size: 14px;
      }
      
      .login-form-group input:focus {
          border-color: #007bff;
          outline: none;
      }
      
      .login-submit-button {
          background-color: #007bff;
          color: white;
          padding: 0.75rem 1rem;
          border: none;
          border-radius: 5px;
          cursor: pointer;
          font-size: 16px;
          width: 100%;
      }
      
      .login-submit-button:hover {
          background-color: #0056b3;
      }
      
      .register-link {
          display: block;
          margin-top: 1rem;
          color: #007bff;
          text-decoration: none;
          font-size: 14px;
      }
      
      .register-link:hover {
          text-decoration: underline;
      }
      
      .error-message {
          color: #ff6b6b;
          font-size: 14px;
          margin-top: 5px;
      }
      
      }
      /*------------------
      Footer
      -------------------*/
      #footer {
        color: #00f5ff;
        font-size: 14px;
        position: relative;
        padding: 0px 0 0px 0;
        
        background-image: url('/static/assets/images/footerimg.jpg');
        
      }
      #footer::before {
        content: "";
        background: rgba(0, 0, 0, 0.5);
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
      }
      
      
      #footer .footer-top .footer-contact {
        margin-bottom: 30px;
        position: relative;
      }
      
      #footer .footer-top .footer-contact h4 {
        font-size: 22px;
        margin: 0 0 30px 0;
        padding: 2px 0 2px 0;
        line-height: 1;
        font-weight: 700;
        position: relative;
      }
      
      #footer .footer-top .footer-contact p {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 0;
        font-family: "Raleway", sans-serif;
        color: #ffffff;
        position: relative;
      }
      
      #footer .footer-top h4 {
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        position: relative;
        padding-bottom: 12px;
      }
      
      #footer .footer-top .footer-links {
        margin-bottom: 30px;
        position: relative;
      }
      
      #footer .footer-top .footer-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }
      
      #footer .footer-top .footer-links ul i {
        padding-right: 2px;
        color: #c54848;
        font-size: 18px;
        line-height: 1;
      }
      
      #footer .footer-top .footer-links ul li {
        padding: 10px 0;
        display: flex;
        align-items: center;
      }
      
      #footer .footer-top .footer-links ul li:first-child {
        padding-top: 0;
      }
      
      #footer .footer-top .footer-links ul a {
        color: #fff;
        transition: 0.3s;
        display: inline-block;
        line-height: 1;
        position: relative;
      }
      
      #footer .footer-top .footer-links ul a:hover {
        text-decoration: none;
        color: #c54848;
      }
      
      #footer .footer-newsletter {
        font-size: 15px;
      }
      
      #footer .footer-newsletter h4 {
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        position: relative;
        padding-bottom: 12px;
      }
      
      #footer .footer-newsletter form {
        margin-top: 30px;
        background: #fff;
        padding: 6px 10px;
        position: relative;
        border-radius: 50px;
        text-align: left;
        border: 1px solid #e4e3e6;
      }
      
      #footer .footer-newsletter form input[type=email] {
        border: 0;
        padding: 4px 8px;
        width: calc(100% - 100px);
      }
      
      #footer .footer-newsletter form input[type=submit] {
        position: absolute;
        top: 0;
        right: -2px;
        bottom: 0;
        border: 0;
        background: none;
        font-size: 16px;
        padding: 0 20px;
        background: #c54848;
        color: #fff;
        transition: 0.3s;
        border-radius: 50px;
        box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
      }
      
      #footer .footer-newsletter form input[type=submit]:hover {
        background: #00664b;
      }
      
      #footer .credits {
        padding-top: 5px;
        font-size: 13px;
        color: #ffffff;
        position: relative;
      }
      
      #footer .social-links a {
        font-size: 18px;
        display: inline-block;
        background: #c54848;
        color: #fff;
        line-height: 1;
        padding: 8px 0;
        margin-right: 4px;
        border-radius: 50%;
        text-align: center;
        width: 36px;
        height: 36px;
        transition: 0.3s;
        position: relative;
      }
      
      #footer .social-links a:hover {
        background: #00805d;
        color: #fff;
        text-decoration: none;
      }
      
/*-----------------------
      Single Analysis URL
      -----------------------
.index {
    background-image: url('/static/assets/images/hamoie.jpg');
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 30px 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    font-family: montserrat;
}*/
.index {
    position: relative;
    background-image: url('/static/assets/images/homeimg.jpg');
    background-size: cover;
    background-position: center;
    font-family: montserrat, Arial, sans-serif;
    margin: 0;
    padding: 30px 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    z-index: 1;
}
.index::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9); /* black overlay with 60% opacity */
    z-index: -1;
}

.index-container {
    background-color: rgba(13, 17, 23, 0.9);
    width: 90%;
    max-width: 800px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 255, 242, 0.1);
    margin-top: 100px;
    margin-bottom: 100px;
}
.single-form-group {
        margin-bottom: 20px;
    }

    .single-form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .single-form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .index-btn {
  background: linear-gradient(135deg, #00ffc8, #0094ff);
    padding: 14px 32px;
    border: none !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    min-width: 280px !important;
    text-align: center !important;
    transition: all 0.6s ease-in-out !important;
    color: #fff !important;
    display: inline-block; 
}
.button-wrapper {
    text-align: center; /* centers the button only */
    margin-top: 15px;   /* small spacing from input */
}


/* Phase 1: Blue sleek */
.index-btn.phase-1 {
    background: linear-gradient(135deg, #1e3c72, #2a5298) !important;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.5) !important;
    animation: bounceText 1.5s infinite;
    font-style: bold !important;
}

/* Phase 2: Purple glow */
.index-btn.phase-2 {
    background: linear-gradient(135deg, #6a11cb, #2575fc) !important;
   animation: bounceText 1.5s infinite;
    font-style: bold !important;
}

/* Phase 3: Orange bounce */
.index-btn.phase-3 {
    background: linear-gradient(135deg, #ff6a00, #ee0979) !important;
    animation: bounceText 1.5s infinite;
    font-weight: bold !important;
}

@keyframes bounceText {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Phase 4: Green glowing pulse */
.index-btn.phase-4 {
    background: linear-gradient(135deg, #11998e, #38ef7d) !important;
    animation: bounceText 1.5s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px #38ef7d, 0 0 20px #11998e; }
    50% { box-shadow: 0 0 25px #38ef7d, 0 0 40px #11998e; }
    100% { box-shadow: 0 0 10px #38ef7d, 0 0 20px #11998e; }
}

    .index-btn:hover {
        background-color: #02495f;
    }
    

.metrics-horizontal-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap; /* no wrapping unless screen is too small */
    margin-top: 20px;
    overflow-x: auto; /* allow horizontal scrolling if needed */
}

.metrics-card {
    flex: 0 0 48%;
    background-color: #fff;
    color: #016969;
    border: 2px solid #00ffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
    min-width: 350px;
    border-left: 5px solid #ecdd00;
}

.metrics-card h3 {
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 30px;
    text-align: center;
    font-family: 'MontserratSubrayada-Bold';
    
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.metrics-grid div {
    font-size: 14px;
    line-height: 1.4;
}
.met-grid {
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px;
}

.metric-section {
  background: #009c8f;
  padding: 16px;
  border-radius: 10px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.metric-section p {
  word-break: break-word;
  overflow-wrap: anywhere;
  color: white;
}
.metric-section h3 {
  color: rgb(0, 255, 255);
  font-family: 'MontserratSubrayada-Bold';
}

.structured {
  grid-column: span 2;
  text-align: center;
}
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 100px 100px 100px 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
 background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  margin: auto;
  padding: 30px;
  border: 2px solid #000000;
  width: 80%;
  max-width: 700px;
  border-radius: 10px;
  color: #000;
  width: 100%;
  max-width: 1200px;
}

.modal-title {
    text-align: center;
    font-size: 50px;
    font-family: 'MontserratAlternates-Black';
    color: #00f5ff;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover {
  color: black;
}


/* Full website analysis prompt styles */
.full-site-prompt {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.full-site-prompt p {
    color: #fff;
    margin-bottom: 10px;
    font-size: 26px;
}

.full-site-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00f5ff;
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.full-site-btn:hover {
    background-color: #028096;
    color: white;
}

/* Value Props */
.value-props {
    padding: 4rem 1rem;
    background: #0d1117;
}
.value-props .container {
    text-align: center;
}
.value-props h2 {
  color: #00f5ff;
    text-align: center;
    position: relative;
    display: inline-block;
    margin: 0 auto 2rem;
    font-family: 'MontserratSubrayada-Bold';
    font-size: 45px;
}

.value-props h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: #00f5ff;
    bottom: -10px;
    left: 25%;
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2rem;
    background: #122D41;
    border-radius: 8px;
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
  color: #00f5ff;
}
/* Features */
.features {
    padding: 4rem 1rem;
    background: #0d1117;
}
.features .container {
    text-align: center;
}
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: #122D41;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.features h2 {
    color: #00f5ff;
    text-align: center;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    margin: 0 auto 2rem;
    font-family: 'MontserratSubrayada-Bold';
    font-size: 50px;
}

.features h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: #03e2ff;
    bottom: -10px;
    left: 25%;
    
}
.feature-item h3 {
    color: #00f5ff;
    margin-bottom: 1rem;
}

.feature-item ul {
    list-style-type: none;
    padding-left: 0;
}

.feature-item li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-item li:before {
    content: "✓";
    color: #00fdd3;
    position: absolute;
    left: 0;
}

/* CTA Section */
.full-website-cta {
    position: relative;
    padding: 4rem 1rem;
    background-image: url("/static/assets/images/register.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.full-website-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 70% black overlay */
    z-index: -1;
    transition: all 0.3s ease;
}


.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(135deg, #00ffc8, #0094ff);
    color: #0d1117;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* SEO Description Section with Image */
.seo-description {
    padding: 4rem 1rem;
    background: #0d1117;
    color: #000;
}

.seo-description h2 {
    color: #00f5ff;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    font-family: 'MontserratSubrayada-Bold';
}

.seo-description h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: #00fdd3;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.seo-content-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
}

.seo-image {
    flex: 1;
    min-width: 300px;
}

.seo-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.seo-content {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
}

.seo-content p {
    margin-bottom: 1.5rem;
}

.seo-content strong {
    color: #01d4f0;
    font-weight: 600;
}

@font-face {
  font-family: 'MontserratSubrayada-Bold';
  src: url('/static/assets/fonts/MontserratSubrayada-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'MontserratAlternates-Black';
  src: url('/static/assets/fonts/MontserratAlternates-Black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'MontserratAlternates-BoldItalic';
  src: url('/static/assets/fonts/MontserratAlternates-BoldItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .seo-content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .seo-image {
        min-width: 100%;
    }
    
    .seo-description h2 {
        font-size: 40px;
    }
    
    .seo-content {
        padding: 0 1rem;
        font-size: 1rem;
    }

    .features h2 {
      font-size: 40px;
    }

    .value-props h2 {
      font-size: 40px;
    }
.metrics-horizontal-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.metrics-card {
    flex: 0 0 48%;
    background-color: #006666;
    color: #fff;
    border: 2px solid #00ffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
    min-width: 350px;
}

.metrics-card h3 {
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.metrics-grid div {
    font-size: 14px;
    line-height: 1.4;
}

.met-grid {
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
}

@media screen and (max-width: 768px) {
  .metric-section {
    font-size: 14px;
  }

  .metric-section p {
    font-size: 13px;
  }
}



.structured {
    grid-column: span 2;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding: 100px 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border: 2px solid #000000;
    width: 90%;
    max-width: 700px;
    border-radius: 10px;
    color: #000;
}

.modal-title {
    text-align: center;
    font-size: 2rem;
    color: #122D41;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: black;
}

/* Mobile-specific styles (max-width: 768px) */
@media (max-width: 768px) {
    .metrics-horizontal-wrapper {
        flex-direction: column;
        gap: 15px;
        overflow-x: visible;
    }
    
    .metrics-card {
        flex: 1 1 100%;
        min-width: auto;
        width: 100%;
        padding: 15px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .met-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .structured {
        grid-column: span 1;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .metrics-card h3 {
        font-size: 18px;
    }
}
}
/* Tablet-specific styles (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .metrics-card {
        min-width: 300px;
    }
    
    .met-grid {
        gap: 30px;
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}


    @media (max-width: 768px) {
      .index {
        background-image: url('/static/assets/images/background.jpg');
        font-family: Arial, sans-serif;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: flex-start; /* Align items to the top to allow scrolling */
        min-height: 100vh;
        padding: 1rem;
        overflow: hidden; /* Prevent extra unwanted scrolling */
    }
    
    .index-container {
      width: 95%; /* Make it wider on small screens */
      padding: 15px; /* Reduce padding for smaller screens */
      margin-top: 50px; /* Reduce margin to fit within the viewport */
      margin-bottom: 50px; /* Adjust bottom margin */
  }

    
    /* Ensure buttons and form inputs are visible */
    .single-form-group {
        margin-bottom: 1rem;
    }
    
    .single-form-group label {
        display: block;
        margin-bottom: 0.3rem;
        font-weight: bold;
        font-size: 14px;
    }
    
    .single-form-group input {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
    }
    
    /* Buttons */
    .index-btn {
        width: 100%;
        padding: 0.75rem;
        background-color: #44bbbf;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
    }
    
    .index-btn:hover {
        background-color: #02495f;
    }
  }
    
    /* Responsive adjustments for smaller screens */
    @media (max-width: 480px) {
        .index-container {
            width: 100%;
            padding: 1rem;
            max-height: 80vh; /* Allows scrolling */
            overflow-y: auto;
        }
    
        .single-form-group input {
            font-size: 14px;
            padding: 0.6rem;
        }
    
        .index-btn {
            font-size: 14px;
            padding: 0.6rem;
        }
    
        .accordion {
            font-size: 14px;
            padding: 0.6rem;
        }
    }
/*----------------------------
Email Verification
----------------------------*/
/*Email verification page styles */
.email-verified {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}
.email-verified .verification-container {
  border: 5px solid red !important; /* Temporary for testing */
}
.verification-container {
  max-width: 500px;
  padding: 2rem;
  background: rgb(1, 146, 156);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.spinner {
  width: 40px;
  height: 40px;
  margin: 20px auto;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} 
