html {
    font-size: 15px;
}

@media (min-width: 768px) {
    html {
        font-size: 17px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 80px; /* Space for fixed navbar */
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
}

.nav-link {
    font-weight: 600;
    font-size: 1.05rem;
    color: #4a5568 !important;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #0d6efd !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0d6efd;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Common Section Styles */
section {
    padding: 90px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    color: #1a202c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.6rem;
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Hero Section (Home) */
/*#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
    text-align: center;
    margin-top: -80px;
    padding-top: 80px;
}*/

#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../img/index.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: -80px;
    padding-top: 80px;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1,
#hero p {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}


/* Cards */
.card {
    border: none;
    border-radius: 16px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 24px;
    overflow: hidden;
}

.card-body {
    padding: 2rem;
}


.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Badges */
.skill-badge {
    font-size: 1rem;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 50px;
}

/* Footer */
.footer {
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    background-color: #f8f9fa;
}

/* Experience Section Custom Styles */
.experience-title {
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.experience-company {
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.experience-date {
    font-weight: 300;
    color: #666;
    margin-bottom: 15px;
}

.studies-title {
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.studies-company {
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.studies-date {
    font-weight: 300;
    color: #666;
    margin-bottom: 15px;
}

.uji-logo {
    max-width: 200px;
    height: auto;
    object-fit: contain;

    background: transparent;
    box-shadow: none;
    padding: 0;
}


.explore-btn {
    border: 1px solid #000;
    color: #000;
    padding: 5px 20px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background-color: #000;
    color: #fff;
    text-decoration: none;
}

/* Contact */
.contact {
    background-color: #ffffff;
}

.contact:hover {
    background-color: #38bdff;
}

/* PaynoPain */
.explore-paynopain {
    background-color: #e74747;
}

.explore-paynopain:hover {
    background-color: #9b0000;
}

/* STN */
.explore-stn {
    background-color: #4cc03c;
}

.explore-stn:hover {
    background-color: #002e6b;
}

/* UJI */
.explore-uji {
    background-color: #02eeff;
}

.explore-uji:hover {
    background-color: #002e6b;
}

/* Sejong University */
.explore-sejong {
    background-color: #ffffff;
}

.explore-sejong:hover {
    background-color: #b40000;
}

.experience-description p {
    line-height: 1.9;
    color: #555;
    font-size: 1.15rem;
}

.dashed-arrow {
    border-left: 2px dashed #999;
    height: 80px;
    width: 2px;
    margin-left: 50px;
    position: relative;
}

.dashed-arrow::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -4px;
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #999;
}

.experience-arrow {
    opacity: 0.8;
}