/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Oracle Brand Colors */
    --oracle-red: #FF0000;
    --oracle-red-dark: #CC0000;
    --oracle-red-light: #FF3333;
    
    /* Supporting Colors */
    --primary-blue: #0066CC;
    --primary-blue-dark: #004499;
    --secondary-gray: #F8F9FA;
    --dark-gray: #343A40;
    --light-gray: #6C757D;
    --border-gray: #DEE2E6;
    --success-green: #28A745;
    --warning-orange: #FD7E14;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.text-red {
    color: var(--oracle-red);
}

.bg-red {
    background-color: var(--oracle-red);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease 0.4s forwards;
    opacity: 0;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 0.8s ease 0.6s forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.animate-slide-up-delay-3 {
    animation: slideUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gray);
    z-index: 1000;
    transition: all var(--transition-smooth);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--box-shadow);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
    color: var(--oracle-red);
}

.logo-placeholder {
  width: 50px;          
  height: 50px;          
  border-radius: 50%;     
  overflow: hidden;       
  display: flex;          
  align-items: center;    
  justify-content: center;
  background-color: #f0f0f0; 
}

.logo {
    width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: white;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    transition: color var(--transition-fast);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--oracle-red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--oracle-red);
    border-radius: 1px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 12px 24px;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--oracle-red);
    color: white;
}

.btn-primary:hover {
    background: var(--oracle-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--oracle-red);
    border: 2px solid var white;
}

.btn-secondary:hover {
    background: var(--oracle-red);
    color: white;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

.btn:active {
    transform: translateY(0);
}

.btn-loader {
    margin-left: var(--spacing-xs);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="800" r="400" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 250px);
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-left: 50px;
  margin-right: 50px;
  overflow: visible; 
}

.bubble {
  width: 250px;
  height: 250px;
  animation: bubbleBounce 3s ease-in-out infinite;
  animation-delay: var(--delay);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; 
}

.bubble img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  will-change: transform;
}


.bubble:hover {
  animation-play-state: paused;
}

.bubble:hover img {
  transform: scale(1.3) !important; /* Force zoom */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}


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

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: var(--font-weight-light);
    margin-bottom: var(--spacing-xl);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
section {
    padding: var(--spacing-xxl) 0;
}

.page-header {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: white;
    text-align: center;
    padding: calc(var(--header-height) + var(--spacing-xl)) 0 var(--spacing-xl) 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--dark-gray);
}

/* ===== FEATURES SECTION ===== */
.features {
    background: var(--secondary-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--oracle-red), var(--oracle-red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

.feature-card p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* ===== QUICK INFO SECTION ===== */
.quick-info {
    background: var(--dark-gray);
    color: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.info-item h3 {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--oracle-red);
    margin-bottom: var(--spacing-xs);
}

.info-item p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* ===== ABOUT CONTENT ===== */
.about-content {
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.content-text h2 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

.content-text h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    margin: var(--spacing-xl) 0 var(--spacing-md);
    color: var(--oracle-red);
}

.content-text p {
    margin-bottom: var(--spacing-md);
    color: var(--light-gray);
    line-height: 1.7;
}

.feature-list {
    margin: var(--spacing-md) 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--light-gray);
}

.feature-list i {
    color: var(--success-green);
    margin-top: 2px;
}

/* .access-levels {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
} */

.access-card {
    background: var(--secondary-gray);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--oracle-red);
}

.access-card h4 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
    color: var(--dark-gray);
}

.access-card i {
    color: var(--oracle-red);
}



/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--secondary-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.stat-item {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--oracle-red);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--light-gray);
}

/* ===== COMMITTEE SECTION ===== */
.committee-section {
    background: white;
}

.committee-category {
    margin-bottom: var(--spacing-xxl);
}

.category-title {
    font-size: 1.8rem;
    font-weight: var(--font-weight-semibold);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xl);
    text-align: left;
    position: relative;
    padding-left: var(--spacing-md);
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: var(--oracle-red);
    border-radius: 2px;
}

.members-grid-faculty {
    display: grid;
    grid-template-columns: 300px; /* fixed width for card */
    justify-content: center; /* center horizontally */
    gap: var(--spacing-xl);
}
.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}
.members-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

.member-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.member-card:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: var(--spacing-lg);
    text-align: center;
}

.member-name {
    font-size: 1.3rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
    color: var(--dark-gray);
}

.member-role {
    color: var(--oracle-red);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-md);
}

.member-description {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.member-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.member-social .social-link {
    width: 40px;
    height: 40px;
    background: var(--secondary-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    transition: all var(--transition-fast);
}

.member-social .social-link:hover {
    background: var(--oracle-red);
    color: white;
    transform: translateY(-2px);
}

/* ===== EVENTS SECTION ===== */
.events-filter {
    background: var(--secondary-gray);
    padding: var(--spacing-lg) 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background: white;
    border: 2px solid var(--border-gray);
    border-radius: 25px;
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--oracle-red);
    color: white;
    border-color: var(--oracle-red);
}

.events-section {
    background: white;
}

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

.event-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.event-image {
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--oracle-red);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
}

.event-badge.completed {
    background: var(--success-green);
}

.event-content {
    padding: var(--spacing-lg);
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.event-date {
    color: var(--light-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

.event-category {
    background: var(--secondary-gray);
    color: var(--dark-gray);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
}

.event-title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

.event-name {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.event-description {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    color: var(--light-gray);
}

.event-location,
.event-time,
.event-participants,
.event-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}
/* Swiper gallery styling */
.gallery-swiper {
  width: 100%;
  padding: 20px 0;
}

.gallery-swiper .swiper-slide {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.gallery-swiper img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  background: #f7f7f7;
}

.swiper-button-next,
.swiper-button-prev {
  color: #e10e0e;
}

.swiper-pagination-bullet {
    margin-top: 50px;
  background: #d61c1c!important;
  color:#e10e0e;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: var(--secondary-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-smooth);
}

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

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ===== LOGIN SECTION ===== */
.login-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + var(--spacing-lg)) var(--spacing-sm) var(--spacing-lg);
}

.login-container {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    max-width: 900px;
    width: 100%;
    overflow: hidden;
}

.login-content {
    padding: var(--spacing-xxl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
    justify-content: center;
  background-color: #f0f0f0; /* optional placeholder bg */
}

.login-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
     display: flex;
    flex-direction: column;
    align-items: center; /* centers horizontally */
    text-align: center;  /* centers text under logo */
}
.login-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden; /* keeps image inside circle */
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    background: white; /* optional: keeps edges clean */
}

.login-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ensures whole logo fits inside */
    object-position: center; /* keeps it centered */
}


.login-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

.login-subtitle {
    color: var(--light-gray);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
}

.input-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    padding-left: 45px;
    border: 2px solid var(--border-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--oracle-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.form-input::placeholder {
    color: var(--light-gray);
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-gray);
    pointer-events: none;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--light-gray);
    cursor: pointer;
    padding: 4px;
}

.password-toggle:hover {
    color: var(--oracle-red);
}

.form-textarea {
    padding-left: 16px;
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-gray);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--oracle-red);
    border-color: var(--oracle-red);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

.forgot-password {
    color: var(--oracle-red);
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: var(--spacing-md);
    color: var(--light-gray);
}

.register-link {
    color: var(--oracle-red);
    font-weight: var(--font-weight-medium);
}

.register-link:hover {
    text-decoration: underline;
}

.error-message {
    display: block;
    color: #DC3545;
    font-size: 0.875rem;
    margin-top: 4px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.error-message.show {
    opacity: 1;
}

.form-input.error {
    border-color: #DC3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Access Info */
.access-info {
    background: var(--secondary-gray);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
}

.access-info h3 {
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

.access-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.access-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.access-icon {
    width: 50px;
    height: 50px;
    background: var(--oracle-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.access-content h4 {
    margin-bottom: 4px;
    color: var(--dark-gray);
}

.access-content p {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: white;
}


.contact-info-section h2 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

.contact-info-section > p {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--secondary-gray);
    border-radius: var(--border-radius);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--oracle-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.method-content h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--dark-gray);
}

.method-content p {
    color: var(--light-gray);
    line-height: 1.5;
    margin: 0;
}

.contact-form-section h2 {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
    color: var(--dark-gray);
}

/* ===== MAP SECTION ===== */
.map-section {
    background: var(--secondary-gray);
}

.map-container {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    background: var(--secondary-gray);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    color: var(--oracle-red);
}

.map-placeholder p {
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.faq-item {
    background: var(--secondary-gray);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--oracle-red);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

.faq-answer {
    color: var(--light-gray);
    line-height: 1.6;
    margin: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
background-color: white; /* or whatever background */

}

.footer-brand-text {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--oracle-red);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    color: var(--oracle-red);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.contact-info i {
    color: var(--oracle-red);
    width: 16px;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--oracle-red);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    :root {
        --spacing-sm: 0.75rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }

    /* Header */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: white;
        transition: left var(--transition-smooth);
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-lg);
        height: 100%;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--border-gray);
        width: 100%;
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Sections */
    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Grids */
    .features-grid,
    .stats-grid,
    .members-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Content Grid */
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    /* Login */
    .login-content {
        grid-template-columns: 1fr;
        padding: var(--spacing-lg);
    }

    .access-grid {
        gap: var(--spacing-sm);
    }

    .access-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    /* Filter buttons */
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 var(--spacing-sm);
    }

    .filter-btn {
        white-space: nowrap;
    }
.cert-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cert-thumb {
  width: 220px;
  height: auto;
  border-radius: 4px;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.cert-thumb:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .contact-info {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }
}

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

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

    .page-title {
        font-size: 1.75rem;
    }

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

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .event-card,
    .member-card {
        margin: 0 var(--spacing-sm);
    }

    .login-content {
        padding: var(--spacing-md);
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

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

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

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.focus-visible:focus {
    outline: 2px solid var(--oracle-red);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .mobile-menu-toggle,
    .hero,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .page-header {
        background: none;
        color: black;
        padding: 0;
    }

    .btn {
        display: none;
    }
}
.gallery-item img {
  transition: transform 0.28s cubic-bezier(.41,.79,.43,1.18), box-shadow 0.32s;
}

.gallery-item:hover img {
  transform: scale(1.09);
  box-shadow: 0 10px 38px rgba(0,0,0,0.13), 0 3px 15px rgba(45,45,45,0.07);
  z-index: 2;
}
/* Style the gallery caption text */
.gallery-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px; /* ensures enough height for 1-2 lines */
  padding: 0.7em 0.5em;
  width: 100%;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--oracle-red);
  background-color: rgba(255, 0, 0, 0.09);
  border-radius: 0 0 14px 14px;
  box-shadow: inset 0 0 5px rgba(255, 0, 0, 0.16);
  text-align: center;
  word-break: break-word;
  line-height: 1.4;
  letter-spacing: 0.01em;
  /* optional for extra bold: */
  /* text-shadow: 0 1px 10px #fff, 0 1px 2px #fdeded; */
}

/* Responsive: Adjust font sizing for very small screens */
@media (max-width: 500px) {
  .gallery-caption {
    font-size: 0.99rem;
    padding: 0.6em 0.3em;
    min-height: 36px;
  }
}


/* Optional: Add a subtle underline highlight when hovering the entire card */
.gallery-item:hover .gallery-caption {
  background-color: rgba(255, 0, 0, 0.15);
  box-shadow: inset 0 0 8px rgba(255, 0, 0, 0.2);
}

/* Style event titles if present */
.event-title, .gallery-caption {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.gallery-item:hover .gallery-caption, 
.gallery-item:hover .event-title {
  color: var(--oracle-red);
  text-shadow: 0 0 3px rgba(255, 0, 0, 0.5);
}
/* Smooth transition for event cards */
.event-card {
  transition: transform 0.3s ease;
}

/* Pop-up effect without shadow */
.event-card:hover {
  transform: translateY(-8px);
  z-index: 10; /* to ensure it's above others */
}

/* Highlight background and text color on the info section */
.event-card:hover .event-content {
  background: #ffebe8; /* soft light red background */
  color: #a80000;      /* darker red text */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Change event title color on hover */
.event-card:hover .event-title {
  color: #b20000;
}

/* Change event meta text color on hover */
.event-card:hover .event-meta span {
  color: #d43131;
  font-weight: 600;
}
