/* USDEAC Website - Main Stylesheet */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c62828;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d32f2f;
}

/* Navigation */
.brand-text {
  font-size: 1.5rem;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #1565c0 0%, #c62828 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.navbar {
  transition: all 0.3s ease;
  border-bottom: 3px solid #f5f5f5;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  background: linear-gradient(90deg, #1565c0 0%, #c62828 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-title {
  animation: fadeInUp 1s ease-out;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  animation: fadeInUp 1.2s ease-out;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  animation: fadeInUp 1.4s ease-out;
}

.hero-buttons .btn {
  transition: all 0.3s ease;
  font-weight: 600;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-red {
  background: #c62828 !important;
  border: none !important;
  color: white !important;
}

.btn-red:hover {
  background: #d32f2f !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Features Section */
.features-section {
  background-color: #f8f9fa;
}

.feature-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e3f2fd 0%, #ffebee 100%);
  border-radius: 50%;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.feature-card:nth-child(odd):hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  color: white !important;
}

.feature-card:nth-child(even):hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
  color: white !important;
}

/* Statistics Section */
.statistics-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.stat-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1565c0 0%, #c62828 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Global Reach Section */
.global-reach-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.global-image {
  transition: transform 0.3s ease;
}

.global-image:hover {
  transform: scale(1.05);
}

.global-feature-item {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: #333;
}
.logo{
      max-width: 170px;
    height: auto;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  padding: 80px 0;
}

.about-card {
  background: white;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

/* Advantages Section */
.advantages-section {
  background: white;
  padding: 80px 0;
}

.advantage-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  border-radius: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  height: 100%;
}

.advantage-item:nth-child(odd):hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(21, 101, 192, 0.2);
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  color: white;
}

.advantage-item:nth-child(even):hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(198, 40, 40, 0.2);
  background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
  color: white;
}

.advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.advantage-item:nth-child(odd) .advantage-icon {
  color: #1565c0;
}

.advantage-item:nth-child(even) .advantage-icon {
  color: #d32f2f;
}

.advantage-item:hover .advantage-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: scale(1.1);
}

/* News Section */
.news-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
}

.news-card {
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.news-image {
  transition: transform 0.3s ease;
}

.news-card:hover .news-image {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #c62828 100%);
  color: white;
}

.footer-main {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.footer h5 {
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: white;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
}

.social-icons .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons .social-icon:hover {
  background: white;
  color: #1565c0;
  transform: translateY(-3px);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p,
.footer-bottom-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-bottom-link:hover {
  color: white;
}

.text-muted-light {
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Sections for Inner Pages */
.about-hero,
.academic-hero,
.business-hero,
.equalization-hero,
.contact-hero,
.blog-detail-hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
  margin-bottom: 50px;
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #e3f2fd 0%, #ffebee 100%);
  color: #0d47a1;
}

/* Bootstrap Overrides */
.btn-primary {
  background: linear-gradient(90deg, #1565c0 0%, #c62828 100%) !important;
  border: none !important;
  color: white !important;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #0d47a1 0%, #d32f2f 100%) !important;
  transform: translateY(-2px);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.hide {
    display: none !important;
}
.form-control {
    padding: 10px;
    margin: 10px 0px;
    width: 100%;
}
table { width: 100%;}
table th { text-align: left; padding: 10px;}
table td { padding: 10px; border: 1px solid #ccc; bottom: 0px; }
table tr { padding: 0;  }
.hd-01 {padding: 20px 0px 0px 0px;}

div#loadingProgressBar {
    margin: 0 0 20px;
}
.text-red { color: #dc2626; }
.text-blue { color: #1d4ed8; }
.text-gold { color: #d97706; }

.bg-light { background: #f8fafc; }
.bg-white { background: white; }

.border-left-blue {
    border-left: 4px solid #1d4ed8;
}

.border-left-red {
    border-left: 4px solid #dc2626;
}

.border-left-gold {
    border-left: 4px solid #d97706;
}