/* ===== FOOTER CSS ONLY (Updated: Black Theme) ===== */

/* Footer Main Container */
.footer-main {
  background: rgba(0, 0, 0, 0.75); /* Changed: Background Black */
  color: #fff;          /* Text White */
  padding: 50px 0 20px 0;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 30px;
}

/* Footer Headings */
.footer-col h4 {
  color: #fff;          /* Changed: Heading White (Pehle dark thi) */
  margin-bottom: 20px;
  font-size: 1.3em;
  font-weight: 700;
}

/* Links */
.footer-quick-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(6, auto);
  column-gap: 40px;
  row-gap: 10px;
}

.footer-quick-links a {
  color: rgba(255, 255, 255, .8); /* Thoda sa transparent white styling ke liye */
  transition: var(--transition);
  white-space: nowrap;
  display: inline-block;
  text-decoration: none;
}

.footer-quick-links a:hover {
  color: #fff; /* Hover karne par Pure White */
  transform: translateX(5px);
}

.footer-col-contact {
  justify-self: end;
}

.contact-info p {
  margin-bottom: 12px;
  line-height: 1.8;
  color: #ccc; /* Halka sa grey text paragraph ke liye */
}

/* Social Icons */
.social-links a {
  display: inline-block;
  margin-right: 15px;
  font-size: 1.6em;
  color: #fff;
  transition: var(--transition);
}

.social-links a:hover {
  transform: scale(1.2);
  opacity: .8;
}

/* Bottom Copyright Bar */
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .1); /* Border bohot halki */
  font-size: .95em;
  color: #aaa;
}

/* --- Mobile Footer --- */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col-contact {
    justify-self: center;
  }

  .footer-quick-links {
    grid-auto-flow: column;
    grid-template-rows: repeat(6, auto);;
    justify-content: space-evenly;
  }

  .footer-quick-links a {
    font-size: 0.9rem;
  }

  .social-links a {
    margin: 0 10px;
  }
}


/* --- GROWW STYLE FOOTER TABS --- */
.footer-tabs-section {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1); /* Halka divider */
    padding-top: 20px;
}

/* Tab Buttons Container */
.footer-tab-buttons {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 25px;
    overflow-x: auto; /* Mobile pe scroll hoga agar jagah kam pad gayi */
    white-space: nowrap;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.footer-tab-buttons::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome */
}

/* Individual Tab Button */
.tab-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6); /* Inactive color */
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 5px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #fff;
}

/* Active Tab Style (Niche line aa jayegi) */
.tab-btn.active {
    color: #fff;
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Line exactly border ke upar */
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color); /* Aapka Green Color */
    border-radius: 2px 2px 0 0;
}

/* Tab Content Grid */
.footer-tab-content {
    display: none; /* Default hidden, JS will show */
    animation: fadeIn 0.5s;
}

.tab-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Desktop pe 4 columns */
    gap: 15px 30px;
}

.tab-links-grid a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.tab-links-grid a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .tab-links-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobile pe 2 columns */
    }
    
    .footer-tab-buttons {
        gap: 20px;
    }
    
    .tab-btn {
        font-size: 0.9rem;
    }
}