/* Set global font-family */
html, body, h1, h2, h3, h4, h5, h6, .navbar, .all-links a, .animated-title, .animate-text, .card, .card-content, .about-header, .about-card, .section-header, .info-card, .mission-vision-card, .team-card, .stat-item, .contact-header, .contact-info, .contact-form, .notification {
  font-family: "Poppins", Arial, sans-serif !important;
}

/* Remove/override other font-family declarations */
body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif !important;
  background: url('picture/santa rita.jpg') no-repeat center 0px fixed;
  background-size: cover;
  color: white; /* Set default text color to white for better contrast */
}

/* Remove or override any other font-family: Arial, sans-serif; */
.animated-title,
.animate-text,
.navbar,
.all-links a,
.card-content h3,
.card-content p,
.about-header h2,
.about-header p,
.section-header h3,
.section-header p,
.info-card h4,
.info-card p,
.mission-vision-card .card-header h4,
.mission-vision-card .card-content p,
.team-info h4,
.team-role,
.stat-content h4,
.stat-content p,
.contact-header h2,
.contact-header p,
.info-item h4,
.info-item p,
.contact-form input,
.contact-form textarea,
.submit-btn,
.notification {
  font-family: "Poppins", Arial, sans-serif !important;
}

.animated-title {
      font-size: 3rem;
      color: yellow;
      text-transform: uppercase;
      letter-spacing: 5px;
      animation: fadeInSlide 2s ease-out, glow 5s infinite alternate; 
    }

    /* Keyframe for fade-in and slide effect */
    @keyframes fadeInSlide {
      0% {
          opacity: 0;
          transform: translateY(50px);
      }
      100% {
          opacity: 1;
          transform: translateY(0);
      }
    }
    @keyframes fadeIn {
      0% {
        opacity: 0;
        transform: translateY(20px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .animate-text {
      animation: fadeIn 2s ease-out;
    }
    /* Apply background image to body */
  

  /* Add a dark overlay on the background to ensure text is readable */
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 0; /* Place overlay behind the content */
    pointer-events: none; /* Allow clicks to pass through */
  }

  /* Navbar text color */
  .navbar {
    color: white;
  }

  /* Make sure text inside the content is readable */


  /* Navbar links and hover effect */
  .all-links a {  
    color: white; /* Set navbar links color to white */
    text-decoration: none;
  }

  .all-links a:hover {
    color: yellow; /* Change color on hover for better interaction */
  }
  /* Ensure the container takes up enough space */
  .homepage {
    position: relative;
  }

  .animated-title {
    font-size: 60px; /* Adjust font size as needed */
    position: relative;
    font-weight: bold;
  }

  /* Style for the letter "O" */
  .letter-o {
    position: relative;
    display: inline-block;
    width: 90px; /* Adjust to match the font size */
    height: 90px; /* Adjust to match the font size */
    background-image: url('picture/santaritalogo-removebg-preview (1).png');
    background-size: cover;
    background-position: center;
    text-align: center;
    line-height: 70px; /* Center the text vertically */
    color: transparent; /* Hide the letter "O" text */
    top: 10px;
  }

  /* Style for the rest of the text */
  .animated-title span {
    color: inherit; /* Set color for the rest of the text */
    
  }
  /* General animation setup */
  @keyframes float {
    0%, 100% {
      transform: translateY(0); /* Start and end position */
    }
    50% {
      transform: translateY(-10px); /* Float up */
    }
  }

  @keyframes pulse {
    0% {
      transform: scale(1); /* Normal size */
      opacity: 1;
    }
    50% {
      transform: scale(1.1); /* Slightly bigger */
      opacity: 0.8;
    }
    100% {
      transform: scale(1); /* Back to normal size */
      opacity: 1;
    }
  }

  /* Animation styles */
  .animated-title {
    display: inline-block;
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
  }

  .letter-o {
    display: inline-block;
    color: #f39c12; /* Highlight color */
    font-weight: bold;
    font-size: 3rem;
    animation: pulse 3s infinite;
  }

  .animate-text {
    font-size: 1.2rem;
    animation: float 4s ease-in-out infinite;
  }

  /* General card styling */
  
  
  /* Hover effect for card */
  
.welcome-prefix {
  font-size: 19px;
  font-weight: 900;
  color: #ffc107; /* Bootstrap warning yellow */
  letter-spacing: 2px;
  user-select: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.welcome-prefix:hover {
  color: #fff3cd;
}

.username-text {
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  color: #dda652ff; /* lighter yellow */
  margin-left: -5px;
  user-select: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.username-text:hover {
  color: #fff7a1;
  text-shadow:
    0 0 8px #fff7a1,  
    0 0 15px #fff7a1;
}

/* Responsive adjustments */
@media (max-width: 200px) {
  .welcome-prefix,
  .username-text {
    font-size: 5px;
    letter-spacing: 1px;
    white-space: normal;  /* allow wrapping */
    margin-left: 4px;
  }
}

@media (max-width: 480px) {
  .welcome-prefix,
  .username-text {
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-left: 2px;
  }
}
/* Dropdown menu custom design */
                .navbar .dropdown-menu {
                  background: linear-gradient(135deg, #ffcc66 0%, #fffbe6 100%);
                  border-radius: 12px;
                  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
                  border: none;
                  min-width: 180px;
                  padding: 10px 0;
                  margin-top: 8px;
                  z-index: 999;
                }

                .navbar .dropdown-menu .dropdown-item {
                  color: #222;
                  font-weight: 600;
                  font-size: 15px;
                  padding: 10px 24px;
                  transition: background 0.2s, color 0.2s;
                  border-radius: 8px;
                }

                .navbar .dropdown-menu .dropdown-item:hover,
                .navbar .dropdown-menu .dropdown-item:focus {
                  background: #ffe0a3;
                  color: #f39c12;
                }

                .navbar .dropdown-toggle::after {
                  margin-left: 8px;
                  vertical-align: middle;
                }

.notification {
    text-align: center;
    margin-top: 10px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.notification.show {
    opacity: 1;
    display: block;
}
.success {
    background-color: #d4edda;
    color: #155724;
}
.error {
    background-color: #f8d7da;
    color: #721c24;
}
/* Transparent to solid effect */
  .custom-navbar {
    background: rgba(255, 191, 0, 0.23);
    transition: background-color 0.4s ease, padding 0.3s ease;
    backdrop-filter: blur(6px);
  }

  .custom-navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .nav-link {
    color: white !important;
    transition: color 0.3s ease;
  }

  .nav-link:hover {
    color: orange !important;
  }
  .navbar .nav-link {
      font-size: 14px; /* Smaller text */
      padding-top: 5px; /* Less vertical padding */
      padding-bottom: 5px;
      margin-right: 2px;  
  }

  .navbar-toggler {
    border: none;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='orange' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
  .navbar {
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0 20px; /* Optional: space inside */
      z-index: 1050;
  }

  
    .announcement-title {
      text-align: center;
      color: #ffc107;
      font-size: 2.0rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
      animation: fadeInSlide 1.5s ease-out;
      margin-bottom: 15px;
    }

    .slider-container {
      position: relative; 
      max-width: 1200px;
      width: 100vw;
      margin: auto;
      overflow: hidden;
      border-radius: 15px;
      background: rgba(0, 0, 0, 0.1);
      padding: 2vw 2vw;
      box-sizing: border-box;
    }

    .slider {
      display: flex;
      transition: transform 0.6s ease-in-out;
    }

    .slide {
      min-width: 100%;
      padding: 1vw 1vw;
      text-align: center;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .slide img {
      width: 100%;
      max-width: 220px;
      height: 80px;
      object-fit: cover;
      object-position: center;
      border-radius: 10px;
      margin-bottom: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.10);
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .slide img:hover {
      transform: scale(1.03);
      box-shadow: 0 6px 18px rgba(0,0,0,0.16);
    }

    .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.6);
      border: none;
      color: white;
      font-size: 2rem;
      cursor: pointer;
      padding: 12px 18px;
      border-radius: 50%;
      z-index: 10;
      transition: background 0.3s;
    }

    .nav-btn:hover {
      background: rgba(255, 255, 255, 0.3);
    }

    .prev { left: 15px; }
    .next { right: 15px; }

    @keyframes fadeInSlide {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Responsive Styling */
    @media (max-width: 1200px) {
      .slider-container {
      max-width: 98vw;
      padding: 3vw 1vw;
      }
      .slide img {
      max-width: 95vw;
      }
      .slide p, .slide h3 {
      max-width: 95vw;
      }
    }

    @media (max-width: 900px) {
      .slider-container {
      max-width: 98vw;
      padding: 3vw 1vw;
      }
      .slide img {
      max-width: 70vw;
      height: 60px;
      }
      .slide p, .slide h3 {
      max-width: 95vw;
      }
    }

    @media (max-width: 768px) {
      .announcement-title {
      font-size: 2rem;
      }
      .slider-container {
      padding: 2vw 0.5vw;
      }
      .slide img {
      max-width: 90vw;
      height: 40px;
      aspect-ratio: 16/9;
      }
      .slide h3 {
      font-size: 1.1rem;
      }
      .slide p {
      font-size: 0.9rem;
      }
      .nav-btn {
      font-size: 1.5rem;
      padding: 8px 12px;
      }
    }

    @media (max-width: 480px) {
      .announcement-title {
      font-size: 1.3rem;
      margin-bottom: 8px;
      }
      .slider-container {
      padding: 1vw 0vw;
      border-radius: 8px;
      }
      .slide img {
      max-width: 100vw;
      height: 40px;
      aspect-ratio: 16/9;
      }
      .slide h3 {
      font-size: 1rem;
      }
      .slide p {
      font-size: 0.85rem;
      }
      .nav-btn {
      font-size: 1.2rem;
      padding: 6px 10px;
      }
      .prev { left: 5px; }
      .next { right: 5px; }
    }
    /* About Section Professional Styling */
.about {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) center);
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-header h2 {
  font-size: 3rem;
  color: #ffcc00;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.about-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #ffc107, #ffcc00);
  margin: 15px auto;
  border-radius: 2px;
}

.about-header p {
  font-size: 1.2rem;
  color: #f1f1f1;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Main About Content */
.about-main {
  margin-bottom: 60px;
}

.about-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card .card-icon {
  font-size: 3rem;
  color: #ffcc00;
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 15px;
  font-weight: 600;
}

.about-card p {
  color: #f1f1f1;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h3 {
  font-size: 2.2rem;
  color: #ffcc00;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-header h3 i {
  margin-right: 15px;
  color: #eed706;
}

.section-header p {
  color: #f1f1f1;
  font-size: 1rem;
}

/* Company Info Section */
.company-info-section {
  margin-bottom: 60px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.info-card {
  background: rgba(192, 221, 24, 0.05);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 204, 0, 0.2);
}

.info-card .card-icon {
  font-size: 2rem;
  color: #ffcc00;
  margin-bottom: 15px;
}

.info-card h4 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.info-card p {
  color: #f1f1f1;
  line-height: 1.6;
}

/* Mission & Vision Section */
.mission-vision-section {
  margin-bottom: 60px;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.mission-vision-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.mission-vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.mission-card .card-header {
  background: linear-gradient(45deg, #ff9900, #ffcc00);
}

.vision-card .card-header {
  background: linear-gradient(45deg, #28a745, #20c997);
}

.card-header {
  padding: 25px;
  color: white;
  text-align: center;
}

.card-header .card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.card-header h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.card-content {
  padding: 25px;
}

.card-content p {
  color: #f1f1f1;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* Team Section */
.team-section {
  margin-bottom: 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.team-card {
  background: rgba(236, 231, 231, 0.05);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(241, 235, 235, 0.1);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff9900, #ffcc00);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

.team-info h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.team-role {
  color: #ffcc00;
  font-size: 0.95rem;
  font-weight: 500;
}

.no-team-message {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.no-team-message i {
  font-size: 3rem;
  color: #ffcc00;
  margin-bottom: 15px;
}

.no-team-message p {
  color: #f1f1f1;
  font-size: 1.1rem;
}

/* Statistics Section */
.stats-section {
  margin-top: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.stat-icon {
  font-size: 2.5rem;
  color: #ffcc00;
  margin-bottom: 15px;
}

.stat-content h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.stat-content p {
  color: #ffcc00;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about {
    padding: 60px 15px;
  }
  
  .about-header h2 {
    font-size: 2.2rem;
  }
  
  .section-header h3 {
    font-size: 1.8rem;
  }
  
  .mission-vision-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .about-card,
  .info-card,
  .card-content,
  .card-header {
    padding: 25px 20px;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .about-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header h3 {
    font-size: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .about-card,
  .info-card {
    padding: 20px 15px;
  }
}

/* Animation Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-card,
.info-card,
.mission-vision-card,
.team-card,
.stat-item {
  animation: fadeInUp 0.6s ease-out;
}

.about-card:nth-child(2) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.mission-vision-card:nth-child(2) { animation-delay: 0.3s; }
.team-card:nth-child(2) { animation-delay: 0.1s; }
.team-card:nth-child(3) { animation-delay: 0.2s; }
.team-card:nth-child(4) { animation-delay: 0.3s; }
/* Contact Section Styling */
.contact {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) center);
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 3rem;
  color: #ffcc00;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.contact-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #ff9900, #ffcc00);
  margin: 15px auto;
  border-radius: 2px;
}

.contact-header p {
  font-size: 1.2rem;
  color: #f1f1f1;
  max-width: 600px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Contact Info Styling */
.contact-info {
  background: rgba(245, 239, 239, 0.05);
  padding: 40px 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
  margin-bottom: 30px;
  text-align: center;
}

.info-item i {
  font-size: 2.5rem;
  color: #ffcc00;
  margin-bottom: 15px;
  display: block;
}

.info-item h4 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 8px;
  font-weight: 600;
}

.info-item p {
  color: #f1f1f1;
  font-size: 1rem;
  line-height: 1.6;
}

/* Contact Form Styling */
.contact-form {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
  color: #000000; /* Added color for text input */
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ffcc00;
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button Styling */
.submit-btn {
  background: linear-gradient(45deg, #ff9900, #ffcc00);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: auto; /* Adjust width to fit content */
  display: block; /* Make it a block element */
  margin: 20px auto 0; /* Center the button */
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 153, 0, 0.4);
}

.submit-btn i {
  margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form,
  .contact-info {
    padding: 30px;
  }
}

.submit-btn {
  background: linear-gradient(45deg, #ff9900, #ffcc00);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 153, 0, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn i {
  margin-right: 8px;
}

/* Enhanced Notification Styling */
.notification {
  margin-top: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.notification.show {
  display: flex;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
}

.notification i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.notification.success {
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  border-left: 4px solid #155724;
}

.notification.error {
  background: linear-gradient(45deg, #dc3545, #fd7e7e);
  color: white;
  border-left: 4px solid #721c24;
}

/* Directory Overlay for background dimming */
.directory-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(30,30,30,0.75);
  z-index: 0;
  pointer-events: none;
}

/* Directory Header and Search Bar */
.directory-header {
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  padding: 24px 24px 12px 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
}
.search-bar {
  max-width: 400px;
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 4px 10px;
}
.search-bar input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.1rem;
  flex: 1;
  padding: 8px 6px;
  font-family: inherit;
}
.search-bar i {
  color: #4b2e83;
  font-size: 1.2rem;
  margin-right: 8px;
}

/* Featured Badge */
.featured-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ffd700 60%, #fffbe6 100%);
  color: #4b2e83;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 3px 14px;
  margin-bottom: 6px;
  margin-right: 8px;
  box-shadow: 0 2px 8px rgba(255,215,0,0.10);
  letter-spacing: 1px;
}

/* Directory Card Improvements */
.school-card, .food-card, .fashion-card, .church-card, .automotive-card {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  border: none;
  min-height: 180px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.school-card:hover, .food-card:hover, .fashion-card:hover, .church-card:hover, .automotive-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 10px 24px rgba(0,0,0,0.13);
  border-color: #ffe082;
}
.card-body {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 18px;
}
@media (max-width: 900px) {
  .card-body { flex-direction: column; align-items: center; }
}
@media (max-width: 600px) {
  .directory-header { padding: 12px 4vw 8px 4vw; }
  .card-body { padding: 12px 4vw; }
}

.welcome-prefix:hover {
  color: #fff3cd;
}

.username-text {
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  color: #dda652ff; /* lighter yellow */
  margin-left: -5px;
  user-select: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.username-text:hover {
  color: #fff7a1;
  text-shadow:
    0 0 8px #fff7a1,
    0 0 15px #fff7a1;
}

/* Responsive adjustments */
@media (max-width: 200px) {
  .welcome-prefix,
  .username-text {
    font-size: 5px;
    letter-spacing: 1px;
    white-space: normal;  /* allow wrapping */
    margin-left: 4px;
  }
}

@media (max-width: 480px) {
  .welcome-prefix,
  .username-text {
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-left: 2px;
  }
}
/*new cards css index*/

/* Card Grid Layout */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 20px;
}

/* Card */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
}

/* Image */
.card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover .card-image img {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

/* Content */
.card-content {
  padding: 15px;
  text-align: center;
  flex: 1;
  background: #faf9f6;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #222;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.card-content p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 18px;
  line-height: 1.5;
}

/* Button */
.card-content .btn {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(90deg, #197906 60%, #43a047 100%);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(25,121,6,0.08);
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

.card-content .btn:hover {
  background: linear-gradient(90deg, #43a047 60%, #197906 100%);
  box-shadow: 0 4px 16px rgba(25,121,6,0.16);
  transform: translateY(-2px) scale(1.04);
}

/* Services Container Styling */
.services-container {
  background: rgba(30, 30, 30, 0.85);
  border-radius: 18px;
  padding: 36px 24px 32px 24px;
  margin: 32px auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.13);
}

/* Card Content Readability for Services */
.services-container .card-content {
  background: transparent;
  color: #fff;
}

.services-container .card-content h3 {
  color: #ffe082;
  font-weight: 700;
  font-size: 1.18rem;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.services-container .card-content p {
  color: #f3f3f3;
  font-size: 1.01rem;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

/* Card Button in Services */
.services-container .card-content .btn {
  background: linear-gradient(90deg, #ffb300 60%, #ffcc80 100%);
  color: #222;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(255,179,0,0.10);
}

.services-container .card-content .btn:hover {
  background: linear-gradient(90deg, #ffd54f 60%, #ffb300 100%);
  color: #111;
}

/* Responsive for services-container */
@media (max-width: 900px) {
  .services-container {
    padding: 18px 6px 18px 6px;
  }
}

@media (max-width: 600px) {
  .services-container {
    padding: 8px 2vw 8px 2vw;
    border-radius: 10px;
  }
}

/* Announcement Section - New Styles */
.announcement-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) center);
  position: relative;
  z-index: 1;
  margin-bottom: 60px;
}

.announcement-title {
  text-align: center;
  color: #ffc107;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  position: relative;
}

.announcement-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #ffc107, #ffcc00);
  margin: 15px auto;
  border-radius: 2px;
}

.announcement-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.announcement-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.announcement-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  overflow: hidden;
  margin-bottom: 15px;
}

.announcement-img img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 18px 18px 0 0;
  background: #222;
}

.announcement-content {
  padding: 18px 12px 14px 12px;
  flex: 1;
}

.announcement-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffcc00;
  font-weight: 600;
}

.announcement-content p {
  color: #f1f1f1;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Responsive adjustments for Announcement */
@media (max-width: 700px) {
  .announcement-item {
    flex-direction: column;
    min-height: unset;
  }
  .announcement-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 18px 18px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    overflow: hidden;
  }
  .announcement-img img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 18px 18px 0 0;
    background: #222;
  }
  .announcement-content {
    padding: 18px 12px 14px 12px;
  }
}
