:root {
    --primary-color: #0056b3;
    /* Trustworthy Blue */
    --secondary-color: #00a8e8;
    /* Cyan accent */
    --text-color: #333333;
    --bg-color: #ffffff;
    --bg-light: #f4f7f6;
    --font-main: 'Noto Sans JP', sans-serif;
    --transition-speed: 0.3s;
}

/* Global Styles Override */
h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* Enhanced Section Headers */
h2 {
    font-size: 2.8rem;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    display: inline-block;
    z-index: 1;
    color: #003366;
    /* Match Logo Color */
    font-family: 'Montserrat', sans-serif;
    /* Match Logo Font */
    font-weight: 700;
}

h2::before {
    content: attr(data-en);
    display: block;
    font-size: 0.9rem;
    color: var(--secondary-color);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5%;
    width: 110%;
    height: 15px;
    background: rgba(0, 168, 232, 0.15);
    z-index: -1;
    transform: rotate(-1deg);
    border-radius: 3px;
}

.h2-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-icon {
    width: 40px;
    height: 40px;
    color: var(--secondary-color);
    transform: skew(-10deg);
}

/* Mission Text Emphasis */
/* Mission Text Emphasis */
.section-header p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 25px;
    /* More space */
    background: transparent;
    /* No pill bg */
    display: block;
    /* Block to sit under */
    padding: 0;
}

p {
    margin-bottom: 1.5rem;
    color: #555;
}

body {
    text-align: center;
    background-color: var(--bg-color);
    background-image: radial-gradient(#cbd5e0 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

/* Layout Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section {
    padding: 80px 0;
    /* Natural vertical spacing */
    position: relative;
}

.mt-4 {
    margin-top: 2rem !important;
    /* Spacing for buttons */
}

.text-center {
    text-align: center;
}

/* Global Center Alignment Requested */
.text-left {
    text-align: left;
}

/* Buttons */
/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.1em;
    /* Increased spacing */
}

/* ... existing button styles ... */

/* Button-like Nav Links - REPLACED */
.nav-list a:not(.btn) {
    padding: 10px 22px;
    background: rgba(0, 0, 0, 0.02);
    /* Slight default bg for button feel */
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-list a:not(.btn):hover {
    background: #eef2f5;
    color: var(--primary-color);
    transform: translateY(-2px);
    border-color: #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ... existing styles ... */

.news-item {
    border: 1px solid #e0eef8;
    /* Subtle border */
    background: #f8fbff;
    /* Light blue tint */
    padding: 0 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #fff;
    /* White on hover for pop */
    border-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    /* More visible hover */
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.5);
}

.btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    margin-left: 10px;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-white {
    background: #fff;
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Header Refined */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #003366;
    /* Darker blue like reference */
    letter-spacing: 0.1em;
    /* Wide spacing */
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 35px;
    height: 35px;
    color: var(--secondary-color);
    /* Cyan accent for bolt */
    transform: skew(-10deg);
    /* Slight speed effect */
}

/* Removed old .logo span rule as it's no longer used structure */

body {
    text-align: center;
    background-color: var(--bg-color);
    background-image: radial-gradient(#cbd5e0 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

/* ... existing code ... */

.nav-list {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    /* Removed bullets */
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-weight: 700;
    color: #333;
    position: relative;
    font-size: 0.95rem;
    text-decoration: none;
    /* Removed underlines */
}

/* Button-like Nav Links - REPLACED */
.nav-list a:not(.btn) {
    padding: 10px 22px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-list a:not(.btn):hover {
    background: #eef2f5;
    color: var(--primary-color);
    transform: translateY(-2px);
    border-color: #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav-icon {
    width: 18px;
    height: 18px;
    color: var(--secondary-color);
    transform: skew(-10deg);
}

.nav-list a.btn {
    /* Ensure button has flex too if icon is added */
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centering */
    color: #fff;
    margin-top: 60px;
    /* Header height */
    text-align: center;
    /* Ensure hero text is centered */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    /* Darker for better text contrast */
}

.hero-content h1 {
    font-size: 4.5rem;
    /* Larger Title */
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.hero-content p {
    font-size: 1.4rem;
    color: #f0f0f0;
    margin-bottom: 3rem;
    font-weight: 500;
}

/* About Section Refined */
.about {
    background: transparent;
    /* Use dot pattern */
}

.about-grid {
    display: flex;
    flex-direction: column;
    /* Stack vertically for "Center" focus */
    align-items: center;
    /* Center everything */
    gap: 40px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    text-align: center;
    /* Centered text */
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Card effect */
    position: relative;
    z-index: 2;
    margin-top: -50px;
    /* Overlap image */
}

.about-image {
    width: 100%;
    max-height: 400px;
    /* Limit height */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arrow-link {
    color: var(--secondary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    font-size: 1.1rem;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
}

.arrow-link:hover {
    border-bottom: 2px solid var(--secondary-color);
}

.arrow-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s;
}

.arrow-link:hover::after {
    transform: translateX(5px);
}

/* Service Section */
.service {
    background-image: url('assets/service_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
}

/* Mission Section */
.mission-bg {
    /* Dual gradients: Top fade-in (white->transparent) and Bottom fade-out (transparent->white) */
    background-image:
        linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0) 15%),
        linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0) 15%),
        url('assets/mission_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    /* Increased padding for better breathing room */
    position: relative;
    margin-top: 0;
    /* Reset negative margin */
}

/* Common Page Header Style - Reverted to straight edge for cleaner gradient blend */
.page-header {
    border-radius: 0;
    margin-bottom: 0;
}

.mission-text-box {
    background: rgba(255, 255, 255, 0.9);
    /* Slightly more opaque */
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    max-width: 840px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.mission-text-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.mission-text-box p {
    color: #333;
    font-weight: 500;
    line-height: 2;
}

/* Service Card Styling (Home Page) */
.service-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    width: 100%;
    max-width: 800px;
    /* Wider for vertical layout */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.card p {
    color: #555;
    line-height: 1.8;
}

/* Service Detail Page Styling */
.card-style {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* High contrast shadow */
    overflow: hidden;
    margin-bottom: 60px;
    transition: transform 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 40px;
    /* Increased padding for better framing */
}

.card-style:hover {
    transform: translateY(-5px);
}

.service-detail {
    display: flex;
    align-items: stretch;
    /* Equal height */
    gap: 40px;
    /* Increased gap */
    /* User requested revert: Photos on Left */
}

/* User requested Mobile layout swap (align consistent left-right) */
/* User confirmed "Zigzag not needed" -> All Image Left */
/* Ensure strictly NO zigzag */
.service-detail:nth-child(even) {
    flex-direction: row !important;
}

.service-img-wrapper {
    flex: 1;
    min-height: 300px;
    position: relative;
    border-radius: 12px;
    /* Round corners for the inner image */
    overflow: hidden;
    /* Clip image to radius */
}

.service-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-info {
    flex: 1;
    padding: 10px 10px;
    /* Reduced padding since card has padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.service-list {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-weight: 500;
}

.service-list li:last-child {
    border-bottom: none;
}

/* Flow Section Styling */
.bg-soft-flow {
    /* Subtle geometric pattern with top fade for natural transition */
    background-color: #f8fbff;
    /* Stronger white gradient at top for seamless transition */
    background-image:
        linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 1) 50px, rgba(255, 255, 255, 0) 300px),
        linear-gradient(30deg, #eaf4ff 12%, transparent 12.5%, transparent 87%, #eaf4ff 87.5%, #eaf4ff),
        linear-gradient(150deg, #eaf4ff 12%, transparent 12.5%, transparent 87%, #eaf4ff 87.5%, #eaf4ff),
        linear-gradient(30deg, #eaf4ff 12%, transparent 12.5%, transparent 87%, #eaf4ff 87.5%, #eaf4ff),
        linear-gradient(150deg, #eaf4ff 12%, transparent 12.5%, transparent 87%, #eaf4ff 87.5%, #eaf4ff),
        linear-gradient(60deg, #f0f7ff 25%, transparent 25.5%, transparent 75%, #f0f7ff 75%, #f0f7ff),
        linear-gradient(60deg, #f0f7ff 25%, transparent 25.5%, transparent 75%, #f0f7ff 75%, #f0f7ff);
    background-size: 100% 100%, 40px 70px, 40px 70px, 40px 70px, 40px 70px, 40px 70px, 40px 70px;
    background-position: 0 0, 0 0, 20px 35px, 20px 35px, 0 0, 20px 35px;
    padding: 100px 0;
}

.flow-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.flow-step {
    display: flex;
    align-items: stretch;
    /* Match height */
    gap: 0;
    /* Removed gap as they share a card now */
    background: #fff;
    /* Unified Card Background */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    /* Ensure image respects border radius */
}

.flow-step.reverse {
    flex-direction: row-reverse;
}

.flow-img {
    flex: 1;
    position: relative;
    min-height: 300px;
}

.flow-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover entire side of card */
    display: block;
    transition: transform 0.4s;
    border-radius: 0;
    /* Reset radius as container handles it */
    box-shadow: none;
    /* Removed shadow */
}

.flow-step:hover .flow-img img {
    transform: scale(1.05);
}

.step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
    z-index: 10;
    font-family: 'Montserrat', sans-serif;
}

.flow-step.reverse .step-number {
    left: auto;
    right: 20px;
}

.flow-content {
    flex: 1;
    text-align: left;
    padding: 50px;
    /* Internal padding for text area */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    /* Reset background */
    box-shadow: none;
    /* Reset shadow */
    border-radius: 0;
}

.flow-content h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.flow-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Service Page Media Queries */
@media (max-width: 900px) {

    .service-detail,
    .service-detail:nth-child(even) {
        flex-direction: column;
    }

    .service-img-wrapper {
        min-height: 250px;
    }

    .service-info {
        padding: 40px 30px;
    }

    .flow-step,
    .flow-step.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .step-number {
        left: 0;
        top: -20px;
    }
}




/* Blog & News List Strengthened & Header */
.blog-header {
    background: url('assets/blog_bg.png') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 60px;
    position: relative;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay for text readability */
}

.blog-header h1 {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    font-weight: 800;
}

/* Contact Page Header */
.contact-header {
    background: url('assets/contact_bg.png') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 60px;
    position: relative;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Slightly lighter overlay than blog */
}

.contact-header h1 {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    font-weight: 800;
}

.contact-intro {
    /* Hybrid Design: White Card + Blue Accent Line */
    margin: 40px auto 60px;
    max-width: 600px;
    /* Matched to contact-form width */
    padding: 40px 40px 40px 30px;
    /* Left padding slightly less due to border visually */
    border-left: 8px solid var(--primary-color);
    /* Thick accent line */
    background: #fff;
    /* Restored white bg */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Restored shadow */
    border-radius: 8px;
    /* Slightly sharper corners for professional look */
    text-align: left;
    /* Keep left align */
    position: relative;
    z-index: 2;
    margin-top: -30px;
}

.contact-phone-card {
    /* Phone Section Card Style */
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    /* Match intro border radius */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    /* Center align for phone info */
    border-top: 5px solid var(--primary-color);
    /* Top accent instead of left for balance */
}

.contact-phone-card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.phone-number {
    font-size: 2.5rem;
    /* Very large */
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 10px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
}

.phone-hours {
    font-size: 1rem;
    color: #555;
    /* Slightly darker for bold visibility */
    margin: 0;
    font-weight: 700;
    /* Bold as requested */
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.news-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 20px;
}

.news-link:hover .news-title {
    color: var(--primary-color);
}

.news-meta {
    min-width: 140px;
    display: flex;
    gap: 15px;
    flex-direction: row;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

/* Make date bold and black as requested */
.news-meta time {
    color: #000;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.tag {
    background: #eef4fa;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    transition: color 0.3s;
    line-height: 1.6;
    color: #333;
}

/* Blog & News Expanded Logic */
.news-item {
    cursor: pointer;
    position: relative;
}

/* Hide all paragraphs by default */
.news-item p {
    display: none;
    color: #555;
    line-height: 1.8;
    margin-top: 10px;
}

/* Show only the first paragraph, clamped to 1 line */
.news-item p:first-of-type {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* When expanded, show all paragraphs normally */
.news-item.expanded p {
    display: block;
    -webkit-line-clamp: unset;
}

/* Add a subtle indicator that it expands (optional, but good UX) */
.news-item::after {
    content: '▼';
    position: absolute;
    bottom: 20px;
    right: 30px;
    color: #ccc;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.news-item.expanded::after {
    transform: rotate(180deg);
}

/* CTA Section */
/* CTA Section - Recruitment */
/* CTA Section - Recruitment */
.cta-section {
    position: relative;
    color: #222;
    overflow: hidden;
    /* Smooth gradient transition from white (previous section) to light blue */
    background: linear-gradient(to bottom, #ffffff 0%, #f0f8ff 100px);
    padding: 100px 0;
    /* ensure no border exists */
    border: none !important;
}

.cta-bg {
    display: none;
}

/* Removed conflicting .cta-content p rule that was overriding text color */

/* FORCE override global h2 styles for this section */
.cta-content h2 {
    color: var(--primary-color) !important;
    margin-bottom: 20px;
    font-weight: 800;
    display: inline-block;
    border-bottom: 3px solid var(--primary-color) !important;
    padding-bottom: 5px;
    background: transparent !important;
    position: relative;
    z-index: 10;
}

/* NUKE the global highlighter effect on this h2 */
.cta-content h2::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}



/* Specific fix for button underline persistence */
a.btn,
.cta-btns a.btn {
    text-decoration: none !important;
    border-bottom: none !important;
}

.cta-btns .btn:hover,
.cta-btns a:hover {
    text-decoration: none !important;
    border-bottom: none !important;
    transform: translateY(-2px);
    /* keep nice hover effect */
}

.table-profile {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    /* Added white background */
    border: 1px solid #eee;
    /* Added border to enclose the table */
}

.cta-btns {
    margin-top: 30px;
}

/* Footer Stylish Redesign */
.footer {
    background: #1a1a2e;
    /* Deep dark blue/black */
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

/* Gradient Top Border */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #aaccff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer address {
    font-style: normal;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 2;
    opacity: 0.8;
}

.footer-links {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: flex-end;
}

.footer-links ul {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #fff;
    opacity: 0.7;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #fff;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.8rem;
    color: #888;
    text-align: center;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a.active,
.pagination a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

    .nav {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background: #fff;
        padding: 20px;
        transition: 0.3s;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.05);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        flex-direction: column;
    }

    .news-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
}