:root {
    --primary-color: #00a096;
    /* Deep Teal */
    --secondary-color: #f0f8ff;
    /* Light web color equivalent for backgrounds */
    --accent-color: #ffeb3b;
    /* Highlighter Yellow */
    --text-dark: #333333;
    --text-light: #ffffff;
    --font-heading: 'Zen Kaku Gothic New', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --glasses-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cpath d='M20 10c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10c0-1-.2-2-.5-3 1.5-1 3.5-1.5 5.5-1.5s4 .5 5.5 1.5c-.3 1-.5 2-.5 3 0 5.5 4.5 10 10 10s10-4.5 10-10-4.5-10-10-10c-3.1 0-5.8 1.4-7.6 3.6-1.1-.6-2.5-1-3.9-1s-2.8.4-3.9 1C35.8 11.4 33.1 10 30 10c-3.1 0-5.8 1.4-7.6 3.6-1.1-.6-2.5-1-3.9-1z' fill='%2300a096'/%3E%3Cpath d='M5 15h5M90 15h-5' stroke='%2300a096' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    --glasses-svg-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cpath d='M20 10c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10c0-1-.2-2-.5-3 1.5-1 3.5-1.5 5.5-1.5s4 .5 5.5 1.5c-.3 1-.5 2-.5 3 0 5.5 4.5 10 10 10s10-4.5 10-10-4.5-10-10-10c-3.1 0-5.8 1.4-7.6 3.6-1.1-.6-2.5-1-3.9-1s-2.8.4-3.9 1C35.8 11.4 33.1 10 30 10c-3.1 0-5.8 1.4-7.6 3.6-1.1-.6-2.5-1-3.9-1z' fill='white'/%3E%3Cpath d='M5 15h5M90 15h-5' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Global Reset for Rounded Corners */
*:not(.h2-style::after) {
    border-radius: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

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

/* Fixed syntax error */

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand i {
    color: var(--primary-color);
}

.font-heading {
    font-family: var(--font-heading);
}

/* Hero Section */
.masthead {
    min-height: 100vh;
    padding-top: 0;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.highlighter-dark {
    background: linear-gradient(transparent 60%, rgba(255, 235, 59, 0.8) 60%);
    display: inline;
    padding: 0 5px;
}

/* Hero Enhancements */
.masthead {
    background-color: #000;
}

.masthead .bg-image {
    transition: transform 10s ease-out;
}

.masthead:hover .bg-image {
    transform: scale(1.1);
}

.hero-overlay {
    background: linear-gradient(45deg, rgba(0, 160, 150, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: block;
    transform: translateY(100%);
    animation: reveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

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

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

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Animations & Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

@keyframes bounce {

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

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.btn-xl {
    font-size: 1.25rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-heading {
    margin-bottom: 4rem;
}

.card-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.bg-pattern-grid {
    background-image: radial-gradient(#00a096 1px, transparent 1px);
    background-size: 20px 20px;
}


.bg-glasses-pattern {
    position: relative;
    overflow: hidden;
}

.bg-glasses-pattern::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -30px;
    width: 300px;
    height: 120px;
    background-image: var(--glasses-svg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.03;
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 0;
}

.bg-glasses-pattern-left::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: -50px;
    width: 250px;
    height: 100px;
    background-image: var(--glasses-svg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.03;
    transform: rotate(10deg);
    pointer-events: none;
    z-index: 0;
}

/* JS Animation Utilities */
.transition-slow {
    transition: all 1s ease-out;
}

.opacity-0 {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* =========================================
   Content Page Styles (Template)
   ========================================= */

/* Headings */
.h1-style {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.h2-style {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.h2-style::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin-top: 10px;
    border-radius: 2px;
}

.h3-style {
    font-size: 1.5rem;
    font-weight: 700;
    padding-left: 1rem;
    border-left: 5px solid var(--primary-color);
    background: linear-gradient(90deg, #f0f8ff, transparent);
    padding: 0.5rem 1rem;
    margin-bottom: 1.25rem;
}

.h3-style.border-white {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.h4-style {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.h4-style::before {
    content: '■';
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.8em;
}

.h5-style {
    font-size: 1.1rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 1rem;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
    display: inline-block;
}

/* Background Blocks */
.bg-light-section {
    background-color: #f8fbff;
    /* Very light blue/gray */
}

/* Border Blocks */
.border-block {
    border: 1px solid #e0e0e0;
    background-color: #fff;
}

.border-block-primary {
    border: 2px solid var(--primary-color);
    background-color: #fafffa;
    /* Very light green tint */
}

/* Greeting Section */
.section-greeting {
    padding: 8rem 0;
    position: relative;
    background-color: #fff;
}

@media (max-width: 640px) {
    .section-greeting {
        padding: 1.5rem 0;
    }
}


.greeting-text {
    line-height: 2.2;
    letter-spacing: 0.05em;
    font-size: 1.15rem;
    color: #444;
}

.philosophy-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

/* Sidebar Utilities */
.hover-text-primary:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
    /* Slight nudge for interactivity */
    background-color: #f8fbff;
}