.gray {
  background-color: #bcb9b9;
}

.white {
  background-color: #ffffff;

}

#aihc_headline {
  max-width: 600px;
  margin: 0px;
  padding: 0px;
  text-align: center;
  font-size: 2.5em;
  font-weight: 600;
  color: #0a0708;
  font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2em;
  margin-bottom: 20px;
  padding: 10px 0px;
  background-color: #f9f8f8;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.programHeadline {
  background-color: #a90531;
  padding: 10px 15px;
  border: 2px solid #a90531;
  border-radius: 5px;
  text-align: center;
  max-width: 500px;
  margin: 10px auto;
  width: 100%;
  color: white;
  font-size: 1.5em;
  font-weight: 600;
  font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

#page-title {
  font-size: 4em;
  font-weight: 500;


}

.feature-item {
  text-align: center;
  margin-bottom: 20px;

}

.feature-item img {
  width: 100%;
  max-width: 100px;
  margin: 0px auto;
}

.item-wrap {
  height: 12.5em;
}

img {
  padding: 10px 0px;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
 
}

svg {
    margin: 10px 0px;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.compact-title {
  align-self: center;
  margin: 2px 0px;
  font-size: 1.1em;
  gap: 25px;
  line-height: 1.2em;
  font-weight: 600;
  text-align: center;
  color: #0a0708;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
  font-weight: 400;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: rgb(249, 248, 248);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.15s ease, color 0.15s ease;

}

.compact-subtitle {
  font-size: 0.8em;
  line-height: 1em;
  font-weight: 400;
  color: #6c757d;
  text-align: center;
  font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
  font-weight: 400;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: rgb(249, 248, 248);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.15s ease, color 0.15s ease;
  
}


/*!
 * Start Bootstrap - New Age v3.3.7 (http://startbootstrap.com/template-overviews/new-age)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */
.heading-font {
  font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
  font-weight: 400;
  letter-spacing: 1px;
}
.body-font {
  font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
}
.alt-font {
  font-family: 'Lato', 'Helvetica', 'Arial', 'sans-serif';
  text-transform: uppercase;
  letter-spacing: 2px;
}
html,
body {
  height: 100%;
  width: 100%;
}
body {
  font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
}
a {
  -webkit-transition: all 0.15s;
  -moz-transition: all 0.15s;
  transition: all 0.15s;
  color: #a90531;
}
a:hover,
a:focus {
  color: #fcbd20;
}
hr {
  max-width: 100px;
  margin: 25px auto 0;
  border-width: 1px;
  border-color: rgba(34, 34, 34, 0.1);
}
hr.light {
  border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
  font-weight: 400;
}

h2, h3 {
  line-height: 3rem;
}

p, ul > li {
  font-size: 1.2em;
  line-height: 2.4rem;
}


.navbar-default {
  background-color: white;
  border-color: rgba(34, 34, 34, 0.05);
  -webkit-transition: all 0.15s;
  -moz-transition: all 0.15s;
  transition: all 0.15s;
  font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
  font-weight: 400;
  letter-spacing: 1px;
}
.navbar-default .navbar-header .navbar-brand {
  font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
  font-weight: 400;
  letter-spacing: 1px;
  color: #a90531;
}
.navbar-default .navbar-header .navbar-brand:hover,
.navbar-default .navbar-header .navbar-brand:focus {
  color: #fcbd20;
}
.navbar-default .navbar-header .navbar-toggle {
  font-size: 12px;
  color: #222222;
  padding: 8px 10px;
}
.navbar-default .nav > li > a {
  font-family: 'Lato', 'Helvetica', 'Arial', 'sans-serif';
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
}
.navbar-default .nav > li > a,
.navbar-default .nav > li > a:focus {
  color: #222222;
}
.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus:hover {
  color: #a90531;
}
.navbar-default .nav > li.active > a,
.navbar-default .nav > li.active > a:visited {
  color: #9a0707 !important;
  background-color: #b9b7b4 !important;
  border-radius: 2px;
  padding: 6px 24px 6px 24px;
  border-radius: 2px;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(169,5,49,0.10);
}
.navbar-default .nav > li.active > a:hover,
.navbar-default .nav > li.active > a:focus,
.navbar-default .nav > li.active > a:focus:hover {
  color: #fff !important;
    background-color: #c50c3e !important;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(197,12,62,0.12);
}
@media (min-width: 768px) {
  .navbar-default {
    background-color: transparent;
    border-color: transparent;
  }
  .navbar-default .navbar-header .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  .navbar-default .navbar-header .navbar-brand:hover,
  .navbar-default .navbar-header .navbar-brand:focus {
    color: white;
  }
  .navbar-default .nav > li > a,
  .navbar-default .nav > li > a:focus {
    color: rgba(255, 255, 255, 0.7);
  }
  .navbar-default .nav > li > a:hover,
  .navbar-default .nav > li > a:focus:hover {
    color: white;
  }
  .navbar-default.affix {
    background-color: white;
    border-color: rgba(34, 34, 34, 0.1);
  }
  .navbar-default.affix .navbar-header .navbar-brand {
    color: #222222;
  }
  .navbar-default.affix .navbar-header .navbar-brand:hover,
  .navbar-default.affix .navbar-header .navbar-brand:focus {
    color: #a90531;
  }
  .navbar-default.affix .nav > li > a,
  .navbar-default.affix .nav > li > a:focus {
    color: #222222;
  }
  .navbar-default.affix .nav > li > a:hover,
  .navbar-default.affix .nav > li > a:focus:hover {
    color: #a90531;
  }
}
/* ----------------------------
 Header with Pattern on Gradient
-----------------------------*/
#header {
  /* Fallback solid */
  background-color: #a90531;

  /* Layer 1: PNG pattern; Layer 2: gradient background */
  background-image: url("../img/bg-pattern.png"),
    linear-gradient(to left, #c50c3e, #a90531);

  /* First value = pattern, second = gradient */
  background-repeat: repeat, no-repeat;
  background-size: 180px 180px, cover;
  background-position: top left, center;

  color: white;
  padding: 50px 0 30px;
  min-height: 200px; /* ensures visibility */
}

@media screen and (max-width: 767px) {
  #header {
    margin-top: 50px;
    padding-top: 30px;
  }
}

section {
  padding: 30px 0px;
}

.section-heading {
  margin-bottom: 10px;
  font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
  font-weight: 400;
  letter-spacing: 0.5px;
  text-align: center;

}

.section-heading p {
  margin-bottom: 0;
  color: #333131;
}
section.features .device-container,
section.features .feature-item {
  max-width: 200px;
  margin: 0 auto;
}

section.features .feature-item {
  text-align: center;
  margin-bottom: 40px;
}

section.features .feature-item i {
  font-size: 100px;
  background: -webkit-linear-gradient(to left, #c50c3e, #a90531);
  background: linear-gradient(to left, #c50c3e, #a90531);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 992px) {
  section.features .device-container,
  section.features .feature-item {
    max-width: none;
  }
}

footer {
  background: linear-gradient(159deg, #ff0000 0%, #ff0000 53%, #0000ff 53%, #0000ff 100%);
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.3);
}

footer img {
  height: 100px;
}

footer p {
  font-size: 12px;
  margin: 0;
}
footer ul {
  margin-bottom: 0;
}
footer ul li a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}
footer ul li a:hover,
footer ul li a:focus,
footer ul li a:active,
footer ul li a.active {
  text-decoration: none;
}
.bg-primary {
  background: #a90531;
  color: white;
}
.text-primary {
  color: #a90531;
}

.text-secondary {
  color: #c50c3e;
}

.no-gutter > [class*='col-'] {
  padding-right: 0;
  padding-left: 0;
}
.btn-outline {
  color: white;
  border-color: white;
  border: 1px solid;
}
.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
  color: white;
  background-color: #a90531;
  border-color: #a90531;
}
.btn {
  font-family: 'Lato', 'Helvetica', 'Arial', 'sans-serif';
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 300px;
  white-space: normal;
}
.btn-xl {
  padding: 15px 45px;
  font-size: 12px;
}
::-moz-selection {
  color: white;
  text-shadow: none;
  background: #222222;
}
::selection {
  color: white;
  text-shadow: none;
  background: #222222;
}
img::selection {
  color: white;
  background: transparent;
}
img::-moz-selection {
  color: white;
  background: transparent;
}
body {
  -webkit-tap-highlight-color: #222222;
}

/* Footer container starts from here */
.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #a29d9d; /* or light gray for contrast */
    border-top: 0.5px solid black;
    padding: 30px 20px;
}

/* Left, middle, right sections */
.footer-left,
.footer-middle,
.footer-right {
    flex: 1;
    text-align: center;
}

/* Left text (optional) */
.footer-left {
    text-align: left;
    font-size: 12px;
    animation: fadeInFooter 1.2s ease-in-out forwards;
    color: #0b0808;
}

/* Footer image in middle */
.footer-strip {
    height: 100px;
    object-fit: cover;
    animation: fadeInFooter 1.2s ease-in-out forwards;
    opacity: 0;
    width: 300px; /* fixed width for better proportion */
    height: 80px;
    box-shadow: 0 0 0 2px black;
    border: none;
    background: black;
    border-radius: 0;
    margin: 0 auto;
    padding: 0 4px;
}

/* Right text */
.footer-right {
    text-align: right;
    font-size: 14px;
    color: #0b0808;
    animation: fadeInFooter 1.5s ease-in-out forwards;
    opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-left,
    .footer-middle,
    .footer-right {
        text-align: center;
        margin-bottom: 10px;
    }
}

/* Fade-in animation */
@keyframes fadeInFooter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Contact Icons Grid */
.contact-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px; /* space between icons */
    margin-top: 20px;
}

.contact-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #0a0708;
  transition: transform 0.15s ease;
}

.contact-icons a:hover {
    transform: scale(1.1);
}

.contact-icons img {
    width: 60px; /* smaller size */
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background-color: #f9f8f8;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-icons span {
    margin-top: 8px;
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    background-color: rgb(249, 248, 248);
    padding: 4px 8px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
}

/* Responsive */
@media (max-width: 576px) {
    .contact-icons img {
        width: 50px;
        height: 50px;
    }
}

/* Resources grid */
.resources-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.resource-card {
    flex: 1 1 calc(25% - 20px);
    background: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.resource-card i {
    font-size: 40px;
    color: #a90531;
    margin-bottom: 10px;
}
.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Lecture Series */
.lecture-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.lecture-card {
    width: 200px;
    height: 150px;
    background: #eee;
    border-radius: 8px;
  transition: transform 0.15s ease;
}
.lecture-card:hover {
    transform: scale(1.05);
}

/* Feedback form */
.feedback-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: auto;
    gap: 10px;
}
.feedback-form input,
.feedback-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.feedback-form button {
    background: #a90531;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.feedback-form button:hover {
    background: #c50c3e;
}
.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}
/* theme.css - cleaned & extended */
/* Basic fonts + reset */
html,body{height:100%;width:100%}
body{font-family:'Muli','Helvetica','Arial',sans-serif;margin:0;color:#0a0708}
a{transition:all .15s;color:#a90531}
a:hover{color:#fcbd20}

/* Header / Hero */
#hero{background: linear-gradient(135deg,#c50c3e 0,#a90531 100%); color:#fff;padding:90px 0 60px;text-align:center}
#page-title{font-size:44px;margin:0 0 10px}
.lead{font-size:18px;margin-bottom:18px}
.hero-ctas .btn{margin:8px}

/* Section heading */
.section-heading{margin-bottom:20px}
.section-heading h2{font-size:28px}
.section-heading p{color:#444}

/* Resources grid (justified in one row, responsive) */
.resources-grid{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  align-items:stretch;
  margin-top:20px;
}
.resource-card{
  background:#fff;
  flex:1 1 calc(25% - 20px);
  min-width:220px;
  padding:22px;
  border-radius:10px;
  text-align:center;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
  transition:transform .15s, box-shadow .15s;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.resource-card:focus,.resource-card:hover{transform:translateY(-6px);box-shadow:0 18px 30px rgba(0,0,0,0.12);outline:none}
.resource-icon i{font-size:40px;color:#a90531;margin-bottom:12px}
.resource-card h3{margin:6px 0 8px;font-size:18px}
.resource-card p{color:#6b6b6b;margin-bottom:12px}
.resource-link{display:inline-block;padding:8px 12px;border-radius:6px;border:1px solid #eee;text-decoration:none;background:#fafafa;color:#222;}

/* Lecture grid: smaller boxes, ready for images */
.lecture-grid{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;margin-top:18px}
.lecture-card{
  width:200px;height:140px;border-radius:10px;background:#f3f3f3;box-shadow:0 6px 12px rgba(0,0,0,0.06);
  transition:transform .15s,box-shadow .15s,background .15s;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.lecture-card:before{
  content:attr(data-title);
  font-weight:600;color:#333;
}
.lecture-card:hover,.lecture-card:focus{transform:scale(1.06);box-shadow:0 20px 30px rgba(0,0,0,0.12);outline:none;}

/* Downloads */
.download-grid{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}
.download-card{background:#fff;padding:18px;border-radius:8px;min-width:220px;text-align:center;box-shadow:0 6px 18px rgba(0,0,0,0.05)}

/* Feedback form */
.feedback-form{margin-top:18px}
.feedback-form input,.feedback-form textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;margin-bottom:10px}
.feedback-form button{padding:10px 20px;border-radius:6px;border:none;background:#a90531;color:#fff}
.alert-success{background:#d4edda;border:1px solid #c3e6cb;color:#155724;padding:12px;border-radius:6px;margin-bottom:12px}
.feedback-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feedback-form .form-group {
    width: 100%;
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
  transition: border-color 0.15s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    border-color: #a90531;
}

.feedback-form button {
    padding: 12px;
    font-size: 1rem;
    background-color: #a90531;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  transition: background-color 0.15s ease;
}

.feedback-form button:hover {
    background-color: #c50c3e;
}

/* Contact icons (smaller icons) */
.contact-icons{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;margin-top:18px}
.contact-icons a{display:flex;flex-direction:column;align-items:center;text-decoration:none;color:#0a0708;transition:transform .15s}
.contact-icons img{width:48px;height:48px;object-fit:cover;border-radius:8px;padding:6px;background:#fff;box-shadow:0 6px 12px rgba(0,0,0,0.06)}
.contact-icons a:hover{transform:translateY(-6px)}

/* Footer strip */
.footer-container{display:flex;align-items:center;justify-content:space-between;background:#fff;border-top:1px solid rgba(0,0,0,.06);padding:18px 20px;margin-top:28px;flex-wrap:wrap}
.footer-left,.footer-middle,.footer-right{flex:1;text-align:center}
.footer-left{text-align:left}
.footer-right{text-align:right}
.footer-strip{height:70px;width:auto;object-fit:contain;border:1px solid rgba(0,0,0,0.05);padding:6px}

/* Timeline simple */
.timeline{list-style:none;padding-left:0;margin-top:12px}
.timeline li{padding:6px 0;border-left:3px solid rgba(0,0,0,0.04);padding-left:12px;margin-bottom:8px}

/* Responsive */
@media(max-width:992px){
  .resource-card{flex:1 1 calc(50% - 20px)}
  .footer-left,.footer-right{text-align:center}
}
@media(max-width:576px){
  .resource-card{flex:1 1 100%}
  .lecture-card{width:45%;height:120px}
  .contact-icons img{width:42px;height:42px}
  #page-title{font-size:28px}
}

/* small utility */
.btn-outline{background:transparent;border:2px solid #fff;color:#fff;border-radius:300px;padding:10px 20px}


/* Resources page */
.resource-card {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}
.resource-card i {
    font-size: 40px;
    color: #a90531;
    margin-bottom: 10px;
    
}
.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.modal-body img {
    margin-top: 15px;
    border-radius: 8px;
}
/* ----------------------------
 Footer Gradient: Red–Blue Split
-----------------------------*/
footer {
  background: linear-gradient(159deg, #ff0000 0%, #ff0000 53%, #0000ff 53%, #0000ff 100%);
  padding: 20px 0;
  color: white;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 14px;
}

footer a {
  color: white;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* ----------------------------
 Example Footer Flex Layout
-----------------------------*/
.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: radial-gradient(circle at 50% 50%, #918d8d 0%, #bebaba 60%, #878484 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: background 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.15s cubic-bezier(0.4,0,0.2,1), border-radius 0.5s cubic-bezier(0.4,0,0.2,1);
}

.footer-left,
.footer-middle,
.footer-right {
  flex: 1;
  text-align: center;
  padding: 5px;
}

@media (max-width: 768px) {
  .footer-left,
  .footer-middle,
  .footer-right {
    text-align: center;
    margin-bottom: 10px;
  }
}