/* ================= MAIN FOOTER CORE STYLES ================= */
.agaram-main-footer {
  background-color: #0f172a; /* Premium Charcoal/Deep Slate Base */
  color: #94a3b8;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 60px;
  position: relative;
}

/* Tier 1 Grid Settings */
.agaram-footer-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
  border-bottom: 1px solid #1e293b;
}

.agaram-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.agaram-footer-col h5 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 25px 0;
  position: relative;
  padding-bottom: 10px;
}

/* Accent Line Below Section Headers */
.agaram-footer-col h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: #ff5722;
  border-radius: 2px;
}

/* Brand Profile Column Details */
.agaram-footer-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  display: block;
}

.agaram-footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 25px;
}

.agaram-office-info h5 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.agaram-office-info h5::after {
  display: none; /* Strip accent border decoration line from subheadings */
}

.agaram-footer-address {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
}

.agaram-footer-address i, .agaram-office-info h5 i {
  color: #ff5722;
  margin-top: 3px;
}

.agaram-footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.agaram-footer-phone i {
  color: #25d366; /* Active Standout green icon accent for calling */
}

.agaram-footer-phone:hover {
  color: #ff5722;
}

/* Hyperlinks Layout Lists */
.agaram-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.agaram-footer-links li {
  margin-bottom: 12px;
}

.agaram-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.agaram-footer-links a i {
  font-size: 0.85rem;
  color: #475569;
  transition: color 0.2s ease;
}

.agaram-footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.agaram-footer-links a:hover i {
  color: #ff5722;
}

/* Custom Highlight icon tracking on specific services portfolio */
.agaram-footer-links.services-list a i {
  color: #ff5722;
}

/* Tier 2 Middle Multi-Media Container Row */
.agaram-footer-middle {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px;
  border-bottom: 1px solid #1e293b;
}

.agaram-media-container {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 40px;
  align-items: stretch;
}

/* Left Element Map Box Styling Frame */
.agaram-footer-map-frame {
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid #334155;
  height: 290px;
  display: flex;
  flex-direction: column;
}

.agaram-map-header {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0 4px 10px 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.agaram-map-header i {
  color: #ff5722;
}

.agaram-footer-map-frame iframe {
  border-radius: 6px;
  flex-grow: 1;
}

/* Right Element Payment & Bank Account Details Card Container */
.agaram-footer-payment-card {
  background: linear-gradient(145deg, #1e293b, #111827);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
}

.agaram-card-split {
  display: flex;
  gap: 25px;
  width: 100%;
  align-items: center;
}

/* QR Code Section Configuration */
.agaram-qr-box {
  background-color: #ffffff;
  padding: 12px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.agaram-qr-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.agaram-qr-label {
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.agaram-qr-label i {
  color: #ff5722;
}

/* Bank Account Information Fields Metadata Layout */
.agaram-bank-details {
  flex-grow: 1;
}

.agaram-bank-details h4 {
  color: #ffffff;
  margin: 0 0 15px 0;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed #334155;
  padding-bottom: 8px;
}

.agaram-bank-details h4 i {
  color: #ff5722;
}

.agaram-bank-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.agaram-bank-list li {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  line-height: 1.4;
  gap: 15px;
}

.agaram-bank-list li strong {
  color: #64748b;
  font-weight: 600;
}

.agaram-bank-list li span {
  color: #cbd5e1;
  text-align: right;
}

/* Text Callout Highlights for vital information lines */
.agaram-bank-list li span.agaram-highlight-text {
  color: #ffffff;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  background-color: #0f172a;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Tier 3 Baseline Copyright Strip */
.agaram-footer-bottom {
  background-color: #0b0f19;
  padding: 20px;
}

.agaram-bottom-bar {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

.agaram-bottom-bar p {
  margin: 0;
}

.agaram-dev-credit a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.agaram-dev-credit a:hover {
  color: #ff5722;
}

/* ================= RESPONSIVE VIEWPORT BREAKPOINTS ================= */

/* Tablet & Intermediate Views Configuration */
@media (max-width: 1023px) {
  .agaram-footer-grid {
    grid-template-columns: 1fr; /* Drop structural column layout onto a clean stack format */
    gap: 35px;
  }
  
  .agaram-media-container {
    grid-template-columns: 1fr; /* Stack map frame cleanly on top of details bank card component */
    gap: 35px;
  }
  
  .agaram-footer-map-frame {
    height: 300px;
  }
}

/* Mobile Screens Configurations */
@media (max-width: 600px) {
  .agaram-card-split {
    flex-direction: column; /* Splitting internal card views vertically */
    text-align: center;
    gap: 20px;
  }
  
  .agaram-bank-list li {
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    margin-bottom: 12px;
  }
  
  .agaram-bank-list li span {
    text-align: center;
  }

  .agaram-bank-list li span.agaram-highlight-text {
    display: inline-block;
    align-self: center;
  }
  
  .agaram-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .agaram-main-footer {
    padding-top: 40px;
  }
}