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

:root {
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --text-primary: #e8e8e8;
    --text-secondary: #888;
    --accent-gold: #d4af37;
    --accent-blue: #4a90e2;
    --spacing: 8px;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ==========================================
   NAVIGATION BAR
========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--spacing) * 3) calc(var(--spacing) * 6);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease;
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing) * 4);
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Mobile menu icon */
.nav-menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-menu-icon span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* ==========================================
   PAGE SECTIONS - GENERAL
========================================== */
.page {
    min-height: 100vh;
    position: relative;
    padding: calc(var(--spacing) * 15) calc(var(--spacing) * 6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.page.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-label {
    position: absolute;
    top: calc(var(--spacing) * 10);
    left: calc(var(--spacing) * 6);
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--text-secondary);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* Individual page backgrounds */
#page1 {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    z-index: 5;
}

#page2 {
    background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
    z-index: 4;
}

#page3 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 3;
}

#page4 {
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
    z-index: 2;
}

#page5 {
    background: linear-gradient(135deg, #16213e 0%, #0f0f1a 100%);
    z-index: 1;
}

#page6 {
    background: linear-gradient(180deg, #0a0a0f 0%, #050508 100%);
    z-index: 0;
}

.section-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: calc(var(--spacing) * 8);
    color: var(--text-primary);
}

/* ==========================================
   PAGE 1 - HERO SECTION
========================================== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(var(--spacing) * 6);
}

/* Hero text content - LEFT SIDE */
.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 3;
    flex: 1;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing) * 3);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(50px, 10vw, 120px);
    font-weight: 300;
    letter-spacing: 8px;
    line-height: 1.1;
    margin-bottom: calc(var(--spacing) * 4);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: riseIn 0.6s forwards ease;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing) * 6);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.cta-button {
    padding: calc(var(--spacing) * 2) calc(var(--spacing) * 5);
    background: transparent;
    border: 2px solid var(--accent-gold);
    border-radius: 4px;
    color: var(--accent-gold);
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.cta-button:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Hero images - RIGHT SIDE */
.hero-visual {
    position: relative;
    width: 600px;
    height: 600px;
    flex-shrink: 0;
    z-index: 2;
}

/* Kalam statue (front) */
.statue-image {
    position: absolute;
    width: 100%;
    height: auto;
    top: -15%;
    left: 0;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(212,175,55,0.4));
    z-index: 2;
}

/* Tesla statue (back) */
.tesla-image {
    position: absolute;
    width: 90%;
    height: auto;
    right: -15%;
    top: -20%;
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(74,144,226,0.3));
    z-index: 1;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: calc(var(--spacing) * 5);
    left: calc(var(--spacing) * 6);
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-secondary);
    z-index: 3;
}

.scroll-line {
    width: 50px;
    height: 1px;
    background: var(--text-secondary);
    animation: scrollLine 2s ease-in-out infinite;
}

/* ==========================================
   PAGE 2 - TOPICS/CURRICULUM
========================================== */
.topics-container {
    max-width: 1000px;
    margin: 0 auto;
}

.topic-item {
    padding: calc(var(--spacing) * 4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 4);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.5s ease;
}

.topic-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.topic-item::before {
    content: attr(data-index);
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    min-width: 40px;
}

.topic-text {
    font-size: clamp(18px, 3vw, 36px);
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.topic-item:hover .topic-text {
    color: var(--accent-gold);
    transform: translateX(20px);
}

/* ==========================================
   PAGE 3 - STUDY MATERIALS
========================================== */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing) * 5);
    max-width: 1200px;
    margin: 0 auto;
}

.material-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.material-card:hover {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
}

.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(74, 144, 226, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-content {
    padding: calc(var(--spacing) * 4);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-number {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: calc(var(--spacing) * 2);
}

.material-card h3 {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: calc(var(--spacing) * 2);
}

.material-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing) * 3);
    flex-grow: 1;
}

.card-link {
    display: inline-block;
    padding: calc(var(--spacing) * 2) calc(var(--spacing) * 3);
    background: transparent;
    border: 1px solid var(--accent-gold);
    border-radius: 4px;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
}

.card-link:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

/* ==========================================
   PAGE 4 - ABOUT/PHILOSOPHY
========================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: calc(var(--spacing) * 10);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.statue-container {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.leaders-statue {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease, filter 0.6s ease;
    animation: float 6s ease-in-out infinite;
    filter:
      drop-shadow(0 0 10px rgba(255, 215, 0, 0.6))
      drop-shadow(0 0 25px rgba(255, 200, 0, 0.3));
}

.leaders-statue:hover {
    transform: scale(1.05);
    filter:
      drop-shadow(0 0 18px rgba(255, 215, 0, 0.9))
      drop-shadow(0 0 35px rgba(255, 200, 0, 0.7));
}

.about-right {
    padding: calc(var(--spacing) * 4);
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing) * 4);
}

.credentials {
    display: flex;
    gap: calc(var(--spacing) * 4);
    margin: calc(var(--spacing) * 6) 0;
    flex-wrap: wrap;
}

.credential-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    font-size: 14px;
    color: var(--text-secondary);
}

.cred-icon {
    font-size: 32px;
}

.explore-button {
    padding: calc(var(--spacing) * 2) calc(var(--spacing) * 5);
    background: transparent;
    border: 1px solid var(--text-secondary);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-button:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ==========================================
   PAGE 5 - PRICING
========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing) * 4);
    max-width: 1200px;
    margin: 0 auto calc(var(--spacing) * 10);
}

.pricing-card {
    padding: calc(var(--spacing) * 6);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: calc(var(--spacing) * 2);
    right: calc(var(--spacing) * 2);
    padding: calc(var(--spacing) * 1) calc(var(--spacing) * 2);
    background: var(--accent-gold);
    color: var(--bg-dark);
    font-size: 12px;
    letter-spacing: 1px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-tag {
    font-size: 32px;
    font-weight: 300;
    color: var(--accent-gold);
    margin-bottom: calc(var(--spacing) * 3);
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: calc(var(--spacing) * 4);
}

.price-features {
    list-style: none;
    margin-bottom: calc(var(--spacing) * 6);
}

.price-features li {
    padding: calc(var(--spacing) * 2) 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-features li::before {
    content: '→ ';
    color: var(--accent-gold);
    margin-right: calc(var(--spacing) * 1);
}

.price-button {
    width: 100%;
    padding: calc(var(--spacing) * 2);
    background: transparent;
    border: 1px solid var(--text-secondary);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.price-button:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-dark);
}

/* Additional services section */
.additional-services {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--spacing) * 6);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.additional-services h3 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: calc(var(--spacing) * 4);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 3);
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--spacing) * 3) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 16px;
    color: var(--text-secondary);
}

.service-price {
    color: var(--accent-gold);
}

/* ==========================================
   PAGE 6 - CONTACT
========================================== */
.connect-section {
    background: radial-gradient(circle at top left, rgba(25,25,35,0.8), rgba(5,5,10,0.95));
}

.connect-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
    max-width: 1400px;
    margin: 40px auto 0;
}

.connect-image {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 300px;
}

.stone-image {
    width: 90%;
    max-width: 420px;
    border-radius: 20px;
    transition: transform 0.4s ease, filter 0.6s ease;
    animation: float 6s ease-in-out infinite, pulseGlow 2.5s ease-in-out infinite;
    filter:
      drop-shadow(0 0 8px rgba(255, 0, 0, 0.6))
      drop-shadow(0 0 20px rgba(255, 0, 0, 0.4));
}

.stone-image:hover {
    transform: scale(1.05);
    filter:
      drop-shadow(0 0 12px rgba(255, 0, 0, 0.9))
      drop-shadow(0 0 28px rgba(255, 0, 0, 0.7));
}

.connect-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    min-width: 300px;
}

.contact-tagline {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.highlight-text {
    color: #ff4b4b;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #f0f0f0;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-link:hover {
    color: #ff3b3b;
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.contact-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 4px rgba(255, 0, 0, 0.6));
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 80px;
    font-size: 0.95rem;
    color: #aaa;
}

.footer-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 0, 0, 0.5), transparent);
    margin-bottom: 15px;
}

.footer-brand {
    color: #ff4b4b;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
}

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

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

@keyframes scrollLine {
    0%, 100% {
        transform: scaleX(1);
        opacity: 1;
    }
    50% {
        transform: scaleX(1.5);
        opacity: 0.5;
    }
}

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

@keyframes pulseGlow {
    0%, 100% {
        filter:
          drop-shadow(0 0 8px rgba(255, 0, 0, 0.6))
          drop-shadow(0 0 20px rgba(255, 0, 0, 0.4));
    }
    50% {
        filter:
          drop-shadow(0 0 12px rgba(255, 60, 60, 0.8))
          drop-shadow(0 0 30px rgba(255, 0, 0, 0.6));
    }
}

/* ==========================================
   RESPONSIVE DESIGN - TABLET
========================================== */
@media (max-width: 1024px) {
    .hero-container {
        gap: calc(var(--spacing) * 4);
    }
    
    .hero-visual {
        width: 450px;
        height: 450px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing) * 6);
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* ==========================================
   RESPONSIVE DESIGN - MOBILE
========================================== */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: calc(var(--spacing) * 2) calc(var(--spacing) * 3);
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        padding: calc(var(--spacing) * 4);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-menu-icon {
        display: flex;
    }
    
    /* Page sections */
    .page {
        padding: calc(var(--spacing) * 10) calc(var(--spacing) * 3);
    }
    
    .page-label {
        left: calc(var(--spacing) * 3);
        top: calc(var(--spacing) * 8);
    }
    
    /* Hero section - CENTER ON MOBILE */
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
        max-width: 100%;
    }
    
    .hero-visual {
        order: 1;
        width: 100%;
        max-width: 400px;
        height: 400px;
        margin: 0 auto;
    }
    
    .statue-image {
        position: relative;
        width: 100%;
    }
    
    .tesla-image {
        position: absolute;
        width: 85%;
        right: -10%;
        top: 5%;
        opacity: 0.3;
    }
    
    .hero-title {
        font-size: clamp(40px, 12vw, 60px);
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    /* Topics */
    .topic-item {
        flex-direction: column;
        align-items: flex-start;
        gap: calc(var(--spacing) * 2);
    }
    
    .topic-text {
        font-size: clamp(16px, 5vw, 24px);
    }
    
    /* Materials grid */
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    /* About section */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-right {
        padding: 0;
    }
    
    .credentials {
        justify-content: center;
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    /* Contact */
    .connect-container {
        flex-direction: column;
        text-align: center;
    }
    
    .connect-content {
        align-items: center;
    }
    
    .contact-links {
        align-items: center;
        width: 100%;
    }
    
    .scroll-indicator {
        left: calc(var(--spacing) * 3);
        bottom: calc(var(--spacing) * 3);
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: 4px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-button,
    .explore-button,
    .price-button {
        padding: calc(var(--spacing) * 2) calc(var(--spacing) * 3);
        font-size: 12px;
    }
}


/* Background image for the contact section */
#page6.connect-section {
    position: relative;
    background: rgba(0, 0, 0, 0.95); /* light base layer */
    overflow: hidden;
  }
  
  /* Semi-transparent logo background */
  #page6.connect-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://github.com/Eton-Hall-Tuition/EthonHall-Tuition_WebSite/blob/main/webpage_Images/leviyathan_sparta_logo.png?raw=true');
    background-size: contain; /* or 'cover' if you want it to fill */
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15; /* 50% transparency */
    z-index: 0;
  }
  
  /* Make sure the content appears above the background */
  #page6 .connect-container,
  #page6 .footer,
  #page6 .page-label,
  #page6 .section-title {
    position: relative;
    z-index: 1;
  }
  

  /* Background image on right side of Page 2 */
#page2 {
    position: relative;
    background: #020101;
    overflow: hidden;
  }
  
  /* Add background image using ::after so content stays above it */
  #page2::after {
    content: "";
    position: absolute;
    top: 30;
    right: 0;
    width: 100%; /* adjust width to control how much of the right side shows */
    height: 50%;
    background-image: url('https://github.com/Eton-Hall-Tuition/EthonHall-Tuition_WebSite/blob/main/webpage_Images/MNC\'s_slab.png?raw=true');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
    opacity: 0.5; /* 50% transparent for subtle effect */
    z-index: 0;
  }
  
  /* Ensure your text content stays visible above the background */
  #page2 .page-label,
  #page2 .section-title,
  #page2 .topics-container {
    position: relative;
    z-index: 1;
  }
  
  /* Optional: if you want topics to align slightly left for better readability */
  #page2 .topics-container {
    max-width: 45%;
  }
  
  .material-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  overflow: hidden;
  background: #0d173b;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.material-card:hover {
  transform: translateY(-5px);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9; /* ✅ keeps proportional rectangular shape */
  background-repeat: no-repeat;
  background-size: contain; /* ✅ image adjusts to card size without cropping */
  background-position: center;
  background-color: #192338; /* fallback background */
}

.card-content {
  padding: 16px;
}

.card-number {
  font-weight: bold;
  color: #888;
}
