/* CSS - style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header */
.header {
    background: transparent !important;
    background-image: none !important;
    color: #fff;
    padding: 1rem 0;
    box-shadow: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    opacity: 0.8;
}

.admin-btn {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.admin-btn:hover {
    background: rgba(255,255,255,0.3);
}

/********************
 * Video Hero (new)
 ********************/
.video-hero {
    position: relative;
    width: 100%;
    height: clamp(560px, 90vh, 1200px);
    overflow: hidden;
    background: transparent !important;
}

.video-bg,
.video-fallback {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-hero .video-bg {
    transform: translateZ(0);
    will-change: transform;
}

.video-overlay {
    position: fixed;
    inset: 0;
    background: transparent !important;
    z-index: -1;
}

.video-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 0 1rem;
    z-index: 2;
}

.video-hero-title {
  font: 'Anton';
  color: #FFFFFF;
  font-weight: 900;
  font-size: 70px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  -webkit-text-stroke: 2px #000;
}

.video-hero-subtitle {
  margin-top: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  opacity: 1;
  font-size: 50px;
  font:'Anton';
  color: #FFFFFF;
  text-align: center;
  -webkit-text-stroke: 1.5px #000;
}
@media (max-width: 576px) {
    .video-hero { 
        height: clamp(420px, 80vh, 900px); 
        padding-top: 80px; /* Account for fixed navbar */
    }
    .video-hero-title { 
        font-size: 2.5rem;
        letter-spacing: 0.02em; 
        line-height: 1.2;
        padding: 0 20px;
    }
    .video-hero-subtitle { 
        font-size: 1.5rem;
        letter-spacing: 0.12em; 
        margin-top: 1rem;
    }
}

/********************
 * Hero Section
 ********************/
.hero {
    background: linear-gradient(135deg, #FF3AAE 0%, #FF73C3 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 4rem 0;
}

main, .main-content, #maincontent {
    flex: 1 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 300;
}

/* Filters */
.filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #FF3AAE 0%, #FF73C3 100%);
    color: white;
    border-color: #FF3AAE;
}

/* Announcements */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.announcement-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #3498db;
    backdrop-filter: saturate(140%) blur(2px);
}

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

.announcement-card.urgent {
    border-left-color: #e74c3c;
}

.announcement-card.event {
    border-left-color: #f39c12;
}

.announcement-card.notice {
    border-left-color: #27ae60;
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.announcement-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.announcement-category {
    background: #3498db;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.announcement-category.urgent {
    background: #e74c3c;
}

.announcement-category.event {
    background: #f39c12;
}

.announcement-category.notice {
    background: #27ae60;
}

.announcement-content {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.announcement-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #999;
}

.admin-actions-card {
    display: none;
    gap: 0.5rem;
}

.admin-actions-card.show {
    display: flex;
}

.btn-edit,
.btn-delete {
    padding: 0.3rem 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-edit {
    background: #f39c12;
    color: white;
}

.btn-delete {
    background: #e74c3c;
    color: white;
}

.no-announcements {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
}

/* Services */
.services {
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(233, 236, 239, 0.6);
    backdrop-filter: saturate(140%) blur(2px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.95);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-card p {
    margin-bottom: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #FF3AAE 0%, #FF73C3 100%);
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
    font-size: 14px;
    margin-top: auto;
    width: 100%;
}

.footer .container {
    justify-content: center;  /* Center content horizontally */
    flex-direction: column;   /* Stack elements vertically */
    align-items: center;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

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

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #000;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.btn-primary,
.btn-secondary,
.btn-danger {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

/* Admin Panel */
.admin-panel {
    background: #34495e;
    color: white;
    padding: 1rem 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.admin-actions {
    display: flex;
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .announcements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .admin-header {
        flex-direction: column;
        gap: 1rem;
    }

    .admin-actions {
        justify-content: center;
    }

    /* Mobile-specific improvements */
    .container {
        padding: 0 15px;
    }

    .announcements {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .filters {
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .announcement-card {
        margin-bottom: 20px;
    }

    .announcement-card .card-header {
        padding: 15px;
    }

    .announcement-card .card-body {
        padding: 20px;
    }

    .card-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .card-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .view-all-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero {
        padding: 2rem 0;
    }

    section {
        padding: 2rem 0;
    }

    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Extra small mobile improvements */
    .video-hero-title {
        font-size: 2rem;
        line-height: 1.1;
        padding: 0 15px;
    }

    .video-hero-subtitle {
        font-size: 1.2rem;
        margin-top: 0.8rem;
    }

    .announcements {
        padding: 30px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .filters {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .filter-btn {
        width: 200px;
        text-align: center;
        padding: 10px 20px;
        font-size: 14px;
    }

    .announcements-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }

    .announcement-card {
        margin-bottom: 15px;
    }

    .announcement-card .card-header {
        padding: 12px;
    }

    .announcement-card .card-body {
        padding: 15px;
    }

    .card-title {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .card-text {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .view-all-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.5rem;
        margin-bottom: 15px;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}
/* Announcements Section Styles for Index Page */
.announcements {
    padding: 60px 0;
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Ensure white heading for Services section on homepage even if services.css overrides */
#services .section-header h2 {
    color: #fff !important;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #FF3AAE 0%, #FF73C3 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 58, 174, 0.4);
}

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

.announcement-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: none;
    backdrop-filter: saturate(140%) blur(2px);
}

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

.announcement-card .card-header {
    background: linear-gradient(135deg, #FF3AAE 0%, #FF73C3 100%);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 0;
}

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

.category-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.announcement-date i {
    font-size: 0.8rem;
}

.card-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Priority Indicators */
.priority-high {
    border-left: 6px solid #dc3545;
    position: relative;
}

.priority-high::before {
    content: "HIGH PRIORITY";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

.priority-medium {
    border-left: 6px solid #ffc107;
}

.priority-normal {
    border-left: 6px solid #28a745;
}

.view-all-btn {
    background: linear-gradient(135deg, #FF3AAE 0%, #FF73C3 100%);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.no-announcements {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: saturate(140%) blur(2px);
}

.no-announcements p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .announcements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .announcement-card .card-header {
        padding: 15px;
    }
    
    .announcement-card .card-body {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .view-all-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .announcements {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        text-align: center;
    }
    
    .announcements-grid {
        margin-top: 20px;
    }
    
    .priority-high::before {
        font-size: 0.6rem;
        padding: 3px 6px;
        top: 8px;
        right: 8px;
    }
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.modal-content {
  background: white;
  margin: 15% auto;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  text-align: center;
}

.modal .btn-primary {
  margin-top: 20px;
}

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

.announcement-card {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Professional Service Request Notification Modal */
.service-notification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-notification-modal.show {
    opacity: 1;
}

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

.service-notification-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    margin: 20px;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.service-notification-modal.show .service-notification-content {
    transform: scale(1);
}

/* Gradient Header for Service Modal */
.service-notification-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #FF3AAE 0%, #FF73C3 100%);
    border-radius: 20px 20px 0 0;
}

.service-notification-content h3 {
    color: #fff;
    margin-top: 40px;
    font-weight: 700;
}


.notification-icon {
    background: linear-gradient(135deg, #FF3AAE 0%, #FF73C3 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px;
    position: relative;
}

.notification-icon::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 58, 174, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.notification-icon i {
    font-size: 2rem;
    color: #ffffff;
    z-index: 1;
}

.notification-header {
    text-align: center;
    padding: 0 30px;
    margin-bottom: 15px;
}

.notification-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.notification-body {
    text-align: center;
    padding: 0 30px;
    margin-bottom: 30px;
}

.notification-body p {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.notification-subtitle {
    font-size: 0.95rem !important;
    color: #8892a0 !important;
    font-style: italic;
}

.notification-actions {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-notification-primary,
.btn-notification-secondary {
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 140px;
    justify-content: center;
}

.btn-notification-primary {
    background: linear-gradient(135deg, #FF3AAE 0%, #FF73C3 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 58, 174, 0.3);
}

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

.btn-notification-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.btn-notification-secondary:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
}

/* Click effect for service cards */
.clickable-service {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.clickable-service:hover {
    cursor: pointer;
}

.clickable-service:active {
    transform: scale(0.98);
}

/* Pulse animation for notification icon */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Responsive design for notification modal */
@media (max-width: 768px) {
    .service-notification-content {
        max-width: 400px;
        margin: 15px;
    }
    
    .notification-icon {
        width: 70px;
        height: 70px;
        margin: 25px auto 15px;
    }
    
    .notification-icon i {
        font-size: 1.8rem;
    }
    
    .notification-header h3 {
        font-size: 1.6rem;
    }
    
    .notification-body {
        padding: 0 25px;
        margin-bottom: 25px;
    }
    
    .notification-body p {
        font-size: 1rem;
    }
    
    .notification-actions {
        padding: 15px 25px 25px;
        flex-direction: column;
    }
    
    .btn-notification-primary,
    .btn-notification-secondary {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .service-notification-content {
        max-width: 350px;
        margin: 10px;
    }
    
    .notification-header {
        padding: 0 20px;
    }
    
    .notification-body {
        padding: 0 20px;
    }
    
    .notification-actions {
        padding: 15px 20px 20px;
    }
}

/* Announcement Detail Modal Styles */
.announcement-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.announcement-detail-modal.show {
    opacity: 1;
}

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

.announcement-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: modalSlideUp 0.3s ease-out forwards;
}

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

/* Close Button */
.announcement-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #666;
}

.announcement-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
    transform: rotate(90deg);
}

.announcement-modal-close i {
    font-size: 1.2rem;
}

/* Modal Header */
.announcement-modal-header {
    background: linear-gradient(135deg, #FF3AAE 0%, #FF73C3 100%);
    color: white;
    padding: 30px 40px 25px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.announcement-modal-category {
    background: rgba(255, 255, 255, 0.25);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.announcement-modal-date {
    font-size: 0.95rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-modal-date i {
    font-size: 0.9rem;
}

/* Modal Body */
.announcement-modal-body {
    padding: 40px;
}

.announcement-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

.announcement-priority-banner {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: priorityPulse 2s infinite;
}

.announcement-priority-banner i {
    font-size: 1.1rem;
    animation: shake 0.5s infinite alternate;
}

.announcement-modal-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.announcement-modal-actions {
    margin-bottom: 20px;
}

.btn-announcement-action {
    background: linear-gradient(135deg, #FF3AAE 0%, #FF73C3 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 58, 174, 0.3);
}

.btn-announcement-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 58, 174, 0.4);
    color: white;
    text-decoration: none;
}

.btn-announcement-action i {
    font-size: 0.9rem;
}

/* Modal Footer */
.announcement-modal-footer {
    padding: 20px 40px 30px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.btn-announcement-close {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #e9ecef;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-announcement-close:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
}

/* Enhanced hover effects for announcement cards */
.announcement-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.announcement-card:hover::before {
    animation: shimmer 1.5s ease-in-out infinite;
}

.announcement-card:hover {
    cursor: pointer;
}

/* Click indicator */
.announcement-card:active {
    transform: translateY(-5px) scale(0.98);
}

/* Animations */
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes priorityPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-1px); }
    100% { transform: translateX(1px); }
}

@keyframes shimmer {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

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

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

.announcement-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.announcement-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF3AAE, #FF73C3);
    border-radius: 10px;
}

.announcement-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FF0099, #FF3AAE);
}

/* Responsive Design */
@media (max-width: 768px) {
    .announcement-modal-content {
        max-width: 95%;
        margin: 10px;
        max-height: 85vh;
    }
    
    .announcement-modal-header {
        padding: 25px 25px 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .announcement-modal-body {
        padding: 30px 25px;
    }
    
    .announcement-modal-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .announcement-modal-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .announcement-modal-footer {
        padding: 15px 25px 25px;
    }
    
    .announcement-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .btn-announcement-action {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .announcement-modal-content {
        max-width: 98%;
        margin: 5px;
        max-height: 90vh;
    }
    
    .announcement-modal-header {
        padding: 20px 20px 15px;
    }
    
    .announcement-modal-body {
        padding: 25px 20px;
    }
    
    .announcement-modal-title {
        font-size: 1.4rem;
    }
    
    .announcement-modal-text {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .announcement-modal-footer {
        padding: 15px 20px 20px;
    }
    
    .announcement-priority-banner {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* Loading state for announcements */
.announcement-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.announcement-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid  #FF73C3 100%;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Enhanced filter button animations */
.filter-btn {
    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.2), transparent);
    transition: left 0.5s;
}

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

.filter-btn.active {
    position: relative;
    overflow: hidden;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FF3AAE, #FF73C3);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* === Mobile Touch Improvements === */
/* Improve touch targets */
.clickable-service, .announcement-card, .filter-btn, .btn {
  min-height: 44px; /* iOS recommended touch target size */
  min-width: 44px;
}

/* Prevent zoom on input focus (iOS) */
input, textarea, select {
  font-size: 16px;
}

/* Smooth scrolling for mobile */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Improve mobile performance */
.announcement-card, .service-card {
  will-change: transform;
  transform: translateZ(0);
}

/* === IDMS Text === */
/* Fullscreen loader background */
#loader-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000; /* dark background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Hide loader when not active */
#loader-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* ✅ allows clicks to pass through */
}

/* Centered loader */
.loader {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glowing animated gradient text */
.loader-text {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
  background: linear-gradient(
    90deg,
    #973BED,
    #007CFF,
    #FFC800,
    #00E0ED,
    #973BED
  );
  background-size: 400%;
  animation: gradientMove 4s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gradient movement animation */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}