/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fdf9;
}

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

/* PR Label */
.pr-label {
    font-size: 0.7em;
    color: #666;
}

/* Utility Classes */
.mt-3 {
    margin-top: 3rem;
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #068200, #0b7c01);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-brand h1 a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #c8e6c9;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.highlight {
    color: #068200;
    background: linear-gradient(45deg, #068200, #0b7c01);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #444;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #068200, #0b7c01);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 130, 0, 0.3);
}

.btn-secondary {
    background: white;
    color: #068200;
    border: 2px solid #068200;
}

.btn-secondary:hover {
    background: #068200;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    font-size: 4rem;
    color: #068200;
    margin-top: 2rem;
    opacity: 0.7;
}

/* Section Styles */
section {
    padding: 3rem 0;
}

/* Override for article sections to reduce spacing */
article section {
    padding: 0.5rem 0;
}

article section:first-of-type {
    padding-top: 0;
}

article section + section {
    margin-top: 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    color: #2c3e50;
    position: relative;
    padding: 0 0 1rem 2rem;
    display: block;
    width: 100%;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 1rem;
    width: 6px;
    background: linear-gradient(135deg, #068200, #0b7c01);
    border-radius: 3px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(45deg, #068200, #0b7c01);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

/* Card Color Variations */
.card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* Card color themes */
.card:nth-child(8n+1) {
    background: linear-gradient(135deg, #fef5fb, #fff9fc);
    border-color: #f4d1e8;
}

.card:nth-child(8n+2) {
    background: linear-gradient(135deg, #f0f8ff, #f8fcff);
    border-color: #cce4ff;
}

.card:nth-child(8n+3) {
    background: linear-gradient(135deg, #fffef0, #fffff8);
    border-color: #ffe4b5;
}

.card:nth-child(8n+4) {
    background: linear-gradient(135deg, #f0fff4, #f8fffa);
    border-color: #b8e6c8;
}

.card:nth-child(8n+5) {
    background: linear-gradient(135deg, #fff5f5, #fffafa);
    border-color: #ffcccc;
}

.card:nth-child(8n+6) {
    background: linear-gradient(135deg, #f8f0ff, #fdf8ff);
    border-color: #e0ccff;
}

.card:nth-child(8n+7) {
    background: linear-gradient(135deg, #f0ffff, #f8ffff);
    border-color: #b8e6e6;
}

.card:nth-child(8n+8) {
    background: linear-gradient(135deg, #fffaf0, #fffcf8);
    border-color: #ffd4a3;
}

/* Enhanced hover effects */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.card:nth-child(8n+1):hover {
    border-color: #e8a4d0;
    box-shadow: 0 12px 32px rgba(232, 164, 208, 0.25);
}

.card:nth-child(8n+2):hover {
    border-color: #99c9ff;
    box-shadow: 0 12px 32px rgba(153, 201, 255, 0.25);
}

.card:nth-child(8n+3):hover {
    border-color: #ffd191;
    box-shadow: 0 12px 32px rgba(255, 209, 145, 0.25);
}

.card:nth-child(8n+4):hover {
    border-color: #8dd6a8;
    box-shadow: 0 12px 32px rgba(141, 214, 168, 0.25);
}

.card:nth-child(8n+5):hover {
    border-color: #ff9999;
    box-shadow: 0 12px 32px rgba(255, 153, 153, 0.25);
}

.card:nth-child(8n+6):hover {
    border-color: #c199ff;
    box-shadow: 0 12px 32px rgba(193, 153, 255, 0.25);
}

.card:nth-child(8n+7):hover {
    border-color: #8dd6d6;
    box-shadow: 0 12px 32px rgba(141, 214, 214, 0.25);
}

.card:nth-child(8n+8):hover {
    border-color: #ffb366;
    box-shadow: 0 12px 32px rgba(255, 179, 102, 0.25);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* Icon color variations */
.card:nth-child(8n+1) .card-icon { color: #d63384; }
.card:nth-child(8n+2) .card-icon { color: #0066cc; }
.card:nth-child(8n+3) .card-icon { color: #ff9500; }
.card:nth-child(8n+4) .card-icon { color: #068200; }
.card:nth-child(8n+5) .card-icon { color: #dc3545; }
.card:nth-child(8n+6) .card-icon { color: #6f42c1; }
.card:nth-child(8n+7) .card-icon { color: #17a2b8; }
.card:nth-child(8n+8) .card-icon { color: #fd7e14; }

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

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

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

/* Industry Guide */
.industry-guide {
    background: white;
}

.industry-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 24px;
    border: 2px solid #068200;
    background: white;
    color: #068200;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
}

.tab-button.active,
.tab-button:hover {
    background: #068200;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Job Sites */
.job-sites {
    background: #f9fdf9;
}

.job-sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

.job-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

.job-category:first-child h3 {
    margin-top: 0;
}

.job-category p {
    margin-bottom: 2rem;
    text-align: center;
}

.site-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.site-card {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* Site card color themes */
.site-card:nth-child(3n+1) {
    background: linear-gradient(135deg, #f8fff8, #fcfffc);
    border-color: #d4f0d4;
}

.site-card:nth-child(3n+2) {
    background: linear-gradient(135deg, #fff8f0, #fffcf8);
    border-color: #ffe0cc;
}

.site-card:nth-child(3n+3) {
    background: linear-gradient(135deg, #f0f8ff, #f8fcff);
    border-color: #cce4ff;
}

.site-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.site-card:nth-child(3n+1):hover {
    border-color: #a8e0a8;
    box-shadow: 0 8px 20px rgba(168, 224, 168, 0.2);
}

.site-card:nth-child(3n+2):hover {
    border-color: #ffcc99;
    box-shadow: 0 8px 20px rgba(255, 204, 153, 0.2);
}

.site-card:nth-child(3n+3):hover {
    border-color: #99c9ff;
    box-shadow: 0 8px 20px rgba(153, 201, 255, 0.2);
}

.site-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.site-info p {
    color: #555;
    font-size: 0.9rem;
}

.site-card i {
    color: #068200;
    font-size: 1.2rem;
}

/* Programming Schools */
.programming-schools {
    background: white;
}

.school-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.school-card {
    padding: 2rem;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* School card color themes with gradient */
.school-card:nth-child(3n+1) {
    background: linear-gradient(135deg, #f0f8f0, #f8fcf8);
    border-color: #c8e6c8;
}

.school-card:nth-child(3n+2) {
    background: linear-gradient(135deg, #f8f0ff, #fcf8ff);
    border-color: #e0ccff;
}

.school-card:nth-child(3n+3) {
    background: linear-gradient(135deg, #fff0f0, #fff8f8);
    border-color: #ffcccc;
}

.school-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.6s ease;
}

.school-card:hover::before {
    left: 100%;
}

.school-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.school-card:nth-child(3n+1):hover {
    border-color: #9cd69c;
    box-shadow: 0 10px 28px rgba(156, 214, 156, 0.25);
}

.school-card:nth-child(3n+2):hover {
    border-color: #c199ff;
    box-shadow: 0 10px 28px rgba(193, 153, 255, 0.25);
}

.school-card:nth-child(3n+3):hover {
    border-color: #ff9999;
    box-shadow: 0 10px 28px rgba(255, 153, 153, 0.25);
}

.school-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.school-info p {
    color: #555;
}

.school-card i {
    color: #068200;
    font-size: 1.5rem;
}

/* Resources */
.resources {
    background: #f9fdf9;
}

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

.resource-card {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Resource card color themes */
.resource-card:nth-child(4n+1) {
    background: linear-gradient(135deg, #f0fff4, #f8fffa);
    border-color: #b8e6c8;
}

.resource-card:nth-child(4n+2) {
    background: linear-gradient(135deg, #fff5f0, #fffaf8);
    border-color: #ffccb8;
}

.resource-card:nth-child(4n+3) {
    background: linear-gradient(135deg, #f0f5ff, #f8faff);
    border-color: #b8ccff;
}

.resource-card:nth-child(4n+4) {
    background: linear-gradient(135deg, #fff0f5, #fff8fa);
    border-color: #ffb8cc;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.resource-card:hover::before {
    left: 100%;
}

.resource-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.resource-card:nth-child(4n+1):hover {
    border-color: #8dd6a8;
    box-shadow: 0 12px 32px rgba(141, 214, 168, 0.25);
}

.resource-card:nth-child(4n+2):hover {
    border-color: #ff9980;
    box-shadow: 0 12px 32px rgba(255, 153, 128, 0.25);
}

.resource-card:nth-child(4n+3):hover {
    border-color: #809cff;
    box-shadow: 0 12px 32px rgba(128, 156, 255, 0.25);
}

.resource-card:nth-child(4n+4):hover {
    border-color: #ff809c;
    box-shadow: 0 12px 32px rgba(255, 128, 156, 0.25);
}

.resource-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* Resource icon color variations */
.resource-card:nth-child(4n+1) i { color: #068200; }
.resource-card:nth-child(4n+2) i { color: #ff6633; }
.resource-card:nth-child(4n+3) i { color: #3366ff; }
.resource-card:nth-child(4n+4) i { color: #ff3366; }

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

.resource-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.resource-card p {
    color: #555;
}

/* Button Large */
.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Text Center */
.text-center {
    text-align: center;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a3d14, #2d5a26);
    color: white;
    padding: 3rem 0 1rem;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #b8f5b8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #b8f5b8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #e8f5e8;
}

/* Weakness section styles */
.weakness-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.weakness-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.weakness-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.weakness-card {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* Weakness card color themes */
.weakness-card:nth-child(6n+1) {
    background: linear-gradient(135deg, #fff5fb, #fffbfd);
    border-color: #f8e1f0;
}

.weakness-card:nth-child(6n+2) {
    background: linear-gradient(135deg, #f5f8ff, #fbfdff);
    border-color: #dae6ff;
}

.weakness-card:nth-child(6n+3) {
    background: linear-gradient(135deg, #fffdf5, #fffefb);
    border-color: #ffedcc;
}

.weakness-card:nth-child(6n+4) {
    background: linear-gradient(135deg, #f5fff8, #fbfffd);
    border-color: #ccf0da;
}

.weakness-card:nth-child(6n+5) {
    background: linear-gradient(135deg, #fff8f8, #fffdfd);
    border-color: #ffe0e0;
}

.weakness-card:nth-child(6n+6) {
    background: linear-gradient(135deg, #fbf5ff, #fdfbff);
    border-color: #ede0ff;
}

.weakness-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #068200, #0b7c01);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.weakness-card:hover::before {
    transform: translateX(0);
}

.weakness-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.weakness-card:nth-child(6n+1):hover {
    border-color: #e8a4d0;
    box-shadow: 0 10px 25px rgba(232, 164, 208, 0.2);
}

.weakness-card:nth-child(6n+2):hover {
    border-color: #b3ccff;
    box-shadow: 0 10px 25px rgba(179, 204, 255, 0.2);
}

.weakness-card:nth-child(6n+3):hover {
    border-color: #ffd999;
    box-shadow: 0 10px 25px rgba(255, 217, 153, 0.2);
}

.weakness-card:nth-child(6n+4):hover {
    border-color: #99e0b3;
    box-shadow: 0 10px 25px rgba(153, 224, 179, 0.2);
}

.weakness-card:nth-child(6n+5):hover {
    border-color: #ffb3b3;
    box-shadow: 0 10px 25px rgba(255, 179, 179, 0.2);
}

.weakness-card:nth-child(6n+6):hover {
    border-color: #d9b3ff;
    box-shadow: 0 10px 25px rgba(217, 179, 255, 0.2);
}

.weakness-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* Weakness icon color variations */
.weakness-card:nth-child(6n+1) .weakness-icon { color: #d63384; }
.weakness-card:nth-child(6n+2) .weakness-icon { color: #4d79ff; }
.weakness-card:nth-child(6n+3) .weakness-icon { color: #ffb333; }
.weakness-card:nth-child(6n+4) .weakness-icon { color: #33cc66; }
.weakness-card:nth-child(6n+5) .weakness-icon { color: #ff6666; }
.weakness-card:nth-child(6n+6) .weakness-icon { color: #9966ff; }

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

.weakness-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.weakness-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        position: relative;
    }

    .nav-brand {
        flex: 1;
        min-width: 0;
    }

    .nav-brand h1 {
        font-size: 1.3rem;
        margin: 0;
    }

    .nav-brand h1 a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #068200;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        z-index: 1000;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: 1rem;
    }

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

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

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

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

    .industry-tabs {
        flex-direction: column;
        align-items: center;
    }

    .job-sites-grid {
        grid-template-columns: 1fr;
    }

    .school-cards {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 1.8rem;
        padding: 0 0 1rem 1.5rem;
    }

    .section-title::before {
        left: 0;
        width: 4px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .nav-brand h1 {
        font-size: 1.1rem;
        margin: 0;
    }

    .nav-brand h1 a {
        font-size: 1.1rem;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .nav-toggle {
        margin-left: 0.5rem;
    }

    .nav-toggle span {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .section-title {
        font-size: 1.6rem;
        word-wrap: break-word;
        margin-bottom: 2rem;
        padding: 0 0 1rem 1.2rem;
    }

    .section-title::before {
        left: 0;
        width: 3px;
    }

    .card, .site-card, .school-card {
        padding: 1.2rem;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        word-wrap: break-word;
    }

    /* Ensure proper spacing for mobile cards */
    .weakness-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .weakness-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
        word-wrap: break-word;
    }

    .weakness-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .industry-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tab-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
}

/* Common card styles for reusability */
.styled-card {
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.styled-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.styled-card:hover::before {
    left: 100%;
}

.styled-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

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

.card, .site-card, .school-card, .resource-card, .weakness-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}