/* Variables */
:root {
    --primary-color: #0A2540; /* Deep Navy */
    --secondary-color: #333333; /* Dark Grey */
    --accent-color: #C5A059; /* Gold/Bronze */
    --text-color: #333333;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --dark-bg: #1A1A1A;
    --font-kr: 'Noto Sans KR', sans-serif;
    --font-en: 'Roboto', sans-serif;
    --font-header: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-kr);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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


.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-kr);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-gold { color: var(--accent-color) !important; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--primary-color); }
.bg-gold { background-color: var(--accent-color); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0d3050;
    transform: translateY(-2px);
}

#consultationBtn {
    animation: breathe 2.5s infinite ease-in-out;
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 40px; /* Adjust height */
    vertical-align: middle; /* Ensure vertical alignment */
}

.logo {
    display: flex;
    align-items: center;
}

/* .logo span is no longer used */

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color);
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.btn-contact:hover {
    background-color: var(--accent-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../assets/KH.jpg') no-repeat center top/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0; /* Navbar is fixed */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero h1 .title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.hero h1 .title-word.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.hero h1 .title-word:nth-child(1) { animation-delay: 0.1s; }
.hero h1 .title-word:nth-child(2) { animation-delay: 0.2s; }
.hero h1 .title-word:nth-child(3) { animation-delay: 0.3s; }
.hero h1 .title-word:nth-child(4) { animation-delay: 0.4s; }
.hero h1 .title-word:nth-child(5) { animation-delay: 0.5s; }
.hero h1 .title-word:nth-child(6) { animation-delay: 0.6s; }
.hero h1 .title-word:nth-child(7) { animation-delay: 0.7s; }
.hero h1 .title-word:nth-child(8) { animation-delay: 0.8s; }
.hero h1 .title-word:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .subtitle {
    font-family: var(--font-en);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero .description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
        align-items: flex-start; /* Align buttons to the left */
        gap: 15px;
    }
}

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.intro-item {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: var(--transition);
}

.intro-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.intro-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.intro-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    border-top-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-desc-kr {
    margin-bottom: 10px;
    font-weight: 500;
}

.service-desc-en {
    font-family: var(--font-en);
    color: #777;
    font-size: 0.9rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    perspective: 1000px; /* enable 3D for flip */
}

.team-card:hover {
    transform: translateY(-5px);
}

.flip-hint {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.team-card:hover .flip-hint {
    opacity: 1;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-face {
    position: relative;
    width: 100%;
    backface-visibility: hidden;
    background: var(--white);
}

.team-card-face.back {
    position: absolute;
    inset: 0;
    padding: 24px;
    border-radius: 8px;
    /* Subtle dark overlay for better contrast */
    background: linear-gradient(145deg, rgba(10,37,64,0.88), rgba(10,37,64,0.7));
    color: #f1f5fb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-card-face.back h3 {
    margin-bottom: 6px;
    color: #f9fbff;
    font-size: 1.15rem;
}

.team-back-list {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 1.05rem;
    color: #f3f6fd;
    font-weight: 600;
}

.team-back-list li {
    line-height: 1.55;
    color: inherit;
}

.back-note {
    margin-top: auto;
    font-size: 0.95rem;
    color: #dbe5f3;
}

.team-img-container {
    width: 100%;
    aspect-ratio: 4 / 5; /* Keeps portrait frames consistent */
    overflow: hidden;
}

.team-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop to fill without distortion */
    object-position: center top;
    display: block;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    margin-bottom: 5px;
}

.team-info .position {
    display: block;
    color: var(--accent-color);
    font-family: var(--font-en);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-info .bio {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

/* Results Section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.result-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center; /* Center align content */
}

.result-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-block;
}

.result-item h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.result-item .amount {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.result-item .desc {
    color: #ccc;
    font-size: 0.95rem;
}

.disclaimer-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #aaa;
    text-align: center;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light-bg);
}

.faq-question.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--light-bg);
}

.faq-answer p {
    padding: 20px;
    color: #555;
}

/* Contact Section */
.contact-info-wrapper {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    width: 100%;
}

.info-box {
    margin-bottom: 30px;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form-box {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Footer */
.footer {
    background-color: #051525;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 0;
}

/* Styles for Social Icons in Footer */
.social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px; /* Further reduced gap */
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px !important; /* Forcing rounded square corners */
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.line    { background-color: #00B900; }
.social-icon.kakao   { background-color: #FEE500; color: #000; }
.social-icon.youtube { background-color: #FF0000; }
.social-icon.facebook{ background-color: #1877F2; }
.social-icon.instagram{ background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-icon.tiktok  { background-color: #000000; }

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

.footer-links a {
    margin-left: 25px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.legal-text {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #777;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.social-icon:hover::before {
    transform: scale(1);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-icon i {
    position: relative;
    z-index: 1;
}

.social-icon.line    { background-color: #00B900; }
.social-icon.kakao   { background-color: #FEE500; color: #000; }
.social-icon.youtube { background-color: #FF0000; }
.social-icon.facebook{ background-color: #1877F2; }
.social-icon.instagram{ background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }


/* Partner Logos Section */
.partner-logos {
    margin: 20px 0;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.partner-logos h4 {
    text-align: center;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.partner-logos-scroll {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partner-logos-track {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: scroll-logos 30s linear infinite;
    width: fit-content;
}

.partner-logos-scroll:hover .partner-logos-track {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    height: 70px;
    width: 140px;
}

.partner-logo-img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.partner-logo-item:hover .partner-logo-img {
    opacity: 1;
    transform: scale(1.1);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between buttons */
}

.float-btn {
    position: relative; /* This is crucial for the pulse animation */
    display: flex;
    align-items: center;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: bold;
}

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

.float-btn i {
    font-size: 20px;
    margin-right: 10px;
}

.float-text {
    font-size: 16px;
    white-space: nowrap;
}

.kakao-btn {
    background-color: #FEE500; /* Kakao Yellow */
    color: #000000;
}

.kakao-btn.maintenance {
    background-color: #999999;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.kakao-btn.maintenance:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.kakao-btn.maintenance .pulse-ring {
    display: none;
}

.maintenance-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4444;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.line-btn {
    background-color: #00B900; /* LINE Green */
}

/* Pulse Animation */
.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: 2px solid;
    animation: pulse 2s infinite;
    z-index: -1;
}

.kakao-btn .pulse-ring {
    border-color: #FEE500;
}

.line-btn .pulse-ring {
    border-color: #00B900;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Scroll Animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* LINE Modal (Desktop QR) */
.line-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.line-modal.open {
    display: flex;
}

.line-modal-content {
    background: #ffffff;
    padding: 30px 25px 25px;
    border-radius: 8px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.line-modal-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.line-modal-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.line-modal-content img {
    width: 220px;
    height: 220px;
    border-radius: 4px;
}

.line-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

/* Pulse Animation */
.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: 2px solid;
    animation: pulse 2s infinite;
    z-index: -1;
}

.kakao-btn .pulse-ring {
    border-color: #FEE500;
}

.line-btn .pulse-ring {
    border-color: #00B900;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .navbar .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero {
        background-position: 75% top; /* Adjusts horizontal position for mobile */
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    .intro-grid, .services-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        justify-content: center; /* Center the flex items */
    }

    .footer-left {
        align-items: center; /* Center the logo and icons column */
    }

    .social-icons {
        justify-content: center; /* Center the social icons themselves */
    }

    .footer-right {
        text-align: center; /* Center the legal links */
        width: 100%;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    
    .partner-logos {
        margin: 30px 0;
        padding: 30px 0;
    }
    
    .partner-logos h4 {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .partner-logos-track {
        gap: 25px;
    }
    
    .partner-logo-item {
        height: 60px;
        width: 120px;
        padding: 10px 15px;
    }
    
    .partner-logo-img {
        max-height: 45px;
    }
    


    .btn {
        padding: 14px 24px;
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 60px 0;
    }
}

@media (min-width: 480px) {
    .line-text {
        display: inline;
    }
    .line-float-btn {
        padding: 12px 20px;
        border-radius: 50px;
    }
    .line-icon {
        margin-right: 10px;
    }
}

/* Partner Logos Responsive - Small screens */
@media (max-width: 480px) {
    .partner-logos-track {
        gap: 20px;
    }
    
    .partner-logo-item {
        height: 55px;
        width: 100px;
        padding: 8px 12px;
    }
    
    .partner-logo-img {
        max-height: 40px;
    }
    
    .partner-logos h4 {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }
}

/* Floating LINE Button & Modal */
.floating-line-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #00B900; /* LINE Green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.floating-line-btn:hover {
    transform: scale(1.1);
}

.line-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.line-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 350px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.line-modal-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
}

.line-modal-close:hover,
.line-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#line-qr-code {
    width: 100%;
    max-width: 250px;
    margin-top: 15px;
}
