/* ----- Reset ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  background: #f2f2f2;
  color: #333;
}

/* ----- Header ----- */
header {
  background: linear-gradient(90deg, #ff416c, #ff4b2b);
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

header nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
}

header nav a:hover {
  text-decoration: underline;
}

/* ----- Container ----- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

/* ----- Hero Section ----- */
.hero {
  background: linear-gradient(135deg, #e2797cff, #497e20);
  padding: 50px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  color: #fff;
}

/* ----- Two Column Layout ----- */
.hero-columns {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-column {
  flex: 1 1 300px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.hero-column h2 {
  margin-bottom: 15px;
}

/* ----- Input, Select, Button Rows ----- */
.hero-row {
  margin: 10px 0;
}

.hero-row input[type="text"],
.hero-row select,
.hero-row button {
  width: 100%;
  max-width: 300px;
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  margin: 0 auto;
  display: block;
}

.hero-row select {
  background: #fff;
  color: #333;
}

.hero-row button {
  background: #fff;
  color: #ff416c;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.hero-row button:hover {
  background: #ff416c;
  color: #fff;
}

/* ----- Result Card ----- */
#resultChannel,
#resultVideo {
  margin-top: 15px;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  color: #333;
  text-align: left;
}

/* ----- SEO Info Card ----- */
.seo-card {
  margin-top: 10px;
  background: #f9f9f9;
  border-left: 5px solid #ff416c;
  padding: 10px 15px;
  border-radius: 8px;
}

.seo-card h4 {
  color: #ff416c;
  margin-bottom: 5px;
}

/* ----- Features Section ----- */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-card {
  flex: 1 1 200px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  color: #ff416c;
  margin-bottom: 10px;
}

/* ----- FAQ Section ----- */
.faq div {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.faq h3 {
  color: #ff416c;
  margin-bottom: 8px;
}

/* ----- Footer ----- */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}

footer a {
  color: #ff416c;
  margin: 0 10px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ----- Channel Info Section ----- */
.channel-info {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  margin-top: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.channel-info h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #ff416c;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.info-card {
  background: #ffeaea;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.info-card h4 {
  margin-bottom: 10px;
  color: #d63031;
  font-size: 1rem;
}

.info-card p {
  font-weight: 600;
  color: #333;
}

#resultChannel,
#resultVideo {
  display: none;
  /* hidden initially */
}

/* ----- Responsive ----- */
@media(max-width:768px) {
  .features {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero-columns {
    flex-direction: column;
  }
}

/* Header Inner */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Logo Styling */
.logo {
  width: 110px;
  /* Desktop default */
  height: 110px;
  border-radius: 12px;
  transition: width 0.3s, height 0.3s;
}

/* Adjust logo size on medium screens */
@media (max-width: 1024px) {
  .logo {
    width: 60px;
    height: 60px;
  }
}

/* Adjust logo size on small screens / mobile */
@media (max-width: 768px) {
  .logo {
    width: 50px;
    height: 50px;
  }

  header h1 {
    font-size: 1.4rem;
  }
}

/* Adjust logo and header on very small screens */
@media (max-width: 480px) {
  .logo {
    width: 40px;
    height: 40px;
  }

  header h1 {
    font-size: 1.4rem;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .lead {
    font-size: 1rem;
  }

  .img-fluid {
    max-width: 100%;
    height: auto;
  }

  .table th,
  .table td {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .card-body {
    padding: 1rem;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Tablet adjustments */
@media (min-width: 576px) and (max-width: 768px) {
  h1 {
    font-size: 1.5rem !important;
  }

  h2 {
    font-size: 1.75rem;
  }

  .img-fluid {
    max-width: 90%;
  }
}

/* Ensure images are centered and responsive */
.img-fluid {
  max-width: 100%;
  height: auto;
}


.navbar {
  background: linear-gradient(90deg, #0d1117, #161b22);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.navbar-nav .nav-link {
  color: #f1f1f1 !important;
  margin: 0 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  font-weight: bold;
  letter-spacing: 0.3px;
  font-size: 15px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: #43b82bff !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(255, 71, 87, 0.4);
}

.navbar-collapse { background-color: #165229; }
    .navbar-nav .nav-link { color: #fff !important; }
    .navbar-nav .nav-link:hover { color: #ffe5e5 !important; }

.navbar-brand {
  font-weight: 700;
  color: #ff4757 !important;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
}

/* Desktop hover */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  .navbar-nav .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 0;
  }
  h1{
    font-size: 2.5rem !important;
  }
}

.bg-gradient-info {
    background: linear-gradient(45deg, #0dcaf0, #6f42c1);
}

/* Circular graph */
.circular-progress {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#0d6efd 0%, #0d6efd var(--percent), #e9ecef var(--percent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Key metrics bars */
.metric-bar {
    background: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}
.metric-bar-inner {
    height: 16px;
    background: #0d6efd;
    text-align: right;
    padding-right: 5px;
    color: #fff;
    font-size: 12px;
    border-radius: 8px;
}

/* Top issues */
.top-issue {
    color: #dc3545;
    font-weight: 500;
}

/* Custom styles for professional look */
.card {
    border-radius: 10px;
}
.form-control {
    border-radius: 8px;
}
.btn-primary {
    border-radius: 8px;
    padding: 10px 20px;
}
.list-unstyled li {
    font-size: 1.1rem;
}
.table th, .table td {
    vertical-align: middle;
}
.accordion-button {
    font-weight: bold;
}
@media (max-width: 576px) {
    h1 {
        font-size: 1.4rem !important;
    }
    .lead {
        font-size: 1rem;
    }
    .btn-lg {
        padding: 8px 16px;
        font-size: 1rem;
    }
    .tools-home a{
      font-size: 10px !important;
      background-color: #198754;
    }
}

.tools-home a{
  background-color: #198754;
}


/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 0px; /* Reduced padding for tablets */
        padding-right: 0px;
        
    }
    .container {
        padding-left: 0px; /* Reduced padding for tablets */
        padding-right: 0px;
        margin-left: 20px;
    }
    nav .container-fluid{
      margin-left: 20px;
    }
}

