/*
 Theme Name:   Income Tax Bengaluru Child
 Theme URI:    https://www.incometaxbengaluru.org
 Description:  Child theme for Income Tax Bengaluru – Karnataka & Goa (GeneratePress)
 Author:       Income Tax Department, Karnataka & Goa
 Author URI:   https://www.incometaxkarnatakagoa.gov.in
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  incometaxbengaluru-child
*/

/* ============================================================
   TABLE OF CONTENTS
   1.  CSS Variables / Design Tokens
   2.  Global Reset & Base
   3.  Typography
   4.  GeneratePress Core Overrides
       4a. Top Bar
       4b. Site Header
       4c. Navigation
       4d. Site Footer
   5.  Hero / Banner
   6.  Section Layouts
   7.  Info Cards
   8.  Circular Strip / Notifications
   9.  Tax Tools Grid
   10. Quote Section
   11. FAQ Accordion
   12. Contact Section
   13. Buttons
   14. Utility Classes
   15. Responsive
   16. Animations
   ============================================================ */


/* ============================================================
   1. CSS Variables / Design Tokens
   ============================================================ */
:root {
  --itb-navy:        #0b2545;
  --itb-navy-mid:    #13315c;
  --itb-navy-light:  #1b4080;
  --itb-gold:        #c9a84c;
  --itb-gold-light:  #e8c97a;
  --itb-cream:       #faf8f3;
  --itb-cream-dark:  #f0ece0;
  --itb-text:        #1a1a2e;
  --itb-text-muted:  #5a6175;
  --itb-white:       #ffffff;
  --itb-border:      #ddd8c8;
  --itb-shadow:      0 4px 24px rgba(11, 37, 69, 0.10);
  --itb-radius:      4px;
  --itb-font-display: 'Playfair Display', Georgia, serif;
  --itb-font-body:    'Source Sans 3', 'Segoe UI', sans-serif;
  --itb-container:   1160px;
}


/* ============================================================
   2. Global Reset & Base
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--itb-font-body);
  background-color: var(--itb-cream);
  color: var(--itb-text);
  font-size: 16px;
  line-height: 1.7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--itb-navy-light);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--itb-gold);
}


/* ============================================================
   3. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title {
  font-family: var(--itb-font-display);
  color: var(--itb-navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.5vw, 36px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
h4 { font-size: 18px; }

p {
  margin-bottom: 1.2em;
  color: var(--itb-text-muted);
}

.section-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--itb-gold);
  margin-bottom: 10px;
}

.gold-line {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--itb-gold);
  border-radius: 2px;
  margin: 14px 0 0;
}


/* ============================================================
   4a. GeneratePress — Top Bar
   ============================================================ */
.top-bar {
  background-color: var(--itb-navy) !important;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  padding: 6px 0;
  border-bottom: 2px solid var(--itb-gold);
}

.top-bar .inside-top-bar {
  max-width: var(--itb-container);
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.top-bar a {
  color: var(--itb-gold-light) !important;
  text-decoration: none;
}

.top-bar a:hover {
  color: #fff !important;
}


/* ============================================================
   4b. GeneratePress — Site Header
   ============================================================ */
.site-header {
  background-color: var(--itb-navy-mid) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: none;
}

.site-header .inside-header {
  max-width: var(--itb-container);
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Site title / logo text */
.site-title a,
.site-title a:hover {
  color: #fff !important;
  font-family: var(--itb-font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-description {
  color: var(--itb-gold-light) !important;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}

/* Header logo sizing */
.site-logo img,
.custom-logo {
  max-height: 50px;
  width: auto;
}


/* ============================================================
   4c. GeneratePress — Primary Navigation
   ============================================================ */
.main-navigation,
.nav-primary {
  background-color: var(--itb-navy-mid) !important;
}

.main-navigation .inside-navigation,
.nav-primary .inside-navigation {
  max-width: var(--itb-container);
  padding: 0 24px;
}

/* Nav links */
.main-navigation a,
.nav-primary a {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 15px;
  border-radius: var(--itb-radius);
  transition: background 0.2s, color 0.2s;
}

.main-navigation a:hover,
.nav-primary a:hover {
  background-color: rgba(201, 168, 76, 0.15) !important;
  color: var(--itb-gold-light) !important;
}

/* Active / current menu item */
.main-navigation .current-menu-item > a,
.nav-primary .current-menu-item > a,
.main-navigation .current-page-ancestor > a,
.nav-primary .current-page-ancestor > a {
  background-color: var(--itb-gold) !important;
  color: var(--itb-navy) !important;
  font-weight: 600;
}

/* Dropdown sub-menu */
.main-navigation .sub-menu,
.nav-primary .sub-menu {
  background-color: var(--itb-navy) !important;
  border: 1px solid rgba(201, 168, 76, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 var(--itb-radius) var(--itb-radius);
}

.main-navigation .sub-menu a,
.nav-primary .sub-menu a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px 18px;
}

.main-navigation .sub-menu a:hover,
.nav-primary .sub-menu a:hover {
  background-color: var(--itb-navy-light) !important;
}

/* Mobile nav toggle */
.menu-toggle,
button.menu-toggle {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--itb-radius);
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}

.menu-toggle:hover {
  background-color: rgba(201, 168, 76, 0.2);
  border-color: var(--itb-gold);
  color: var(--itb-gold-light);
}


/* ============================================================
   4d. GeneratePress — Site Footer
   ============================================================ */
.site-footer {
  background-color: var(--itb-navy) !important;
  color: rgba(255, 255, 255, 0.6);
  border-top: 3px solid var(--itb-gold);
  padding: 48px 0 24px;
}

.site-footer .inside-footer {
  max-width: var(--itb-container);
  padding: 0 24px;
}

.site-footer a {
  color: var(--itb-gold-light) !important;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff !important;
}

.site-footer .copyright-bar,
.site-footer .footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 36px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Footer widget areas */
.footer-widgets {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-widgets .widget-title {
  color: var(--itb-gold-light) !important;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--itb-font-body);
}

.footer-widgets ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widgets ul li {
  margin-bottom: 9px;
}

.footer-widgets ul li a {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 13.5px;
}

.footer-widgets ul li a:hover {
  color: var(--itb-gold-light) !important;
}


/* ============================================================
   5. Hero / Banner
   ============================================================ */
.hero-section,
.itb-hero {
  background: linear-gradient(135deg, var(--itb-navy) 0%, var(--itb-navy-light) 60%, #1e5799 100%);
  position: relative;
  overflow: hidden;
  padding: 90px 24px 80px;
  text-align: center;
}

.hero-section::before,
.itb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--itb-gold-light);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.hero-section h1,
.itb-hero h1 {
  font-family: var(--itb-font-display);
  font-size: clamp(36px, 6vw, 62px);
  color: #fff !important;
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 700;
}

.hero-section h1 span,
.itb-hero h1 .hero-accent {
  color: var(--itb-gold-light);
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.hero-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  padding: 7px 18px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* ============================================================
   6. Section Layouts
   ============================================================ */
.itb-section {
  padding: 72px 24px;
}

.itb-section-alt {
  background-color: var(--itb-cream-dark);
}

.itb-section-dark {
  background-color: var(--itb-navy);
  color: #fff;
}

.itb-section-dark h2,
.itb-section-dark h3,
.itb-section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

.itb-section-dark h2 {
  color: #fff !important;
}

.itb-container {
  max-width: var(--itb-container);
  margin-left: auto;
  margin-right: auto;
}

/* GeneratePress content area background */
.site-content {
  background-color: var(--itb-cream);
}

.entry-content {
  color: var(--itb-text);
  font-family: var(--itb-font-body);
  font-size: 16px;
  line-height: 1.7;
}


/* ============================================================
   7. Info Cards
   ============================================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.info-card {
  background: var(--itb-white);
  border: 1px solid var(--itb-border);
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: var(--itb-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--itb-gold);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(11, 37, 69, 0.13);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--itb-navy), var(--itb-navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}

.card-title {
  font-family: var(--itb-font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--itb-navy);
  margin-bottom: 10px;
}

.card-text {
  color: var(--itb-text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* GenerateBlocks / Gutenberg block equivalents */
.wp-block-columns.itb-cards-row {
  gap: 28px;
}

.wp-block-column.itb-card {
  background: var(--itb-white);
  border: 1px solid var(--itb-border);
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: var(--itb-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-column.itb-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--itb-gold);
}

.wp-block-column.itb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(11, 37, 69, 0.13);
}


/* ============================================================
   8. Circular Strip / Notifications
   ============================================================ */
.circular-strip {
  background: linear-gradient(90deg, var(--itb-navy-mid) 0%, var(--itb-navy-light) 100%);
  padding: 40px 24px;
  border-top: 3px solid var(--itb-gold);
  border-bottom: 3px solid var(--itb-gold);
}

.circular-inner {
  max-width: var(--itb-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.circular-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 6px;
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.circular-num {
  background: var(--itb-gold);
  color: var(--itb-navy);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 3px;
  white-space: nowrap;
}

.circular-title {
  font-weight: 600;
  color: #fff;
  font-size: 15px;
  margin-bottom: 6px;
}

.circular-text {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 0;
}


/* ============================================================
   9. Tax Tools Grid
   ============================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.tool-card {
  background: var(--itb-navy);
  border-radius: 6px;
  padding: 36px 28px;
  text-align: center;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  display: block;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.tool-card:hover {
  background: var(--itb-navy-light);
  transform: translateY(-4px);
  color: #fff;
}

.tool-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.tool-name {
  font-family: var(--itb-font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.tool-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin-bottom: 0;
}


/* ============================================================
   10. Quote Section
   ============================================================ */
.quote-section {
  background-color: var(--itb-cream-dark);
  border-top: 1px solid var(--itb-border);
  border-bottom: 1px solid var(--itb-border);
  padding: 64px 24px;
  text-align: center;
}

.quote-mark {
  font-family: var(--itb-font-display);
  font-size: 80px;
  color: var(--itb-gold);
  line-height: 0.6;
  margin-bottom: 20px;
  display: block;
  opacity: 0.6;
}

.quote-text {
  font-family: var(--itb-font-display);
  font-size: clamp(17px, 2.5vw, 22px);
  font-style: italic;
  color: var(--itb-navy);
  max-width: 820px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.quote-attr {
  font-size: 13px;
  color: var(--itb-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Gutenberg Pullquote override */
.wp-block-pullquote {
  border-top: 3px solid var(--itb-gold);
  border-bottom: 3px solid var(--itb-gold);
  padding: 40px 24px;
  background-color: var(--itb-cream-dark);
}

.wp-block-pullquote blockquote p {
  font-family: var(--itb-font-display);
  font-size: clamp(17px, 2.5vw, 22px);
  color: var(--itb-navy);
  font-style: italic;
}

.wp-block-pullquote cite {
  color: var(--itb-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}


/* ============================================================
   11. FAQ Accordion
   ============================================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--itb-border);
  padding: 0;
}

.faq-q {
  font-weight: 600;
  font-size: 16px;
  color: var(--itb-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  user-select: none;
  list-style: none;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--itb-gold);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  color: var(--itb-text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding-top 0.2s;
  margin: 0;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding-top: 0;
  padding-bottom: 20px;
}

/* Gutenberg Accordion (if using a blocks plugin) */
.wp-block-details summary {
  font-weight: 600;
  color: var(--itb-navy);
  cursor: pointer;
  padding: 16px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--itb-border);
}

.wp-block-details[open] summary {
  color: var(--itb-gold);
}


/* ============================================================
   12. Contact Section
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--itb-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-label {
  font-weight: 600;
  color: var(--itb-navy);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  display: block;
}

.contact-val {
  color: var(--itb-text-muted);
  font-size: 15px;
}

.contact-val a {
  color: var(--itb-navy-light);
}

.quick-links-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
}

.quick-links-list li a {
  color: var(--itb-text-muted);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.15s;
}

.quick-links-list li a::before {
  content: '→';
  color: var(--itb-gold);
  flex-shrink: 0;
}

.quick-links-list li a:hover {
  color: var(--itb-navy);
}


/* ============================================================
   13. Buttons
   ============================================================ */
.btn,
.wp-block-button__link,
.generate-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 28px;
  border-radius: var(--itb-radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  font-family: var(--itb-font-body);
}

.btn:hover,
.wp-block-button__link:hover,
.generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Gold / Primary button */
.btn-gold,
.wp-block-button.is-style-fill .wp-block-button__link {
  background-color: var(--itb-gold) !important;
  color: var(--itb-navy) !important;
}

.btn-gold:hover,
.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background-color: var(--itb-gold-light) !important;
  color: var(--itb-navy) !important;
}

/* Outline button */
.btn-outline,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}

.btn-outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--itb-gold-light) !important;
  color: var(--itb-gold-light) !important;
}

/* GeneratePress default button */
.button,
input[type="submit"],
input[type="button"],
button:not(.menu-toggle) {
  background-color: var(--itb-gold);
  color: var(--itb-navy);
  border: none;
  border-radius: var(--itb-radius);
  padding: 11px 24px;
  font-family: var(--itb-font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.button:hover,
input[type="submit"]:hover {
  background-color: var(--itb-gold-light);
  transform: translateY(-1px);
}


/* ============================================================
   14. Utility Classes
   ============================================================ */
.itb-text-gold   { color: var(--itb-gold) !important; }
.itb-text-navy   { color: var(--itb-navy) !important; }
.itb-text-white  { color: #fff !important; }
.itb-bg-navy     { background-color: var(--itb-navy) !important; }
.itb-bg-gold     { background-color: var(--itb-gold) !important; }
.itb-bg-cream    { background-color: var(--itb-cream) !important; }
.itb-font-serif  { font-family: var(--itb-font-display) !important; }
.itb-text-center { text-align: center !important; }
.itb-mb-0        { margin-bottom: 0 !important; }

/* Separator / divider */
hr,
.wp-block-separator {
  border: none;
  border-top: 1px solid var(--itb-border);
  margin: 40px 0;
}

.wp-block-separator.is-style-wide {
  border-top: 3px solid var(--itb-gold);
  max-width: 60px;
  margin-left: 0;
}


/* ============================================================
   15. Responsive
   ============================================================ */
@media (max-width: 992px) {
  .footer-widgets {
    grid-template-columns: 1fr 1fr;
  }

  .circular-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header .inside-header {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 16px 20px;
    gap: 12px;
  }

  .hero-section,
  .itb-hero {
    padding: 60px 20px 56px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .quick-links-list {
    grid-template-columns: 1fr;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .top-bar .inside-top-bar {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
}


/* ============================================================
   16a. ✅ FIX: No Sidebar on Home / Index Page
   ============================================================ */

/* Remove sidebar gap on homepage — belt-and-suspenders CSS fix */
.itb-front-page .content-sidebar-wrap,
.itb-blog-index .content-sidebar-wrap {
  display: block !important;
}

.itb-front-page #primary,
.itb-blog-index #primary {
  width: 100% !important;
  float: none !important;
}

.itb-front-page #secondary,
.itb-blog-index #secondary {
  display: none !important;
}


/* ============================================================
   16b. ✅ NEW: Testimonial Section
   ============================================================ */

.itb-testimonial-section {
  background: var(--itb-cream-dark);
  padding: 72px 24px;
  border-top: 1px solid var(--itb-border);
}

.itb-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.itb-testimonial-card {
  background: var(--itb-white);
  border: 1px solid var(--itb-border);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: var(--itb-shadow);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.itb-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(11, 37, 69, 0.12);
}

.itb-testimonial-quote {
  font-family: var(--itb-font-display);
  font-size: 64px;
  color: var(--itb-gold);
  line-height: 0.8;
  margin-bottom: 16px;
  opacity: 0.5;
}

.itb-testimonial-text {
  font-family: var(--itb-font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--itb-navy);
  line-height: 1.7;
  margin-bottom: 24px;
}

.itb-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--itb-border);
  padding-top: 18px;
}

.itb-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--itb-navy), var(--itb-navy-light));
  color: var(--itb-gold-light);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.itb-testimonial-name {
  font-weight: 600;
  color: var(--itb-navy);
  font-size: 14px;
  margin-bottom: 3px;
}

.itb-testimonial-role {
  font-size: 12px;
  color: var(--itb-text-muted);
  letter-spacing: 0.02em;
}

/* Responsive testimonials */
@media (max-width: 768px) {
  .itb-testimonial-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   16c. ✅ NEW: Footer Advertisement / Announcement Bar
   Shows on ALL pages above the footer
   ============================================================ */

.itb-footer-ad-bar {
  background: var(--itb-navy);
  border-top: 3px solid var(--itb-gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.itb-footer-ad-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: var(--itb-container);
  margin: 0 auto;
}

.itb-ad-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 6px;
  padding: 16px 18px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.itb-ad-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-2px);
  color: inherit;
}

/* Gold/highlighted ad card */
.itb-ad-highlight {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.45);
}

.itb-ad-highlight:hover {
  background: rgba(201, 168, 76, 0.22);
}

.itb-ad-icon {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1;
}

.itb-ad-body {
  flex: 1;
  min-width: 0;
}

.itb-ad-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--itb-gold-light);
  margin-bottom: 3px;
}

.itb-ad-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.itb-ad-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.itb-ad-arrow {
  font-size: 18px;
  color: var(--itb-gold);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.itb-ad-card:hover .itb-ad-arrow {
  transform: translateX(4px);
}

/* Responsive footer ad bar */
@media (max-width: 768px) {
  .itb-footer-ad-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .itb-ad-title {
    white-space: normal;
  }
}


/* ============================================================
   16. Animations
   ============================================================ */
@keyframes itb-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.itb-animate {
  animation: itb-fade-up 0.65s ease both;
}

.itb-animate-delay-1 { animation-delay: 0.1s; }
.itb-animate-delay-2 { animation-delay: 0.2s; }
.itb-animate-delay-3 { animation-delay: 0.3s; }
.itb-animate-delay-4 { animation-delay: 0.4s; }
.itb-animate-delay-5 { animation-delay: 0.5s; }

/* Scroll-triggered fade (add .itb-reveal class via JS) */
.itb-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.itb-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   17. ABOUT US SECTION
   ============================================================ */

.itb-about-section {
  background: var(--itb-cream);
  padding: 80px 24px;
  border-top: 1px solid var(--itb-border);
}

.itb-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Text column */
.itb-about-text .section-title {
  margin-top: 10px;
  margin-bottom: 0;
}

.itb-about-lead {
  font-size: 17px;
  color: var(--itb-text);
  line-height: 1.75;
  margin: 24px 0 16px;
}

.itb-about-text p {
  color: var(--itb-text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.itb-about-text p strong {
  color: var(--itb-navy);
  font-weight: 600;
}

/* Stats row */
.itb-about-stats {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--itb-border);
  border-bottom: 1px solid var(--itb-border);
}

.itb-stat-item {
  text-align: center;
  flex: 1;
}

.itb-stat-num {
  font-family: var(--itb-font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--itb-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.itb-stat-label {
  font-size: 12px;
  color: var(--itb-text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* CTA buttons in about */
.itb-about-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-navy {
  background: var(--itb-navy);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--itb-radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.15s;
}

.btn-navy:hover {
  background: var(--itb-navy-light);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline-navy {
  background: transparent;
  color: var(--itb-navy);
  border: 2px solid var(--itb-navy);
  padding: 11px 24px;
  border-radius: var(--itb-radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-navy:hover {
  background: var(--itb-navy);
  color: #fff;
}

/* Image column */
.itb-about-image-wrap {
  position: relative;
}

.itb-about-image-frame {
  position: relative;
  border-radius: 10px;
  overflow: visible;
}

/* Real image (when uploaded) */
.itb-about-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 20px 60px rgba(11, 37, 69, 0.18);
}

/* SVG placeholder styling */
.itb-about-img-placeholder {
  background: linear-gradient(135deg, #e8f0fb 0%, #dce8f5 100%);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(11, 37, 69, 0.15);
  border: 1px solid var(--itb-border);
}

/* Decorative corner accent */
.itb-about-image-frame::before {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 160px;
  height: 160px;
  background: var(--itb-gold);
  opacity: 0.12;
  border-radius: 8px;
  z-index: -1;
}

.itb-about-image-frame::after {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background: var(--itb-navy);
  opacity: 0.08;
  border-radius: 50%;
  z-index: -1;
}

/* "Est. 1960" badge */
.itb-about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--itb-gold);
  color: var(--itb-navy);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
  z-index: 2;
}

.itb-about-badge-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.itb-about-badge-year {
  font-family: var(--itb-font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

/* About section responsive */
@media (max-width: 900px) {
  .itb-about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .itb-about-image-wrap { order: -1; }
  .itb-about-badge { left: 16px; bottom: -16px; }
}

@media (max-width: 480px) {
  .itb-about-stats { gap: 16px; }
  .itb-stat-num { font-size: 28px; }
}


/* ============================================================
   18. CUSTOM FOOTER
   ============================================================ */

.itb-footer {
  background: var(--itb-navy);
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--itb-font-body);
}

/* Footer main area */
.itb-footer-main {
  padding: 60px 24px 48px;
  border-top: 3px solid var(--itb-gold);
}

.itb-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

/* Brand / Logo column */
.itb-footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 18px;
}

.itb-footer-logo-emblem {
  width: 46px;
  height: 46px;
  background: var(--itb-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--itb-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--itb-navy);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.25);
}

.itb-footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.itb-footer-logo-title {
  font-family: var(--itb-font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.itb-footer-logo-sub {
  font-size: 10.5px;
  color: var(--itb-gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.itb-footer-about {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

/* Address */
.itb-footer-address {
  font-style: normal;
  margin-bottom: 20px;
}

.itb-footer-addr-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.itb-footer-addr-icon {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 14px;
}

.itb-footer-address a {
  color: var(--itb-gold-light);
  text-decoration: none;
  transition: color 0.15s;
}

.itb-footer-address a:hover { color: #fff; }

/* Social links */
.itb-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.itb-social-link {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.itb-social-link:hover {
  background: var(--itb-gold);
  border-color: var(--itb-gold);
  color: var(--itb-navy);
}

/* Footer link columns */
.itb-footer-col-title {
  font-family: var(--itb-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--itb-gold-light);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.itb-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.itb-footer-links li {
  margin-bottom: 9px;
}

.itb-footer-links li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s, gap 0.15s;
  line-height: 1.4;
}

.itb-footer-links li a::before {
  content: '›';
  color: var(--itb-gold);
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.itb-footer-links li a:hover {
  color: var(--itb-gold-light);
  gap: 9px;
}

.itb-footer-links li a:hover::before {
  transform: translateX(2px);
}

/* Footer bottom bar */
.itb-footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 24px;
}

.itb-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.itb-footer-copyright {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.itb-footer-powered {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

.itb-footer-powered a {
  color: var(--itb-gold-light);
  text-decoration: none;
  transition: color 0.15s;
}

.itb-footer-powered a:hover { color: #fff; }

/* Footer responsive */
@media (max-width: 1024px) {
  .itb-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .itb-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .itb-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .itb-footer-brand { grid-column: auto; }
  .itb-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
