@charset "UTF-8";

/* =========================================
   Top Page Styles (Slider Version)
   ========================================= */

/* Hero Container */
.hero-slider-section {
    height: 90vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    background-color: var(--color-black);
    /* Dark bg behind slides */
}

/* Slider Wrapper */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Individual Slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* 
       Total 3 slides. 
       "5 seconds fade out" -> Assume 5s visible cycle per slide.
       Total Animation Duration = 5s * 3 = 15s.
    */
    animation: zoomFade 15s infinite;
}

/* Stagger Delays */
.hero-slide.slide-1 {
    animation-delay: 0s;
}

.hero-slide.slide-2 {
    animation-delay: 5s;
}

.hero-slide.slide-3 {
    animation-delay: 10s;
}

/* Zoom & Fade Keyframes */
@keyframes zoomFade {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 1;
        /* Fade in quickly */
    }

    33% {
        opacity: 1;
        /* Stay visible */
        transform: scale(1.05);
        /* Zoom mid-point */
    }

    38% {
        opacity: 0;
        /* Fade out */
        transform: scale(1.1);
        /* Zoom end */
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Overlay for Text Readability */
.hero-overlay-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    /* Light overlay as per prev design, or dark? Samoyed tech was light? Let's stick to Light overlay if text is black. Wait, text was black in .hero-static. If background is image, black text might be hard to read without heavy overlay. 
    User didn't specify text color change, just background image. 
    If I use image, usually white text is better. 
    BUT Samoyed Tech style is "Black Text on White". 
    If we put images, we need a LIGHT overlay to keep Black text readable. */
    background: rgba(255, 255, 255, 0.65);
    /* Stronger light overlay */
    z-index: 2;
}

/* Content Positioning */
.hero-content-absolute {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    /* inherits .container constraints */
}

/* Reusing Text Styles but adding text-shadow if needed */
.hero-text-wrapper {
    text-align: left;
    padding-left: 5%;
}

.hero-main-title {
    font-family: var(--font-heading);
    font-size: 10rem;
    line-height: 0.8;
    color: var(--color-primary-red);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    /* No shadow needed if overlay is white enough */
}

.text-amp {
    font-size: 0.5em;
    color: #ccc;
    vertical-align: middle;
}

.hero-sub-title {
    font-size: 1.1rem;
    color: #333;
    /* Darker for readability */
    line-height: 1.8;
    margin-left: 0.5rem;
    max-width: 600px;
    font-weight: 700;
    /* Bold for readability */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-slider-section {
        height: 70vh;
    }

    .hero-main-title {
        font-size: 3rem;
    }

    .hero-text-wrapper {
        padding-left: 0;
        text-align: center;
    }

    .hero-content-absolute {
        justify-content: center;
    }
}

/* Business List Section */
.business-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* No gap, flush or spacious? Let's go spacious */
    gap: 8rem;
}

.business-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.business-item.reverse {
    flex-direction: row-reverse;
}

.business-info {
    flex: 1;
    max-width: 500px;
}

.business-image {
    flex: 1.2;
    position: relative;
}

.business-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    /* Sharp corners */
    box-shadow: 20px 20px 0px var(--color-light-gray);
    /* Offset block shadow */
    filter: grayscale(100%);
    /* B&W filter */
    transition: 0.5s;
}

.business-item.in-view .business-image img {
    filter: grayscale(0%);
    /* Color on scroll */
    box-shadow: 10px 10px 0px var(--color-primary-red);
}

.business-title {
    font-size: 2.5rem;
    line-height: 0.9;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.business-jp {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-red);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.business-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 2;
    text-align: justify;
}

.arrow-link {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-black);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--color-black);
    padding-bottom: 5px;
}

.arrow-link::after {
    content: '→';
    transition: 0.3s;
}

.arrow-link:hover::after {
    transform: translateX(10px);
}

@media (max-width: 900px) {
    .business-list {
        gap: 5rem;
    }

    .business-item,
    .business-item.reverse {
        flex-direction: column-reverse;
        /* Text on top or bottom? Usually Image Top on mobile. */
        flex-direction: column;
        gap: 2rem;
    }

    .business-image img {
        box-shadow: 10px 10px 0px var(--color-light-gray);
    }

    .business-title {
        font-size: 2rem;
    }

    .business-info {
        max-width: 100%;
    }
}

/* Split Links */
.split-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* Flush */
}

.split-link-card {
    background: var(--color-primary-red);
    padding: 6rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.split-link-card.dark {
    background: var(--color-black);
    color: var(--color-white);
}

.split-link-content {
    z-index: 2;
}

.split-link-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.split-link-title {
    font-size: 2rem;
    font-weight: 700;
}

.split-link-arrow {
    font-size: 3rem;
    font-family: var(--font-heading);
    transition: 0.3s;
}

.split-link-card:hover .split-link-arrow {
    transform: translateX(10px);
}

.split-link-card:hover {
    background: #f48787;
}

.split-link-card.dark:hover {
    background: #222;
}

@media (max-width: 768px) {
    .split-links {
        grid-template-columns: 1fr;
    }

    .split-link-card {
        padding: 3rem 2rem;
    }
}

/* About Modern Split */
.about-modern-split {
    display: flex;
    align-items: center;
    gap: 5rem;
    padding: 0 5%;
}

.about-modern-text {
    flex: 1;
}

.about-modern-image {
    flex: 1;
    height: 100%;
}

.about-modern-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 20px 20px 0px var(--color-light-gray);
    object-fit: cover;
    aspect-ratio: 4/3;
    filter: grayscale(100%);
    transition: 0.5s;
}

.about-modern-image.in-view img {
    filter: grayscale(0%);
    transform: translate(-5px, -5px);
    box-shadow: 25px 25px 0px var(--color-primary-red);
}

@media (max-width: 900px) {
    .about-modern-split {
        flex-direction: column-reverse;
        /* Puts Image (2nd child) on Top if it was [Text, Image]? No.
        HTML is [Text, Image]. 
        Desktop: Row ([Text], [Image]).
        Mobile: Column-Reverse ([Image], [Text]). 
        Wait, column-reverse makes the *last* child visual top? 
        Items: 1. Text, 2. Image.
        Column-Reverse:
        Top: Item 2 (Image)
        Bottom: Item 1 (Text)
        Yes, this is correct. */
        gap: 3rem;
        padding: 0;
    }

    .about-modern-image img {
        box-shadow: 10px 10px 0px var(--color-light-gray);
    }
}

/* Service Intro Split (Why Choose Us) - Similar to About Modern Split but specific for Services */
.service-intro-split {
    display: flex;
    align-items: center;
    gap: 5rem;
    padding: 2rem 0;
}

.service-intro-text {
    flex: 1;
}

.service-intro-img {
    flex: 1;
}

.service-intro-img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 20px 20px 0px var(--color-light-gray);
    object-fit: cover;
    aspect-ratio: 4/3;
    filter: grayscale(100%);
    transition: 0.5s;
}

.service-intro-split.in-view .service-intro-img img {
    filter: grayscale(0%);
    transform: translate(-5px, -5px);
    box-shadow: 25px 25px 0px var(--color-primary-red);
}

@media (max-width: 900px) {
    .service-intro-split {
        flex-direction: column-reverse;
        /* Mobile: Image Top (2nd item becomes visual top), Text Bottom */
        gap: 3rem;
    }

    .service-intro-img img {
        box-shadow: 10px 10px 0px var(--color-light-gray);
    }
}

/* Desktop only reverse modifier to allow stacking on mobile */
@media (min-width: 901px) {
    .service-intro-split.reverse {
        flex-direction: row-reverse;
    }
}

.section-ouka {
    background-color: lightpink;
}

/* =========================================
   Support Page Theme (Navy Background)
   ========================================= */
.page-support {
    background-color: var(--color-primary-navy);
    color: var(--color-white);
}

.page-support .section {
    background-color: var(--color-primary-navy);
    color: var(--color-white);
}

.page-support .section.bg-light {
    background-color: #151b5e;
    /* Slightly darker/different navy for contrast or keep same? */
    background-color: var(--color-primary-navy);
    /* Keep uniform or minimal variation */
}


.page-support .section.bg-red {
    background-color: #800000;
    /* Keep uniform or minimal variation */
}

.page-support .section-title,
.page-support .section-subtitle,
.page-support .hero-title,
.page-support .business-title,
.page-support h1,
.page-support h2,
.page-support h3,
.page-support p {
    color: var(--color-white) !important;
}

/* Yellow Accents (Shadows, Borders) */
.page-support .service-intro-img img {
    box-shadow: 20px 20px 0px var(--color-primary-yellow);
}

.page-support .service-intro-split.in-view .service-intro-img img {
    box-shadow: 25px 25px 0px var(--color-white);
    /* White or Yellow hover? Let's alter. */
    box-shadow: 25px 25px 0px #fff176;
    /* Lighter yellow */
}

/* Cards on Navy Background */
.page-support .feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    /* Glassy/Transparent white */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.page-support .feature-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.page-support .feature-body h3 {
    color: var(--color-primary-yellow) !important;
    /* Yellow titles in cards */
}

/* Education Section Special Styling */
.page-support .border-yellow {
    border-top: 4px solid var(--color-primary-yellow);
}

/* Form inputs on dark bg? (If any) - None in current scope but good to note */

/* Text Highlight */
.page-support .text-yellow {
    color: var(--color-primary-yellow) !important;
}

/* =========================================
   Insurance Page Theme (Ice Blue Base / Navy Accent)
   ========================================= */
.page-insurance {
    background-color: #e0ffff;
    /* Ice Blue */
    color: var(--color-black);
    /* Black Text */
}

.page-insurance .section {
    background-color: #e0ffff;
}

.page-insurance .section.bg-light {
    background-color: #d1f7f7;
    /* Slightly darker ice blue for contrast */
}

/* Text Colors - Black (except Hero) */
.page-insurance .section-title,
.page-insurance .section-subtitle,
.page-insurance h1,
.page-insurance h2,
.page-insurance h3,
.page-insurance p,
.page-insurance strong {
    color: var(--color-black);
}

.page-insurance .hero-title,
.page-insurance .hero-subtitle {
    color: var(--color-white) !important;
    /* Keep Hero text white on image */
}

/* Navy Accents (Shadows) */
.page-insurance .service-intro-img img {
    box-shadow: 20px 20px 0px var(--color-primary-navy);
}

.page-insurance .service-intro-split.in-view .service-intro-img img {
    box-shadow: 25px 25px 0px #000051;
    /* Darker navy */
}

/* Cards on Ice Blue Background */
.page-insurance .feature-card {
    background-color: #ffffff;
    border: 1px solid var(--color-primary-navy);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.1);
}

.page-insurance .feature-card:hover {
    box-shadow: 0 10px 25px rgba(26, 35, 126, 0.2);
}

/* Insurance specific elements */
.page-insurance .sorara-text {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--color-primary-navy);
}

.page-insurance .btn-black {
    background-color: var(--color-primary-navy);
    /* Override black btn to Navy */
}

.page-insurance .btn-black:hover {
    background-color: #000051;
}