body, h1, h2, p, a {
 margin: 0;
 padding: 0;
 text-decoration: none;
 color: inherit;
 font-family: 'Raleway', sans-serif;
 }
body {
 background-color: #f5f5f5;
 }
.navbar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 background-color: white;
 padding: 10px 30px;
 border-bottom: 1px solid #ccc;
 }
.navbar-left {
 display: flex;
 align-items: center;
 gap: 10px;
 }
.navbar-left a {
 display: inline-block;
 padding: 12px;
 border-radius: 12px;
 transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
 cursor: pointer;
 position: relative;
 }
.navbar-left a:hover {
 transform: translateY(-6px) scale(1.05);
 box-shadow:
0 25px 50px rgba(21, 40, 76, 0.15),
0 15px 30px rgba(0, 102, 204, 0.08),
0 5px 15px rgba(21, 40, 76, 0.12);
 background: linear-gradient(135deg,
rgba(255, 255, 255, 0.95) 0%,
rgba(21, 40, 76, 0.05) 100%);
 border: 1px solid rgba(21, 40, 76, 0.15);
 backdrop-filter: blur(10px);
 }
.logo {
 width: 135px;
 height: auto;
 transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
 }
.navbar-left a:hover .logo {
 filter:
brightness(1.12)
contrast(1.08)
saturate(1.1)
drop-shadow(0 10px 20px rgba(21, 40, 76, 0.15))
drop-shadow(0 5px 10px rgba(0, 102, 204, 0.1));
 transform: rotate(-2deg);
 }
.text {
 display: flex;
 flex-direction: column;
 color: #15284C;
 }
.d-sof {
 font-size: 12px;
 font-weight: 600;
 }
.mech {
 font-family: 'Arimo', sans-serif;
 font-size: 20px;
 font-weight: 700;
 margin: 2px 0;
 }
.r-team {
 font-size: 12px;
 font-weight: 600;
 }
.navbar-center {
 display: flex;
 gap: 20px;
 align-items: center;
 }
.navbar-center a {
 font-size: 14px;
 font-weight: 600;
 color: #15284C;
 position: relative;
 transition: color 0.2s ease-in-out;
 padding-bottom: 4px;
 }
.navbar-center a:not(.apply-btn)::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background-color: #FFD700;
 transition: width 0.3s ease-in-out;
 }
.navbar-center a:not(.apply-btn):hover::after {
 width: 100%;
 }
.navbar-center a:hover {
 color: #0066cc;
 }
.apply-btn {
 background-color: #d4af37;
 color: #15284C;
 padding: 8px 14px;
 border-radius: 2px;
 font-weight: 700;
 cursor: pointer;
 transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
 position: relative;
 bottom: 1px;
 }
.apply-btn:hover {
 background-color: #15284C;
 color: white;
 transform: translateY(-2px) scale(1.05);
 box-shadow: 0 8px 25px rgba(21, 40, 76, 0.3);
 }
.navbar-right {
 display: flex;
 align-items: center;
 gap: 20px;
 font-size: 20px;
 }
#translate-toggle, #search-toggle, #menu-toggle {
 display: inline-block;
 padding: 8px;
 border-radius: 6px;
 transition: all 0.3s ease;
 cursor: pointer;
 }
#translate-toggle:hover, #search-toggle:hover, #menu-toggle:hover {
 transform: scale(1.1);
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
 background-color: rgba(255, 215, 0, 0.1);
 }
#menu-toggle:hover {
 background-color: rgba(21, 40, 76, 0.1);
 }
.translate-icon, .search-icon {
 width: 30px;
 position: relative;
 top: 3.5px;
 transition: all 0.3s ease;
 }
#translate-toggle:hover .translate-icon,
#search-toggle:hover .search-icon {
 filter: brightness(1.2) drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
 }
.icon {
 cursor: pointer;
 }
.popup-menu {
 position: fixed;
 top: 0;
 right: 0;
 width: 250px;
 height: 100vh;
 background-color: white;
 box-shadow: -2px 0 10px rgba(0,0,0,0.2);
 padding-top: 60px;
 display: flex;
 flex-direction: column;
 z-index: 1100;
 transform: translateX(100%);
 transition: transform 0.3s ease-in-out;
 visibility: hidden;
 opacity: 0;
 }
.popup-menu.show {
 transform: translateX(0);
 visibility: visible;
 opacity: 1;
 }
.popup-nav {
 display: flex;
 flex-direction: column;
 gap: 20px;
 padding-left: 20px;
 }
.popup-nav a {
 font-size: 18px;
 font-weight: 600;
 color: #15284C;
 cursor: pointer;
 position: relative;
 transition: color 0.2s ease;
 padding-bottom: 4px;
 }
.popup-nav a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background-color: #FFD700;
 transition: width 0.3s ease-in-out;
 }
.popup-nav a:hover::after {
 width: 100%;
 }
.popup-nav a:hover {
 color: #0066cc;
 }
 .popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
}

.popup-menu.show + .popup-overlay,
.popup-overlay.show {
  visibility: visible;
  opacity: 1;
}
.hidden {
 visibility: hidden !important;
 opacity: 0 !important;
 pointer-events: none !important;
 }
#search-popup, #translate-popup {
 position: fixed;
 top: 70px;
 left: 50%;
 transform: translateX(150%);
 background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
 backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
 border: 1px solid rgba(255, 255, 255, 0.2);
 box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1),
0 10px 25px rgba(0, 0, 0, 0.08),
inset 0 1px 0 rgba(255, 255, 255, 0.8);
 border-radius: 16px;
 z-index: 1100;
 transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 visibility: hidden;
 opacity: 0;
 width: 400px;
 max-width: 90vw;
 padding: 0;
 overflow: hidden;
 }
#search-popup.show, #translate-popup.show {
 transform: translateX(-50%);
 visibility: visible;
 opacity: 1;
 }
.search-container, .translate-container {
 padding: 24px;
 }
.search-header, .translate-header {
 display: flex;
 align-items: center;
 gap: 12px;
 margin-bottom: 20px;
 }
.search-icon-header, .translate-icon-header {
 width: 20px;
 height: 20px;
 background-size: contain;
 opacity: 0.7;
 }
.search-icon-header {
 background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m21 21-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat center;
 }
.translate-icon-header {
 background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 8l6 6m-7 0l6.5-6.5M19 19h-3m0 0l-3-3m3 3V12m3 0h-3m3 0l-3-3m3 3v7'/%3E%3C/svg%3E") no-repeat center;
 }
.search-title, .translate-title {
 font-size: 16px;
 font-weight: 600;
 color: #15284C;
 margin: 0;
 }
.search-input-container {
 position: relative;
 margin-bottom: 16px;
 }
#search-input {
 width: 100%;
 padding: 16px 20px 16px 48px;
 font-size: 16px;
 font-family: 'Raleway', sans-serif;
 font-weight: 400;
 border: 2px solid rgba(21, 40, 76, 0.1);
 border-radius: 12px;
 background: rgba(255, 255, 255, 0.9);
 color: #15284C;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 outline: none;
 box-sizing: border-box;
 }
#search-input:focus {
 border-color: #FFD700;
 background: rgba(255, 255, 255, 1);
 box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1),
0 4px 20px rgba(255, 215, 0, 0.15);
 transform: translateY(-1px);
 }
#search-input::placeholder {
 color: #94a3b8;
 font-weight: 400;
 }
.search-input-icon {
 position: absolute;
 left: 16px;
 top: 50%;
 transform: translateY(-50%);
 width: 18px;
 height: 18px;
 background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m21 21-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat center;
 background-size: contain;
 pointer-events: none;
 transition: all 0.3s ease;
 }
#search-input:focus + .search-input-icon {
 background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23FFD700'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m21 21-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat center;
 background-size: contain;
 }
.search-divider, .translate-divider {
 height: 1px;
 background: linear-gradient(90deg, transparent, rgba(21, 40, 76, 0.1), transparent);
 margin: 16px 0;
 }
#search-results {
 list-style: none;
 margin: 0;
 padding: 0;
 max-height: 200px;
 overflow-y: auto;
 scrollbar-width: thin;
 scrollbar-color: rgba(21, 40, 76, 0.2) transparent;
 }
#search-results::-webkit-scrollbar {
 width: 4px;
 }
#search-results::-webkit-scrollbar-track {
 background: transparent;
 }
#search-results::-webkit-scrollbar-thumb {
 background: rgba(21, 40, 76, 0.2);
 border-radius: 2px;
 }
#search-results li {
 padding: 12px 16px;
 margin: 4px 0;
 cursor: pointer;
 border-radius: 10px;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 color: #15284C;
 font-weight: 500;
 position: relative;
 display: flex;
 align-items: center;
 gap: 12px;
 }
#search-results li::before {
 content: '';
 width: 6px;
 height: 6px;
 background: #FFD700;
 border-radius: 50%;
 opacity: 0;
 transition: all 0.3s ease;
 }
#search-results li:hover {
 background: linear-gradient(135deg, #FFD700 0%, #d4af37 100%);
 color: #15284C;
 transform: translateX(4px);
 box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
 }
#search-results li:hover::before {
 opacity: 1;
 background: #15284C;
 }

 #search-results {
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 40, 76, 0.3) transparent;
}

#search-results::-webkit-scrollbar {
  width: 6px;
}

#search-results::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

#search-results::-webkit-scrollbar-thumb {
  background: rgba(21, 40, 76, 0.3);
  border-radius: 3px;
}

#search-results::-webkit-scrollbar-thumb:hover {
  background: rgba(21, 40, 76, 0.5);
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
}

/* Remove focus styles for mouse users */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

.no-results {
 text-align: center;
 padding: 20px;
 color: #64748b;
 font-style: italic;
 }
.search-footer, .translate-footer {
 padding: 12px 24px;
 background: rgba(21, 40, 76, 0.03);
 border-top: 1px solid rgba(21, 40, 76, 0.08);
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 8px;
 font-size: 12px;
 color: #64748b;
 }
.search-shortcut {
 background: rgba(21, 40, 76, 0.1);
 padding: 2px 6px;
 border-radius: 4px;
 font-family: monospace;
 font-size: 11px;
 }
.language-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 8px;
 margin-bottom: 16px;
 }
.language-option {
 padding: 12px 16px;
 background: rgba(255, 255, 255, 0.7);
 border: 2px solid rgba(21, 40, 76, 0.1);
 border-radius: 10px;
 cursor: pointer;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 text-align: center;
 font-weight: 500;
 color: #15284C;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 }
.language-option:hover {
 background: linear-gradient(135deg, #FFD700 0%, #d4af37 100%);
 border-color: #FFD700;
 transform: translateY(-2px);
 box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
 }
.language-option.selected {
 background: #15284C;
 color: white;
 border-color: #15284C;
 }
@media (max-width: 768px) {
#search-popup, #translate-popup {
 width: 350px;
 top: 60px;
 }
.search-container, .translate-container {
 padding: 20px;
 }
.language-grid {
 grid-template-columns: 1fr;
 }
 }
@media (max-width: 480px) {
#search-popup, #translate-popup {
 width: 90vw;
 top: 55px;
 }
.search-container, .translate-container {
 padding: 16px;
 }
#search-input {
 padding: 14px 18px 14px 44px;
 font-size: 15px;
 }
 }

 /* Hero Section Styles */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(21, 40, 76, 0.7) 0%,
    rgba(0, 102, 204, 0.6) 50%,
    rgba(21, 40, 76, 0.8) 100%
  );
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 1200px;
  padding: 0 40px;
  z-index: 1;
}

.hero-text {
  margin-bottom: 50px;
}

.hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight-text {
  color: #FFD700;
  font-weight: 700;
}

.italic-text {
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-block;
  padding: 18px 35px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 1px;
  text-shadow: none;
  position: relative;
  overflow: hidden;
}

.register-btn {
  background-color: #FFD700;
  color: #15284C;
  border-color: #FFD700;
}

.register-btn:hover {
  background-color: #15284C;
  color: white;
  border-color: #15284C;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.sponsorship-btn {
  background-color: #4CAF50;
  color: white;
  border-color: #4CAF50;
}

.sponsorship-btn:hover {
  background-color: #45a049;
  border-color: #45a049;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-content {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-btn {
    padding: 16px 30px;
    font-size: 0.9rem;
    width: 250px;
    text-align: center;
  }
  
  .hero-content {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-text {
    margin-bottom: 40px;
  }
  
  .hero-btn {
    padding: 14px 25px;
    font-size: 0.85rem;
    width: 220px;
  }
}

.hero-btn {
  will-change: transform;
  backface-visibility: hidden;
}

.hero-section.loading .hero-image,
.best-choice-section.loading .graduation-image {
  opacity: 0;
  filter: blur(5px);
}

.hero-section.loaded .hero-image,
.best-choice-section.loaded .graduation-image {
  opacity: 1;
  filter: blur(0);
  transition: opacity 0.5s ease, filter 0.5s ease;
}

.hero-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.hero-btn:hover::after {
  left: 100%;
}

/* Ensure button text stays above the shine effect */
.hero-btn > * {
  position: relative;
  z-index: 2;
}

/* Best Choice Section */
.best-choice-section {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  padding: 80px 0;
  min-height: 600px;
}

.best-choice-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 0 40px;
}

.best-choice-left {
  position: relative;
}

.graduation-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.best-choice-right {
  color: white;
  padding-left: 40px;
}

.best-choice-content {
  margin-bottom: 50px;
}

.best-choice-title {
  margin-bottom: 30px;
  line-height: 1.1;
}

.title-the {
  font-size: 2.5rem;
  font-weight: 400;
  font-style: italic;
  color: #FFD700;
  display: block;
  margin-bottom: 10px;
}

.title-main {
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  line-height: 0.9;
}

.best-choice-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
}

.stats-grid {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto;
  gap: 30px;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #FFD700, transparent);
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .best-choice-container {
    gap: 40px;
    padding: 0 30px;
  }
  
  .best-choice-right {
    padding-left: 20px;
  }
  
  .title-the {
    font-size: 2.2rem;
  }
  
  .title-main {
    font-size: 3rem;
  }
  
  .stats-grid {
    gap: 20px;
    padding: 30px 20px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 968px) {
  .best-choice-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .best-choice-right {
    padding-left: 0;
  }
  
  .graduation-image {
    height: 400px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .stat-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .best-choice-section {
    padding: 60px 0;
  }
  
  .best-choice-container {
    padding: 0 20px;
    gap: 40px;
  }
  
  .title-the {
    font-size: 2rem;
  }
  
  .title-main {
    font-size: 2.5rem;
  }
  
  .best-choice-description {
    font-size: 1rem;
  }
  
  .graduation-image {
    height: 350px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px 20px;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .best-choice-section {
    padding: 40px 0;
  }
  
  .best-choice-container {
    padding: 0 15px;
  }
  
  .title-the {
    font-size: 1.8rem;
  }
  
  .title-main {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .graduation-image {
    height: 300px;
  }
  
  .best-choice-content {
    margin-bottom: 30px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 380px) {
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
    line-height: 1.2;
  }
  
  .stats-grid {
    padding: 20px 15px;
    gap: 20px;
  }
}

.hero-image,
.graduation-image {
  will-change: transform;
  backface-visibility: hidden;
}

/* Add these improvements to your existing CSS */

/* Fix for mobile navigation - hide desktop nav on small screens */
@media (max-width: 768px) {
  .navbar-center {
    display: none;
  }
  
  .navbar-right {
    gap: 15px;
  }
  
  /* Ensure mobile menu toggle is visible */
  #menu-toggle {
    display: block;
    font-size: 24px;
    color: #15284C;
  }
}

/* Ensure popup menu overlay covers the full screen properly */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.popup-menu.show + .popup-overlay,
.popup-overlay.show {
  visibility: visible;
  opacity: 1;
}

/* Improve search icon spacing in navbar */
.search-icon {
  width: 24px;
  height: 24px;
  position: relative;
  top: 2px;
  transition: all 0.3s ease;
}

/* Add smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Improve focus states for accessibility */
button:focus,
a:focus,
input:focus {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

/* Fix potential text overflow in stats */
.stat-label {
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
}

/* Add loading state styles for images */
.hero-image,
.graduation-image {
  transition: opacity 0.3s ease;
}

.hero-image:not([src]),
.graduation-image:not([src]) {
  opacity: 0;
}

/* Improve button hover states */
.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.hero-btn:hover::before {
  left: 100%;
}

/* Add print styles */
@media print {
  .navbar,
  .popup-menu,
  #search-popup {
    display: none;
  }
  
  .hero-section {
    height: auto;
    min-height: 400px;
  }
  
  body {
    background: white;
    color: black;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-btn::after {
    display: none;
  }
}

@supports (container-type: inline-size) {
  .best-choice-container {
    container-type: inline-size;
  }
  
  @container (max-width: 600px) {
    .stats-grid {
      grid-template-columns: 1fr;
    }
    
    .stat-divider {
      display: none;
    }
  }
}

.navbar {
  z-index: 1000;
}

.popup-menu {
  z-index: 1100;
}

#search-popup {
  z-index: 1100;
}

.popup-overlay {
  z-index: 1050;
}

.hero-section {
  z-index: 1;
}

@media (prefers-contrast: high) {
  .hero-overlay {
    background: rgba(0, 0, 0, 0.8);
  }
  
  .highlight-text {
    color: #FFFF00;
    text-shadow: 1px 1px 0 #000;
  }
  
  .hero-btn {
    border-width: 3px;
  }
}

@media print {
  .navbar,
  .popup-menu,
  #search-popup,
  .hero-buttons {
    display: none !important;
  }
  
  .hero-section {
    height: auto;
    min-height: 300px;
    break-inside: avoid;
  }
  
  .best-choice-section {
    break-inside: avoid;
    padding: 20px 0;
  }
  
  .hero-title,
  .title-main {
    color: #000 !important;
    text-shadow: none !important;
  }
  
  .highlight-text {
    color: #333 !important;
    font-weight: 800;
  }
  
  body {
    background: white !important;
    color: black !important;
    font-size: 12pt;
    line-height: 1.4;
  }
}

/* Modern Interactive Cards Section - Fixed Title Alignment */
.interactive-cards-section {
  padding: 0;
  margin: 0;
  background: #f5f5f5;
  overflow: hidden;
  position: relative;
}

/* Remove animated background pattern */
.interactive-cards-section::before {
  display: none;
}

.cards-container {
  display: flex;
  height: 70vh;
  min-height: 500px;
  position: relative;
  z-index: 1;
}

.interactive-card {
  flex: 1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  backdrop-filter: none;
  border: none;
}

.interactive-card:last-child {
  border-right: none;
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.6) contrast(1.0) saturate(1.0);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.3) 25%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.3) 75%,
    rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px;
  color: #ffffff;
  z-index: 3;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.card-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 15px 0;
  line-height: 1.2;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  position: relative;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 1.7rem;
}

.card-underline {
  width: 60px;
  height: 3px;
  background: #ffffff;
  margin-bottom: 20px;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: none;
}

.card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.2s;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Modern Hover Effects */
.interactive-card:hover {
  flex: 2.5;
  transform: scale(1.02);
  z-index: 10;
  background: transparent;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.2);
  border: none;
}

.interactive-card:hover .card-image {
  transform: scale(1.1);
  filter: brightness(0.7) contrast(1.1) saturate(1.0);
}

.interactive-card:hover .card-overlay {
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.2) 30%,
    rgba(0, 0, 0, 0.1) 70%,
    rgba(0, 0, 0, 0.4) 100%);
}

.interactive-card:hover .card-title {
  font-size: 1.8rem;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.interactive-card:hover .card-underline {
  transform: scaleX(1);
  width: 100px;
  background: #ffffff;
  box-shadow: none;
}

.interactive-card:hover .card-description {
  opacity: 1;
  transform: translateY(0);
  color: rgba(255, 255, 255, 0.95);
}

/* Non-hovered cards styling */
.cards-container:hover .interactive-card:not(:hover) {
  flex: 0.7;
  filter: brightness(0.4) saturate(0.5);
  background: transparent;
  border: none;
}

.cards-container:hover .interactive-card:not(:hover) .card-title {
  font-size: 1.2rem;
  opacity: 0.6;
  color: rgba(255, 255, 255, 0.7);
}

.cards-container:hover .interactive-card:not(:hover) .card-content {
  transform: translateY(10px);
}

.cards-container:hover .interactive-card:not(:hover) .card-overlay {
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.7) 100%);
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
  .interactive-card:hover {
    flex: 2.2;
  }
  
  .card-title {
    font-size: 1.2rem;
    min-height: 1.5rem;
  }
  
  .interactive-card:hover .card-title {
    font-size: 1.6rem;
  }
  
  .card-content {
    padding: 30px 25px;
  }
}

@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    height: auto;
  }
  
  .interactive-card {
    height: 200px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .interactive-card:last-child {
    border-bottom: none;
  }
  
  .interactive-card:hover {
    flex: 1;
    height: 300px;
    transform: scale(1);
  }
  
  .cards-container:hover .interactive-card:not(:hover) {
    flex: 1;
    height: 150px;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .card-title {
    font-size: 1rem;
    min-height: 1.2rem;
  }
  
  .interactive-card:hover .card-title {
    font-size: 1.4rem;
  }
  
  .card-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .interactive-card {
    height: 180px;
  }
  
  .interactive-card:hover {
    height: 250px;
  }
  
  .cards-container:hover .interactive-card:not(:hover) {
    height: 120px;
  }
  
  .card-content {
    padding: 15px;
  }
  
  .card-title {
    font-size: 0.9rem;
    letter-spacing: 1px;
    min-height: 1.1rem;
  }
  
  .interactive-card:hover .card-title {
    font-size: 1.2rem;
  }
  
  .card-description {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

/* Performance optimizations */
.interactive-card {
  will-change: flex, transform;
  backface-visibility: hidden;
}

.card-image {
  will-change: transform, filter;
  backface-visibility: hidden;
}

/* Accessibility improvements */
.interactive-card:focus {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.interactive-card:focus .card-underline {
  transform: scaleX(1);
}

.interactive-card:focus .card-description {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .interactive-card,
  .card-image,
  .card-overlay,
  .card-content,
  .card-title,
  .card-underline,
  .card-description {
    transition: none;
    animation: none;
  }
  
  .interactive-card:hover {
    transform: none;
  }
  
  .interactive-card:hover .card-image {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card-overlay {
    background: rgba(0, 0, 0, 0.8) !important;
  }
  
  .card-title {
    color: #ffffff !important;
    text-shadow: 3px 3px 0 #000 !important;
  }
  
  .card-underline {
    background: #ffffff !important;
  }
  
  .interactive-card:focus {
    outline: 4px solid #ffffff !important;
  }
}

/* News & Events Section */
.news-events-section {
  background: #f5f5f5;
  padding: 80px 0;
  position: relative;
}

.news-events-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.news-events-header {
  text-align: center;
  margin-bottom: 60px;
}

.news-events-title {
  font-family: 'Raleway', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #15284C;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
}

.news-events-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #FFD700 0%, #d4af37 100%);
  border-radius: 2px;
}

.news-events-subtitle {
  font-size: 1.2rem;
  color: #FF6B35;
  font-weight: 500;
  margin: 0;
  font-style: italic;
}

.news-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.news-event-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
}

.news-event-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.event-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: grayscale(100%) brightness(0.8) contrast(1.2);
}

.news-event-card:hover .event-image {
  filter: grayscale(0%) brightness(1) contrast(1);
  transform: scale(1.1);
}

.event-content {
  padding: 30px 25px;
  position: relative;
}

.event-category {
  display: inline-block;
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.event-category:nth-child(3n) {
  background: linear-gradient(135deg, #50C878 0%, #228B22 100%);
}

.event-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #15284C;
  margin: 0 0 20px 0;
  line-height: 1.3;
  transition: color 0.3s ease;
 }
 
 .news-event-card:hover .event-title {
  color: #0066cc;
 }
 
 .event-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4A90E2;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
 }
 
 .event-read-more:hover {
  color: #357ABD;
  transform: translateX(5px);
 }
 
 .read-more-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
 }
 
 .event-read-more:hover .read-more-icon {
  transform: scale(1.2);
 }
 
 .event-read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4A90E2;
  transition: width 0.3s ease;
 }
 
 .event-read-more:hover::after {
  width: 100%;
 }
 
 /* Responsive Design for News & Events */
 @media (max-width: 1024px) {
  .news-events-grid {
    gap: 30px;
  }
  
  .news-events-title {
    font-size: 3rem;
  }
  
  .event-image-container {
    height: 220px;
  }
 }
 
 @media (max-width: 768px) {
  .news-events-section {
    padding: 60px 0;
  }
  
  .news-events-container {
    padding: 0 20px;
  }
  
  .news-events-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .news-events-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }
  
  .news-events-subtitle {
    font-size: 1.1rem;
  }
  
  .event-image-container {
    height: 200px;
  }
  
  .event-content {
    padding: 25px 20px;
  }
  
  .event-title {
    font-size: 1.2rem;
  }
 }
 
 @media (max-width: 480px) {
  .news-events-section {
    padding: 40px 0;
  }
  
  .news-events-container {
    padding: 0 15px;
  }
  
  .news-events-header {
    margin-bottom: 40px;
  }
  
  .news-events-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .news-events-subtitle {
    font-size: 1rem;
  }
  
  .event-image-container {
    height: 180px;
  }
  
  .event-content {
    padding: 20px 15px;
  }
  
  .event-title {
    font-size: 1.1rem;
  }
  
  .event-category {
    font-size: 0.7rem;
    padding: 5px 12px;
  }
 }
 
 /* Animation enhancements */
 .news-event-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
 }
 
 .news-event-card:nth-child(1) {
  animation-delay: 0.1s;
 }
 
 .news-event-card:nth-child(2) {
  animation-delay: 0.2s;
 }
 
 .news-event-card:nth-child(3) {
  animation-delay: 0.3s;
 }
 
 @keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
 }
 
 /* Focus states for accessibility */
 .news-event-card:focus {
  outline: 3px solid #FFD700;
  outline-offset: 3px;
 }
 
 .event-read-more:focus {
  outline: 2px solid #4A90E2;
  outline-offset: 2px;
 }
 
 /* High contrast mode support */
 @media (prefers-contrast: high) {
  .event-image {
    filter: grayscale(100%) brightness(0.9) contrast(1.5) !important;
  }
  
  .news-event-card:hover .event-image {
    filter: grayscale(0%) brightness(1) contrast(1.3) !important;
  }
  
  .event-category {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #fff;
  }
 }
 
 /* Reduced motion support */
 @media (prefers-reduced-motion: reduce) {
  .news-event-card,
  .event-image,
  .event-title,
  .event-read-more {
    transition: none;
    animation: none;
  }
  
  .news-event-card:hover {
    transform: none;
  }
  
  .news-event-card:hover .event-image {
    transform: none;
  }
 }
 
 /* Print styles */
 @media print {
  .news-events-section {
    break-inside: avoid;
    padding: 20px 0;
  }
  
  .news-events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .event-image {
    filter: grayscale(100%) !important;
  }
  
  .event-read-more {
    display: none;
  }
 }

 /* News & Events Modal Popup */
.news-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 20px;
}

.news-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.news-modal {
  background: white;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(50px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.news-modal-overlay.show .news-modal {
  transform: scale(1) translateY(0);
}

.news-modal-header {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.news-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-modal-overlay.show .news-modal-image {
  transform: scale(1.05);
}

.news-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #15284C;
  transition: all 0.3s ease;
  z-index: 10;
}

.news-modal-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.news-modal-content {
  padding: 40px;
  max-height: calc(90vh - 300px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 40, 76, 0.3) transparent;
}

.news-modal-content::-webkit-scrollbar {
  width: 6px;
}

.news-modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.news-modal-content::-webkit-scrollbar-thumb {
  background: rgba(21, 40, 76, 0.3);
  border-radius: 3px;
}

.news-modal-category {
  display: inline-block;
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.news-modal-title {
  font-family: 'Raleway', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #15284C;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.news-modal-date {
  color: #666;
  font-size: 1rem;
  margin-bottom: 30px;
  font-style: italic;
}

.news-modal-text {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.news-modal-text p {
  margin-bottom: 20px;
}

.news-modal-text p:last-child {
  margin-bottom: 0;
}

.news-modal-footer {
  padding: 30px 40px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-modal-share {
  display: flex;
  gap: 15px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  transition: all 0.3s ease;
}

.share-facebook {
  background: #3b5998;
}

.share-twitter {
  background: #1da1f2;
}

.share-linkedin {
  background: #0077b5;
}

.share-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.news-modal-back {
  background: #15284C;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.news-modal-back:hover {
  background: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 40, 76, 0.3);
}

/* Loading animation */
.news-modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  font-size: 1.2rem;
  color: #666;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #4A90E2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
  .news-modal {
    margin: 20px;
    max-height: 95vh;
  }
  
  .news-modal-header {
    height: 250px;
  }
  
  .news-modal-content {
    padding: 30px 25px;
    max-height: calc(95vh - 250px);
  }
  
  .news-modal-title {
    font-size: 1.8rem;
  }
  
  .news-modal-footer {
    padding: 25px;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .news-modal-overlay {
    padding: 10px;
  }
  
  .news-modal {
    margin: 0;
  }
  
  .news-modal-header {
    height: 200px;
  }
  
  .news-modal-content {
    padding: 25px 20px;
    max-height: calc(95vh - 200px);
  }
  
  .news-modal-title {
    font-size: 1.5rem;
  }
  
  .news-modal-text {
    font-size: 1rem;
  }
  
  .news-modal-close {
    width: 35px;
    height: 35px;
    top: 15px;
    right: 15px;
    font-size: 16px;
  }
}

/* Accessibility improvements */
.news-modal-close:focus,
.share-btn:focus,
.news-modal-back:focus {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .news-modal {
    border: 3px solid #000;
  }
  
  .news-modal-close {
    background: #fff;
    border: 2px solid #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .news-modal-overlay,
  .news-modal,
  .news-modal-image,
  .news-modal-close,
  .share-btn,
  .news-modal-back {
    transition: none;
    animation: none;
  }
  
  .loading-spinner {
    animation: none;
    border-top-color: #4A90E2;
  }
}

/* Footer Styles - Add this to the end of your existing style.css file */

/* Footer Styles - Add this to the end of your existing style.css file */

.site-footer {
  background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #1a237e 100%);
  color: white;
  padding: 60px 0 0 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #FFD700;
  transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link.linkedin {
  background: #0077b5;
  color: white;
}

.social-link.linkedin::before {
  background: #005885;
}

.social-link.youtube {
  background: #ff0000;
  color: white;
}

.social-link.youtube::before {
  background: #cc0000;
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-link.instagram::before {
  background: linear-gradient(45deg, #d17a26 0%, #c9552f 25%, #bf1e36 50%, #b01c59 75%, #a0157b 100%);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-icon {
  position: relative;
  z-index: 2;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  margin-top: 20px;
  position: relative;
  min-height: 120px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
}

.footer-logo-image {
  height: 150px;
  width: auto;
  transition: all 0.3s ease;
  filter: brightness(1) contrast(1);
  position: relative;
  z-index: 1;
}

.footer-logo-image:hover {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

.footer-copyright {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-copyright p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-style: italic;
}

/* Responsive Design for Footer */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .footer-container {
    padding: 0 30px;
  }
  
  .footer-logo-image {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0 0 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-container {
    padding: 0 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    min-height: auto;
  }
  
  .footer-copyright,
  .footer-logo {
    justify-content: center;
    flex: none;
  }
  
  .footer-logo-image {
    height: 100px;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 30px 0 0 0;
  }
  
  .footer-container {
    padding: 0 15px;
  }
  
  .footer-content {
    gap: 25px;
  }
  
  .footer-heading {
    font-size: 1.1rem;
  }
  
  .footer-text,
  .footer-links a {
    font-size: 0.9rem;
  }
  
  .footer-logo-image {
    height: 80px;
  }
  
  .footer-copyright p {
    font-size: 0.8rem;
  }
  
  .social-link {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
}

/* Accessibility improvements */
.footer-links a:focus,
.social-link:focus {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
  border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .site-footer {
    background: #000;
    border-top: 3px solid #fff;
  }
  
  .footer-heading,
  .footer-text,
  .footer-links a {
    color: #fff;
  }
  
  .social-link {
    border: 2px solid #fff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .footer-links a,
  .social-link,
  .social-link::before {
    transition: none;
  }
  
  .social-link:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .site-footer {
    background: #fff;
    color: #000;
    border-top: 2px solid #000;
  }
  
  .footer-heading,
  .footer-text,
  .footer-links a,
  .footer-copyright p {
    color: #000;
  }
  
  .social-links {
    display: none;
  }
}

.social-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Hover effects for each social platform */
.social-link.linkedin:hover .social-icon-img {
  transform: scale(1.1);
}

.social-link.youtube:hover .social-icon-img {
  transform: scale(1.1);
}

.social-link.instagram:hover .social-icon-img {
  transform: scale(1.1);
}

.social-link:hover .social-icon-img {
  filter: none;
  transform: scale(1.1);
}

/* Responsive adjustments for mobile */
@media (max-width: 480px) {
  .social-icon-img {
    width: 16px;
    height: 16px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .social-icon-img {
    filter: brightness(0) invert(1) !important;
    border: 1px solid #fff;
    border-radius: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .social-icon-img {
    transition: none;
  }
  
  .social-link:hover .social-icon-img {
    transform: none;
  }
}

/* Video Background Styles - Add this to your existing CSS */

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  /* Ensure video covers entire area */
  min-width: 100%;
  min-height: 100%;
}

/* Alternative sizing method for better coverage */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Remove any potential gray backgrounds */
.hero-section {
  background: transparent !important;
  background-color: transparent !important;
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure the video fills the entire container */
.hero-video {
  /* Force video to cover entire area, even if it means cropping */
  transform: scale(1.1);
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
}

/* Fix hero content positioning - center it properly */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1200px;
  padding: 0 40px;
  width: 100%;
  margin: 0 auto;
}

/* Ensure hero overlay covers full area */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.4) 100%
  ) !important;
  z-index: 1;
}

/* Alternative: If you want a warmer overlay instead of blue */
/*
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(21, 40, 76, 0.3) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(21, 40, 76, 0.3) 100%
  ) !important;
}
*/

/* Fallback image styles (for browsers that don't support video) */
.hero-image-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

/* Optimize video for performance */
.hero-video {
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Mobile optimizations - disable video on small screens for performance */
@media (max-width: 768px) {
  .hero-video {
    display: none;
  }
  
  .hero-image-fallback {
    display: block;
  }
  
  .hero-content {
    padding: 0 20px;
  }
  
  /* Ensure fallback image shows on mobile */
  .hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
  }
}

/* For larger screens, hide the fallback image */
@media (min-width: 769px) {
  .hero-image-fallback {
    display: none;
  }
}

/* Video loading states */
.hero-video:not([src]) {
  background: transparent;
}

/* Prefers reduced motion - show static image instead of video */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
  
  .hero-image-fallback {
    display: block;
  }
  
  .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
  }
}

/* Ensure video doesn't cause layout shift */
.hero-background {
  overflow: hidden;
}

/* Optional: Add a subtle animation to make video feel more dynamic */
@keyframes videoZoom {
  0% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1.1);
  }
}

/* Apply the animation only if user prefers motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-video {
    animation: videoZoom 20s ease-in-out infinite;
  }
}

/* Additional responsive fixes */
@media (max-width: 1024px) {
  .hero-content {
    padding: 0 30px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 15px;
  }
}

/* Enhanced News Modal Styles - Add this to the end of your style.css file */

/* Modal Overlay */
.enhanced-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 20px;
}

.enhanced-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Modal Container */
.enhanced-modal {
  background: white;
  border-radius: 25px;
  max-width: 900px;
  width: 100%;
  max-height: 95vh;
  overflow: hidden;
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.4),
    0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.7) translateY(100px) rotateX(15deg);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  perspective: 1000px;
}

.enhanced-modal-overlay.show .enhanced-modal {
  transform: scale(1) translateY(0) rotateX(0deg);
}

/* Close Button */
.enhanced-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #15284C;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.enhanced-modal-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* Image Container */
.enhanced-modal-image-container {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 25px 25px 0 0;
}

.enhanced-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.1);
}

.enhanced-modal-overlay.show .enhanced-modal-image {
  transform: scale(1);
}

.enhanced-modal-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

/* Content Container */
.enhanced-modal-content {
  padding: 0;
  max-height: calc(95vh - 350px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 40, 76, 0.3) transparent;
}

.enhanced-modal-content::-webkit-scrollbar {
  width: 6px;
}

.enhanced-modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.enhanced-modal-content::-webkit-scrollbar-thumb {
  background: rgba(21, 40, 76, 0.3);
  border-radius: 3px;
}

/* Header Section */
.enhanced-modal-header {
  padding: 40px 45px 30px 45px;
  position: relative;
}

.enhanced-modal-category {
  display: inline-block;
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.2s;
}

.enhanced-modal-overlay.show .enhanced-modal-category {
  transform: translateY(0);
  opacity: 1;
}

.enhanced-modal-title {
  font-family: 'Raleway', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #15284C;
  margin: 0 0 20px 0;
  line-height: 1.2;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.3s;
}

.enhanced-modal-overlay.show .enhanced-modal-title {
  transform: translateY(0);
  opacity: 1;
}

.enhanced-modal-subtitle {
  color: #FF6B35;
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  margin: 0 0 30px 0;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.4s;
}

.enhanced-modal-overlay.show .enhanced-modal-subtitle {
  transform: translateY(0);
  opacity: 1;
}

/* Body Section */
.enhanced-modal-body {
  padding: 0 45px 30px 45px;
}

.enhanced-modal-description {
  color: #333;
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 400;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.5s;
}

.enhanced-modal-overlay.show .enhanced-modal-description {
  transform: translateY(0);
  opacity: 1;
}

.enhanced-modal-description p {
  margin-bottom: 25px;
}

.enhanced-modal-description p:last-child {
  margin-bottom: 0;
}

/* Footer */
.enhanced-modal-footer {
  padding: 30px 45px 40px 45px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 1px solid rgba(21, 40, 76, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.enhanced-modal-back {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(21, 40, 76, 0.3);
  transform: translateY(30px);
  opacity: 0;
  transition-delay: 0.6s;
}

.enhanced-modal-overlay.show .enhanced-modal-back {
  transform: translateY(0);
  opacity: 1;
}

.enhanced-modal-back:hover {
  background: linear-gradient(135deg, #0066cc 0%, #1a3357 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(21, 40, 76, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .enhanced-modal {
    margin: 20px;
    max-height: 90vh;
    border-radius: 20px;
  }
  
  .enhanced-modal-image-container {
    height: 280px;
    border-radius: 20px 20px 0 0;
  }
  
  .enhanced-modal-header,
  .enhanced-modal-body,
  .enhanced-modal-footer {
    padding-left: 30px;
    padding-right: 30px;
  }
  
  .enhanced-modal-title {
    font-size: 2.2rem;
  }
  
  .enhanced-modal-description {
    font-size: 1.05rem;
  }
  
  .enhanced-modal-close {
    width: 45px;
    height: 45px;
    font-size: 20px;
    top: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .enhanced-modal-overlay {
    padding: 10px;
  }
  
  .enhanced-modal {
    margin: 0;
    border-radius: 15px;
  }
  
  .enhanced-modal-image-container {
    height: 250px;
    border-radius: 15px 15px 0 0;
  }
  
  .enhanced-modal-header,
  .enhanced-modal-body,
  .enhanced-modal-footer {
    padding-left: 25px;
    padding-right: 25px;
  }
  
  .enhanced-modal-title {
    font-size: 1.8rem;
  }
  
  .enhanced-modal-description {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .enhanced-modal-category {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
  
  .enhanced-modal-subtitle {
    font-size: 1rem;
  }
  
  .enhanced-modal-back {
    padding: 12px 28px;
    font-size: 1rem;
  }
}

/* Accessibility */
.enhanced-modal-close:focus,
.enhanced-modal-back:focus {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .enhanced-modal {
    border: 3px solid #000;
  }
  
  .enhanced-modal-close {
    background: #fff;
    border: 2px solid #000;
    color: #000;
  }
  
  .enhanced-modal-category {
    background: #000;
    color: #fff;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .enhanced-modal-overlay,
  .enhanced-modal,
  .enhanced-modal-image,
  .enhanced-modal-category,
  .enhanced-modal-title,
  .enhanced-modal-subtitle,
  .enhanced-modal-description,
  .enhanced-modal-back,
  .enhanced-modal-close {
    transition: none;
    animation: none;
    transform: none !important;
  }
  
  .enhanced-modal-overlay.show .enhanced-modal-category,
  .enhanced-modal-overlay.show .enhanced-modal-title,
  .enhanced-modal-overlay.show .enhanced-modal-subtitle,
  .enhanced-modal-overlay.show .enhanced-modal-description,
  .enhanced-modal-overlay.show .enhanced-modal-back {
    opacity: 1;
  }
}

/* Additional CSS fixes for News & Events section */
.news-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.news-event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-image-container {
  flex: 0 0 250px; /* Fixed height */
}

.event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-read-more {
  margin-top: auto; /* Push to bottom */
}

/* Ensure all cards have consistent styling */
.news-event-card .event-category {
  margin-bottom: 15px;
}

.news-event-card .event-title {
  margin-bottom: 20px;
}

/* Fix for mobile responsiveness */
@media (max-width: 768px) {
  .news-events-grid {
    grid-template-columns: 1fr;
  }
}

/* Enhanced Modal Redesign */
.enhanced-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.enhanced-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Modal Container */
.enhanced-modal {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
}

.enhanced-modal-overlay.show .enhanced-modal {
  transform: scale(1) translateY(0);
}

/* Close Button */
.enhanced-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #333;
  transition: all 0.2s ease;
  z-index: 10;
}

.enhanced-modal-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* Image Container */
.enhanced-modal-image-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.enhanced-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Content Container */
.enhanced-modal-content {
  padding: 30px;
  max-height: calc(90vh - 300px);
  overflow-y: auto;
}

/* Title */
.enhanced-modal-title {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #15284C;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

/* Subtitle */
.enhanced-modal-subtitle {
  color: #666;
  font-size: 1rem;
  margin: 0 0 25px 0;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

/* Description */
.enhanced-modal-description {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.enhanced-modal-description p {
  margin-bottom: 16px;
}

.enhanced-modal-description p:last-child {
  margin-bottom: 0;
}

/* Footer */
.enhanced-modal-footer {
  padding: 20px 30px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: center;
}

.enhanced-modal-back {
  background: #15284C;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.enhanced-modal-back:hover {
  background: #0066cc;
  transform: translateY(-2px);
}

/* Category Badge */
.enhanced-modal-category {
  display: inline-block;
  background: #4A90E2;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

/* Scrollbar styling */
.enhanced-modal-content::-webkit-scrollbar {
  width: 6px;
}

.enhanced-modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.enhanced-modal-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.enhanced-modal-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Remove all the complex animations for cleaner look */
.enhanced-modal-overlay * {
  transition-delay: 0s !important;
}

/* Responsive */
@media (max-width: 768px) {
  .enhanced-modal {
    margin: 10px;
    max-height: 95vh;
  }
  
  .enhanced-modal-image-container {
    height: 250px;
  }
  
  .enhanced-modal-content {
    padding: 25px;
    max-height: calc(95vh - 250px);
  }
  
  .enhanced-modal-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .enhanced-modal-image-container {
    height: 200px;
  }
  
  .enhanced-modal-content {
    padding: 20px;
  }
  
  .enhanced-modal-title {
    font-size: 1.5rem;
  }
  
  .enhanced-modal-footer {
    padding: 15px 20px;
  }
}

/* Voice Search Button Styles - Add this to your existing style.css */

/* Voice Search Toggle Button */
#voice-search-toggle {
  display: inline-block;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

#voice-search-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 94, 77, 0.1);
}

.voice-icon {
  width: 24px;
  height: 24px;
  position: relative;
  top: 2px;
  transition: all 0.3s ease;
}

#voice-search-toggle:hover .voice-icon {
  filter: brightness(1.2) drop-shadow(0 2px 4px rgba(255, 94, 77, 0.3));
}

/* Voice Search Modal Overlay */
.voice-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 20px;
}

.voice-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Voice Modal Container */
.voice-modal {
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(50px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.voice-modal-overlay.show .voice-modal {
  transform: scale(1) translateY(0);
}

/* Voice Modal Header */
.voice-modal-header {
  padding: 25px 30px 20px 30px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.voice-modal-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #15284C;
  margin: 0;
}

.voice-modal-close {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #666;
  transition: all 0.2s ease;
}

.voice-modal-close:hover {
  background: #f5f5f5;
  color: #333;
  transform: scale(1.1);
}

/* Voice Modal Content */
.voice-modal-content {
  padding: 40px 30px;
  text-align: center;
}

/* Voice Animation Container */
.voice-animation-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.microphone-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #FF5E4D 0%, #FF3B28 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  z-index: 5;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 94, 77, 0.3);
}

.microphone-icon.listening {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
  animation: pulse 1.5s ease-in-out infinite;
}

/* Pulse Rings Animation */
.voice-pulse-ring {
  position: absolute;
  border: 3px solid rgba(255, 94, 77, 0.3);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  opacity: 0;
  transform: scale(1);
}

.voice-animation-container.listening .voice-pulse-ring {
  border-color: rgba(76, 175, 80, 0.3);
  animation: voicePulse 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.voice-animation-container.listening .voice-pulse-ring:nth-child(2) {
  animation-delay: 0.33s;
}

.voice-animation-container.listening .voice-pulse-ring:nth-child(3) {
  animation-delay: 0.66s;
}

@keyframes voicePulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Voice Status */
.voice-status {
  margin-bottom: 30px;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#voice-status-text {
  font-size: 1.1rem;
  color: #666;
  margin: 0 0 15px 0;
  font-weight: 500;
}

.voice-transcript {
  background: #f8f9fa;
  border: 2px dashed #ddd;
  border-radius: 12px;
  padding: 15px;
  min-height: 50px;
  font-size: 1rem;
  color: #333;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  transition: all 0.3s ease;
}

.voice-transcript:not(:empty) {
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
  border-color: #4CAF50;
  font-style: normal;
  font-weight: 500;
}

/* Voice Controls */
.voice-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.voice-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  justify-content: center;
}

.voice-btn-primary {
  background: linear-gradient(135deg, #FF5E4D 0%, #FF3B28 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(255, 94, 77, 0.3);
}

.voice-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 94, 77, 0.4);
}

.voice-btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

.voice-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.voice-btn-icon {
  font-size: 1.1rem;
}

/* Voice Modal Footer */
.voice-modal-footer {
  padding: 20px 30px 25px 30px;
  background: #f8f9fa;
  border-top: 1px solid #f0f0f0;
}

.voice-tips {
  text-align: center;
}

.voice-tips p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.voice-tips strong {
  color: #FF5E4D;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .voice-modal {
    margin: 15px;
    max-height: 95vh;
  }
  
  .voice-modal-content {
    padding: 30px 20px;
  }
  
  .voice-animation-container {
    width: 100px;
    height: 100px;
  }
  
  .microphone-icon {
    width: 50px;
    height: 50px;
  }
  
  .voice-pulse-ring {
    width: 70px;
    height: 70px;
  }
  
  .voice-controls {
    flex-direction: column;
    align-items: center;
  }
  
  .voice-btn {
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .voice-modal-header {
    padding: 20px;
  }
  
  .voice-modal-content {
    padding: 25px 15px;
  }
  
  .voice-modal-footer {
    padding: 15px 20px;
  }
  
  .voice-modal-title {
    font-size: 1.3rem;
  }
  
  .voice-animation-container {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
  }
  
  .microphone-icon {
    width: 40px;
    height: 40px;
  }
  
  .voice-pulse-ring {
    width: 60px;
    height: 60px;
  }
  
  .voice-tips p {
    font-size: 0.8rem;
  }
}

/* Focus states for accessibility */
.voice-modal-close:focus,
.voice-btn:focus {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .voice-modal {
    border: 3px solid #000;
  }
  
  .microphone-icon {
    border: 2px solid #fff;
  }
  
  .voice-transcript {
    border-color: #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .voice-modal-overlay,
  .voice-modal,
  .microphone-icon,
  .voice-pulse-ring,
  .voice-btn {
    transition: none;
    animation: none;
  }
  
  .voice-animation-container.listening .voice-pulse-ring {
    animation: none;
    opacity: 0.5;
  }
  
  .microphone-icon.listening {
    animation: none;
  }
}

/* Voice Search Icon Positioning Fix */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
}

/* ADD THESE CSS UPDATES TO YOUR EXISTING VOICE SEARCH CSS */

/* Make microphone animation container clickable */
.voice-animation-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.voice-animation-container:hover {
  transform: scale(1.05);
}

.voice-animation-container:active {
  transform: scale(0.95);
}

/* Enhanced microphone icon styles */
.microphone-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #FF5E4D 0%, #FF3B28 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  z-index: 5;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 94, 77, 0.3);
  cursor: pointer;
}

.microphone-icon:hover {
  background: linear-gradient(135deg, #FF6B5A 0%, #FF4835 100%);
  box-shadow: 0 10px 30px rgba(255, 94, 77, 0.4);
  transform: translateY(-2px);
}

.microphone-icon.listening {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
  animation: pulse 1.5s ease-in-out infinite;
}

.microphone-icon.listening:hover {
  background: linear-gradient(135deg, #5CBF60 0%, #4CAF50 100%);
}

/* Voice controls centered when only stop button is visible */
.voice-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  min-height: 50px;
  align-items: center;
}

/* Hide the voice controls section when no buttons are visible */
.voice-controls:empty {
  display: none;
}

/* Responsive updates */
@media (max-width: 768px) {
  .voice-animation-container {
    width: 100px;
    height: 100px;
  }
  
  .microphone-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .voice-animation-container {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
  }
  
  .microphone-icon {
    width: 40px;
    height: 40px;
  }
}

/* Add this CSS to your existing style.css file */

/* Chatbot Button Styles */
.chatbot-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(21, 40, 76, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1500;
  border: none;
  overflow: hidden;
}

.chatbot-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(21, 40, 76, 0.4);
  background: linear-gradient(135deg, #1a3357 0%, #15284C 100%);
}

.chatbot-button:active {
  transform: scale(0.95);
}

/* Notification Badge */
.chatbot-notification {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #FF5E4D;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 94, 77, 0.4);
  animation: chatbotPulse 2s infinite;
}

.chatbot-notification.hidden {
  display: none;
}

@keyframes chatbotPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Chatbot Modal */
.chatbot-modal {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 380px;
  height: 550px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  z-index: 1600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.chatbot-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Header */
.chatbot-header {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  color: white;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px 16px 0 0;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.chatbot-header-text {
  flex: 1;
}

.chatbot-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: white;
}

.chatbot-status {
  font-size: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chatbot-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  animation: onlineIndicator 2s infinite;
}

@keyframes onlineIndicator {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.chatbot-close {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Messages Area */
.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  max-height: 320px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.chatbot-messages::-webkit-scrollbar {
  width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.chatbot-message {
  display: flex;
  margin-bottom: 16px;
  animation: messageSlideIn 0.3s ease;
}

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

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.bot-message .message-avatar {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  color: white;
}

.user-message {
  flex-direction: row-reverse;
}

.user-message .message-avatar {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
  margin-right: 0;
  margin-left: 12px;
}

.message-content {
  flex: 1;
  max-width: 280px;
}

.user-message .message-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.message-bubble {
  background: #f1f3f5;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  word-wrap: break-word;
}

.user-message .message-bubble {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
}

.message-time {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
  padding: 0 4px;
}

.user-message .message-time {
  text-align: right;
}

/* Quick Actions */
.chatbot-quick-actions {
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-action-btn {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  color: #495057;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.quick-action-btn:hover:not(:disabled) {
  background: #15284C;
  color: white;
  border-color: #15284C;
  transform: translateY(-1px);
}

.quick-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

/* Input Area */
.chatbot-input-area {
  border-top: 1px solid #f0f0f0;
  padding: 16px 20px 12px 20px;
}

.chatbot-input-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  border-radius: 24px;
  padding: 4px 4px 4px 16px;
  border: 1px solid #e9ecef;
  transition: border-color 0.2s ease;
  position: relative;
}

.chatbot-input-container:focus-within {
  border-color: #15284C;
  box-shadow: 0 0 0 3px rgba(21, 40, 76, 0.1);
}

.chatbot-input {
  flex: 1;
  border: none;
  background: none;
  padding: 10px 0;
  font-size: 14px;
  color: #333;
  outline: none;
  font-family: inherit;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.chatbot-input:focus {
  outline: none;
  border: none;
  box-shadow: none;
  background: transparent;
}

.chatbot-input::placeholder {
  color: #adb5bd;
}

/* Remove any browser-specific input styling */
.chatbot-input::-webkit-outer-spin-button,
.chatbot-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Additional reset for input field */
.chatbot-input:focus-visible {
  outline: none;
  border: none;
  box-shadow: none;
}

.chatbot-send-btn {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chatbot-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(21, 40, 76, 0.3);
}

.chatbot-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.chatbot-powered-by {
  text-align: center;
  font-size: 11px;
  color: #adb5bd;
  margin-top: 8px;
}

/* Typing Indicator */
.chatbot-typing {
  display: flex;
  align-items: center;
  padding: 8px 20px;
  margin-bottom: 16px;
}

.typing-indicator {
  background: #f1f3f5;
  border-radius: 18px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: #adb5bd;
  border-radius: 50%;
  animation: typingDots 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typingDots {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 480px) {
  .chatbot-modal {
    bottom: 90px;
    right: 16px;
    left: 16px;
    width: auto;
    height: 500px;
  }
  
  .chatbot-button {
    bottom: 20px;
    right: 20px;
  }
  
  .chatbot-header {
    padding: 16px 20px;
  }
  
  .chatbot-messages {
    padding: 16px;
    max-height: 280px;
  }
  
  .message-content {
    max-width: 240px;
  }
  
  .chatbot-quick-actions {
    padding: 12px 16px;
  }
  
  .chatbot-input-area {
    padding: 12px 16px 10px 16px;
  }
}

/* Accessibility */
.chatbot-button:focus,
.chatbot-close:focus,
.chatbot-send-btn:focus,
.quick-action-btn:focus {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .chatbot-modal {
    border: 2px solid #000;
  }
  
  .message-bubble {
    border: 1px solid #333;
  }
  
  .chatbot-input-container {
    border: 2px solid #333;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .chatbot-button,
  .chatbot-modal,
  .chatbot-message,
  .chatbot-notification {
    transition: none;
    animation: none;
  }
  
  .typing-indicator span {
    animation: none;
  }
  
  .chatbot-status::before {
    animation: none;
  }
}

/* ADD THIS CSS TO YOUR EXISTING STYLE.CSS FILE */

/* ==================================================
   PAGE LOADING ANIMATIONS
   ================================================== */

/* Main Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #15284C 0%, #1a3357 50%, #15284C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-container {
  text-align: center;
  color: white;
  position: relative;
  animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Loader Logo */
.loader-logo {
  margin-bottom: 30px;
  animation: logoFloat 2s ease-in-out infinite;
}

.loader-logo-image {
  height: 80px;
  width: auto;
  filter: brightness(1.2) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Loader Animation Circles */
.loader-animation {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 25px;
}

.loader-circle {
  width: 12px;
  height: 12px;
  background: #FFD700;
  border-radius: 50%;
  animation: loaderBounce 1.4s ease-in-out infinite both;
}

.loader-circle:nth-child(1) {
  animation-delay: -0.32s;
}

.loader-circle:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes loaderBounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Loader Text */
.loader-text {
  margin-bottom: 30px;
}

.loader-brand {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #FFD700;
  margin-bottom: 8px;
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6);
  }
}

.loader-subtitle {
  display: block;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  letter-spacing: 1px;
  animation: subtitleFade 2s ease-in-out infinite alternate;
}

@keyframes subtitleFade {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Loader Progress Bar */
.loader-progress {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: progressFlow 2s ease-in-out infinite;
  width: 0%;
  animation: progressLoad 3s ease-out forwards, progressFlow 2s ease-in-out infinite;
}

@keyframes progressLoad {
  to {
    width: 100%;
  }
}

@keyframes progressFlow {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Page Transition Overlay */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.page-transition.active {
  opacity: 1;
  visibility: visible;
}

.transition-content {
  text-align: center;
  color: white;
}

.transition-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #FFD700;
  border-radius: 50%;
  animation: transitionSpin 1s linear infinite;
  margin: 0 auto 15px auto;
}

@keyframes transitionSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.transition-text {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
}

/* ==================================================
   SKELETON LOADERS
   ================================================== */

/* Base Skeleton Animation */
@keyframes skeletonShimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.skeleton-element {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
}

/* Hero Section Skeleton */
.hero-skeleton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  max-width: 1200px;
  z-index: 5;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hero-skeleton.hidden {
  opacity: 0;
  pointer-events: none;
}

.skeleton-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.skeleton-title {
  width: 600px;
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.2) 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-subtitle {
  width: 400px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.2) 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
  animation-delay: 0.2s;
}

.skeleton-buttons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.skeleton-button {
  width: 150px;
  height: 50px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.2) 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-button:nth-child(2) {
  animation-delay: 0.3s;
}

/* Interactive Cards Skeleton */
.cards-skeleton {
  display: flex;
  height: 70vh;
  min-height: 500px;
  gap: 2px;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.cards-skeleton.hidden {
  opacity: 0;
  pointer-events: none;
}

.skeleton-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.skeleton-card-image {
  flex: 1;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-card:nth-child(2) .skeleton-card-image {
  animation-delay: 0.2s;
}

.skeleton-card:nth-child(3) .skeleton-card-image {
  animation-delay: 0.4s;
}

.skeleton-card:nth-child(4) .skeleton-card-image {
  animation-delay: 0.6s;
}

.skeleton-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.skeleton-card-title {
  width: 80%;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.2) 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
  margin-bottom: 10px;
}

.skeleton-card-line {
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  margin-bottom: 15px;
}

.skeleton-card-text {
  width: 100%;
  height: 60px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
}

/* News Events Skeleton */
.news-skeleton {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.news-skeleton.hidden {
  opacity: 0;
  pointer-events: none;
}

.skeleton-news-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.skeleton-news-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-news-card:nth-child(2) .skeleton-news-image {
  animation-delay: 0.2s;
}

.skeleton-news-card:nth-child(3) .skeleton-news-image {
  animation-delay: 0.4s;
}

.skeleton-news-content {
  padding: 30px 25px;
}

.skeleton-news-category {
  width: 100px;
  height: 20px;
  border-radius: 10px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
  margin-bottom: 15px;
}

.skeleton-news-title {
  width: 90%;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
  margin-bottom: 20px;
}

.skeleton-news-link {
  width: 120px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
}

/* Best Choice Section Skeleton */
.best-choice-skeleton {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.best-choice-skeleton.hidden {
  opacity: 0;
  pointer-events: none;
}

.skeleton-image-container {
  position: relative;
}

.skeleton-best-choice-image {
  width: 100%;
  height: 500px;
  border-radius: 15px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-best-choice-content {
  color: white;
  padding-left: 40px;
}

.skeleton-best-choice-title {
  width: 80%;
  height: 50px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.2) 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
  margin-bottom: 20px;
}

.skeleton-best-choice-subtitle {
  width: 60%;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.2) 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
  margin-bottom: 30px;
}

.skeleton-best-choice-description {
  width: 100%;
  height: 80px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
  margin-bottom: 50px;
}

.skeleton-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 15px;
}

.skeleton-stat {
  text-align: center;
}

.skeleton-stat-number {
  width: 80%;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.2) 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
  margin: 0 auto 10px auto;
}

.skeleton-stat:nth-child(2) .skeleton-stat-number {
  animation-delay: 0.2s;
}

.skeleton-stat:nth-child(3) .skeleton-stat-number {
  animation-delay: 0.4s;
}

.skeleton-stat:nth-child(4) .skeleton-stat-number {
  animation-delay: 0.6s;
}

.skeleton-stat-label {
  width: 100%;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s infinite;
}

/* Content Fade-In Animation */
.content-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.content-fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Skeleton Styles */
@media (max-width: 768px) {
  .skeleton-title {
    width: 90%;
    height: 50px;
  }
  
  .skeleton-subtitle {
    width: 70%;
    height: 20px;
  }
  
  .skeleton-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cards-skeleton {
    flex-direction: column;
    height: auto;
  }
  
  .skeleton-card {
    height: 200px;
  }
  
  .news-skeleton {
    grid-template-columns: 1fr;
  }
  
  .best-choice-skeleton {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .skeleton-best-choice-content {
    padding-left: 0;
  }
  
  .skeleton-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .skeleton-title {
    width: 95%;
    height: 40px;
  }
  
  .skeleton-subtitle {
    width: 80%;
    height: 18px;
  }
  
  .skeleton-button {
    width: 200px;
    height: 45px;
  }
  
  .skeleton-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .skeleton-element,
  .skeleton-title,
  .skeleton-subtitle,
  .skeleton-button,
  .skeleton-card-image,
  .skeleton-card-title,
  .skeleton-card-text,
  .skeleton-news-image,
  .skeleton-news-category,
  .skeleton-news-title,
  .skeleton-news-link,
  .skeleton-best-choice-image,
  .skeleton-best-choice-title,
  .skeleton-best-choice-subtitle,
  .skeleton-best-choice-description,
  .skeleton-stat-number,
  .skeleton-stat-label,
  .loader-circle,
  .loader-progress-bar,
  .transition-spinner {
    animation: none;
  }
  
  .skeleton-element {
    background: #f0f0f0;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .skeleton-element {
    background: #ccc;
  }
  
  .page-loader {
    background: #000;
  }
  
  .loader-brand {
    color: #fff;
  }
}

/* Additional CSS for Chatbot Images - Add this to your existing style.css */

/* Chatbot Avatar Image Styles */
.chatbot-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
  transition: transform 0.3s ease;
}

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

/* Message Avatar Image Styles */
.message-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px;
}

/* Bot message avatar specific styling */
.bot-message .message-avatar {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  padding: 2px;
}

.bot-message .message-avatar-image {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 3px;
}

/* User message avatar styling (if you want to add user images later) */
.user-message .message-avatar {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  padding: 2px;
}

.user-message .message-avatar-image {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 3px;
}

/* Typing indicator avatar image */
.chatbot-typing .message-avatar {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  padding: 2px;
}

.chatbot-typing .message-avatar-image {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 3px;
}

/* Enhanced chatbot header avatar */
.chatbot-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 2px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.chatbot-avatar:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments for images */
@media (max-width: 480px) {
  .chatbot-avatar {
    width: 36px;
    height: 36px;
  }
  
  .message-avatar {
    width: 28px;
    height: 28px;
  }
  
  .message-avatar-image {
    padding: 1px;
  }
}

/* High contrast mode support for images */
@media (prefers-contrast: high) {
  .chatbot-avatar-image,
  .message-avatar-image {
    border: 1px solid #000;
  }
  
  .bot-message .message-avatar-image {
    background: #fff;
  }
}

/* Loading state for avatar images */
.chatbot-avatar-image:not([src]),
.message-avatar-image:not([src]) {
  opacity: 0.5;
  background: #f0f0f0;
}

/* Fallback styling if images fail to load */
.chatbot-avatar-image[src=""],
.message-avatar-image[src=""] {
  display: none;
}

/* Show SVG fallback when image is not available */
.chatbot-avatar:has(.chatbot-avatar-image[src=""]) svg,
.message-avatar:has(.message-avatar-image[src=""]) svg {
  display: block;
}

.chatbot-avatar:has(.chatbot-avatar-image:not([src=""])) svg,
.message-avatar:has(.message-avatar-image:not([src=""])) svg {
  display: none;
}

/* Additional CSS fixes for chatbot avatar image sizing - Add this to your existing style.css */

/* Fix avatar image sizing */
.chatbot-avatar-image {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px;
  transition: transform 0.3s ease;
}

.message-avatar-image {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px;
}

/* Ensure avatars have proper sizing */
.chatbot-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
  overflow: hidden;
}

/* Bot message avatar specific styling with proper sizing */
.bot-message .message-avatar {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  padding: 2px;
  width: 32px;
  height: 32px;
}

.bot-message .message-avatar-image {
  width: 28px !important;
  height: 28px !important;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 1px;
}

/* Typing indicator avatar sizing */
.chatbot-typing .message-avatar {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  padding: 2px;
  width: 32px;
  height: 32px;
}

.chatbot-typing .message-avatar-image {
  width: 28px !important;
  height: 28px !important;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 1px;
}

/* Hide SVG when image is present */
.message-avatar:has(.message-avatar-image) svg {
  display: none !important;
}

.chatbot-avatar:has(.chatbot-avatar-image) svg {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .chatbot-avatar {
    width: 36px;
    height: 36px;
  }
  
  .chatbot-avatar-image {
    width: 28px !important;
    height: 28px !important;
  }
  
  .message-avatar {
    width: 28px;
    height: 28px;
  }
  
  .message-avatar-image {
    width: 24px !important;
    height: 24px !important;
  }
}

/* Chatbot Avatar - Larger Logos That Fit Perfectly */
.chatbot-avatar-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  background: transparent;
  border-radius: 50%;
  padding: 0;
}

.message-avatar-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  background: transparent;
  border-radius: 50%;
  padding: 0;
}

/* Bot avatar containers - LARGER SIZES */
.bot-message .message-avatar,
.chatbot-typing .message-avatar {
  width: 40px;  /* Increased from 32px */
  height: 40px; /* Increased from 32px */
  background: #f0f0f0;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Message avatar images - fit within the larger circle */
.bot-message .message-avatar-image,
.chatbot-typing .message-avatar-image {
  width: 36px !important;  /* Increased from 28px */
  height: 36px !important; /* Increased from 28px */
  object-fit: cover;
  background: transparent;
  border-radius: 50%;
  padding: 0;
}

/* Header avatar container - LARGER SIZE */
.chatbot-avatar {
  width: 50px;  /* Increased from 40px */
  height: 50px; /* Increased from 40px */
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 0;
  overflow: hidden;
}

.chatbot-avatar-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  background: transparent;
  border-radius: 50%;
  padding: 0;
}

/* User message avatars - keep SVG only, also larger */
.user-message .message-avatar {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
  width: 40px;  /* Increased from 32px */
  height: 40px; /* Increased from 32px */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hide any images in user avatars */
.user-message .message-avatar-image {
  display: none !important;
}

/* Ensure user avatars show larger SVG */
.user-message .message-avatar svg {
  display: block !important;
  width: 20px;  /* Increased from 16px */
  height: 20px; /* Increased from 16px */
  color: white;
}

/* Responsive adjustments for mobile */
@media (max-width: 480px) {
  .chatbot-avatar {
    width: 45px;  /* Increased from 36px */
    height: 45px; /* Increased from 36px */
  }
  
  .bot-message .message-avatar,
  .chatbot-typing .message-avatar,
  .user-message .message-avatar {
    width: 36px;  /* Increased from 28px */
    height: 36px; /* Increased from 28px */
  }
  
  .bot-message .message-avatar-image,
  .chatbot-typing .message-avatar-image {
    width: 32px !important;  /* Increased from 24px */
    height: 32px !important; /* Increased from 24px */
  }
  
  .user-message .message-avatar svg {
    width: 18px;  /* Increased from previous size */
    height: 18px;
  }
}

/* About Us Page Styles - Add this to your style.css file */

/* About Us Hero Section */
.about-hero-section {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  padding: 100px 0 80px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.about-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.about-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-hero-content {
  position: relative;
  z-index: 2;
}

.about-hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.about-hero-image {
  position: relative;
  z-index: 2;
}

.hero-team-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.6s ease;
}

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

/* Mission & Vision Section */
.mission-vision-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.mission-vision-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.mission-card, .vision-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.mission-card::before, .vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.mission-card:hover::before, .vision-card:hover::before {
  left: 100%;
}

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

.card-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.mission-card h3, .vision-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #15284C;
  margin-bottom: 20px;
}

.mission-card p, .vision-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* What We Do Section */
.what-we-do-section {
  padding: 80px 0;
  background: white;
}

.what-we-do-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-family: 'Raleway', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  color: #15284C;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #FFD700 0%, #d4af37 100%);
  border-radius: 2px;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.activity-item {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.activity-item:hover {
  background: white;
  border-color: #FFD700;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.activity-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.activity-item h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #15284C;
  margin-bottom: 15px;
}

.activity-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Executive Board Section */
.executive-board-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.executive-board-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.board-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 60px;
  font-style: italic;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto auto auto;
  gap: 30px;
}

/* Specific positioning for all screen sizes above 1200px */
@media (min-width: 1201px) {
  /* First row - positions 1-5 */
  .board-member:nth-child(1) { grid-row: 1; grid-column: 1; }
  .board-member:nth-child(2) { grid-row: 1; grid-column: 2; }
  .board-member:nth-child(3) { grid-row: 1; grid-column: 3; }
  .board-member:nth-child(4) { grid-row: 1; grid-column: 4; }
  .board-member:nth-child(5) { grid-row: 1; grid-column: 5; }
  
  /* Second row - positions 6-10 */
  .board-member:nth-child(6) { grid-row: 2; grid-column: 1; }
  .board-member:nth-child(7) { grid-row: 2; grid-column: 2; }
  .board-member:nth-child(8) { grid-row: 2; grid-column: 3; }
  .board-member:nth-child(9) { grid-row: 2; grid-column: 4; }
  .board-member:nth-child(10) { grid-row: 2; grid-column: 5; }
  
  /* Third row - positions 11-13 positioned under columns 2, 3, 4 of second row */
  .board-member:nth-child(11) { grid-row: 3; grid-column: 2; }
  .board-member:nth-child(12) { grid-row: 3; grid-column: 3; }
  .board-member:nth-child(13) { grid-row: 3; grid-column: 4; }
}

.board-member {
  background: white;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.board-member:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.member-photo {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin-left: auto;
  margin-right: auto;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  border-radius: 50%;
  display: block;
  visibility: visible;
  opacity: 1;
  background: #f0f0f0;
  min-height: 120px;
  min-width: 120px;
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(21, 40, 76, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.board-member:hover .member-overlay {
  opacity: 1;
  transform: scale(1);
}

.view-profile {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-info {
  padding: 0;
}

.member-name {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #15284C;
  margin-bottom: 8px;
}

.member-position {
  font-size: 1rem;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-major {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* Responsive Design for Executive Board */
@media (max-width: 1200px) {
  .board-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 20px;
  }
  
  .board-member {
    grid-row: auto !important;
    grid-column: auto !important;
  }
}

@media (max-width: 1024px) {
  .board-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .executive-board-section {
    padding: 60px 0;
  }
  
  .executive-board-container {
    padding: 0 20px;
  }
  
  .board-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
  
  .board-member {
    padding: 20px;
  }
  
  .member-photo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .board-grid {
    grid-template-columns: 1fr !important;
  }
  
  .board-member {
    padding: 20px;
  }
  
  .member-photo {
    width: 100px;
    height: 100px;
  }
}

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

.board-member {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.board-member:nth-child(1) { animation-delay: 0.1s; }
.board-member:nth-child(2) { animation-delay: 0.2s; }
.board-member:nth-child(3) { animation-delay: 0.3s; }
.board-member:nth-child(4) { animation-delay: 0.4s; }
.board-member:nth-child(5) { animation-delay: 0.5s; }
.board-member:nth-child(6) { animation-delay: 0.6s; }
.board-member:nth-child(7) { animation-delay: 0.7s; }
.board-member:nth-child(8) { animation-delay: 0.8s; }
.board-member:nth-child(9) { animation-delay: 0.9s; }
.board-member:nth-child(10) { animation-delay: 1.0s; }
.board-member:nth-child(11) { animation-delay: 1.1s; }
.board-member:nth-child(12) { animation-delay: 1.2s; }
.board-member:nth-child(13) { animation-delay: 1.3s; }

/* Accessibility Improvements */
.board-member:focus {
  outline: 3px solid #FFD700;
  outline-offset: 3px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .board-member {
    border: 2px solid #000;
  }
  
  .member-overlay {
    background: rgba(0, 0, 0, 0.9);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .board-member {
    transition: none;
    animation: none;
    opacity: 1;
  }
  
  .board-member:hover {
    transform: none;
  }
}

/* Image loading states */
.member-image:not([src]),
.member-image[src=""] {
  background: #f0f0f0;
  opacity: 0.5;
}

/* Ensure images show loading placeholder */
.member-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f0f0f0;
  z-index: -1;
}

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

.values-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.value-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.value-item:hover {
  background: #15284C;
  color: white;
  transform: translateY(-5px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.value-item h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.value-item p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Profile Modal Styles */
.profile-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.profile-modal.show {
  opacity: 1;
  visibility: visible;
}

.profile-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.profile-modal-content {
  background: white;
  border-radius: 25px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 5001;
  transform: scale(0.8) translateY(50px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.profile-modal.show .profile-modal-content {
  transform: scale(1) translateY(0);
}

.profile-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: #15284C;
  z-index: 5002;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-modal-close:hover {
  background: #15284C;
  color: white;
  transform: scale(1.1);
}

.profile-header {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  padding: 40px;
  text-align: center;
  color: white;
  border-radius: 25px 25px 0 0;
}

.profile-image-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 auto;
}

.profile-name {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.profile-position {
  font-size: 1.2rem;
  color: #FFD700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-major {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.profile-details {
  padding: 40px;
}

.profile-details h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #15284C;
  margin-bottom: 15px;
  margin-top: 30px;
}

.profile-details h4:first-child {
  margin-top: 0;
}

.profile-details h4:last-of-type {
  margin-bottom: 0;
}

.bio-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.achievements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.achievements-list li {
  background: #f8f9fa;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 4px solid #FFD700;
  font-size: 0.95rem;
  color: #333;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.skill-tag {
  background: #15284C;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-links {
  display: none !important;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 25px;
  text-decoration: none;
  color: #15284C;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background: #15284C;
  color: white;
  transform: translateY(-2px);
}

/* Remove contact section completely */
.profile-contact {
  display: none !important;
}

/* Fix image persistence issue */
.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  border-radius: 50%;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #f0f0f0;
  min-height: 120px;
  min-width: 120px;
}

/* Ensure member images persist across page loads */
.board-member .member-image {
  background: #f0f0f0;
  min-height: 120px;
  min-width: 120px;
}

/* Enhanced member photo container */
.member-photo {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin-left: auto;
  margin-right: auto;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image loading states */
.profile-image:not([src]),
.profile-image[src=""] {
  background: #f0f0f0;
  opacity: 0.5;
}

/* Responsive Design for About Us */
@media (max-width: 1200px) {
  .board-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .about-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .about-hero-title {
    font-size: 3.5rem;
  }
  
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .board-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero-section {
    padding: 80px 0 60px 0;
  }
  
  .about-hero-container {
    padding: 0 20px;
  }
  
  .about-hero-title {
    font-size: 2.5rem;
  }
  
  .about-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-team-image {
    height: 300px;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .board-member {
    padding: 20px;
  }
  
  .member-photo {
    width: 100px;
    height: 100px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .profile-header {
    padding: 30px 20px;
  }
  
  .profile-details {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .about-hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .about-hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-team-image {
    height: 250px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .board-grid {
    grid-template-columns: 1fr;
  }
  
  .mission-card, .vision-card {
    padding: 30px 20px;
  }
  
  .activity-item {
    padding: 25px 20px;
  }
  
  .value-item {
    padding: 25px 15px;
  }
}

/* Accessibility Improvements */
.profile-modal-close:focus {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .profile-modal-overlay {
    background: rgba(0, 0, 0, 0.95);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero-team-image,
  .mission-card,
  .vision-card,
  .profile-modal-content {
    transition: none;
    animation: none;
  }
  
  .board-member:hover {
    transform: none;
  }
}

/* Events Page Styles - Add this to your style.css file */

/* Events Hero Section */
.events-hero-section {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  padding: 100px 0 80px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.events-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.events-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.events-hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.events-hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* Events Calendar Section */
.events-calendar-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.events-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Calendar Header */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.calendar-nav-btn {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #15284C;
}

.calendar-nav-btn:hover {
  background: #15284C;
  color: white;
  border-color: #15284C;
  transform: translateY(-2px);
}

.calendar-title {
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #15284C;
  margin: 0;
  min-width: 250px;
  text-align: center;
}

.calendar-today-btn {
  background: #FFD700;
  color: #15284C;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calendar-today-btn:hover {
  background: #15284C;
  color: white;
  transform: translateY(-2px);
}

/* Calendar Container */
.calendar-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 40px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #15284C;
  color: white;
}

.weekday {
  padding: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: white;
}

.calendar-day {
  min-height: 120px;
  border: 1px solid #f0f0f0;
  padding: 10px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}

.calendar-day:hover {
  background: #f8f9fa;
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.calendar-day.other-month {
  background: #f8f9fa;
  color: #ccc;
}

.calendar-day.today {
  background: linear-gradient(135deg, #FFD700 0%, #d4af37 100%);
  color: #15284C;
  font-weight: 700;
}

.calendar-day.has-events {
  background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
  border-color: #4A90E2;
}

.day-number {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.day-events {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.day-event {
  background: #4A90E2;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.day-event:hover {
  background: #357ABD;
  transform: scale(1.05);
}

.day-event.competition {
  background: #FF6B35;
}

.day-event.meeting {
  background: #4A90E2;
}

.day-event.workshop {
  background: #50C878;
}

.day-event.holiday {
  background: #9B59B6;
}

.day-event.outreach {
  background: #F39C12;
}

/* Events Legend */
.events-legend {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.events-legend h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #15284C;
  margin: 0 0 20px 0;
}

.legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #333;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.competition {
  background: #FF6B35;
}

.legend-dot.meeting {
  background: #4A90E2;
}

.legend-dot.workshop {
  background: #50C878;
}

.legend-dot.holiday {
  background: #9B59B6;
}

.legend-dot.outreach {
  background: #F39C12;
}

/* Upcoming Events Section */
.upcoming-events-section {
  padding: 80px 0;
  background: white;
}

.section-title {
  font-family: 'Raleway', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: #15284C;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #FFD700 0%, #d4af37 100%);
  border-radius: 2px;
}

.events-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.event-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: #FFD700;
}

.event-card-header {
  padding: 25px;
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  color: white;
  position: relative;
}

.event-type {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.event-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.event-date {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.event-card-body {
  padding: 25px;
}

.event-location {
  color: #666;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-location::before {
  content: '📍';
  font-size: 0.9rem;
}

.event-description {
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.event-card-footer {
  padding: 20px 25px;
  background: #f8f9fa;
  border-top: 1px solid #f0f0f0;
}

.event-register-btn {
  background: #FFD700;
  color: #15284C;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.event-register-btn:hover {
  background: #15284C;
  color: white;
}

/* Event Modal */
.event-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.event-modal.show {
  opacity: 1;
  visibility: visible;
}

.event-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.event-modal-content {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 3001;
  transform: scale(0.9) translateY(50px);
  transition: all 0.3s ease;
}

.event-modal.show .event-modal-content {
  transform: scale(1) translateY(0);
}

.event-modal-header {
  padding: 30px 30px 20px 30px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  color: white;
  border-radius: 20px 20px 0 0;
}

.event-modal-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  flex: 1;
  padding-right: 20px;
}

.event-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.event-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.event-modal-body {
  padding: 30px;
}

.event-modal-info {
  margin-bottom: 25px;
}

.event-modal-date {
  font-size: 1.2rem;
  font-weight: 600;
  color: #15284C;
  margin-bottom: 8px;
}

.event-modal-time {
  font-size: 1rem;
  color: #666;
  margin-bottom: 8px;
}

.event-modal-location {
  font-size: 1rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-modal-location::before {
  content: '📍';
}

.event-modal-description {
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
}

.event-modal-footer {
  padding: 20px 30px 30px 30px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.event-modal-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.event-modal-register {
  background: #FFD700;
  color: #15284C;
}

.event-modal-register:hover {
  background: #15284C;
  color: white;
}

.event-modal-cancel {
  background: #f0f0f0;
  color: #666;
}

.event-modal-cancel:hover {
  background: #e0e0e0;
  color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .events-hero-title {
    font-size: 3.5rem;
  }
  
  .calendar-title {
    font-size: 2rem;
    min-width: 200px;
  }
  
  .calendar-day {
    min-height: 100px;
  }
}

@media (max-width: 768px) {
  .events-hero-section {
    padding: 80px 0 60px 0;
  }
  
  .events-hero-container {
    padding: 0 20px;
  }
  
  .events-hero-title {
    font-size: 2.5rem;
  }
  
  .events-container {
    padding: 0 20px;
  }
  
  .calendar-header {
    flex-direction: column;
    text-align: center;
  }
  
  .calendar-title {
    font-size: 1.8rem;
    min-width: auto;
  }
  
  .calendar-day {
    min-height: 80px;
    padding: 8px;
  }
  
  .day-number {
    font-size: 1rem;
  }
  
  .day-event {
    font-size: 0.6rem;
    padding: 1px 4px;
  }
  
  .events-list {
    grid-template-columns: 1fr;
  }
  
  .legend-items {
    justify-content: center;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .events-hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .events-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .calendar-nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .calendar-title {
    font-size: 1.5rem;
  }
  
  .weekday {
    padding: 15px 5px;
    font-size: 0.8rem;
  }
  
  .calendar-day {
    min-height: 70px;
    padding: 5px;
  }
  
  .day-number {
    font-size: 0.9rem;
  }
  
  .day-event {
    font-size: 0.55rem;
  }
  
  .event-modal-content {
    margin: 10px;
  }
  
  .event-modal-header {
    padding: 20px;
  }
  
  .event-modal-title {
    font-size: 1.5rem;
  }
  
  .event-modal-body {
    padding: 20px;
  }
  
  .event-modal-footer {
    padding: 15px 20px 20px 20px;
    flex-direction: column;
  }
}

/* Accessibility */
.calendar-day:focus,
.event-card:focus,
.calendar-nav-btn:focus,
.calendar-today-btn:focus {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .calendar-day {
    border: 2px solid #000;
  }
  
  .event-card {
    border: 2px solid #000;
  }
  
  .day-event {
    border: 1px solid #fff;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .calendar-day,
  .event-card,
  .event-modal,
  .event-modal-content {
    transition: none;
    animation: none;
  }
  
  .calendar-day:hover,
  .event-card:hover {
    transform: none;
  }
}

/* Sponsorship Page Styles - Add this to your style.css file */

/* Sponsorship Hero Section */
.sponsorship-hero-section {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  padding: 100px 0 80px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.sponsorship-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.sponsorship-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.sponsorship-hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sponsorship-hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
  max-width: 700px;
  margin: 0 auto;
}

/* Why Sponsor Section */
.why-sponsor-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.why-sponsor-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.benefit-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: #FFD700;
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.benefit-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #15284C;
  margin-bottom: 15px;
}

.benefit-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Sponsorship Tiers Section */
.sponsorship-tiers-section {
  padding: 80px 0;
  background: white;
}

.sponsorship-tiers-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.tiers-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 60px;
  font-style: italic;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.tier-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 2px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure all cards have equal height */
}

.tier-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: #FFD700;
}

.tier-card.featured {
  border-color: #FFD700;
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2);
}

.tier-card.featured:hover {
  transform: scale(1.08) translateY(-5px);
}

.tier-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #FFD700 0%, #d4af37 100%);
  color: #15284C;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.tier-header {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
  position: relative;
}

.tier-name {
  font-family: 'Raleway', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tier-level {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 20px 0;
  font-style: italic;
}

.tier-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFD700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tier-benefits {
  padding: 40px 30px;
}

.tier-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier-benefits li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

.tier-benefits li:last-child {
  border-bottom: none;
}

.tier-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  color: #4CAF50;
  font-weight: 700;
  font-size: 1.1rem;
}

.tier-btn {
  width: calc(100% - 60px);
  margin: auto 30px 30px 30px; /* Changed top margin to 'auto' */
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f0f0f0;
  color: #15284C;
}



.tier-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tier-btn.primary {
  background: linear-gradient(135deg, #FFD700 0%, #d4af37 100%);
  color: #15284C;
}

.tier-btn.primary:hover {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(21, 40, 76, 0.3);
}

/* Our Sponsors Section */
.our-sponsors-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.our-sponsors-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.sponsors-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 60px;
  font-style: italic;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.sponsor-logo-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.sponsor-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #FFD700;
}

.sponsor-placeholder {
  height: 120px;
  background: #f8f9fa;
  border: 2px dashed #ddd;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.sponsor-logo-card:hover .sponsor-placeholder {
  background: #e8f4fd;
  border-color: #4A90E2;
}

.sponsor-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  opacity: 0.6;
}

.sponsor-placeholder p {
  margin: 0;
  color: #999;
  font-size: 0.9rem;
  font-style: italic;
}

.sponsor-logo-card h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #15284C;
}

/* Become Sponsor CTA */
.become-sponsor-cta {
  background: white;
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid #FFD700;
}

.become-sponsor-cta h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #15284C;
  margin: 0 0 20px 0;
}

.become-sponsor-cta p {
  font-size: 1.2rem;
  color: #666;
  margin: 0 0 40px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 18px 35px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 200px;
  justify-content: center;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #FFD700 0%, #d4af37 100%);
  color: #15284C;
}

.cta-btn.primary:hover {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(21, 40, 76, 0.4);
}

.cta-btn.secondary {
  background: white;
  color: #15284C;
  border: 2px solid #15284C;
}

.cta-btn.secondary:hover {
  background: #15284C;
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(21, 40, 76, 0.3);
}

.btn-icon {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sponsorship-hero-title {
    font-size: 3.5rem;
  }
  
  .tiers-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .tier-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .sponsorship-hero-section {
    padding: 80px 0 60px 0;
  }
  
  .sponsorship-hero-container,
  .why-sponsor-container,
  .sponsorship-tiers-container,
  .our-sponsors-container {
    padding: 0 20px;
  }
  
  .sponsorship-hero-title {
    font-size: 2.5rem;
  }
  
  .sponsorship-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .tiers-grid {
    grid-template-columns: 1fr;
  }
  
  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .become-sponsor-cta {
    padding: 40px 30px;
  }
  
  .become-sponsor-cta h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .sponsorship-hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .sponsorship-hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .tier-header {
    padding: 30px 20px;
  }
  
  .tier-name {
    font-size: 1.5rem;
  }
  
  .tier-price {
    font-size: 2rem;
  }
  
  .tier-benefits {
    padding: 30px 20px;
  }
  
  .become-sponsor-cta {
    padding: 30px 20px;
  }
  
  .become-sponsor-cta h3 {
    font-size: 1.8rem;
  }
  
  .cta-btn {
    padding: 15px 25px;
    font-size: 1rem;
    min-width: 180px;
  }
}

/* Animation enhancements */
.tier-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.tier-card:nth-child(1) { animation-delay: 0.1s; }
.tier-card:nth-child(2) { animation-delay: 0.2s; }
.tier-card:nth-child(3) { animation-delay: 0.3s; }
.tier-card:nth-child(4) { animation-delay: 0.4s; }
.tier-card:nth-child(5) { animation-delay: 0.5s; }

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

/* Accessibility improvements */
.tier-btn:focus,
.cta-btn:focus {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .tier-card,
  .benefit-card,
  .sponsor-logo-card {
    border: 2px solid #000;
  }
  
  .tier-btn,
  .cta-btn {
    border: 2px solid #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .tier-card,
  .benefit-card,
  .sponsor-logo-card,
  .tier-btn,
  .cta-btn {
    transition: none;
    animation: none;
    transform: none !important;
  }
  
  .tier-card:hover,
  .benefit-card:hover,
  .sponsor-logo-card:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .sponsorship-hero-section,
  .why-sponsor-section,
  .sponsorship-tiers-section,
  .our-sponsors-section {
    break-inside: avoid;
    padding: 20px 0;
  }
  
  .tier-btn,
  .cta-btn {
    display: none;
  }
  
  .sponsorship-hero-title,
  .section-title {
    color: #000 !important;
  }
}

/* Add this CSS to fix the positioning of elements in the sponsorship page */

/* Fix Benefits Grid Layout - Move Future Innovation under Brand Visibility */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.benefit-card:nth-child(1) {
  /* Community Impact - Top Left */
  grid-column: 1;
  grid-row: 1;
}

.benefit-card:nth-child(2) {
  /* Brand Visibility - Top Right */
  grid-column: 2;
  grid-row: 1;
}

.benefit-card:nth-child(3) {
  /* Educational Partnership - Bottom Left */
  grid-column: 1;
  grid-row: 2;
}

.benefit-card:nth-child(4) {
  /* Future Innovation - Bottom Right (under Brand Visibility) */
  grid-column: 2;
  grid-row: 2;
}

/* Updated CSS to fix the Tiers Grid positioning */

/* Updated CSS to switch Team Supporter and Design Architect positions */

/* Fix Sponsorship Tiers Grid Layout */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.tier-card:nth-child(1) {
  /* Master Programmer - Top Row, Spans all 3 columns */
  grid-column: 1 / 4;
  grid-row: 1;
}

.tier-card:nth-child(2) {
  /* Lead Engineer - Bottom Left */
  grid-column: 1;
  grid-row: 2;
}

.tier-card:nth-child(3) {
  /* Design Architect - Bottom Center */
  grid-column: 2;
  grid-row: 2;
}

.tier-card:nth-child(4) {
  /* Tech Builder - Bottom Right */
  grid-column: 3;
  grid-row: 2;
}

.tier-card:nth-child(5) {
  /* Team Supporter - Third Row, Under Design Architect */
  grid-column: 2;
  grid-row: 3;
}

/* Remove the separate section for Team Supporter */
.team-supporter-section {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .tiers-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  
  .tier-card:nth-child(1) {
    /* Master Programmer - Top Row, Spans both columns */
    grid-column: 1 / 3;
    grid-row: 1;
  }
  
  .tier-card:nth-child(2) {
    /* Lead Engineer - Second Row, Left */
    grid-column: 1;
    grid-row: 2;
  }
  
  .tier-card:nth-child(3) {
    /* Design Architect - Second Row, Right */
    grid-column: 2;
    grid-row: 2;
  }
  
  .tier-card:nth-child(4) {
    /* Tech Builder - Third Row, Left */
    grid-column: 1;
    grid-row: 3;
  }
  
  .tier-card:nth-child(5) {
    /* Team Supporter - Third Row, Right (under Design Architect) */
    grid-column: 2;
    grid-row: 3;
  }
}

@media (max-width: 768px) {
  .tiers-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 1fr);
  }
  
  .tier-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  
  .tier-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  
  .tier-card:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }
  
  .tier-card:nth-child(4) {
    grid-column: 1;
    grid-row: 4;
  }
  
  .tier-card:nth-child(5) {
    grid-column: 1;
    grid-row: 5;
  }
  
  .team-supporter-section {
    margin-top: 0;
  }
}

/* Achievements Page Styles - Add this to your style.css file */

/* Achievements Hero Section */
.achievements-hero-section {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  padding: 100px 0 80px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.achievements-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.achievements-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.achievements-hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.achievements-hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* Competition Results Section */
.competition-results-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.competition-results-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.results-grid {
  margin-top: 60px;
}

.competition-card {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.competition-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: #FFD700;
}

.competition-header {
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.competition-year {
  display: inline-block;
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.competition-name {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #15284C;
  margin: 0;
  line-height: 1.3;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.event-item {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.event-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.event-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #15284C;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.event-location {
  color: #666;
  font-weight: 500;
  margin: 0 0 5px 0;
}

.event-teams {
  color: #999;
  font-size: 0.9rem;
  margin: 0;
  font-style: italic;
}

.award-container {
  display: flex;
  justify-content: flex-end;
}

.award-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-left: 4px solid;
  transition: all 0.3s ease;
}

.award-badge.build {
  border-left-color: #4CAF50;
}

.award-badge.innovate {
  border-left-color: #FF9800;
}

.award-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.award-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
}

.award-text {
  display: flex;
  flex-direction: column;
}

.award-name {
  font-weight: 700;
  color: #15284C;
  font-size: 1rem;
}

.award-category {
  font-size: 0.8rem;
  color: #666;
  font-style: italic;
}

/* Awards Gallery Section */
.awards-gallery-section {
  padding: 80px 0;
  background: white;
}

.awards-gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

/* First row positioning */
.award-card:nth-child(1) {
  /* Build Award - Top Left */
  grid-column: 1;
  grid-row: 1;
}

.award-card:nth-child(2) {
  /* Innovate Award - Top Center */
  grid-column: 2;
  grid-row: 1;
}

.award-card:nth-child(3) {
  /* Teamwork Excellence - Top Right */
  grid-column: 3;
  grid-row: 1;
}

/* Second row positioning */
.award-card:nth-child(4) {
  /* Competition Participation - Under Innovate Award */
  grid-column: 2;
  grid-row: 2;
}

/* Updated responsive design for both sections */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  
  .stat-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .stat-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .stat-item:nth-child(3) { grid-column: 3; grid-row: 1; }
  .stat-item:nth-child(4) { grid-column: 1; grid-row: 2; }
  .stat-item:nth-child(5) { grid-column: 2; grid-row: 2; }
  .stat-item:nth-child(6) { grid-column: 3; grid-row: 2; }
  
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  
  .award-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .award-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .award-card:nth-child(3) { grid-column: 1; grid-row: 2; }
  .award-card:nth-child(4) { grid-column: 2; grid-row: 2; }
}

@media (max-width: 968px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
  }
  
  .stat-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .stat-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .stat-item:nth-child(3) { grid-column: 1; grid-row: 2; }
  .stat-item:nth-child(4) { grid-column: 2; grid-row: 2; }
  .stat-item:nth-child(5) { grid-column: 1; grid-row: 3; }
  .stat-item:nth-child(6) { grid-column: 2; grid-row: 3; }
  
  .awards-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
  
  .award-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .award-card:nth-child(2) { grid-column: 1; grid-row: 2; }
  .award-card:nth-child(3) { grid-column: 1; grid-row: 3; }
  .award-card:nth-child(4) { grid-column: 1; grid-row: 4; }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
  }
  
  .stat-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .stat-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .stat-item:nth-child(3) { grid-column: 1; grid-row: 3; }
  .stat-item:nth-child(4) { grid-column: 1; grid-row: 4; }
  .stat-item:nth-child(5) { grid-column: 1; grid-row: 5; }
  .stat-item:nth-child(6) { grid-column: 1; grid-row: 6; }
}

/* Remove the old stat-divider styles as they're no longer needed */
.stat-divider {
  display: none;
}

.award-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.award-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.award-card:hover::before {
  left: 100%;
}

.award-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.award-card.build-award:hover {
  border-color: #4CAF50;
}

.award-card.innovate-award:hover {
  border-color: #FF9800;
}

.award-card.team-award:hover {
  border-color: #2196F3;
}

.award-card.participation-award:hover {
  border-color: #9C27B0;
}

.award-card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  position: relative;
  z-index: 2;
}

.award-card-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #15284C;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.award-card-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.award-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  position: relative;
  z-index: 2;
}

.award-year {
  background: #15284C;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.award-event {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

/* Team Statistics Section */
.team-statistics-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  color: white;
}

.team-statistics-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.team-statistics-section .section-title {
  color: white;
}

.team-statistics-section .section-title::after {
  background: #FFD700;
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 5px;
  line-height: 1.3;
}

.stat-sublabel {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* Journey Timeline Section */
.journey-timeline-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.journey-timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.timeline {
  position: relative;
  margin-top: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #FFD700, #15284C);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 100px;
  opacity: 0;
  transform: translateY(30px);
  animation: timelineSlideIn 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes timelineSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: white;
  border: 4px solid #FFD700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.timeline-icon {
  font-size: 1.5rem;
}

.timeline-content {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.timeline-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #15284C;
  margin-bottom: 15px;
}

.timeline-description {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .achievements-hero-title {
    font-size: 3.5rem;
  }
  
  .competition-card {
    padding: 30px;
  }
  
  .event-item {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .award-container {
    justify-content: center;
  }
  
  .statistics-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .achievements-hero-section {
    padding: 80px 0 60px 0;
  }
  
  .achievements-hero-container,
  .competition-results-container,
  .awards-gallery-container,
  .team-statistics-container,
  .journey-timeline-container {
    padding: 0 20px;
  }
  
  .achievements-hero-title {
    font-size: 2.5rem;
  }
  
  .achievements-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .competition-card {
    padding: 25px;
  }
  
  .competition-name {
    font-size: 1.6rem;
  }
  
  .event-title {
    font-size: 1.1rem;
  }
  
  .awards-grid {
    grid-template-columns: 1fr;
  }
  
  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline::before {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 70px;
  }
  
  .timeline-marker {
    width: 50px;
    height: 50px;
  }
  
  .timeline-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .achievements-hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .achievements-hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .competition-card {
    padding: 20px;
  }
  
  .competition-name {
    font-size: 1.4rem;
  }
  
  .event-item {
    padding: 20px;
  }
  
  .award-badge {
    padding: 12px 15px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .award-card {
    padding: 25px 20px;
  }
  
  .statistics-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline-marker {
    width: 40px;
    height: 40px;
  }
  
  .timeline-icon {
    font-size: 1.2rem;
  }
}

/* Animation enhancements */
.award-card {
  opacity: 0;
  transform: translateY(30px);
  animation: achievementFadeIn 0.6s ease forwards;
}

.award-card:nth-child(1) { animation-delay: 0.1s; }
.award-card:nth-child(2) { animation-delay: 0.2s; }
.award-card:nth-child(3) { animation-delay: 0.3s; }
.award-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes achievementFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  animation: statSlideIn 0.6s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }
.stat-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes statSlideIn {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Focus states for accessibility */
.award-card:focus,
.event-item:focus,
.timeline-content:focus {
  outline: 3px solid #FFD700;
  outline-offset: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .competition-card,
  .award-card,
  .stat-card,
  .timeline-content {
    border: 2px solid #000;
  }
  
  .award-badge {
    border: 1px solid #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .competition-card,
  .award-card,
  .stat-card,
  .timeline-item,
  .timeline-content {
    transition: none;
    animation: none;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .award-card:hover,
  .stat-card:hover,
  .timeline-content:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .achievements-hero-section,
  .competition-results-section,
  .awards-gallery-section,
  .team-statistics-section,
  .journey-timeline-section {
    break-inside: avoid;
    padding: 20px 0;
  }
  
  .achievements-hero-title,
  .section-title {
    color: #000 !important;
  }
  
  .competition-card,
  .award-card,
  .stat-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #000;
  }
}

/* Updated Statistics Grid - 3x2 Layout */
.statistics-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-template-rows: repeat(2, 1fr) !important;
  gap: 30px !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.1) !important;
  padding: 40px 30px !important;
  border-radius: 15px !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Specific positioning for stats */
.stat-item:nth-child(1) {
  /* 12+ Robotics Competitions - Top Left */
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.stat-item:nth-child(2) {
  /* 85% Members Gained Experience - Top Center */
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.stat-item:nth-child(3) {
  /* 90% Students Pursuing STEM - Top Right */
  grid-column: 3 !important;
  grid-row: 1 !important;
}

.stat-item:nth-child(4) {
  /* 500+ Hours Spent - Bottom Left */
  grid-column: 1 !important;
  grid-row: 2 !important;
}

.stat-item:nth-child(5) {
  /* Major Awards Won - Bottom Center */
  grid-column: 2 !important;
  grid-row: 2 !important;
}

.stat-item:nth-child(6) {
  /* Team Members - Bottom Right */
  grid-column: 3 !important;
  grid-row: 2 !important;
}

/* Remove the old stat-divider styles since they're no longer needed */
.stat-divider {
  display: none !important;
}

/* Responsive Design Updates */
@media (max-width: 1200px) {
  .statistics-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 25px !important;
    padding: 35px 25px !important;
  }
}

@media (max-width: 968px) {
  .statistics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    gap: 25px !important;
  }
  
  .stat-item:nth-child(1) { 
    grid-column: 1 !important; 
    grid-row: 1 !important; 
  }
  .stat-item:nth-child(2) { 
    grid-column: 2 !important; 
    grid-row: 1 !important; 
  }
  .stat-item:nth-child(3) { 
    grid-column: 1 !important; 
    grid-row: 2 !important; 
  }
  .stat-item:nth-child(4) { 
    grid-column: 2 !important; 
    grid-row: 2 !important; 
  }
  .stat-item:nth-child(5) { 
    grid-column: 1 !important; 
    grid-row: 3 !important; 
  }
  .stat-item:nth-child(6) { 
    grid-column: 2 !important; 
    grid-row: 3 !important; 
  }
}

@media (max-width: 768px) {
  .statistics-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(6, 1fr) !important;
    gap: 20px !important;
    padding: 25px 20px !important;
  }
  
  .stat-item:nth-child(1) { 
    grid-column: 1 !important; 
    grid-row: 1 !important; 
  }
  .stat-item:nth-child(2) { 
    grid-column: 1 !important; 
    grid-row: 2 !important; 
  }
  .stat-item:nth-child(3) { 
    grid-column: 1 !important; 
    grid-row: 3 !important; 
  }
  .stat-item:nth-child(4) { 
    grid-column: 1 !important; 
    grid-row: 4 !important; 
  }
  .stat-item:nth-child(5) { 
    grid-column: 1 !important; 
    grid-row: 5 !important; 
  }
  .stat-item:nth-child(6) { 
    grid-column: 1 !important; 
    grid-row: 6 !important; 
  }
}

/* ===== CONTACT PAGE STYLES ===== */

/* Contact Hero Section */
.contact-hero-section {
  background: linear-gradient(135deg, #15284C 0%, #1a3357 100%);
  color: white;
  padding: 120px 0 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.contact-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.contact-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Why Contact Section */
.why-contact-section {
  padding: 100px 0;
  background: #f8fafc;
}

.why-contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.contact-reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.contact-reason-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(21, 40, 76, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(21, 40, 76, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #15284C, #FFD700);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-reason-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(21, 40, 76, 0.15);
}

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

.reason-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.contact-reason-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #15284C;
  margin-bottom: 15px;
}

.contact-reason-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}

/* Contact Info Section */
.contact-info-section {
  padding: 100px 0;
  background: white;
}

.contact-info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.contact-info-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(21, 40, 76, 0.03), transparent);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
  opacity: 0;
}

.contact-info-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

.contact-info-card:hover {
  border-color: #15284C;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(21, 40, 76, 0.1);
}

.contact-icon-container {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #15284C, #1a3357);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px auto;
  position: relative;
  z-index: 2;
}

.contact-icon {
  font-size: 2rem;
  color: white;
}

.contact-info-content {
  position: relative;
  z-index: 2;
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #15284C;
  margin-bottom: 20px;
}

.contact-info-details {
  margin-bottom: 30px;
}

.contact-detail {
  margin: 8px 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}

.primary-email {
  font-weight: 600;
  color: #15284C;
}

.secondary-email {
  color: #666;
}

.phone-number {
  font-weight: 600;
  color: #15284C;
  font-size: 1.1rem;
}

.contact-note {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
}

.contact-action-btn {
  background: linear-gradient(135deg, #15284C, #1a3357);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.contact-action-btn:hover {
  background: linear-gradient(135deg, #1a3357, #15284C);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(21, 40, 76, 0.3);
}

.btn-icon {
  font-size: 1.1rem;
}

/* Quick Actions Section */
.quick-actions-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.quick-actions-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.quick-action-card {
  background: white;
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(21, 40, 76, 0.08);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  display: block;
}

.quick-action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(21, 40, 76, 0.05), transparent);
  transition: left 0.5s ease;
}

.quick-action-card:hover {
  transform: translateY(-8px);
  border-color: #15284C;
  box-shadow: 0 15px 40px rgba(21, 40, 76, 0.15);
  color: inherit;
  text-decoration: none;
}

.quick-action-card:hover::before {
  left: 100%;
}

.quick-action-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.quick-action-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #15284C;
  margin-bottom: 10px;
}

.quick-action-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.quick-action-arrow {
  font-size: 1.5rem;
  color: #FFD700;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Animation classes */
.card-animate-in {
  animation: cardFadeInUp 0.6s ease forwards;
}

.quick-action-animate-in {
  animation: quickActionSlideIn 0.5s ease forwards;
}

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

 @keyframes quickActionSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
 }
 
 /* Contact Page Responsive Design */
 @media (max-width: 1024px) {
  .contact-hero-title {
    font-size: 3rem;
  }
  
  .contact-hero-subtitle {
    font-size: 1.2rem;
  }
  
  .contact-reasons-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
  
  .contact-info-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
  }
  
  .quick-actions-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
 }
 
 @media (max-width: 768px) {
  .contact-hero-section {
    padding: 100px 0 60px 0;
  }
  
  .contact-hero-container,
  .why-contact-container,
  .contact-info-container,
  .quick-actions-container {
    padding: 0 20px;
  }
  
  .contact-hero-title {
    font-size: 2.5rem;
  }
  
  .contact-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .why-contact-section,
  .contact-info-section,
  .quick-actions-section {
    padding: 80px 0;
  }
  
  .contact-reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }
  
  .contact-reason-card {
    padding: 30px 20px;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
  }
  
  .contact-info-card {
    padding: 30px 25px;
  }
  
  .quick-actions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }
  
  .quick-action-card {
    padding: 30px 20px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
 }
 
 @media (max-width: 480px) {
  .contact-hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .contact-hero-subtitle {
    font-size: 1rem;
  }
  
  .contact-reason-card,
  .contact-info-card,
  .quick-action-card {
    padding: 25px 15px;
  }
  
  .contact-icon-container {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  
  .contact-icon {
    font-size: 1.5rem;
  }
  
  .reason-icon,
  .quick-action-icon {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .contact-info-title {
    font-size: 1.3rem;
  }
  
  .quick-action-card h3 {
    font-size: 1.2rem;
  }
  
  .contact-action-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  /* Contact notification responsive */
  #contact-notification {
    right: 10px !important;
    left: 10px !important;
    max-width: none !important;
    transform: translateY(-100%) !important;
    transition: transform 0.3s ease !important;
  }
  
  #contact-notification.show {
    transform: translateY(0) !important;
  }
 }
 
 /* Additional animations and transitions */
 .contact-hero-section.animate-in {
  opacity: 1;
  transform: translateY(0);
 }
 
 .why-contact-section.animate-in,
 .contact-info-section.animate-in,
 .quick-actions-section.animate-in {
  opacity: 1;
  transform: translateY(0);
 }
 
 /* Hover effects for better UX */
 .contact-reason-card,
 .contact-info-card,
 .quick-action-card {
  cursor: default;
 }
 
 .quick-action-card {
  cursor: pointer;
 }
 
 /* Focus states for accessibility */
 .contact-action-btn:focus,
 .quick-action-card:focus {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
 }
 
 .contact-info-card:focus {
  outline: 2px solid #15284C;
  outline-offset: 2px;
 }
 
 /* Loading states */
 .contact-reasons-grid .contact-reason-card,
 .contact-info-grid .contact-info-card,
 .quick-actions-grid .quick-action-card {
  opacity: 0;
  animation-play-state: paused;
  animation-fill-mode: forwards;
 }
 
 .contact-reason-card {
  animation: cardFadeInUp 0.6s ease;
 }
 
 .contact-info-card {
  animation: cardFadeInUp 0.6s ease;
 }
 
 .quick-action-card {
  animation: quickActionSlideIn 0.5s ease;
 }
 
 /* Special styling for different contact card types */
 .address-card .contact-icon-container {
  background: linear-gradient(135deg, #15284C, #2563eb);
 }
 
 .email-card .contact-icon-container {
  background: linear-gradient(135deg, #15284C, #16a34a);
 }
 
 .phone-card .contact-icon-container {
  background: linear-gradient(135deg, #15284C, #dc2626);
 }
 
 /* Enhanced button styles */
 .contact-action-btn {
  position: relative;
  overflow: hidden;
 }
 
 .contact-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
 }
 
 .contact-action-btn:hover::before {
  left: 100%;
 }
 
 /* Print styles */
 @media print {
  .contact-hero-section {
    background: white;
    color: black;
    padding: 40px 0;
  }
  
  .contact-action-btn,
  .quick-action-card {
    display: none;
  }
  
  .contact-info-card {
    border: 1px solid #ccc;
    box-shadow: none;
    page-break-inside: avoid;
  }
 }
 
 /* High contrast mode support */
 @media (prefers-contrast: high) {
  .contact-reason-card,
  .contact-info-card,
  .quick-action-card {
    border: 2px solid #000;
  }
  
  .contact-action-btn {
    border: 2px solid #000;
  }
 }
 
 /* Reduced motion support */
 @media (prefers-reduced-motion: reduce) {
  .contact-reason-card,
  .contact-info-card,
  .quick-action-card,
  .contact-action-btn,
  .quick-action-arrow {
    animation: none;
    transition: none;
  }
  
  .contact-reason-card:hover,
  .contact-info-card:hover,
  .quick-action-card:hover {
    transform: none;
  }
 }

 /* Emergency fixes for contact page visibility */
.contact-info-section,
.quick-actions-section {
  min-height: auto !important;
  display: block !important;
  visibility: visible !important;
}

.contact-info-grid,
.quick-actions-grid {
  display: grid !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.contact-info-card,
.quick-action-card {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Ensure animation states don't hide content */
.contact-reasons-grid .contact-reason-card,
.contact-info-grid .contact-info-card,
.quick-actions-grid .quick-action-card {
  opacity: 1 !important;
  animation-play-state: running !important;
}

/* Override any conflicting styles */
.contact-info-container *,
.quick-actions-container * {
  visibility: visible !important;
}

/* ===== CONTACT PAGE GRID FIXES ===== */

/* Contact Information Section - 3x1 Grid (3 columns, 1 row) */
.contact-info-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-template-rows: 1fr !important;
  gap: 40px !important;
  margin-top: 60px !important;
}

/* Ensure all contact info cards are in the same row */
.contact-info-card:nth-child(1) {
  /* Visit Us - Left */
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.contact-info-card:nth-child(2) {
  /* Email Us - Center */
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.contact-info-card:nth-child(3) {
  /* Call Us - Right */
  grid-column: 3 !important;
  grid-row: 1 !important;
}

/* ===== RESPONSIVE DESIGN UPDATES ===== */

/* Large screens (1200px and up) - maintain the desired layouts */
@media (min-width: 1200px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: 1fr !important;
    gap: 50px !important;
  }
  
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 40px !important;
  }
}

/* Medium-Large screens (1024px to 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: 1fr !important;
    gap: 35px !important;
  }
  
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 30px !important;
  }
}

/* Medium screens (768px to 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: 1fr !important;
    gap: 25px !important;
  }
  
  .contact-info-card {
    padding: 30px 20px !important;
  }
  
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 25px !important;
  }
  
  .quick-action-card {
    padding: 30px 20px !important;
  }
}

/* Small-Medium screens (600px to 767px) */
@media (max-width: 767px) and (min-width: 600px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 25px !important;
  }
  
  .contact-info-card:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  
  .contact-info-card:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  
  .contact-info-card:nth-child(3) {
    grid-column: 1 / 3 !important; /* Spans both columns */
    grid-row: 2 !important;
  }
  
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  
  .quick-action-card {
    padding: 25px 15px !important;
  }
}

/* Small screens (480px to 599px) */
@media (max-width: 599px) and (min-width: 480px) {
  .contact-info-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
  
  .contact-info-card:nth-child(1),
  .contact-info-card:nth-child(2),
  .contact-info-card:nth-child(3) {
    grid-column: 1 !important;
  }
  
  .contact-info-card:nth-child(1) { grid-row: 1 !important; }
  .contact-info-card:nth-child(2) { grid-row: 2 !important; }
  .contact-info-card:nth-child(3) { grid-row: 3 !important; }
  
  .quick-actions-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, 1fr) !important;
    gap: 20px !important;
  }
  
  .quick-action-card:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
  .quick-action-card:nth-child(2) { grid-column: 1 !important; grid-row: 2 !important; }
  .quick-action-card:nth-child(3) { grid-column: 1 !important; grid-row: 3 !important; }
  .quick-action-card:nth-child(4) { grid-column: 1 !important; grid-row: 4 !important; }
}

/* Extra small screens (479px and below) */
@media (max-width: 479px) {
  .contact-info-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, 1fr) !important;
    gap: 15px !important;
  }
  
  .contact-info-card {
    padding: 25px 15px !important;
  }
  
  .contact-info-card:nth-child(1),
  .contact-info-card:nth-child(2),
  .contact-info-card:nth-child(3) {
    grid-column: 1 !important;
  }
  
  .contact-info-card:nth-child(1) { grid-row: 1 !important; }
  .contact-info-card:nth-child(2) { grid-row: 2 !important; }
  .contact-info-card:nth-child(3) { grid-row: 3 !important; }
  
  .quick-actions-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, 1fr) !important;
    gap: 15px !important;
  }
  
  .quick-action-card {
    padding: 20px 15px !important;
  }
  
  .quick-action-card:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
  .quick-action-card:nth-child(2) { grid-column: 1 !important; grid-row: 2 !important; }
  .quick-action-card:nth-child(3) { grid-column: 1 !important; grid-row: 3 !important; }
  .quick-action-card:nth-child(4) { grid-column: 1 !important; grid-row: 4 !important; }
}

/* ===== OVERRIDE ANY CONFLICTING AUTO-FIT BEHAVIOR ===== */

/* Remove auto-fit behavior that might interfere */
.contact-info-grid,
.quick-actions-grid {
  /* Override the auto-fit with explicit grid definitions */
  grid-template-columns: revert !important;
}

/* Re-establish the correct grid layouts */
@media (min-width: 768px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===== ENSURE CARDS MAINTAIN CONSISTENT SIZING ===== */

.contact-info-card,
.quick-action-card {
  min-height: 280px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

/* Ensure icon containers have consistent sizing */
.contact-icon-container {
  flex-shrink: 0 !important;
}

.quick-action-icon {
  flex-shrink: 0 !important;
}

/* Ensure content areas expand properly */
.contact-info-content,
.quick-action-card h3,
.quick-action-card p {
  flex-grow: 1 !important;
}

/* Contact Page - Simple Fixed Height Solution */

/* Force all contact cards to have the same height and structure */
.contact-info-grid {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important; /* Align all cards to bottom */
  gap: 30px !important;
  flex-wrap: wrap !important;
}

.contact-info-card {
  flex: 1 !important;
  min-width: 300px !important;
  height: 450px !important; /* Fixed height for all cards */
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  position: relative !important;
  padding: 30px 20px 80px 20px !important; /* Extra bottom padding for button */
  box-sizing: border-box !important;
}

/* Icon container */
.contact-icon-container {
  text-align: center !important;
  margin-bottom: 20px !important;
}

/* Content area */
.contact-info-content {
  text-align: center !important;
  flex-grow: 1 !important;
}

.contact-info-title {
  font-size: 1.5rem !important;
  font-weight: bold !important;
  margin-bottom: 15px !important;
  color: #15284C !important;
}

.contact-info-details {
  margin-bottom: 20px !important;
}

/* Move contact buttons down by 35px */
.contact-action-btn {
  position: absolute !important;
  bottom: -25px !important; /* Changed from 30px to -25px (moved down 55px) */
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(135deg, #15284C, #1a3357) !important;
  color: white !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.contact-action-btn:hover {
  background: linear-gradient(135deg, #1a3357, #1f3a61) !important;
  transform: translateX(-50%) translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(21, 40, 76, 0.3) !important;
}

/* Responsive design */
@media (max-width: 1024px) {
  .contact-info-grid {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .contact-info-card {
    max-width: 500px !important;
    width: 100% !important;
    min-width: auto !important;
  }
}

@media (max-width: 768px) {
  .contact-info-card {
    height: auto !important;
    padding: 20px !important;
    position: static !important;
  }
  
  .contact-action-btn {
    position: static !important;
    transform: none !important;
    margin: 20px auto 0 auto !important;
    display: flex !important;
    justify-content: center !important;
  }
}

/* Gallery Page Styles */

/* Gallery Hero Section */
.gallery-hero-section {
  background: linear-gradient(135deg, #15284C 0%, #1a3056 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.gallery-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
  opacity: 0.3;
}

.gallery-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.gallery-hero-content {
  text-align: center;
  color: white;
}

.gallery-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.gallery-hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.highlight-text {
  color: #FFD700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Gallery Filter Section */
.gallery-filter-section {
  background: #f8f9fa;
  padding: 40px 0;
  border-bottom: 1px solid #e9ecef;
}

.gallery-filter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 2px solid #15284C;
  color: #15284C;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
  background: #15284C;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(21, 40, 76, 0.3);
}

/* Gallery Grid Section */
.gallery-grid-section {
  padding: 80px 0;
  background: white;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  grid-auto-rows: 280px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: #f8f9fa;
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item:nth-child(6n+1) {
  grid-row: span 2;
}

.gallery-item:nth-child(8n+3) {
  grid-row: span 2;
}

.gallery-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(21, 40, 76, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  color: white;
  margin-bottom: 15px;
}

.gallery-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.gallery-description {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
}

.gallery-view-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
}

.gallery-item:hover .gallery-view-btn {
  opacity: 1;
  transform: scale(1);
}

.gallery-view-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-modal.hidden {
  display: none;
}

.gallery-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.gallery-modal-content {
  position: relative;
  max-width: 1000px;
  max-height: 90vh;
  width: 100%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.gallery-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.gallery-modal-image-container {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  min-height: 400px;
}

.gallery-modal-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.gallery-modal-info {
  background: white;
  padding: 30px;
  border-top: 1px solid #e9ecef;
}

.gallery-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #15284C;
  margin-bottom: 10px;
}

.gallery-modal-description {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

.gallery-modal-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.gallery-nav-btn {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
}

.gallery-nav-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.gallery-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Filter Animation */
.gallery-item {
  animation: fadeInUp 0.6s ease forwards;
}

.gallery-item.hiding {
  animation: fadeOut 0.3s ease forwards;
}

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

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-hero-title {
    font-size: 2.5rem;
  }
  
  .gallery-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    grid-auto-rows: 220px;
  }
  
  .gallery-item:nth-child(6n+1),
  .gallery-item:nth-child(8n+3) {
    grid-row: span 1;
  }
  
  .filter-buttons {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .gallery-overlay {
    padding: 20px;
  }
  
  .gallery-title {
    font-size: 1.1rem;
  }
  
  .gallery-description {
    font-size: 0.9rem;
  }
  
  .gallery-modal-content {
    margin: 10px;
  }
  
  .gallery-modal-info {
    padding: 20px;
  }
  
  .gallery-modal-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .gallery-hero-section {
    padding: 100px 0 60px;
  }
  
  .gallery-hero-title {
    font-size: 2rem;
  }
  
  .gallery-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 200px;
  }
  
  .gallery-modal-navigation {
    padding: 0 10px;
  }
  
  .gallery-nav-btn {
    width: 40px;
    height: 40px;
  }
}

/* Gallery Page Styles */

/* Gallery Hero Section */
.gallery-hero-section {
  background: linear-gradient(135deg, #15284C 0%, #1a3056 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.gallery-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
  opacity: 0.3;
}

.gallery-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.gallery-hero-content {
  text-align: center;
  color: white;
}

.gallery-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.gallery-hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Gallery Filter Section */
.gallery-filter-section {
  background: #f8f9fa;
  padding: 40px 0;
  border-bottom: 1px solid #e9ecef;
}

.gallery-filter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 2px solid #15284C;
  color: #15284C;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
  background: #15284C;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(21, 40, 76, 0.3);
}

/* Gallery Grid Section */
.gallery-grid-section {
  padding: 80px 0;
  background: white;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  grid-auto-rows: 280px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: #f8f9fa;
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item:nth-child(6n+1) {
  grid-row: span 2;
}

.gallery-item:nth-child(8n+3) {
  grid-row: span 2;
}

.gallery-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(21, 40, 76, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  color: white;
  margin-bottom: 15px;
}

.gallery-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.gallery-description {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
}

.gallery-view-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
}

.gallery-item:hover .gallery-view-btn {
  opacity: 1;
  transform: scale(1);
}

.gallery-view-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-modal.hidden {
  display: none;
}

.gallery-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.gallery-modal-content {
  position: relative;
  max-width: 1000px;
  max-height: 90vh;
  width: 100%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.gallery-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.gallery-modal-image-container {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  min-height: 400px;
}

.gallery-modal-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.gallery-modal-info {
  background: white;
  padding: 30px;
  border-top: 1px solid #e9ecef;
}

.gallery-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #15284C;
  margin-bottom: 10px;
}

.gallery-modal-description {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

.gallery-modal-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.gallery-nav-btn {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
}

.gallery-nav-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.gallery-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Filter Animation */
.gallery-item {
  animation: fadeInUp 0.6s ease forwards;
}

.gallery-item.hiding {
  animation: fadeOut 0.3s ease forwards;
}

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

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-hero-title {
    font-size: 2.5rem;
  }
  
  .gallery-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    grid-auto-rows: 220px;
  }
  
  .gallery-item:nth-child(6n+1),
  .gallery-item:nth-child(8n+3) {
    grid-row: span 1;
  }
  
  .filter-buttons {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .gallery-overlay {
    padding: 20px;
  }
  
  .gallery-title {
    font-size: 1.1rem;
  }
  
  .gallery-description {
    font-size: 0.9rem;
  }
  
  .gallery-modal-content {
    margin: 10px;
  }
  
  .gallery-modal-info {
    padding: 20px;
  }
  
  .gallery-modal-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .gallery-hero-section {
    padding: 100px 0 60px;
  }
  
  .gallery-hero-title {
    font-size: 2rem;
  }
  
  .gallery-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 200px;
  }
  
  .gallery-modal-navigation {
    padding: 0 10px;
  }
  
  .gallery-nav-btn {
    width: 40px;
    height: 40px;
  }
}