/*
Theme Name: AGAD Nation
Theme URI: https://www.programs.agadnation.org/agadnation/
Author: Ziroc Consulting
Author URI: http://zirocconsulting.agadnation
Description: Ancient Gods Asserting Dominance
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: agadnation
*/

html,html[lang] {height: 100% !important;margin: 0 !important;padding: 0 !important;box-sizing: border-box;}
body {margin: 0 !important;padding: 0 !important;box-sizing: border-box;display: flex !important;flex-direction: column !important;min-height: 100vh !important;}
body.page-id-23,body.page-id-21,body.page-id-19, body.page-id-17,body.page-id-15,body.page-id-13,body.page-id-9,body.page-id-11,body.page-id-6,body.page-id-25 {background-color: #0f172a !important;}

/* ==========================================================
    1. PRO STICKY HEADER LAYOUT SYSTEM (1200px MAXIMUM BOUNDS)
   ========================================================== */
.site-header {position: sticky !important;top: 0;left: 0;width: 100%;z-index: 9999;background: #000;background-image:radial-gradient(ellipse at 80% 70%, rgba(0, 180, 216, 0.8) 0%, transparent 40%),radial-gradient(ellipse at 80% 90%, rgba(0, 255, 200, 0.4) 0%, transparent 35%),radial-gradient(ellipse at 0% 60%, rgba(220, 20, 60, 0.9) 0%, transparent 45%),radial-gradient(ellipse at 10% 80%, rgba(255, 69, 0, 0.5) 0%, transparent 35%),radial-gradient(ellipse at 0% 0%, rgba(255, 140, 0, 0.7) 0%, transparent 40%),radial-gradient(ellipse at 20% 10%, rgba(255, 215, 0, 0.3) 0%, transparent 30%),radial-gradient(ellipse at 100% 0%, rgba(173, 255, 47, 0.4) 0%, transparent 35%);padding: 0 !important;margin-bottom: 0 !important;display: flow-root !important;will-change: transform;transform: translateZ(0);}
.header-container {display: flex;align-items: center;justify-content: space-between;max-width: 1200px !important;width: 100%;margin-left: auto !important;margin-right: auto !important;padding: 15px 20px 10px 20px;box-sizing: border-box;}
.site-header-logo img {height: 110px;width: auto;display: block;}
.header-right-column {display: flex;flex-direction: column;align-items: flex-end;gap: 12px;}

/* ==========================================================
    2. NAVIGATION COMPONENT MODULES
   ========================================================== */
.header-utility-nav {display: flex;align-items: center;gap: 10px;}
.header-user-icon img { height: 32px; width: auto; display: block;}
.header-btn-util {color: #fff !important;font-size: 11px;font-weight: 600;height: 26px; padding: 0 10px;border: 0.5px solid rgba(255,255,255,0.4);border-radius: 2px;display: flex;align-items: center; justify-content: center;line-height: 1; text-transform: uppercase;transition: background 0.3s;}
.header-btn-util:hover {background: rgba(255, 255, 255, 0.15);}
.header-bottom-row {display: flex;align-items: center;gap: 20px;}
.header-main-menu {display: flex !important;gap: 18px;margin-top: 15px;}
.header-main-menu a {color: #fff !important;font-size: 14px;white-space: nowrap;text-decoration: none;font-weight: 500;transition: color 0.2s;}
.header-main-menu a:hover {color: #2ecc71 !important; /* Elegant highlight matching your branding green */}
.header-search input {background: #FFD700;border: none;height: 26px;padding: 0 15px;border-radius: 13px;width: 150px;font-size: 11px;color: #333;outline: none;display: block;margin-top: 15px;}

/* ==========================================================
    3. SUBMENU INTERACTIVES
   ========================================================== */
.header-has-header-submenu {position: relative;}
.header-submenu {display: none;position: absolute;top: 100%;left: 0;background: rgba(0, 0, 0, 0.95); list-style: none;padding: 5px;min-width: 180px;z-index: 100;border-radius: 4px;}
.header-has-header-submenu:hover .header-submenu {display: block;}
.header-submenu a {color: white !important;display: block;padding: 1px 10px; text-decoration: none;}
.header-submenu li {padding: 0;margin: 0;}
.header-submenu a:hover {text-decoration: underline;color: #2ecc71 !important;}
.header-submenu li a {color: #fff;padding: 8px 10px;display: block;font-size: 14px;text-decoration: none;}
.header-submenu li a:hover {background: rgba(255, 255, 255, 0.1);}

/* ==========================================================
    4. SPONSOR TICKER COMPONENTS
   ========================================================== */
.agsti-header-sponsors {background: transparent;width: 100%;justify-content: center;overflow: hidden;display: flex;padding: 5px 0;margin-top: 15px; }
.hdagsti-sponsors-inner {display: flex;align-items: center;overflow: hidden;width: 40%;min-width: 200px;}
.hdagsti-sponsor-wrapper {display: flex;animation: agsti-scroll-left 20s linear infinite;gap: 50px;}
.hdagsti-sponsor {display: flex;flex-direction: column;justify-content: center;margin: 0 35px;flex-shrink: 0; }
.hdagsti-sponsor a {display: flex;flex-direction: column;  align-items: center;     text-align: center;      text-decoration: none;}
.hdagsti-sponsor img {display: block;margin: 0 auto;height: 40px;width: auto;}
.hdagsti-sponsor-name {font-family: Georgia, "Times New Roman", serif;font-size: 14px;color: #ffffff;margin-top: 1px;text-align: center;}
.main-navigation ul {display: flex;justify-content: space-between;align-items: center;list-style: none;background: #2d3748;padding: 1rem 2rem;}
.main-navigation a {color: #ffffff;text-decoration: none;font-weight: 500;}
.main-navigation a:hover {color: #a0aec0;}
@keyframes agsti-scroll-left {0% { transform: translateX(0); }100% { transform: translateX(-50%); } }
.hdagsti-sponsors-inner:hover {animation-play-state: paused; }

/* ==========================================================
    5. SECURE MOBILE RESPONSIVE ADAPTATIONS
   ========================================================== */
@media (max-width: 1023px) {
.site-header {position: sticky !important;top: 0 !important;left: 0 !important;width: 100% !important;padding: 0 !important;box-sizing: border-box !important;}
.header-container {flex-direction: column;align-items: center;gap: 15px;width: 100%;padding: 15px 4% 10px 4% !important;}
.site-header-logo img {height: 65px !important; margin: 0 auto;}
.header-right-column {align-items: center;width: 100%;gap: 10px;}
.header-bottom-row {flex-direction: column;width: 100%;gap: 10px;}
.header-main-menu {flex-wrap: wrap !important;justify-content: center;gap: 12px !important;margin-top: 10px !important;width: 100%;}
.header-main-menu a {font-size: 13px !important; white-space: normal !important; text-align: center;}
.header-search input {margin-top: 10px !important;width: 100% !important; max-width: 260px;box-sizing: border-box;}
.agsti-header-sponsors {width: 100%;margin-top: 10px !important;}
.hdagsti-sponsors-inner {width: 90% !important; }}

@media (max-width: 768px) {
.agsti-header-sponsors {margin-top: 10px;}
.hdagsti-sponsors-inner { width: 70%; gap: 30px;}
.hdagsti-sponsor img { height: 35px; }
.hdagsti-sponsor-name { font-size: 10px; }}

@media (min-width: 1024px) {
.mobile-only-link {display: none !important;}}

@media (max-width: 1023px) {
.mobile-only-link {display: block; }}

/* Base normalization settings */
*html {margin-top: 0px !important;}

body {margin-top: 0px !important;padding-top: 0px !important;}
#wpadminbar {position: absolute !important;top: 0 !important;}

/* =============================
   AGAD NATION Welcome
============================= */
.agsti-master-boxed-wrapper {
    max-width: 1200px !important; /* Forces the content to lock at 1200px wide */
    width: 100% !important;
    margin-left: auto !important;  /* Centers the box perfectly in the middle */
    margin-right: auto !important; /* Centers the box perfectly in the middle */
    box-sizing: border-box;
    
    /* Safely captures your page backgrounds inside the 1200px column boundary */
    background-color: #F7F4EF; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Adds a subtle drop shadow like the right page */
}


.agsti-main {font-family: Arial, Helvetica, sans-serif;color: #2B2521;line-height: 1.6;}
[data-agsti-scroll] {opacity: 0;transform: translateY(15px);transition: all 0.8s ease-out;}
[data-agsti-scroll].visible {opacity: 1;transform: translateY(0);}
.agsti-hero {background: #F7F4EF;text-align: center;padding: 20px 20px 10px;}

/* Removes the boxed layout restriction from your main page template wrapper */
.agsti-main,#site-wrapper,.site-main,#primary {max-width: 100% !important;width: 100% !important;margin: 0 !important;}

/* Ensures your background colors dynamically span 100% of the monitor width */
.agsti-hero,.agsti-section,.agsti-closing,.agsti-faq {width: 100% !important;box-sizing: border-box;}

/* Headings & Typography */
.agsti-title,.agsti-heading,.agsti-closing-title {font-family: Georgia, "Times New Roman", serif;}
.agsti-title {font-weight: 600;font-size: 36px;color: #2B0071;margin-bottom: 1px;}
.agsti-subtitle {font-family: Arial, Helvetica, sans-serif;font-size: 16px;color: #7E9C8B;margin-top: 1px;margin-bottom: 10px;justify-content: center;}
.agsti-intro {max-width: 80%;margin: 0 auto 40px;font-size: 18px;line-height: 1.5;}

/* BUTTONS */
.agsti-buttons {display: flex;justify-content: center;flex-wrap: wrap;gap: 15px;}
.agsti-btn {background: #4A2E1E;color: #fff;padding: 12px 24px;text-decoration: none;border-radius: 4px;transition: all 0.3s ease;}
.agsti-btn:hover {background: #7E9C8B;transform: scale(1.05);}
.agsti-btn-outline {background: transparent;border: 1px solid #4A2E1E;color: #4A2E1E;}
.agsti-btn-outline:hover {background: #4A2E1E;color: #fff;}

/* SECTIONS */
.agsti-section {padding: 20px 10px;}
.agsti-alt {background: #F4E8D8;}
.agsti-container {max-width: 1100px;margin: 0 auto;text-align: center;}
.agsti-heading {font-size: 36px;margin-top: 5px;margin-bottom: 5px;}
.agsti-text {max-width: 800px;margin: 0 auto 40px;}

/* GRID */
.agsti-grid-3 {display: grid;grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));gap: 25px;margin-top: 40px;}
.agsti-card,.agsti-link-card {padding: 5px;}
.agsti-link-card a {display: block;text-decoration: none;color: #2B2521;background: #fff;border-radius: 12px; /* rounded card */box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* subtle shadow */padding: 20px;transition: transform 0.3s ease, box-shadow 0.3s ease;position: relative;overflow: hidden;}
.agsti-link-card a:hover {color: #7E9C8B;transform: scale(1.03);box-shadow: 0 8px 20px rgba(0,0,0,0.15);   }
.agsti-card-icon {font-size: 36px;margin-bottom: 10px;font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;}
.agsti-card-title {font-weight: 600;font-size: 18px;margin-bottom: 5px;}
.agsti-card-desc {font-size: 14px;color: #555;opacity: 0;max-height: 0;transition: all 0.3s ease;}
.agsti-link-card a:hover .agsti-card-desc {opacity: 1;max-height: 100px;}

/* CLOSING */
.agsti-closing {background: linear-gradient(to bottom, #F7F4EF, #E6F1F4);text-align: center;padding: 20px 20px;}
.agsti-closing-title {font-size: 42px;margin-top: 5px;margin-bottom: 20px;}

/* Programs & Services Section */
.agsti-programs {background: #F4E8D8; /* subtle background difference from knowledge grid */}

.agsti-programs .agsti-heading {margin-bottom: 40px;}
.agsti-programs .agsti-link-card a {background: #fff;border-radius: 12px;box-shadow: 0 4px 12px rgba(0,0,0,0.1);padding: 20px;display: block;text-decoration: none;color: #2B2521;transition: transform 0.3s ease, box-shadow 0.3s ease;position: relative;overflow: hidden;}
.agsti-programs .agsti-link-card a:hover {transform: scale(1.03);box-shadow: 0 8px 20px rgba(0,0,0,0.15);}
.agsti-programs .agsti-card-icon {font-size: 36px;margin-bottom: 10px;}
.agsti-programs .agsti-card-title {font-weight: 600;font-size: 18px;margin-bottom: 5px;}
.agsti-programs .agsti-card-desc {font-size: 14px;color: #555;opacity: 0;max-height: 0;transition: all 0.3s ease;}
.agsti-programs .agsti-link-card a:hover .agsti-card-desc {opacity: 1;max-height: 100px;}

/* Reuse the responsive grid */
.agsti-programs .agsti-grid-3 {display: grid;grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));gap: 25px;margin-top: 40px;}

/* MOBILE MEDIA QUERIES */
@media (max-width: 767px) {
    .agsti-title { font-size: 32px; }
    .agsti-heading { font-size: 28px; }
    .agsti-closing-title { font-size: 32px; }
    .agsti-buttons { flex-direction: column; gap: 12px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .agsti-title { font-size: 42px; }
    .agsti-heading { font-size: 36px; }
    .agsti-closing-title { font-size: 40px; }
    .agsti-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .agsti-title { font-size: 48px; }
    .agsti-heading { font-size: 36px; }
    .agsti-closing-title { font-size: 42px; }
    .agsti-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .agsti-map { width: 500px; }
}

.agsti-programs .agsti-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
@media (max-width: 480px) {
  .agsti-programs .agsti-card-desc {
    opacity: 1;
    max-height: 200px;
  }
}

.agsti-card:hover,.agsti-link-card:hover {transform: translateY(-5px);transition: transform 0.3s ease-out;}

/* FAQ Section */
.agsti-faq {background: #F7F4EF;padding: 20px 20px;}
.agsti-faq-grid {display: grid;grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));gap: 25px;margin-top: 40px;}
.agsti-faq-card {background: #fff;border-radius: 12px;box-shadow: 0 4px 12px rgba(0,0,0,0.1);overflow: hidden;transition: transform 0.3s ease, box-shadow 0.3s ease;}
.agsti-faq-card:hover {transform: scale(1.02);box-shadow: 0 8px 20px rgba(0,0,0,0.15);}
.agsti-faq-question {width: 100%;padding: 18px 20px;text-align: left;font-weight: 600;background: #4A2E1E;color: #fff;border: none;cursor: pointer;outline: none;transition: background 0.3s ease;}
.agsti-faq-question:hover {background: #7E9C8B;}
.agsti-faqli {text-align: left;}
.agsti-faq-answer {padding: 15px 20px;font-size: 14px;color: #2B2521;text-align: left;display: none;line-height: 1.5;}
.agsti-faq-answer.show {display: block;}

/* Mobile adjustments */
@media (max-width: 480px) {
  .agsti-faq-grid {grid-template-columns: 1fr;}
}

.agsti-faq-answer {padding: 15px 20px;font-size: 14px;color: #2B2521;display: none;line-height: 1.5;}
.agsti-faq-answer.show {display: block;}
#imageModal {display: flex;justify-content: center;align-items: center;position: fixed;top:0;left:0;width:100%;height:100%;background-color: rgba(0,0,0,0.8);visibility: hidden;opacity: 0;transition: opacity 0.2s;z-index: 999;}
#imageModal.active {visibility: visible;opacity: 1;}
#imageModal img {max-width: 70%;max-height: 45%;border-radius: 8px;display: block;}

/* Close button */
#closeModal {position: absolute;top: 20px;right: 30px;font-size: 40px;font-weight: bold;color: white;cursor: pointer;}

/* Optional link styling */
a.firstnation {cursor: pointer;color: blue;text-decoration: underline;}

 /* ==========================================
    2. FOOTER & RADIO PLAYER STYLES (BASE)
    ========================================== */
#zio-site-footer.zio-site-footer {position: relative;background-color: #000 !important;background-image:radial-gradient(ellipse at 80% 70%, rgba(0, 180, 216, 0.8) 0%, transparent 40%),radial-gradient(ellipse at 80% 90%, rgba(0, 255, 200, 0.4) 0%, transparent 35%),radial-gradient(ellipse at 0% 60%, rgba(220, 20, 60, 0.9) 0%, transparent 45%),radial-gradient(ellipse at 10% 80%, rgba(255, 69, 0, 0.5) 0%, transparent 35%),radial-gradient(ellipse at 0% 0%, rgba(255, 140, 0, 0.7) 0%, transparent 40%),radial-gradient(ellipse at 20% 10%, rgba(255, 215, 0, 0.3) 0%, transparent 30%),radial-gradient(ellipse at 100% 0%, rgba(173, 255, 47, 0.4) 0%, transparent 35%);background-size: 100% 100% !important;width: 100% !important;min-height: 0 !important;color: #ffffff !important;display: block !important; padding: 50px 0 !important; box-sizing: border-box !important;clear: both !important;margin-top: auto !important; flex-shrink: 0 !important;margin-bottom: 0 !important;will-change: transform;transform: translateZ(0);}
.zio-footer-wave {display: block;width: 100%;height: auto;margin-top: -100px;z-index: 1;}

#zio-footer-mini-radio-player {position: fixed !important;bottom: 0 !important;left: 0 !important;width: 100% !important;height: 70px !important;box-sizing: border-box !important;}

.zio-radio-art img {width: 45px;height: 45px;border-radius: 4px;object-fit: cover;}
.zio-footer-radio-info {color: #eaecdf;font-size: 11px;margin: 5px 0;font-family: sans-serif;}
#zio-footer-radio-title {font-size: 13px;font-weight: 600;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.zio-footer-radio-controls {display: flex;align-items: center;justify-content: center;gap: 12px;}

#zio-footer-radio-toggle {background: transparent;border: 1px solid #482A82;color: #482A82;border-radius: 50%;width: 30px;height: 30px;cursor: pointer;display: flex;align-items: center;justify-content: center;transition: var(--transition);}
 #zio-radio-volume {width: 120px;accent-color: #7210C2;}
.zio-footer-main {display: flex !important;flex-direction: column !important;align-items: center !important;    /* Centers everything horizontally */justify-content: center !important;  /* Centers everything vertically */margin: 15px auto !important; width: 100% !important;text-align: center !important;}
.zio-footer-logo {display: flex !important;justify-content: center !important;align-items: center !important;width: 100% !important;margin: 0 auto 15px auto !important; /* Forces centering and adds a clean space below */}
.zio-footer-logo img {display: block !important;margin: 0 auto !important;}
.zio-footer-links {display: flex !important;justify-content: center !important;align-items: center !important;gap: 20px !important;margin: 15px 0 !important;flex-wrap: wrap !important;}
.zio-footer-links a {color: #ffffff !important;text-decoration: none !important;font-size: 13px;}
.zio-footer-social-icons {display: flex;justify-content: center;gap: 15px; margin-top: 10px;}
.zio-footer-copyright {max-width: 1200px !important;width: 100% !important;margin: 15px auto 0 auto !important;text-align: center !important;display: block !important;}
#zio-footer-radio-title,.zio-footer-radio-info {text-align: center !important;width: 100% !important;display: block !important;margin-left: auto !important;margin-right: auto !important;}
