* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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


/* Header Styles */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
}

header.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

header.scrolled .logo {
    color: #1a3a6c;
}

.logo span {
    color: #e63946;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
}

header.scrolled nav ul li a {
    color: #333;
}

nav ul li a:hover {
    color: #e63946;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #e63946;
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}


/* Dropdown Menu - Column Layout */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    /* Make dropdown items show in column */
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    width: 100%;
}

.dropdown-menu a {
    color: #333 !important;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #e63946 !important;
    padding-left: 25px;
}

.dropdown-menu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: #e63946;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

header.scrolled .mobile-menu-btn {
    color: #1a3a6c;
}


/* Hero Section */

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../image/banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 200px 20px 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    opacity: 0;
    animation: fadeInUp 1s 0.3s forwards;
}

.btn {
    display: inline-block;
    background-color: #e63946;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 1s 0.6s forwards;
}

.btn:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* Features Section */

.features {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 22px;
    color: #1a3a6c;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e63946;
}

.feature-card p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-card .btn {
    align-self: flex-start;
    padding: 10px 25px;
    font-size: 14px;
}


/* Services Section */

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #1a3a6c;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: #e63946;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a3a6c;
}

.service-content p {
    color: #666;
    margin-bottom: 15px;
}


/* Service Areas Section */

.service-areas {
    background-color: #f1f5f9;
    padding: 80px 0;
}

.areas-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.areas-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.area-group {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.area-group h3 {
    font-size: 22px;
    color: #1a3a6c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e63946;
}

.city-list {
    list-style-type: none;
}

.city-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.city-list li:last-child {
    border-bottom: none;
}

.city-list li i {
    color: #e63946;
    margin-right: 10px;
    font-size: 12px;
}

.area-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 500px;
    object-fit: cover;
}


/* Customer Testimonials Section */

.testimonials {
    background-color: #1a3a6c;
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

.testimonials .section-title h2 {
    color: white;
}

.testimonials .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-container {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    width: 70%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #e63946;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex-grow: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 60px;
    color: #e63946;
    position: absolute;
    top: -30px;
    left: -15px;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.author-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.testimonial-rating {
    color: #ffd700;
    font-size: 18px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background-color: #e63946;
}


/* Blog Section - COLUMN LAYOUT */

.blog {
    padding: 80px 0;
    background-color: white;
}

.blog-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    height: 300px;
    margin-bottom: 30px;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 40%;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-meta {
    display: flex;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.blog-date,
.blog-category {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.blog-date i,
.blog-category i {
    margin-right: 5px;
    color: #e63946;
}

.blog-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a3a6c;
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-link {
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
}

.blog-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.blog-link:hover i {
    transform: translateX(5px);
}


/* About Section */

.about {
    background-color: #f1f5f9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: #1a3a6c;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* Contact Section */

.contact {
    background-color: #1a3a6c;
    color: white;
}

.contact .section-title h2 {
    color: white;
}

.contact .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-detail {
    display: flex;
    margin-bottom: 20px;
}

.contact-detail i {
    font-size: 20px;
    margin-right: 15px;
    color: #e63946;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 4px;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}


/* Footer */

footer {
    background-color: #0d1b2a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #e63946;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.consulting-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.3;
}

.section-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-method h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.form-button {
    background-color: #0073e6;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
}

.form-button:hover {
    background-color: #005bb5;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 20px 0;
    color: #fff;
    letter-spacing: 1px;
}

.hours {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 10px;
}


/* Page Header */

.page-header {
    background: linear-gradient(rgba(26, 58, 108, 0.9), rgba(26, 58, 108, 0.9)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 20px 80px;
    /* margin-top: 80px; */
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-header p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}


/* Services Section */

.services-detail {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #1a3a6c;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: #e63946;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.service-detail-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    align-items: center;
    padding: 40px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #1a3a6c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-right: 30px;
    flex-shrink: 0;
}

.service-title {
    flex-grow: 1;
}

.service-title h3 {
    font-size: 28px;
    color: #1a3a6c;
    margin-bottom: 10px;
}

.service-title p {
    color: #666;
    font-size: 18px;
}

.service-content {
    padding: 40px;
}

.service-overview {
    margin-bottom: 30px;
}

.service-overview h4 {
    font-size: 22px;
    color: #1a3a6c;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e63946;
}

.service-overview p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}


/* Animations */

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


/* Mobile Styles - FIXED */

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(26, 58, 108, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 80px 20px 20px;
        transition: all 0.3s;
        z-index: 999;
        overflow-y: auto;
    }
    nav ul.active {
        display: flex;
    }
    nav ul li {
        margin: 10px 0;
        width: 100%;
        max-width: 300px;
    }
    nav ul li a {
        font-size: 18px;
        color: white;
        justify-content: center;
        padding: 12px 20px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.1);
    }
    /* Dropdown on mobile - NO ARROW */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 5px;
        display: none;
        width: 100%;
        border-radius: 4px;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        flex-direction: column;
    }
    .dropdown.active .dropdown-menu {
        display: flex;
        max-height: 400px;
    }
    .dropdown-menu a {
        color: white !important;
        padding: 10px 20px 10px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
        justify-content: flex-start;
    }
    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.15);
        padding-left: 35px;
    }
    .dropdown-menu a i {
        color: #ff9aa2;
    }
    /* REMOVE ARROW COMPLETELY - NO ARROW ON MOBILE */
    .dropdown>a:after {
        display: none;
    }
    .dropdown.active>a:after {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero {
        padding: 150px 20px 80px;
    }
    .section,
    .features,
    .service-areas,
    .blog,
    .testimonials {
        padding: 60px 0;
    }
    .section-title h2 {
        font-size: 30px;
    }
    .services-grid,
    .features-grid,
    .about-content,
    .areas-container {
        grid-template-columns: 1fr;
    }
    .testimonial-container {
        height: 400px;
    }
    .testimonial-card {
        width: 95%;
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .testimonial-image {
        width: 100px;
        height: 100px;
    }
    .blog-card {
        flex-direction: column;
        height: auto;
    }
    .blog-image {
        width: 100%;
        height: 250px;
    }
    .blog-content {
        width: 100%;
        padding: 20px;
    }
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    .phone-number {
        font-size: 1.5rem;
    }
    .page-header {
        padding: 120px 20px 60px;
        /* margin-top: 70px; */
    }
    .page-header h1 {
        font-size: 36px;
    }
    .page-header p {
        font-size: 18px;
    }
    .services-detail {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }
    .hero {
        padding: 120px 20px 60px;
    }
    .testimonial-container {
        height: 450px;
    }
    .testimonial-text {
        font-size: 16px;
    }
    .blog-content h3 {
        font-size: 20px;
    }
    .page-header h1 {
        font-size: 28px;
    }
}


/* Desktop dropdown in column */

@media (min-width: 769px) {
    .dropdown-menu {
        display: flex;
        flex-direction: column;
    }
    .dropdown-menu a {
        font-size: 14px;
    }
    .dropdown-menu a:hover {
        background-color: #f1f5f9;
    }
}