* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
}

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

/* Header */
header {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a5568;
}

.logo img {
    height: 40px;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: #2d3748;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Add padding to create a larger hover area */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.dropdown-content a {
    color: #4a5568;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: #f7fafc;
    color: #2d3748;
}

.dropdown-content a.dropdown-disabled {
    filter: grayscale(100%);
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hero Section */
.hero {
    background: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2d3748;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

.hero .subtitle {
    font-size: 1rem;
    color: #a0aec0;
    font-style: italic;
}

/* Common Section Styles */
.section-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: #2d3748;
    margin-bottom: 2rem;
    text-align: center;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.resource-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative; /* Add this line */
}

.bookmark-ribbon {
    position: absolute;
    top: -1px;
    right: -1px;
    background: linear-gradient(135deg, #7ea8be, #edab9d);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 8px 0 8px;
    z-index: 10;
}

.resource-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.resource-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4a5568;
}

.resource-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tutor-count {
    font-size: 0.9rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    cursor: help;
}

.tutor-count i {
    font-size: 0.8rem;
}

.tutor-count:hover::after {
    content: 'Senior Students are available to help with this subject';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(45, 55, 72, 0.95);
    color: #f7fafc;
    padding: 0.4rem 0.6rem;
    border-radius: 3px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 0.4rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 300;
}

.tutor-count:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% - 4px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: rgba(45, 55, 72, 0.95) transparent transparent transparent;
    z-index: 10;
}

.resource-card p {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Disabled card styles for coming soon */
.resource-card.disabled {
    filter: grayscale(100%);
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
    pointer-events: auto; /* Ensures hover for tooltip works */
}

.resource-card.disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5; /* Sits over content to intercept clicks */
}

.resource-card.disabled:hover::after {
    content: 'Coming soon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(45, 55, 72, 0.95);
    color: #f7fafc;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Languages Section */
.languages {
    padding: 60px 0;
    background: #f7fafc;
}

/* Resources Section */
.resources {
    padding: 60px 0;
    background: #f7fafc;
}

/* Japanese Skills Section */
.japanese-skills {
    padding: 60px 0;
    background: #f7fafc;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.skill-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.2s ease;
}

.skill-card:hover {
    border-color: #cbd5e0;
}

.skill-card h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.skill-card p {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.4;
}

/* Schedule Section */
.schedule {
    padding: 60px 0;
    background: white;
}

.schedule-table {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.schedule-table th {
    background: #f7fafc;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.9rem;
}

.schedule-table td {
    color: #718096;
    font-size: 0.9rem;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.subject-tag {
    display: inline-block;
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.75rem;
    margin-left: 0.1rem;
    margin-bottom: 0.2rem;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: #f7fafc;
    
}

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

.contact-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.contact-card h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-info {
    margin-top: 0.5rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: #4a5568;
}

/* Footer */
footer {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    color: #a0aec0;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

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

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

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

    .schedule-table {
        font-size: 0.8rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Subtle animations */
.resource-card,
.skill-card,
.contact-card {
    transform: translateY(0);
    transition: all 0.2s ease;
}

.resource-card:hover,
.skill-card:hover,
.contact-card:hover {
    transform: translateY(-2px);
}

.resource-icons {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.resource-icon-small {
    font-size: 0.8rem;
    color: #718096;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    position: relative;
}

.resource-card p {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
} 

/* Schedule Card Grid */
.schedule-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.schedule-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: box-shadow 0.2s;
}
.schedule-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #cbd5e0;
}
.schedule-card .schedule-group {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.2rem;
}
.schedule-card .schedule-detail {
    font-size: 0.97rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.schedule-card .schedule-label {
    font-weight: 500;
    color: #7ea8be;
    min-width: 70px;
    display: inline-block;
}
.schedule-card .schedule-tutors {
    color: #edab9d;
    font-weight: 500;
    font-size: 0.97rem;
}
@media (max-width: 600px) {
    .schedule-cards {
        grid-template-columns: 1fr;
    }
    .schedule-card {
        padding: 1.1rem 0.7rem;
    }
} 


/* LinguaLift highlighting animation */
.lingualift-highlight {
    position: relative;
    display: inline-block;
}

.lingualift-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #7ea8be, #5a9bd4);
    z-index: -1;
    animation: highlightSweep 2s ease-in-out 0.5s forwards;
    border-radius: 8px;
}

@keyframes highlightSweep {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.lingualift-highlight .highlight-text {
    background: linear-gradient(90deg, 
        transparent 0%, 
        transparent var(--highlight-progress, 0%), 
        white var(--highlight-progress, 0%), 
        white 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    animation: textColorSweep 2s ease-in-out 0.5s forwards;
}

@keyframes textColorSweep {
    0% {
        --highlight-progress: 0%;
    }
    100% {
        --highlight-progress: 100%;
    }
}

.chromatic-text {
    color: #7ea8be;
    animation: colorFade 3s ease-in-out infinite alternate;
  }
  
  @keyframes colorFade {
    0% { color: #7ea8be; }
    60% { color: #e9aec8 }
    100% { color: #edab9d; }
  }


  
  /* Add this CSS to your styles/index.css file */

  .top-banner {
    background-color: #ffe65b;
    background-image: repeating-linear-gradient(
      45deg,
      #ffe65b,
      #ffe65b 20px,
      #ffec75 20px,
      #ffec75 40px
    );
    padding: 6px 0;
    width: 100%;
    position: relative; /* Required for absolute positioning inside */
  }
  
  .banner-close {
    position: absolute;
    top: 3px;
    right: 16px;
    font-weight: bold;
    font-size: 18px;
    color: #444;
    cursor: pointer;
  }

  .banner-close:hover {
    transform: scale(1.1); /* a subtle grow effect */
  }

.top-banner-2{
    background: linear-gradient(135deg, #7ea8be, #edab9d);
    width: 100%;
    padding: 15px;
}

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

.top-banner p {
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}




.color-button-top {
    background: linear-gradient(135deg, #7ea8be, #edab9d) !important; 
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-right: 45px;

    position: relative;
    top: -70px; /* shifts the button 10px upward */
    left: 65px;
  }
  
  .color-button-top:hover {
    background: linear-gradient(135deg, #6d9cb2, #e79b8a);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
  }

  .outline-button-top {
    position: relative;
    top: -70px;
    left: 35px;
  
    display: inline-block !important;
    padding: 5px 18px;
    margin-right: 18px;
  
    font-weight: 600 !important;
    text-decoration: none;
    color: #7ea8be;
  
    border: 4px solid transparent;
    border-radius: 8px;
    background-image: 
      linear-gradient(white, white), /* inside fill */
      linear-gradient(135deg, #7ea8be, #edab9d); /* border */
    background-origin: border-box;
    background-clip: padding-box, border-box;
  
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);


    
  }
  
  .outline-button-top:hover {
    background-image:
      linear-gradient(#f7f7f7, #ffffff), /* light inner fill on hover */
      linear-gradient(135deg, #7ea8be, #edab9d); /* border stays */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
  }

  .gradient-text {
    background: linear-gradient(135deg, #7ea8be, #edab9d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent; /* for Safari */
  }

  @media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}

.signup-button {
    background: linear-gradient(135deg, #6d9cb2, #e79b8a);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .signup-button:hover {
    background: linear-gradient(135deg, #6d9cb2, #e79b8a);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform:  scale(1.1) rotate(5deg);
  }

  .logo-img {
    transition: transform 0.3s ease;
  }
  
  .logo-img:hover {
    transform: rotate(10deg) scale(1.1);
  }