/**
 * Homepage Styles
 * 
 * @package YuuYuuRental
 * @since 1.0.0
 */

/* ==========================================================================
   Hero Carousel
   ========================================================================== */
.hero-carousel {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel-container {
    height: 100%;
}

.carousel-main {
    height: calc(100% - 80px);
}

/* 轮播图幻灯片样式 - 防止叠加 */
.carousel-main .swiper-slide {
    height: 100%;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 当前活动幻灯片 */
.carousel-main .swiper-slide-active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
}

/* 非活动幻灯片完全隐藏 */
.carousel-main .swiper-slide:not(.swiper-slide-active) {
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.slide-content {
    color: white;
    max-width: 600px;
    position: relative;
    z-index: 3;
    padding: 0 2rem;
}

.slide-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white !important;
    animation: slideInLeft 0.8s ease-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slide-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white !important;
    animation: slideInLeft 1s ease-out;
}

.slide-slogan {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: white !important;
    font-style: italic;
    animation: slideInLeft 1.2s ease-out;
    letter-spacing: 0.5px;
}

.carousel-thumbs {
    height: 80px;
    background: rgba(0,0,0,0.8);
}

.carousel-thumbs .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.3s;
    cursor: pointer;
}

.carousel-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.carousel-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: #c41e3a !important;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: -22px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: #f8f9fa;
}

/* Section header styles moved to components.css for reusability */

.section-cta {
    text-align: center;
    margin-top: 40px;
}

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

/* Homepage news cards override components.css */
.news-section .news-card {
    display: block !important; /* Override grid layout from components.css */
    grid-template-columns: none !important;
    gap: 0 !important;
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: visible !important; /* Override overflow hidden */
}

.news-section .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* News card elements for homepage */
.news-section .news-card__date {
    color: var(--color-primary);
    font-size: 0.875rem;
    margin-bottom: 10px;
    display: block;
    text-align: left;
}

/* News card title and content for homepage */
.news-section .news-card__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
    writing-mode: initial !important; /* Fix vertical text issue */
    text-orientation: initial !important;
    direction: ltr !important;
}

.news-section .news-card__title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.news-section .news-card__title a:hover {
    color: var(--color-primary);
}

.news-section .news-card__excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: block;
}

.news-section .news-card__link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.news-section .news-card__link:hover {
    gap: 10px;
}

/* ==========================================================================
   Vehicles Section
   ========================================================================== */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    margin: 0;
    padding: 0;
}

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

.vehicle-card__image {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    border-radius: 12px 12px 0 0;
}

.vehicle-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

.vehicle-card__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-block;
    width: fit-content;
    max-width: none;
    text-align: center;
    white-space: nowrap;
    box-sizing: content-box;
}

.vehicle-card__content {
    padding: 25px;
}

.vehicle-card__title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.vehicle-card__description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.vehicle-card__features {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 0;
    list-style: none;
}

.vehicle-card__features li {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.875rem;
}

.vehicle-card__features i {
    color: var(--color-primary);
}

.vehicle-card__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.price-label {
    color: #999;
    font-size: 0.875rem;
}

.price-value {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

/* ==========================================================================
   Company Section - Philosophy Icons
   ========================================================================== */
.company-section .philosophy-icons {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.company-section .yuu-icon {
    width: 110px;
    height: 110px;
    position: relative;
}

.company-section .yuu-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Company Section Text Styling */
.company-section .company-text h3 {
    text-align: center;
}

/* Responsive Design for Company Section Philosophy Icons */
@media (max-width: 768px) {
    .company-section .philosophy-icons {
        gap: 22px;
        margin-bottom: 50px;
    }
    
    .company-section .yuu-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .company-section .philosophy-icons {
        gap: 12px;
        margin-bottom: 35px;
    }
    
    .company-section .yuu-icon {
        width: 66px;
        height: 66px;
    }
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary), #e31e24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card__icon i {
    font-size: 2rem;
    color: white;
}

.service-card__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card__description {
    color: #666;
    line-height: 1.6;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: url('../../images/blank_image.png') center/cover, linear-gradient(135deg, rgba(204, 33, 27, 0.8), rgba(227, 30, 36, 0.8));
    background-blend-mode: overlay;
    color: white;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

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

.cta-buttons .btn--secondary:hover {
    background: #f8f9fa;
}

/* ==========================================================================
   Company Section
   ========================================================================== */
.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.company-text h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #333;
}

.company-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 0.875rem;
}

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

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    overflow: hidden;
}

.testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 10px 40px;
    overflow: visible;
}

.testimonials-slider .swiper-wrapper {
    align-items: stretch;
}

.testimonials-slider .swiper-slide {
    height: auto;
    padding: 10px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.author-name {
    font-weight: bold;
    color: #333;
}

.author-info {
    color: #999;
    font-size: 0.875rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-label .required {
    color: var(--color-primary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(204, 33, 27, 0.1);
}

textarea.form-control {
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.contact-info {
    padding-top: 40px;
}

.info-block {
    margin-bottom: 40px;
}

.info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #333;
}

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

/* Info header: icon + title in one line */
.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.info-header i {
    color: var(--color-primary);
    font-size: 1.25rem;
    width: 20px;
    flex-shrink: 0;
}

.info-header strong {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Info content: actual details */
.info-content {
    margin-left: 30px; /* Align with the text, not the icon */
    line-height: 1.6;
    color: #666;
}

.info-content a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.info-content a:hover {
    text-decoration: underline;
}

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

/* Section Header Animation */
.section-header {
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 991px) {
    .hero-carousel {
        height: 500px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .vehicles-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .company-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero-carousel {
        height: 400px;
    }
    
    .carousel-thumbs {
        display: none;
    }
    
    .carousel-main {
        height: 100%;
    }
    
    .slide-title {
        font-size: 1.5rem;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .slide-slogan {
        font-size: 1.25rem;
    }
    
    /* 移动端导航按钮 */
    .swiper-button-next,
    .swiper-button-prev {
        display: flex !important;
        width: 40px;
        height: 40px;
        margin-top: -20px;
        background: rgba(255, 255, 255, 0.9);
        font-size: 16px;
    }
    
    .swiper-button-next {
        right: 10px;
    }
    
    .swiper-button-prev {
        left: 10px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        margin-top: 0.25rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
        letter-spacing: 0.1em;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==========================================================================
   Services Section - サービスセクション（サービスページ用）
   ========================================================================== */
.services-section {
    padding: 80px 0;
    background: white;
}

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

.service-card__features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #666;
}

.service-card__features li:last-child {
    margin-bottom: 0;
}

.service-card__features i {
    color: var(--color-primary);
    font-size: 0.9rem;
    width: 16px;
}

/* ==========================================================================
   Process Section - プロセスセクション
   ========================================================================== */
.process-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.process-step__number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), #e31e24);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 25px;
}

.process-step__title {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.process-step__description {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Service page CTA section override */
.services-section ~ .cta-section,
body.page .cta-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    color: #333 !important;
    padding: 3rem 0 !important;
}

.services-section ~ .cta-section::before,
body.page .cta-section::before {
    background: transparent !important;
}

.services-section ~ .cta-section .cta-title,
body.page .cta-section .cta-title {
    color: #333 !important;
}

.services-section ~ .cta-section .cta-subtitle,
body.page .cta-section .cta-subtitle {
    color: #666 !important;
}

/* Service page CTA buttons */
.services-section ~ .cta-section .btn--primary,
body.page .cta-section .btn--primary {
    background-color: var(--color-primary) !important;
    color: white !important;
    border-color: var(--color-primary) !important;
}

.services-section ~ .cta-section .btn--secondary,
body.page .cta-section .btn--secondary {
    background: white !important;
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

/* ==========================================================================
   Contact Page Styles - お問い合わせページ
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* Business Hours */
.business-hours {
    margin-top: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-label {
    font-weight: 500;
    color: #666;
}

.hours-value {
    font-weight: 600;
    color: #333;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-question i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.faq-answer {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   About Page Styles - 会社概要ページ
   ========================================================================== */

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: white;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.mission-text {
    padding-right: 20px;
}

.mission-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.3;
}

.mission-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.mission-values {
    display: grid;
    gap: 25px;
}

.value-item h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.value-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.mission-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Company Information Section */
.company-info-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.company-details {
    margin-top: 50px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.detail-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item--full {
    grid-column: 1 / -1;
}

.detail-label {
    font-weight: 600;
    color: #333;
    min-width: 120px;
    flex-shrink: 0;
}

.detail-value {
    color: #666;
    line-height: 1.6;
    flex: 1;
}

.detail-value ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-value ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.detail-value ul li:before {
    content: "•";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* History Section */
.history-section {
    padding: 80px 0;
    background: white;
}

.timeline {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 150px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-primary);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    width: 120px;
    flex-shrink: 0;
    font-weight: bold;
    color: var(--color-primary);
    font-size: 1.1rem;
    padding-right: 30px;
    text-align: right;
}

.timeline-content {
    flex: 1;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-left: 40px;
    position: relative;
}

.timeline-content:before {
    content: '';
    position: absolute;
    left: -12px;
    top: 30px;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 3px solid white;
}

.timeline-content h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Certifications Section */
.certifications-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cert-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.cert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), #e31e24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.cert-icon i {
    font-size: 1.5rem;
    color: white;
}

.cert-content h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.cert-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Access Section */
.access-section {
    padding: 80px 0;
    background: white;
}

.access-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: start;
}

.access-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* About page responsive */
@media (max-width: 991px) {
    .mission-content,
    .access-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-text {
        padding-right: 0;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .timeline:before {
        left: 80px;
    }
    
    .timeline-year {
        width: 80px;
        padding-right: 20px;
    }
    
    .timeline-content {
        margin-left: 30px;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .mission-section,
    .company-info-section,
    .history-section,
    .certifications-section,
    .access-section {
        padding: 60px 0;
    }
    
    .mission-title {
        font-size: 1.5rem;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .detail-label {
        min-width: auto;
        font-size: 0.95rem;
    }
    
    .timeline {
        margin-left: 20px;
    }
    
    .timeline:before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    .timeline-year {
        width: auto;
        text-align: left;
        padding-right: 0;
        margin-bottom: 10px;
        position: relative;
        padding-left: 30px;
    }
    
    .timeline-year:before {
        content: '';
        position: absolute;
        left: -8px;
        top: 8px;
        width: 12px;
        height: 12px;
        background: var(--color-primary);
        border-radius: 50%;
        border: 3px solid white;
    }
    
    .timeline-content {
        margin-left: 0;
        margin-top: 0;
    }
    
    .timeline-content:before {
        display: none;
    }
    
    .cert-item {
        padding: 25px;
    }
    
    .access-map iframe {
        height: 250px;
    }
}

/* Contact page responsive */
@media (max-width: 991px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .contact-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .faq-item {
        padding: 25px;
    }
    
    .map-container iframe {
        height: 250px;
    }
}

/* Responsive adjustments for service page */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .services-section,
    .process-section {
        padding: 60px 0;
    }
    
    .services-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .process-step {
        padding: 30px 25px;
    }
    
    .process-step__number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
}