/* --- Brave Group Core Design System (bravevision.css) --- */
:root {
  --png-red: #d11c1c;
  --png-black: #000000;
  --png-yellow: #fcd50b;
  --gold-color: #ffd700;
  --gold-hover: #e0b400;
  --dark-red: #8b0000;
  --primary-color: var(--png-black);
  --secondary-color: var(--png-yellow);
  --accent-color: var(--png-red);
  --text-color: #333;
  --light-text-color: #ffffff;
  --background-color: #ffffff;
  --card-background: #f9f9f9;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
  --menu-btn-bg: #2c2c2c;
  --menu-btn-hover: #3a3a3a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
  font-size: 1rem;
}

body.mobile-menu-open {
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--secondary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

p {
  font-weight: 400;
  font-size: 1em;
  line-height: 1.7;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
}

.section-description {
  text-align: left;
  max-width: 100%;
  margin: 0 auto 25px;
  font-size: 1.1em;
  line-height: 1.8;
  padding: 0 0.5cm; /* Added 0.5cm padding from edges */
}

.content-wrapper {
  max-width: 100%;
  padding: 0 0.5cm; /* Added 0.5cm padding from edges */
}

.font-bold {
  font-weight: 700;
}

.text-red-700 {
  color: var(--accent-color);
  font-size: 1.1em;
}

.italic {
  font-style: italic;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* --- Header and Nav --- */
.main-header {
  background-color: var(--background-color);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  gap: 20px;
  position: relative;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-logo {
  height: 50px;
}

/* Navigation Menu Buttons - Stretched for single line text */
.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 5px;
}

.main-nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9em;
  color: var(--light-text-color);
  padding: 12px 20px;
  position: relative;
  text-align: center;
  transition: all var(--transition-speed);
  background-color: var(--menu-btn-bg);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.1) inset;
  white-space: nowrap;
  min-width: max-content;
}

.main-nav a:hover {
  color: var(--light-text-color);
  background-color: var(--menu-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 255, 255, 0.15) inset;
}

.main-nav a::after {
  display: none;
}

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--menu-btn-bg);
  list-style: none;
  min-width: 220px;
  box-shadow: 0 4px 15px var(--shadow-color);
  border-radius: 10px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-speed), transform var(--transition-speed);
  z-index: 1002;
  display: none;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
}

.dropdown-menu.active,
.dropdown-menu.visible {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 10px 18px;
  text-align: left;
  display: flex;
  min-width: unset;
  border-radius: 0;
  box-shadow: none;
  justify-content: flex-start;
  font-size: 0.9em;
  white-space: normal;
}

.dropdown-menu a:hover {
  background-color: var(--menu-btn-hover);
  transform: translateX(5px);
}

.has-dropdown .fa-chevron-down {
  margin-left: 6px;
  font-size: 0.7em;
  transition: transform var(--transition-speed);
}

.has-dropdown:hover .fa-chevron-down {
  transform: rotate(180deg);
}

/* Hamburger Menu Button - Updated with 3 bars */
.hamburger-button {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1003;
}

.hamburger-button .double-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--menu-btn-bg);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hamburger-button .double-border::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid var(--menu-btn-bg);
  border-radius: 4px;
  pointer-events: none;
}

.hamburger-button .hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.hamburger-button .hamburger-menu span {
  display: block;
  height: 3px;
  width: 20px;
  background-color: var(--menu-btn-bg);
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger-button.active .hamburger-menu span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-button.active .hamburger-menu span:nth-child(2) {
  opacity: 0;
}

.hamburger-button.active .hamburger-menu span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Close Mobile Menu Button */
.close-mobile-menu {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--png-red);
  border: none;
  cursor: pointer;
  z-index: 1002;
  padding: 0;
}

.close-mobile-menu .double-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--light-text-color);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-mobile-menu .double-border::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid var(--light-text-color);
  border-radius: 4px;
  pointer-events: none;
}

.close-mobile-menu i {
  color: var(--light-text-color);
  font-size: 1.4em;
  font-weight: bold;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text-color);
  background-position: center;
  background-size: cover;
  text-align: center;
  overflow: hidden;
  height: 450px;
}

.hero-about {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('AUBG.jpg') no-repeat center center/cover;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  padding: 20px 0;
}

.hero-text {
  padding-right: 0;
  z-index: 10;
  text-align: center;
}

.hero-tagline {
  font-family: 'Raleway', sans-serif;
  font-size: 3.5em;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--gold-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-intro {
  font-size: 1.4em;
  font-weight: 300;
  margin-bottom: 25px;
  color: #eee;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-button {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, var(--png-black), var(--png-red));
  color: var(--light-text-color);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-image 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.hero-button:hover {
  background: linear-gradient(-90deg, var(--png-black), var(--png-red));
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* --- About Us, Divisions, and Leadership Sections --- */
#about-us .section-description,
#leadership .section-description {
  text-align: left;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0 0.5cm; /* Added 0.5cm padding from edges */
}

.division-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 50px;
}

.division-card {
  background-color: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.division-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3em;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.division-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.division-card p {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
  line-height: 1.7;
}

/* Black-gray gradient for division card buttons */
.learn-more-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #2c2c2c 0%, #555555 100%);
  color: var(--light-text-color);
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-top: auto;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.learn-more-btn:hover {
  background: linear-gradient(135deg, #3a3a3a 0%, #666666 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.leadership-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 50px;
}

.ceo-profile-pic {
  flex-shrink: 0;
  text-align: center;
}

.ceo-profile-pic img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--secondary-color);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.ceo-name-title {
  font-size: 1.2em;
  font-weight: 600;
  margin-top: 15px;
  color: var(--primary-color);
  line-height: 1.4;
}

.ceo-bio {
  flex-grow: 1;
  padding: 0 0.5cm; /* Added 0.5cm padding from edges */
}

.ceo-bio p {
  padding: 0 0.5cm; /* Added 0.5cm padding from edges */
}

.contact-promo {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x500.png?text=Contact+Promo+Background') no-repeat center center/cover;
  color: var(--light-text-color);
}

/* --- Footer --- */
#footer-contact {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding-top: 60px;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.footer-section p {
  margin-bottom: 15px;
  color: #eee;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #ccc;
  transition: color var(--transition-speed);
}

.footer-section a:hover {
  color: var(--light-text-color);
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text-color);
  font-size: 1.2rem;
  transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 5px 0;
  font-weight: 300;
}

.developer-credit a {
  color: #ccc;
}

/* --- Animations --- */
.animate-in {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 20px;
  }

  body {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .section-description {
    margin-bottom: 25px;
    font-size: 1em;
    line-height: 1.7;
    padding: 0 0.5cm; /* Mobile padding */
  }

  .hero-tagline {
    font-size: 2.2em;
    line-height: 1.2;
  }

  .hero-intro {
    font-size: 1.1em;
  }

  .hero-section {
    height: auto;
    padding: 60px 0;
  }

  .main-header {
    padding: 10px 0;
  }

  .header-inner {
    padding: 0 20px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--menu-btn-bg);
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px var(--shadow-color);
    transition: right var(--transition-speed) ease-in-out;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    left: auto;
    transform: none;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }
  
  .main-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .main-nav a {
    padding: 12px 15px;
    display: block;
    width: 100%;
    min-width: unset;
    text-align: left;
    border-radius: 8px;
    font-size: 0.9em;
    justify-content: flex-start;
    white-space: normal;
  }
  
  .hamburger-button {
    display: flex;
  }
  
  .close-mobile-menu {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.1);
    margin-top: 5px;
  }

  .dropdown-menu li a {
    padding-left: 30px;
  }

  .division-card {
    padding: 25px 20px;
    margin: 0 10px;
  }
  
  .division-card p {
    font-size: 0.95em;
    line-height: 1.6;
  }

  .leadership-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    margin-top: 40px;
  }

  .ceo-profile-pic {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  .ceo-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 3px 10px var(--shadow-color);
  }

  .ceo-name-title {
    font-size: 1.1em;
    margin-top: 20px !important;
    margin-bottom: 25px !important;
    line-height: 1.4;
    display: block;
    padding: 0 10px;
  }

  .ceo-bio {
    text-align: left;
    margin-top: 0;
    width: 100%;
    margin-top: 50px;
    padding: 0 0.5cm; /* Mobile padding */
  }

  .ceo-bio p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95em;
    padding: 0 0.5cm; /* Mobile padding */
  }

  /* About section content padding */
  .content-wrapper {
    padding: 0 0.5cm; /* Mobile padding */
  }

  /* UPDATED MOBILE FOOTER STYLES */
  #footer-contact {
    padding: 40px 0 20px;
    font-size: 0.9rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    padding-bottom: 30px;
  }

  .footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .footer-section p,
  .footer-section ul li,
  .footer-bottom p {
    font-size: 0.95rem;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  .ceo-name-title {
    font-size: 1.05em;
    margin-top: 25px !important;
    margin-bottom: 30px !important;
    padding: 0 15px;
  }
  
  .ceo-bio p {
    font-size: 0.9em;
    line-height: 1.7;
  }
  
  .leadership-content {
    gap: 25px;
  }

  /* Ensure 0.5cm padding on very small screens */
  .section-description,
  .content-wrapper,
  .ceo-bio,
  .ceo-bio p,
  #about-us .section-description,
  #leadership .section-description {
    padding: 0 0.5cm;
  }

  /* SMALL SCREEN FOOTER STYLES */
  #footer-contact {
    padding: 30px 0 15px;
    font-size: 0.9rem;
  }

  .footer-content {
    gap: 25px;
  }

  .footer-section h3 {
    font-size: 1.2rem;
  }

  .footer-section p,
  .footer-section ul li,
  .footer-bottom p {
    font-size: 0.9rem;
  }
}

@media (min-width: 993px) {
  .hamburger-button, .close-mobile-menu {
    display: none !important;
  }

  .main-nav ul {
    gap: 8px;
  }

  .main-nav a {
    padding: 12px 22px;
    font-size: 0.95em;
  }

  .division-grid {
    grid-template-columns: 1fr;
  }

  .ceo-name-title {
    margin-top: 15px;
    margin-bottom: 25px;
  }

  html {
    font-size: 16px;
  }
  
  #footer-contact {
    font-size: 0.9rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    text-align: left;
  }
  
  .social-icons {
    justify-content: flex-start;
  }

  /* Desktop padding */
  .section-description,
  .content-wrapper,
  .ceo-bio,
  .ceo-bio p,
  #about-us .section-description,
  #leadership .section-description {
    padding: 0 0.2cm;
  }
}