:root {
  --dark-red: #8B0000;
  --darker-red: #650000;
  --light-red: #FF4D4D;
  --orange: #FF8C00;
  --light-orange: #FFA940;
  --off-white: #F5F5F5;
  --grey: #333333;
  --light-grey: #f8f8f8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Georgia', serif;
}

body, html {
  font-family: 'Georgia', serif;
  min-height: 100vh;
  background-color: var(--off-white);
  scroll-behavior: smooth; /* Add smooth scrolling */
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Top Banner */
.top-banner {
  background-color: var(--dark-red);
  color: #fff;
  padding: 0.5rem 1rem;
}

.top-banner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-banner-left {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease; /* Add transition for icon */
}

.contact-item:hover .icon {
  transform: scale(1.2); /* Animate icon on hover */
}

button {
  background-color: #ffffff;
  border: none;
  color: var(--dark-red);
  padding: 0.5rem 1.5rem;
  text-align: center;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease; /* Improve transition */
  position: relative;
  overflow: hidden;
}

button:hover {
  background-color: var(--off-white);
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Add shadow on hover */
}

button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  top: 0;
  left: -100%;
  transition: all 0.3s ease;
}

button:hover::after {
  left: 100%; /* Create shine effect */
}

button a {
  color: var(--dark-red);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  z-index: 2;
}

button a:hover {
  color: var(--orange);
}

/* Navigation */
.header {
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  animation: fadeInDown 0.5s ease; /* Add animation to header */
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-container {
  padding: 1rem 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-text-gray {
  color: var(--dark-red);
}

.logo-text-accent {
  color: var(--orange);
}

.nav-link1 {
  color: var(--dark-red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.nav-link:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--dark-red);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--orange);
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  background-color: var(--orange);
  bottom: -4px;
  left: 25%;
}

/* Main content - New Style */
main {
  flex: 1;
  padding: 60px 0;
  animation: fadeIn 1s ease; /* Add animation to main content */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.section-header {
  font-size: 14px;
  color: var(--grey);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  font-weight: normal;
  animation: slideInLeft 0.8s ease; /* Add animation */
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.section-title {
  font-size: 40px;
  line-height: 1.2;
  color: var(--grey);
  margin-bottom: 30px;
  font-weight: 600;
  animation: slideInLeft 1s ease 0.2s both; /* Add animation with delay */
}

.hero-text {
  font-size: 18px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  animation: slideInLeft 1s ease 0.4s both; /* Add animation with delay */
}

.mission-quote {
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  margin: 40px 0;
  max-width: 800px;
  color: var(--dark-red);
  animation: fadeIn 1s ease 0.6s both; /* Add animation with delay */
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--orange);
  transition: all 0.3s ease;
}

.mission-quote:hover {
  transform: translateX(5px);
  border-left-width: 5px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.card {
  background-color: white;
  padding: 40px;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: calc(var(--card-index) * 0.2s); /* Staggered animation */
}

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

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(2deg);
}

.card:hover .card-icon svg {
  stroke: var(--orange);
}

.card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--grey);
  transition: color 0.3s ease;
}

.card:hover .card-title {
  color: var(--dark-red);
}

.card-text {
  color: var(--grey);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.card:hover .card-text {
  color: #000;
}

.card-link {
  display: inline-block;
  color: var(--dark-red);
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.card-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--orange);
  bottom: -2px;
  left: 0;
  transition: width 0.3s ease;
}

.card-link:hover {
  color: var(--orange);
  transform: translateX(5px);
}

.card-link:hover::after {
  width: 100%;
}

.arrow-icon {
  font-size: 14px;
  margin-left: 5px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.card-link:hover .arrow-icon {
  transform: translateX(5px);
}

/* Footer */
footer {
  background-color: var(--dark-red);
  color: white;
  padding: 3rem 0 1rem;
  animation: fadeIn 1s ease;
}

.newstext {
  margin-bottom: 2rem;
  animation: fadeIn 1s ease;
}

.newstext h1 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.newstext h1 span {
  color: var(--orange);
  position: relative;
  display: inline-block;
  animation: pulse 2s infinite;
}

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

.newstext p {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 50px;
  height: 2px;
  background-color: var(--orange);
  transition: width 0.3s ease;
}

.footer-column:hover h3::after {
  width: 70px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.footer-column ul li:hover {
  transform: translateX(5px);
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--orange);
}

/* New footer bottom section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* Modify social icons to be on the right */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0;
  justify-content: flex-end;
}

.social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--orange);
  transform: scale(0);
  transition: transform 0.3s ease;
  border-radius: 50%;
  z-index: 0;
}

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

.social-icons a i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-icons a:hover i {
  transform: scale(1.2);
}
/* Update copyright style */
.copyright {
  font-size: 0.9rem;
  color: #aaa;
  text-align: left;
}

/* Responsive styles */
@media (max-width: 768px) {
  .top-banner-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 0;
  }
  
  .nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .cards-container {
    grid-template-columns: 1fr;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .top-banner-left {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 28px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .copyright {
    text-align: center;
  }
}