/* ===================================
            Default Values
        Font Family    : Roboto Noto Sans
        Greenish Blue  : #34c6d3 (buttons, icons, links, bg)
        Steel Gray     : #41464b (Headings)
        White          : #fff    (text on black background)
        Blue Bayoux    : #64707b (Paragraphs)
====================================== */

html, body {
    height: 100%;
}

body {
    font-family: "Roboto Condensed", "sans-serif";
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f4f7f9;
    color: #333;
    line-height: 1.6;
    height: 100vh;
}

p {
    color: #64707b;
    font-size: 16px;
    font-weight: 300;
}

h3 {
    color: #41464b;
    text-transform: uppercase;
}

h5 {
    color: #41464b;
    font-weight: 500;
    text-align: center;
}

/* ===================================
            Navigation Bar
====================================== */

nav {
    background-color: #979797;
}

.navbar-dark .navbar-toggler {
    border: none;
}

.navbar-header {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-logo {
    width: 100px;
}

.nav-container {
    width: 100%;
    position: relative;
    display: flex;
}

.logo {
    max-width: 100px;
}

/* ===================================
            Home Section
====================================== */

#home {
    height: 100%;
}
#home-cover {
    height: 100%;
    background-image: url("../img/bg-home.jpg");
}       

#home-content-box {
    height: 100%;
    width: 100%;
    display: table;
}
#home-content-box-inner {
    display: table-cell;
    vertical-align: middle; /* Vertically aligns the content in the middle */
    text-align: center;     /* Horizontally centers the text */
}
#home-heading h3 {
    color: #fff;
    font-size: 30px;
    font-weight: 500;
    margin: 20px 10px;
    text-transform: uppercase;
}

/* ===================================
            Parallax (Generic)
====================================== */
.bg-parallax {
    background-repeat: no-repeat;
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center;
    background-attachment: fixed; /* Parallax effect: image stays fixed while scrolling */
}

/* ===================================
            Buttons (Generic)
====================================== */
.btn-general {
    border-radius: 0;
    border-width: 2px;
    padding: 12px 26px;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}
.btn-white {
    border-color: #fff;
    color: #fff;
}
.btn-white:hover,
.btn-white:focus {
    background-color: #fff;
    color: #41464b;
}

/* About Section - "Our Work" Button Styles */
.btn-blue {
    border-color: #34c6d3;
    color: #34c6d3;
}
.btn-blue:hover,
.btn-blue:focus {
    background-color: #34c6d3;
    color: #fff;
}

/* ===================================
            Animation Settings
====================================== */
#home-cover {
    animation-delay: .2s;
    animation-duration: .5s;
}
#home-heading {
    animation-delay: .5s;
    animation-duration: .5s;
}
#home-btn {
    animation-delay: 1s;
    animation-duration: .5s;
}

/* ===================================
            Content Box (Generic)
====================================== */
.content-box {
    padding: 60px 15px;
}
.content-title h3 {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 30px 0;
}

.content-title h5 {
    font-size: 24px;
}
.content-title-white h3 {
    color: white;
}
.content-title-underline {
    width: 30px;
    height: 3px;
    background-color: #34c6d3;
    margin: 0 auto 30px auto; /* Centers the decorative underline */
}


/* ===================================
            Services Section
====================================== */
.service-item {
    padding: 20px 0;
    cursor: pointer;
    width: 240px;
    margin: auto;
}
.service-item-icon i {
    color: #34c6d3;
    float: left;
    padding: 15px; /* Applies 15px padding to all sides */
    margin-right: 25px;
    width: 75px;
    height: 75px;
    text-align: center;
}
.service-item:hover .service-item-icon i {
    color: #fff;
    background-color: #34c6d3;
}
.service-item-title h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 10px 0;
}
.service-item-desc p {
    margin: 0;
    padding-left: 85px;
}


/* ===================================
            About Section (Diagonal)
====================================== */

.vision-box {
    display: flex;
}

#about-bg-diagonal {
    width: 60%;
    height: 700px;
    float: right;
    background-image: url(../img/bg-about.jpg);
    border-left: 200px solid #fff;
    border-top: 700px solid transparent;
}

#about-content-box {
    float: left;
    height: 500px;
    margin: auto;
}
#about-content-box-outer {
    width: 100%; /* Matches the width of about-content-box */
    height: 100%;
    display: table; 
}
#about-content-box-inner {
    display: table-cell;
    vertical-align: middle;
}
#about .content-title h3 {
    text-align: center;
}

#about .content-title-underline {
    margin: 0 auto 30px auto;
}

#about-content-vision-img {
    width: 50%;
    overflow: hidden;
    margin-left: auto;
    align-content: center;
}

#about-content-vision-img img {
    width: 100%;
    box-sizing: border-box;
    border: 20px solid rgb(255, 255, 255);
}

#about-desc p {
    margin-bottom: 30px;
    text-align: center;
}

.work-btn {
    text-align: center;
}


/* ===================================
            Work/Portfolio Section
====================================== */
.row.no-gutters [class*=col-] { /* Resets padding for all Bootstrap column classes */
    padding-left: 0;
    padding-right: 0;
}
.img-wrapper img:hover {
    transform: scale(1.5); /* Scaling effect for Zoom-In animation */
}
.img-wrapper {
    overflow: hidden;
}
.img-wrapper img {
    transition: transform .6s ease; /* Smooth transition for the hover effect */
}

#work .content-box {
    margin-bottom: -15px;
}


/* ===================================
            Team Section
====================================== */
.team-member {
    margin: 0 15px;
}
.team-member-info {
    padding: 10px 0 30px 0;
}
h4.team-member-name {
    font-size: 22px;
    font-weight: 699;
    letter-spacing: 1px;
    padding-top: 2px;
}
h4.team-member-designation {
    color: #34c6d3;
    font-size: 15px;
    font-weight: 699;
    font-style: italic;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* ===================================
            Social Icons (Generic)
====================================== */
.social-list {
    padding-left: 0;
}
.social-list li {
    list-style: none;
    display: inline-block;
    height: 32px; /* Defines clickable area height */
    width: 32px;  /* Defines clickable area width */
    margin-top: 10px;
    margin-right: 6px;
}
.social-icon i {
    font-size: 17px;
}
.icon-gray i {
    color: #64707b;
}
.icon-white i {
    color: #fff;
}
.social-icon i:hover {
    color: #34c6d3;
}


/* ===================================
            Testimonials Section
====================================== */
#customers-testimonials {
    margin-top: -15px;
}
#testimonial-cover {
    background-image: url("../img/bg-testimonials.jpg");
}
#testimonial .content-box {
    background-color: rgba(0,0,0,0.2);
}
#customers-testimonials {
    padding: 50px 0px;
}
#testimonial img {
    max-width: 120px;
    margin: 0 auto; /* Horizontally centers the images */
}
#testimonial blockquote {
    border: 0;
    font-family: Georgia, sans-serif;
    font-style: italic;
    color: #fff;
    padding: 7px 150px;
}
#testimonial blockquote p {
    color: #fff;
}
.testimonial-author p {
    color: #fff;
    font-size: 17px;
}
.testimonial-author p strong {
    display: block;
}

.attendance-btn {
    text-align: center;
    margin-top: 24px;
}

@media (max-width: 768px) {
    #home-heading h3 {
        font-size: 24px;
    }
    .content-title h3 {
        font-size: 24px;
    }
    #testimonial blockquote {
        padding: 7px 20px;
    }
    #about-content-vision-img {
        display: none;
    }
}

/* ===================================
            Footer Section
====================================== */

footer {
    background-color: #dedede;
    color: black;
    font-size: 10px;
    padding-top: 20px;
    padding-right: 3%;
    padding-left: 3%;
}

.footer-img {
    max-width: 200px;
    position: relative;
    margin: 0 auto;
    cursor: pointer;
}

.footer-logo {
    text-align: center;
    z-index: 1;
    position: relative;
    transition: opacity ease-in-out 0.3s;
    margin: 0 auto;
    display: table;
    cursor: pointer;
}

.footer-img img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}

footer .footer-bar {
    background-color: #13131366;
    color: #13131366;
    border-top: 1px solid;
}

footer .footer-text-group {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
}

footer .footer-text-group .footer-text-holizontal {
    display: flex;
    flex-direction: row;
    gap: 37px;
}

.footer-text-holizontal p a {
    color: black;
    text-decoration: none;
}

footer .footer-text-group .footer-text-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-text-vertical p {
    color: black;
}

@media (max-width: 768px) {
    .footer-img {
        padding: 0 13px 13px 13px !important;
    }
    .footer-text-group {
        flex-direction: column;
        padding: 17px 0 !important;
        gap: 12px;
    }
    .footer-text-holizontal {
        margin: auto;
        font-size: 12px;
    }
    .footer-text-vertical {
        align-items: center !important;
        font-size: 10px;
    }
    .footer-text-vertical p {
        text-align: center;
    }
}

/* ===================================
            Contact Section
====================================== */
#contact {
    background-color: #41464b;
    margin-top: 60px;
    padding-top: 100px;
    padding-bottom: 100px;
    border-top: 5px solid rgba(0,0,0,0.2);
}
#contact-left h3, #contact-right h3 {
    color: #fff;
    font-size: 27px;
    font-weight: 700;
}
#contact-left p {
    color: #fff;
    margin-bottom: 30px;
}
#contact-info {
    background-image: url("../img/world-map.png");
    background-repeat: no-repeat;
    background-size: contain; /* Ensures the image fits within the container */
}
#contact-info address {
    color: #fff;
}
#contact-info address b, 
#phone-fax-email b strong {
    font-weight: 700;
    letter-spacing: 1px;
}
form textarea {
    resize: none;
}
form .form-control {
    background: transparent;
    border-radius: 0;
    border-color: #fff;
    font-size: 17px;
    font-weight: 300;
    padding: 8px 16px;
    margin-bottom: 20px;
    color: #fff;
}

/* ===================================
            Form Error Messages
====================================== */
#contact-right #error_msg {
    margin-bottom: 20px;
    padding: 0px;
    background: #fe8b8e;
    text-align: center;
    font-size: 17px;
    transition: all 0.5s ease;
}

/* ===================================
            About Us Page
====================================== */

.title {
    color: #4D6045;
}

.about-us-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

/* Top Badge Styles */
.about-us-page .badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e6eef5;
    color: #444;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Typography Styles */
.about-us-page h1, 
.about-us-page h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 30px;
    word-break: keep-all;
}

.about-us-page h1 strong {
    color: #a50034; /* Brand accent color */
}

/* Intro Section - White Card Layout */
.about-us-page .intro {
    text-align: left;
}

.about-us-page .intro .content-box {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.about-us-page .meaning {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.about-us-page .description {
    font-size: 1.1rem;
    color: #666;
}

/* Mission & Vision - 2-Column Grid Layout */
.about-us-page .mission-vision {
    background-color: #fff;
}

.about-us-page .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-us-page .card {
    background: #fdfdfd;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid #eee;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-us-page .card:hover {
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.about-us-page .card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-us-page .card h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

/* Philosophy - List-based Layout */
.about-us-page .philosophy {
    background: #f4f7f9;
}

.about-us-page .steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.about-us-page .step-item {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.about-us-page .step-no {
    font-size: 1.5rem;
    font-weight: 700;
    color: #a50034;
    opacity: 0.8;
}

.about-us-page .step-item h4 {
    font-size: 1.3rem;
    margin: auto;
}

.about-us-page .step-item p {
    margin: auto;
}

/* Team Section - Simple Text Styling */
.about-us-page .team {
    text-align: center;
    background: #fff;
}

.about-us-page .team-description {
    font-size: 1.4rem;
    color: #555;
    font-weight: 300;
}

/* Responsive Design for Tablet/Mobile */
@media (max-width: 992px) {
    .navbar-toggler {
        margin-left: auto;
    }

    #mainNav {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1030;
    }

    .navbar-collapse {
        position: absolute;
        top: 57px;
        width: 100%;
        background-color: #343a40; 
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
        -ms-overflow-style: none; /* Hides scrollbar in IE/Edge */
        scrollbar-width: none;     /* Hides scrollbar in Firefox */
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        width: calc(100% + 2rem);
    }

    .navbar-collapse a {
        text-decoration: none;
        color: #fff;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .navbar-nav {
        margin: auto;
        text-align: center;
        padding: 1rem;
    }

    .about-us-page h1, .about-us-page h2 { font-size: 2.2rem; }
    .about-us-page .grid, .about-us-page .steps-grid {
        grid-template-columns: 1fr;
    }
    .about-us-page .intro .content-box { padding: 40px 20px; }

    .about-us-page .step-item {
        padding: 24px;
    }
}

/* ===================================
            Programs Section
====================================== */

#work {
    margin-bottom: 50px;
}

.program-page {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #fff;
    color: #333;
    margin-top: 65px;
}

.program-page .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
}

/* Badge & Typography */
.program-page .badge {
    display: inline-block;
    padding: 6px 14px;
    background: #f4f4f4;
    color: #666;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.program-page h2 {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.program-page h2 strong {
    color: #4D6045; /* Brand primary color */
}

.program-page .description {
    font-size: 1.25rem;
    color: #666;
    font-weight: 300;
}

/* List/Table Styling (ul/li based) */
.program-list-wrapper {
    border-top: 2px solid #333;
    margin-top: 40px;
}

.program-header, .program-row {
    list-style: none;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.program-header {
    background-color: #f9f9f9;
    font-weight: 700;
    color: #333;
    padding: 15px 0;
}

.program-row:hover {
    background-color: #fcfcfc;
}

/* Column Width Definitions */
.col-area { width: 25%; padding-left: 20px; font-weight: 600; }
.col-name { width: 40%; }
.col-desc { width: 35%; color: #666; }

.icon { margin-right: 8px; font-size: 1.2rem; }

/* Experiential Program Card Section */
.experience-card {
    background: #388e3c;
    color: #fff;
    padding: 80px 40px;
    border-radius: 30px;
    text-align: center;
}

.experience-card h2 { color: #fff; }
.experience-card .badge.white { background: rgba(255,255,255,0.2); color: #fff; }

.experience-list {
    margin: 30px 0 50px;
}

.experience-list p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    opacity: 0.9;
    color: #fff;
}

/* Call to Action (CTA) Button Styles */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: #fff;
    color: #388e3c;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.contact-btn {
    text-align: center;
}

/* Mobile Responsive Settings */
@media (max-width: 768px) {
    .program-page h2 { font-size: 1.8rem; }
    
    /* Convert list-table to card layout for small screens */
    .program-header { display: none; }
    .program-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 20px;
    }

    .col-md-3 {
        margin-bottom: 20px;
    }
    
    .col-area, .col-name, .col-desc {
        width: 100%;
        padding: 5px 0;
    }
    
    .col-area { font-size: 1.2rem; color: #388e3c; }
    .col-name { font-weight: 600; }
    
    .cta-group { flex-direction: column; }
}