/* Custom styles to complement Bootstrap */

:root {
    --primary-color: #2c5f8d;
    --secondary-color: #4a90a4;
    --accent-color: #f4a261;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #d0e0f5;
}

/* Global Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
}


/* Scroll Indicator Animation */
.scroll-indicator {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Spacing */
section {
    padding: 100px 0;
}

.bg-blue{
    background-color: #d0e0f5;
}

.img-responsive{
    width: 100%;
}

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


/* Card Hover Effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

/*.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}
*/
/* Feature Cards */
.feature-number {
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

/* Timeline Custom Styles - Vertical Layout */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    padding-bottom: 50px;
    padding-left: 80px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 29px;
    top: 60px;
    width: 2px;
    height: calc(100% - 60px);
    background-color: var(--primary-color);
    z-index: 1;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-time {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline-location {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-style: italic;
}

.timeline-text {
    color: var(--text-light);
    line-height: 1.8;
}

/* Custom Button Styles */
.btn-warning-header {
    margin-top: 5px;
    background-color: #00a99d;
    border-color: #00a99d;
    color: white;
    font-weight: 600;
    padding: 8px 40px;
    letter-spacing: 0.05em;
}

.btn-warning-header:hover {
    background-color: #06c6b3;
    border-color: #06c6b3;
    color: white;
}

.btn-warning-main {
    background-color: #fff;
    border-color: #fff;
    color: #00a99d;
    font-weight: 600;
    padding: 15px 40px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-warning-main:hover {
    background-color: #00a99d;
    border-color: #00a99d;
    color: white;
    transform: translateY(-2px);
}

.btn-warning-community {
    background-color: #00a99d;
    border-color: #00a99d;
    color: white;
    font-weight: 600;
    padding: 15px 40px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-warning-community:hover {
    background-color: #06c6b3;
    border-color: #06c6b3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 198, 179, 0.4);
}

.btn-warning {
    background-color: #00a99d;
    border-color: #00a99d;
    color: white;
    font-weight: 600;
    padding: 15px 40px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #06c6b3;
    border-color: #06c6b3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 198, 179, 0.4);
}

.btn-outline-light {
    font-weight: 600;
    padding: 15px 40px;
    letter-spacing: 0.05em;
    border-width: 2px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

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

/* Header Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0rem 0.5rem;
    padding-top: 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.btn {
    color: white !important;
    margin-left: 1rem !important;
}

.navbar-nav .nav-link.btn:hover {
    background-color: #e76f51;
    border-color: #e76f51;
    color: white !important;
}

@media (max-width: 1200px) {
    .navbar-brand img{
        width: 150px;
    }

    .navbar-nav .nav-link {
        padding-top: 0.8rem;
        font-size: 0.9rem;
    }
}


/* Custom spacing for sections */
section {
    scroll-margin-top: 100px;
}

/* section */
#hero{
    padding-top: 0px;
}

#workspaces{
    background-color:#dce9e8;
}


/* section container */
#why-wakayama .container{
    position: relative;
}

#Access .container{
    position: relative;
}

#workspaces .container{
    position: relative;
}


/* bg icon */
#why-wakayama .container .bg-icon01{
    width: 150px;
    position: absolute;
    top: -20px;
    left: 700px;
    z-index: 10;
}

#why-wakayama .container .bg-icon02{
    width: 150px;
    position: absolute;
    bottom: -50px;
    right: 140px;
    z-index: 10;
}

#Access .container .bg-icon03{
    width: 150px;
    position: absolute;
    top: -180px;
    left: 100px;
    z-index: 10;
}

#workspaces .container .bg-icon04{
    width: 100px;
    position: absolute;
    top: -150px;
    right: 100px;
    z-index: 10;
}

@media (max-width: 1200px) {
    #why-wakayama .container .bg-icon01{
        left: 500px;
    }

    #workspaces .container .bg-icon04{
        width: 80px;
    }
}

@media (max-width: 992px) {
    #why-wakayama .container .bg-icon01{
        left: 400px;
    }

    #workspaces .container .bg-icon04{
        width: 80px;
    }
}

@media (max-width: 768px) {
    #why-wakayama .container .bg-icon02{
        width: 120px;
        bottom: -20px;
        right: 0px;
    }

    #Access .container .bg-icon03{
        width: 100px;
        position: absolute;
        top: -100px;
        left: 50px;
        z-index: 10;
    }

    #workspaces .container .bg-icon04{
        width: 80px;
        top: -130px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    #why-wakayama .container .bg-icon01{
        width: 100px;
        left: 300px;
    }

    #workspaces .container .bg-icon04{
        width: 60px;
        top: -100px;
        right: 20px;
    }
}

/* Hero */
.hero {
    background-color:#2282c4;
    position: relative;
}

.hero .img-area img {
    width: 100%;
}

.hero .content{
    position:absolute;
    z-index: 100;
    top:20%;
}

@media (max-width: 992px) {
    .hero .img-area{
        height: 600px;
        overflow: hidden;
        position: relative;
    }

    .hero .img-area img {
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }

}

@media (max-width: 768px) {
    .hero .img-area{
        height: 650px;
        overflow: hidden;
        position: relative;
    }

    .hero .img-area img {
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }
}

/* why-wakayama */
#why-wakayama .section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0px;
    color: #be9826;
}

#why-wakayama .section-subtitle {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00a99d;
}

#why-wakayama .section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Stats Section */
#why-wakayama .stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 0.7;
    letter-spacing: -0.02em;
    color: #00a99d;
}

#why-wakayama .stat-label {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 10px;
}


@media (max-width: 992px) {
    #why-wakayama .section-title {
        font-size: 2.5rem;
    }

    #why-wakayama .stat-number {
        margin-top: 10px;
        font-size: 2rem;
    }

    #why-wakayama .stat-label {
        font-size: 0.8rem;
    }

}

@media (max-width: 768px) {
    #why-wakayama .section-title {
        font-size: 2.0rem;
    }

    #why-wakayama .stat-number {
        margin-top: 20px;
        font-size: 2rem;
    }

    #why-wakayama .stat-label {
        font-size: 0.8rem;
    }

}

/* Access */
#Access .section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

#Access .section-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 25px;
}

#Access .section-description {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

#Access p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

#Access .text-area{
    padding-left: 80px;
    position: relative;
}

#Access .text-area .icon-area{
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0px;
    top: 5px;
}

@media (max-width: 992px) {
    #Access .section-title {
        font-size: 2.5rem;
    }

}

@media (max-width: 768px) {
    #Access .section-title {
        font-size: 2.0rem;
    }

    #Access .section-description {
        font-size: 1.0rem;
        line-height: 1.6;
    }

}

/* Community Member Cards */
#community .card {
    border-radius: 30px;
}

#community .card img {
    border-radius: 30px 30px 0 0;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.member-role {
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: #0756be;
    font-weight: 700;
}

.member-text {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}


/* Workspaces */
#workspaces .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

#workspaces .section-description {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Workspace Cards */
.workspace-card {
    background: white;
    border-radius: 30px;
    padding: 0px;
    margin-bottom: 40px;
}

.workspace-card .img-area{
    border-radius: 30px 0 0 30px;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.workspace-card .img-area img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.workspace-card .img-area .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
}

.workspace-card .img-area .owl-nav .prev {
    background-color:rgba(255,255,255,0.4);
    font-size: 40px;
    color: #00a99d;
    position: absolute;
    top: -40px;
    left: 0px;
    z-index: 20;
}

.workspace-card .img-area .owl-nav .next {
    background-color:rgba(255,255,255,0.4);
    font-size: 40px;
    color: #00a99d;
    position: absolute;
    top: -40px;
    right: 0px;
    z-index: 10;
}
.workspace-card .img-area .owl-nav .prev:hover,
.workspace-card .img-area .owl-nav .next:hover{
    color: #06c6b3
}

.workspace-card .text-area{
    padding: 30px;
}

.workspace-name {
    font-size: 2.0rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.workspace-location {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.workspace-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.3;
    margin-bottom: 20px;
}

.workspace-highlights {
    background-color: #f1f4f4;
    padding: 15px;
    border-radius: 12px;
    margin-top: 30px;
}

.highlight-title {
    font-weight: 700;
    margin-bottom: 5px;
    color: #0756be;
    font-size: 1.0rem;
}

.highlight-description {
    margin: 5px 0;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.0;
}

@media (max-width: 1200px) {
    .workspace-card .text-area{
        padding: 20px;
    }

    .workspace-name {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }

    .workspace-location {
        margin-bottom: 5px;
    }

    .workspace-description {
        margin-bottom: 10px;
    }
}

@media (max-width: 992px) {
    #workspaces .section-title {
        font-size: 2.0rem;
    }

    .workspace-card .img-area{
        border-radius: 30px 30px 0 0;
        height: 350px;
        overflow: hidden;
        position: relative;
    }
}

@media (max-width: 768px) {

}

/* overview */
#overview .card{
    background-color: rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important;
}

#overview .card img{
    border-radius: 20px;
}

#overview .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 5px;
    color: #00a99d;
}

#overview .section-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #00a99d;
}

#overview .section-description {
    font-size: 1.125rem;
    color: #000;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Program Section */
.program-details-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
}

/* Program Section */
.program-details-card .icon {
    width: 50px;
    margin:0 auto 20px auto;
}


/* contact */
#contact{
    background-color:#fff;
}

#contact h2{
    color: #00a99d;
}


/* Footer Link Hover */
footer{
    background-color: #00a99d;
}

footer img{
    width: 250px;
    margin-bottom: 10px;
}

footer a:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-img img{
    width: 100%;
}

.footer-menu {
    margin: 30px 0 0 0;
    text-align: right;
    font-size: 1.0rem;
}

@media (max-width: 1200px) {
    footer{
        font-size: 0.9rem;
    }

    footer img{
        width: 150px;
    }

    .footer-menu {
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .footer-menu {
        margin: 0 0 30px;
        text-align: center;
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .footer-menu {
        margin: 0 0 30px;
        text-align: center;
        font-size: 0.8rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }

}
