/* ============================================================================
   TRAUMA 2026 - Custom Styles & Animations
   Professional Medical Conference Website
   ============================================================================ */

/* Root Variables */
:root {
    --navy: #001a33;
    --light-navy: #003d66;
    --dark-navy: #000d1a;
    --danger: #e74c3c;
    --warning: #f39c12;
    --success: #27ae60;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --off-white: #F8FAFC;
    --text-dark: #2c3e50;
    --text-muted: #7f8c8d;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.2);
    --gold: #d4af37;
    --cream: #e8d7c3;
    --black: #0a0a0a;
    --blue: #3498db;
}

/* Base Styles */
* {
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 1rem;
    /* 16px */
    font-weight: 400;
    margin: 0;
    padding: 0;
}

/* Typography */
h1 {
    font-size: 3rem;
    /* 48px */
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    /* 40px */
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
    /* 32px */
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    /* 24px */
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    /* 20px */
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    /* 16px */
    font-weight: 500;
}

p {
    font-size: 1rem;
    /* 16px */
    margin-bottom: 15px;
}

small {
    font-size: 0.875rem;
    /* 14px */
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

a {
    font-size: 1rem;
    text-decoration: none;
    color: #2563eb;
    transition: 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

.lead {
    font-weight: 400;
}

/* Utility Classes */
.bg-navy {
    background-color: var(--navy) !important;
}

.bg-light-navy {
    background-color: var(--light-navy) !important;
}

.text-navy {
    color: var(--navy) !important;
}

button,
.btn {
    font-size: 1rem;
    /* 16px */
    font-weight: 500;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

input,
textarea,
select {
    font-size: 1rem;
    /* 16px */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

label {
    font-size: 0.95rem;
    /* 15px */
    font-weight: 500;
}

table {
    font-size: 1rem;
}

th {
    font-size: 1rem;
    font-weight: 600;
}

td {
    font-size: 0.95rem;
}

ul,
ol {
    font-size: 1rem;
}

li {
    margin-bottom: 8px;
}


@media (max-width: 768px) {

    body {
        font-size: 15px !important;
    }

    h1 {
        font-size: 2.2rem !important;
        /* 35px */
    }

    h2 {
        font-size: 1.8rem !important;
        /* 29px */
    }

    h3 {
        font-size: 1.5rem !important;
        /* 24px */
    }

    h4 {
        font-size: 1.3rem !important;
        /* 21px */
    }

    h5 {
        font-size: 1.1rem !important;
        /* 18px */
    }

    nav a {
        font-size: 0.95rem !important;
        /* 15px */
    }

    button,
    .btn {
        font-size: 0.95rem !important;
        padding: 10px 20px;
    }

    input,
    textarea,
    select {
        font-size: 0.95rem !important;
    }
}

/* ============================================================================
   NAVIGATION BAR STYLES
   ============================================================================ */

.navbar {
    background-color: var(--navy) !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 26, 51, 0.1);
}

.navbar-brand {
    font-size: 1.5rem !important;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.5rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--danger) !important;
}

.navbar-dark .navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--danger);
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:not(.dropdown-toggle):hover::after {
    width: 100%;
}

.navbar .dropdown-menu {
    border: none;
    border-radius: 0px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn .3s ease;
}

.navbar .dropdown-item {
    padding: 5px 18px;
    border-radius: 0px;
    transition: 0.3s;
    font-weight: 300;
}

.navbar .dropdown-item:hover {
    background: #06B6D4;
    color: #fff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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


.btn-cta {
    background-color: var(--danger) !important;
    color: var(--white) !important;
    border-radius: 5px;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border: 2px solid var(--danger);
}

.btn-cta:hover {
    background-color: transparent !important;
    color: var(--danger) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #001a33 0%, #003d66 100%); 
    color: white; 
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-section .hero-details p {
    font-size: 1.3rem;
    font-weight: 500;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(20px);
    }
}

.hero-section h1 {
    animation: slideInDown 0.8s ease-out both;
    line-height: 1.2;
}

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

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

.btn-danger {
    background-color: var(--danger) !important;
    border-color: var(--danger) !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-danger:hover {
    background-color: #c0392b !important;
    border-color: #c0392b !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.hover-scale {
    transition: all 0.3s ease;
}

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

.btn-outline-light {
    border-width: 2px;
    border-color: var(--white) !important;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--white) !important;
    color: var(--navy) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.stat-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: bounceIn 0.8s ease-out 0.5s both;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================================================
   CAROUSEL SECTION
   ============================================================================ */

.carousel-section {
    background: linear-gradient(135deg, #0a0e27 0%, #1a2a4a 100%);
    /* padding: 40px 0; */
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-inner {
    /* border-radius: 15px; */
    overflow: hidden;
    min-height: 500px;
    aspect-ratio: 16/9;
}

.carousel-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.carousel-item.active .carousel-img {
    animation: zoomIn 0.8s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(1.05);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
}

.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

.animate-caption {
    animation: slideUpCaption 0.8s ease forwards;
}

@keyframes slideUpCaption {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.carousel-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: titleSlide 0.8s ease 0.2s both;
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-text {
    font-size: 1.3rem;
    color: #e0e0e0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: textSlide 0.8s ease 0.4s both;
}

@keyframes textSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    gap: 10px;
}

.carousel-indicators [data-bs-target] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.carousel-indicators .active {
    background-color: var(--danger);
    border-color: var(--danger);
    width: 35px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(231, 76, 60, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.8;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--danger);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.6);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 25px;
    height: 25px;
    background-size: 25px 25px;
}

@media (max-width: 768px) {
    /* .carousel-section {
        padding: 30px 0;
    } */

    .carousel-inner {
        min-height: 350px;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .carousel-text {
        font-size: 1rem;
    }

    .carousel-caption {
        padding: 25px 15px;
        bottom: 0;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    /* .carousel-section {
        padding: 20px 0;
    } */

    .carousel-inner {
        min-height: 240px;
        /* border-radius: 10px; */
    }

    .carousel-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .carousel-text {
        font-size: 0.85rem;
    }

    .carousel-caption {
        padding: 15px 12px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        position: absolute;
        top: 50%;
    }

    .carousel-control-prev {
        left: 8px;
    }

    .carousel-control-next {
        right: 8px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 18px;
        height: 18px;
        background-size: 18px 18px;
    }

    .carousel-indicators {
        bottom: 12px;
        gap: 6px;
    }

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }

    .carousel-indicators .active {
        width: 28px;
        border-radius: 8px;
    }
}

/* ============================================================================
   ABOUT & FEATURES SECTION
   ============================================================================ */

.feature-card,
.workshop-card,
.accommodation-card,
.contact-card,
.membership-card,
.pricing-table-container,
.abstract-form-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.feature-card {
    border: 2px solid #f0f0f0;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    border-color: var(--danger);
    /* transform: translateY(-10px); */
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    border-radius: 50%;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(243, 156, 18, 0.2) 100%);
}

/* ============================================================================
   Istac Exceutive COMMITTEE SECTION
   ============================================================================ */

.istac-executive-card {
    background: var(--white);
    border: 2px solid purple;
    border-radius: 0px;
    padding: 10px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.istac-executive-card:hover {
    border-color: var(--danger);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}


/* ============================================================================
   COMMITTEE SECTION

   ============================================================================ */

.committee-member-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.member-image-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exec-member {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.org-role-card {
    background: white;
    border: 2px solid #dc3545;
    padding: 20px;
    border-radius: 8px;
}

.doc-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pdf-link {
    text-decoration: none;
    color: inherit;
}

.pdf-placeholder {
    background: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
}

.committee-card {
    background: var(--off-white);
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.committee-card:hover {
    border-color: var(--danger);
    /* transform: translateY(-8px); */
    box-shadow: var(--shadow-lg);
}

.committee-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--light-navy) 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.committee-card:hover .committee-avatar {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 26, 51, 0.3);
}

.committee-category {
    padding: 20px 0;
}

/* ============================================================================
   WORKSHOP SECTION
   ============================================================================ */

.workshop-card {
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.workshop-card:hover,
.accommodation-card:hover,
.membership-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.workshop-header {
    background: linear-gradient(135deg, var(--danger) 0%, #c0392b 100%);
    transition: all 0.3s ease;
}

.workshop-card:hover .workshop-header {
    transform: scale(1.02);
}

.workshop-card h5 {
    color: var(--text-dark);
    margin-top: 10px;
}

.workshop-fee {
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.workshop-card ul li {
    transition: all 0.3s ease;
}

.workshop-card:hover ul li {
    transform: translateX(5px);
}

/* ============================================================================
   FEES & TABLES
   ============================================================================ */

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table {
    margin-bottom: 0;
    border: none;
}

.table thead {
    background-color: var(--navy) !important;
    color: var(--white) !important;
    font-weight: 600;
}

.table-navy {
    background-color: var(--navy) !important;
    color: var(--white) !important;
}

.table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.01);
}

.table td {
    padding: 1.2rem;
    vertical-align: middle;
}

.table th {
    padding: 1.2rem;
    vertical-align: middle;
    font-weight: 600;
    border: none;
}

/* ============================================================================
   ACCOMMODATION SECTION
   ============================================================================ */

.accommodation-card {
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.accommodation-header {
    padding: 20px;
    transition: all 0.3s ease;
}

.accommodation-card:hover .accommodation-header {
    padding: 25px;
}

.accommodation-card p,
.accommodation-card li {
    color: var(--text-dark);
}

.rate-info {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, rgba(243, 156, 18, 0.05) 100%);
    border-left: 4px solid var(--danger);
}

/* ============================================================================
   CONTACT SECTION
   ============================================================================ */

.contact-card {
    padding: 30px;
    border: 2px solid #f0f0f0;
}

.contact-card:hover {
    border-color: var(--danger);
    /* transform: translateY(-8px); */
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    border-radius: 50%;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.15) rotate(-5deg);
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(243, 156, 18, 0.2) 100%);
}

.contact-card a {
    color: var(--danger);
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-card a:hover {
    text-decoration: underline;
}

.no-decoration-link {
    text-decoration: none !important;
}

/* ============================================================================
   REGISTRATION FORM
   ============================================================================ */

.registration-container {
    border: 1px solid #f0f0f0;
    background: var(--white);
    border-radius: 12px;
}

.form-section {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.form-section:last-child {
    border-bottom: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--danger);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: #bbb;
    font-weight: 300;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #ccc;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--danger);
    border-color: var(--danger);
}

.form-check-input:focus {
    border-color: var(--danger);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.15);
}

/* ============================================================================
   FOOTER SECTION
   ============================================================================ */

footer {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

footer .text-light {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--danger) !important;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--danger);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(231, 76, 60, 0.3);
}

/* ============================================================================
   ANIMATIONS & AOS CUSTOMIZATIONS
   ============================================================================ */

[data-aos] {
    opacity: 0;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Customize AOS animations */
.aos-animate[data-aos="fade-up"] {
    animation: fadeUpCustom 0.8s ease-out forwards;
}

.aos-animate[data-aos="fade-right"] {
    animation: fadeRightCustom 0.8s ease-out forwards;
}

.aos-animate[data-aos="fade-left"] {
    animation: fadeLeftCustom 0.8s ease-out forwards;
}

@keyframes fadeUpCustom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeLeftCustom {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================================================
   MEMBERSHIP SECTION
   ============================================================================ */

.membership-card {
    overflow: hidden;
    border: 1px solid #f0f0f0;
    position: relative;
}

.membership-card.premium {
    border: 2px solid var(--warning);
}

.membership-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--warning) 0%, #f39c12 100%);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.membership-header {
    padding: 25px;
    transition: all 0.3s ease;
}

.membership-card:hover .membership-header {
    padding: 30px;
}

.membership-benefits {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.membership-benefits ul li {
    transition: all 0.3s ease;
}

.membership-benefits ul li:hover {
    transform: translateX(8px);
}

.membership-fee {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    border: 2px solid var(--danger);
    border-radius: 10px;
}

.membership-card.premium .membership-fee {
    border-color: var(--warning);
}

.pricing-table-container {
    padding: 30px;
}

.pricing-table {
    margin-bottom: 0 !important;
}

.pricing-table thead {
    background-color: var(--navy) !important;
}

.pricing-table tbody tr:hover {
    background-color: rgba(231, 76, 60, 0.05);
}

/* ============================================================================
   ABSTRACT SUBMISSION SECTION
   ============================================================================ */

.form .form-section {
    border-bottom: 2px solid #f0f0f0;
    padding: 25px 0;
}

.form .form-section:last-child {
    border-bottom: none;
}

.form .form-section h5 {
    color: var(--navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.form .form-section i {
    color: var(--danger);
}

.form .form-label {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form .text-danger {
    font-size: 1.2rem;
}

.form .form-control,
.form .form-select {
    border-radius: 8px;
    padding: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form .form-control:focus,
.form .form-select:focus {
    box-shadow: 0 0 0 0.3rem rgba(231, 76, 60, 0.15);
}

.form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form .form-check {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.form .form-check:hover {
    background: rgba(231, 76, 60, 0.05);
    border-left: 4px solid var(--danger);
}

.form .form-check-input {
    width: 1.3rem;
    height: 1.3rem;
    border: 2px solid #ccc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form .form-check-input:checked {
    background-color: var(--danger);
    border-color: var(--danger);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.2);
}

.form .form-check-label {
    cursor: pointer;
    margin-left: 8px;
    margin-bottom: 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form .form-check:hover .form-check-label {
    color: var(--danger);
}

#word_count {
    color: var(--danger);
    font-weight: 700;
}

/* Word count warning/limit */
.word-count-warning {
    color: #f39c12;
}

.word-count-exceeded {
    color: var(--danger);
}

.form .alert {
    border-radius: 10px;
    border: none;
    animation: slideInDown 0.4s ease-out;
}

.form .alert-success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success);
}

.form .alert-danger {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

/* Medium screens (tablets) */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section h2 {
        font-size: 1.1rem;
    }

    .display-3 {
        font-size: 2.5rem !important;
    }

    .feature-card,
    .committee-card,
    .contact-card {
        padding: 20px;
    }

    .workshop-card,
    .accommodation-card {
        margin-bottom: 20px;
    }

    .table-responsive {
        font-size: 0.95rem;
    }

    .table td,
    .table th {
        padding: 0.9rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.95rem !important;
    }

    .navbar-brand {
        font-size: 1.2rem !important;
    }
}

/* Small screens (phones) */
@media (max-width: 576px) {
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section h2 {
        font-size: 1rem;
    }

    .display-3 {
        font-size: 1.75rem !important;
    }

    .lead {
        font-size: 1rem;
    }

    /* .btn {
        width: 100% !important;
        margin-bottom: 10px;
    } */

    .d-flex.gap-3.flex-wrap {
        flex-direction: column;
    }

    .feature-card,
    .committee-card,
    .contact-card {
        padding: 15px;
    }

    .stat-card {
        padding: 20px !important;
    }

    .table-responsive {
        font-size: 0.85rem;
    }

    .table td,
    .table th {
        padding: 0.7rem;
    }

    .navbar-brand {
        font-size: 1rem !important;
    }

    .navbar-nav {
        margin-top: 20px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }

    .registration-container {
        padding: 20px !important;
    }

    h1,
    .h1 {
        font-size: 1.8rem;
    }

    h2,
    .h2 {
        font-size: 1.4rem;
    }

    h5 {
        font-size: 1rem;
    }
}

/* Extra small screens */
@media (max-width: 420px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

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

    .btn-danger,
    .btn-outline-light {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }

    .py-5 {
        padding: 2.5rem 0 !important;
    }

    footer {
        padding: 2rem 0 !important;
    }
}

/* ============================================================================
   UTILITY ANIMATIONS
   ============================================================================ */

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--danger);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--danger);
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color, box-shadow;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--danger);
    border-radius: 5px;
}

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

/* ============================================================================
   THE SPIRITUAL HEART & HERITAGE SECTIONS - Premium Dark Theme
   ============================================================================ */

/* Spiritual Card Styles */
.spiritual-card,
.heritage-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #d4af37;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    display: flex;
    flex-direction: column;
}

.spiritual-card:hover,
.heritage-card:hover {
    transform: translateY(-15px);
    border-color: #f0d68a;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.08);
}


/* Card Image/Icon Wrapper */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #003d66 0%, #001a33 100%);
    padding: 0px;
    text-align: center;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
    transition: all 0.4s ease;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.spiritual-card:hover .card-image,
.heritage-card:hover .card-image {
    transform: scale(1.12) rotate(1deg);
}

/* Card Indicator (Numeric) */
.card-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37 0%, #f0d68a 100%);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.4s ease;
}

.spiritual-card:hover .card-indicator {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

/* Card Body Custom */
.card-body-custom {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.card-body-custom h5 {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.card-body-custom p {
    color: #e8d7c3;
    line-height: 1.6;
    font-weight: 300;
}

.spiritual-card:hover .card-body-custom h5,
.heritage-card:hover .card-body-custom h5 {
    color: #f0d68a;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Event Footer Bar */
.event-footer-bar {
    border-top: 3px solid #d4af37;
    border-bottom: 3px solid #d4af37;
    box-shadow: 0 -5px 20px rgba(212, 175, 55, 0.15),
        0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.event-footer-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(212, 175, 55, 0.05) 0%,
            rgba(212, 175, 55, 0.1) 50%,
            rgba(212, 175, 55, 0.05) 100%);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

/* ============================================================================
   MODAL POPUP STYLES - Static Backdrop with Scroll Prevention
   ============================================================================ */

/* Modal Container */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.modal.show {
    display: block;
}

/* Static Backdrop - Prevents closing when clicked outside */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    animation: backdropFadeIn 0.3s ease-out;
}

.modal-backdrop.show {
    opacity: 1;
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(2px);
    }
}

/* Modal Content */
.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    z-index: 1050;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: var(--white);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

/* Modal Header */
.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.modal-header .btn-close {
    padding: 0.25rem;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.modal-header .btn-close:hover {
    opacity: 0.75;
}

/* Modal Body */
.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}

/* Centered Modal */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

/* Size Variants */
.modal-sm {
    max-width: 300px;
}

.modal-dialog {
    max-width: 500px;
}

.modal-lg {
    max-width: 800px;
}

.modal-xl {
    max-width: 1140px;
}

/* Animated Popup */
.animated-popup {
    animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Body Scroll Prevention */
body.modal-open {
    overflow: hidden !important;
    padding-right: var(--scrollbar-width, 0);
}

/* Responsive Modal */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .modal-sm {
        max-width: none;
    }

    .modal-content {
        border-radius: 0.5rem;
    }
}

/* Modal Fade Animation */
.modal.fade {
    transition: opacity 0.3s linear;
    opacity: 0;
}

.modal.show {
    opacity: 1;
}

.event-footer-bar p {
    position: relative;
    z-index: 2;
    margin: 0;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes shimmer {

    0%,
    100% {
        background: linear-gradient(90deg,
                rgba(212, 175, 55, 0.05) 0%,
                rgba(212, 175, 55, 0.1) 50%,
                rgba(212, 175, 55, 0.05) 100%);
    }

    50% {
        background: linear-gradient(90deg,
                rgba(212, 175, 55, 0.1) 0%,
                rgba(212, 175, 55, 0.15) 50%,
                rgba(212, 175, 55, 0.1) 100%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive Design for New Sections */
@media (max-width: 768px) {

    .spiritual-card,
    .heritage-card {
        border-width: 1.5px;
    }

    .spiritual-card:hover,
    .heritage-card:hover {
        transform: translateY(-10px);
    }

    .card-indicator {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .card-image-wrapper {
        height: 200px;
    }

    .event-footer-bar p {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 576px) {
    .card-indicator {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        top: 10px;
        right: 10px;
    }

    .card-image-wrapper {
        height: 180px;
    }

    .event-footer-bar p {
        font-size: 0.9rem !important;
    }
}

/* ============================================================================
   PREMIUM SPLASH SCREEN WITH STAGGERED LETTER ANIMATION
   Medical-themed gradient with character-by-character fade & slide effect
   ============================================================================ */

.splash-screen-premium {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 25%, #2d3748 50%, #1a1f2e 75%, #0f1419 100%);
    background-size: 400% 400%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: medicalGradientShift 12s ease infinite;
    overflow: hidden;
}

.splash-screen-premium.fade-out {
    animation: splashScreenFadeOut 0.8s ease-out forwards;
}

.splash-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: splashSubtitleIn 0.8s ease-out 0.4s both;
}

.splash-loader {
    width: 50px;
    height: 50px;
    margin: 30px auto 0;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: splashLoaderSpin 1s linear infinite;
}

@keyframes splashLoaderSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes splashSubtitleIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes medicalGradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes splashScreenFadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }

    99% {
        opacity: 0;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.splash-content-premium {
    text-align: center;
    position: relative;
    z-index: 10;
}

.splash-title-premium {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: white;
    margin: 0;
    letter-spacing: 3px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(231, 76, 60, 0.2);
    line-height: 1.1;
}

/* Staggered letter animation styles */
.splash-title-premium .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: letterFadeUp 0.5s ease-out forwards, letterBounce 0.8s ease-in-out 1.5s forwards;
}

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

@keyframes letterBounce {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Spacing between words */
.splash-title-premium .word-gap {
    display: inline-block;
    width: 0.3em;
}

/* Subtle glow effect for the whole text */
.splash-title-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Mobile splash screen adjustments */
@media (max-width: 1024px) {
    .splash-title-premium {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    .splash-title-premium {
        font-size: 2.8rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 576px) {
    .splash-title-premium {
        font-size: 2rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 400px) {
    .splash-title-premium {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
}

/* ============================================================================
   ANIMATED CARD BORDER ANIMATIONS
   ============================================================================ */

.card::before {
    content: "";
    position: absolute;
    top: -2px;
    /* Pulls the border "out" from the card */
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(45deg,
            #ff0000, #ff7300, #fffb00, #48ff00,
            #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    /* Makes the gradient large enough to "move" */
    border-radius: 14px;
    /* Slightly larger than the card radius */
    animation: shimmer 10s linear infinite;
    filter: blur(5px);
    /* Adds the "glow" effect */
    opacity: 0.7;
}

@keyframes shimmer {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}


/* ============================================================================
   Social Media Sidebar - Fixed Position with Brand Colors and Hover Effects
   ============================================================================ */

/* .social-sidebar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1000;
}

.social-icon {
  margin-left: -200px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 50px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  width: 250px;
  margin-left: 0px;
  color: #fff;
}

.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.linkedin { background-color: #0077b5; }
.instagram { background-color: #e4405f; } */

/* ============================================================================
   ISTAC RESEARCH AWARDS SECTION
   ============================================================================ */

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

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #001a33;
    margin-bottom: 10px;
}

/* Award Cards */
.award-card {
    position: relative;
    background: #ffffff;
    border: 2px solid #e8d7c3;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 26, 51, 0.08);
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 26, 51, 0.15);
    border-color: #d4af37;
}

/* Card Indicator Badge */
.card-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37 0%, #f0d68a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: #000d1a;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.award-card:hover .card-indicator {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}



.award-icon {
    font-size: 3.5rem;
    color: #d4af37;
    transition: all 0.3s ease;
}

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

/* Card Body */
.card-body-custom {
    padding: 25px;
    border-top: 3px solid #d4af37;
}

.award-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #001a33;
    margin-bottom: 15px;
}

/* Award Requirements */
.award-requirements {
    margin-top: 10px;
}

.requirement-label {
    font-size: 0.9rem;
    color: #001a33 !important;
    margin-bottom: 8px;
}

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

.requirement-list li {
    font-size: 0.85rem;
    color: #2c3e50;
    padding-left: 20px;
    margin-bottom: 8px;
    position: relative;
}

.requirement-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Rules Alert */
.rules-alert {
    background-color: #fff8e1;
    border: 2px solid #f39c12;
    border-left: 5px solid #f39c12;
    padding: 20px 25px;
    border-radius: 8px;
}

.rules-alert h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #001a33;
    margin-bottom: 15px;
}

.rules-alert ul {
    margin: 0;
    padding-left: 20px;
}

.rules-alert li {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.rules-alert li:last-child {
    margin-bottom: 0;
}

.rules-alert strong {
    color: #001a33;
}

/* Benefit Cards */
.benefit-card {
    background: #ffffff;
    border: 2px solid #e8d7c3;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 26, 51, 0.08);
}

.benefit-card:hover {
    /* transform: translateY(8px); */
    box-shadow: 0 10px 25px rgba(0, 26, 51, 0.12);
    border-color: #d4af37;
}

/* Benefit Icon Wrapper */
.benefit-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d4af37 0%, #f0d68a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.benefit-icon {
    font-size: 2rem;
    color: #001a33;
}

/* Benefit Title & Detail */
.benefit-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #001a33;
    margin-bottom: 8px;
}

.benefit-detail {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
}

/* Oration Section */
.oration-section {
    background: linear-gradient(135deg, #003d66 0%, #001a33 100%);
    border-left: 5px solid #d4af37;
    border-radius: 12px;
    padding: 40px;
    color: #e8d7c3;
    box-shadow: 0 8px 25px rgba(0, 26, 51, 0.2);
}

.oration-badge {
    width: 70px;
    height: 70px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #001a33;
    transition: all 0.3s ease;
}

.oration-section:hover .oration-badge {
    transform: scale(1.1);
}

.oration-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 15px;
}

.oration-description {
    font-size: 1rem;
    color: #e8d7c3;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Oration Details */
.oration-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.detail-item {
    background: rgba(212, 175, 55, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #d4af37;
}

.detail-label {
    display: block;
    font-size: 0.85rem;
    color: #b8a58e;
    margin-bottom: 5px;
    font-weight: 600;
}

.detail-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #d4af37;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .award-title {
        font-size: 1.1rem;
    }

    .oration-title {
        font-size: 1.5rem;
    }

    .oration-details {
        grid-template-columns: 1fr;
    }

    .istac-awards-section {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }

    .award-card,
    .benefit-card {
        margin-bottom: 20px;
    }

    .card-image-wrapper {
        padding: 0px;
        min-height: 120px;
    }

    .award-icon {
        font-size: 2.5rem;
    }

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

    .requirement-list li {
        font-size: 0.8rem;
    }

    .oration-section {
        padding: 25px 20px;
    }

    .oration-title {
        font-size: 1.25rem;
    }

    .benefit-card {
        padding: 20px 15px;
    }

    .rules-alert {
        padding: 15px 20px;
    }

    .rules-alert ul {
        padding-left: 15px;
    }
}

/* ============================================================================
    LOADER OVERLAY - Fullscreen with Spinner and Text
      - Semi-transparent background to obscure content
      - Centered spinner with optional loading text
   ============================================================================ */

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #6f42c1, #17a2b8);
    background-size: 400% 400%;
    animation: gradientBG 8s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    backdrop-filter: blur(10px); /* glass effect */
}

/* Attractive spinner with glow */
.spinner {
    width: 70px;
    height: 70px;
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite, glow 1.5s ease-in-out infinite alternate;
}

/* Text under spinner */
.loader-text {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
}

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

/* Glow animation */
@keyframes glow {
    from { box-shadow: 0 0 10px #fff; }
    to { box-shadow: 0 0 25px #fff, 0 0 50px #007bff; }
}

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

#loader p {
    margin-top: 15px;
    font-size: 18px;
    font-family: Arial;
}

.animated-popup {
    animation: backInDown 0.7s both;
    border-radius: 1.5rem;
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

@keyframes backInDown {
    0% {
        transform: translateY(-1200px) scale(0.7);
        opacity: 0.7;
    }

    80% {
        transform: translateY(0px) scale(0.7);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


.form-select,
.form-control.is-valid {
    background-image: none !important;
    /* removes tick */
}

/* ============================================================================
    Error 404 page styles - Animated with Particle Background
   ============================================================================ */
/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4e73df, #1cc88a);
    z-index: -1;
}

.content {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 20px;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    animation: bounce 2s infinite;
}

.error-text {
    font-size: 26px;
    margin-bottom: 10px;
}

.sub-text {
    opacity: 0.9;
    margin-bottom: 25px;
}

.btn-home {
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-home:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Floating Illustration */
.illustration {
    width: 150px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ============================================================================
    Error-page styles - Animated with Particle Background
   ============================================================================ */

h1 {
    color: #c0392b;
}

.box {
    background: #fafafa;
    padding: 15px;
    border-left: 5px solid #e74c3c;
    margin-bottom: 20px;
}

pre {
    background: #111;
    color: #0f0;
    padding: 15px;
    overflow-x: auto;
    border-radius: 5px;
}

.label {
    font-weight: bold;
}


/* succcess page  */

.success-card {
    border: none;
    border-radius: 20px;
    padding: 30px;
    margin: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #fff;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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