/* Vistra Global Branding Colors */
:root {
    --primary-color: #F5A623;
    /* Gold/Orange */
    --primary-dark: #D48806;
    --secondary-color: #000000;
    /* Black */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --bg-dark: #111111;
    --white: #ffffff;
    --max-width: 1200px;
    --nav-height: 100px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Smooth pro ease */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

body {
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    border: none;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    /* Glassmorphism */
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    height: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 173px;
    /* Reset to reasonable desktop size, user requested large but 173px is huge for a sticky header */
    width: auto;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 150px;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-list li {
    margin-left: 35px;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 8px 25px !important;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color) !important;
}

.btn-nav:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    margin-left: 30px !important;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
    font-size: 1.2rem !important;
    opacity: 0.6;
    margin: 0 8px;
    transition: var(--transition);
    display: grid;
    place-items: center;
}

.lang-btn.active,
.lang-btn:hover {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.fi {
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    /* Call center image */
    background: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1932&q=80') no-repeat center center/cover;
    background-attachment: fixed;
    /* Parallax */
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 60px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
}

.hero-btns {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.1s;
}

.hero-btns .btn {
    margin: 0 15px;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal on Scroll Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Features / Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 50px 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
    display: inline-block;
}

.feature-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Services */
/* Services Section Redesign */
.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

.service-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    padding: 50px 30px;
    position: relative;
    z-index: 1;
}

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-image {
    width: 100px;
    height: 100px;
    background-color: rgba(245, 166, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--primary-color);
    font-size: 3rem;
    transition: var(--transition);
}

.service-item:hover .service-image {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-icon-large {
    transition: var(--transition);
}

.service-item:hover .service-icon-large {
    transform: rotateY(-180deg);
    /* Counter rotation to keep icon upright or allow flip */
}

.service-text {
    padding: 0;
}

.service-text h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.service-text p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 3rem;
}

.cta-section p {
    margin-bottom: 40px;
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact */
.contact-content {
    display: block;
    /* Changed from flex to block to center the form */
    /* gap: 60px; Removed */
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1.2;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: var(--transition);
}

.contact-form:hover {
    transform: translateY(-5px);
}

.info-item {
    display: flex;
    align-items: flex-start;
    /* Align to top for long text */
    margin-bottom: 40px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.info-item:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateX(10px);
}

.info-item i {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    /* Prevent squishing */
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 25px;
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.4);
}

/* Floating Labels & Form Styling */
.form-floating {
    position: relative;
    margin-bottom: 25px;
    /* Fix "dip dibe" issue */
}

.form-floating input,
.form-floating textarea {
    width: 100%;
    padding: 20px 20px 10px;
    /* Top padding for label space */
    border: 2px solid #eee;
    background: #fdfdfd;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
    color: var(--text-color);
}

.form-floating textarea {
    height: 150px;
    resize: none;
}

.form-floating label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    transition: 0.2s ease all;
    background-color: transparent;
    padding: 0 5px;
    font-weight: 500;
}

.form-floating textarea~label {
    top: 25px;
    /* Adjust for textarea */
}

.form-floating input:focus,
.form-floating input:not(:placeholder-shown),
.form-floating textarea:focus,
.form-floating textarea:not(:placeholder-shown) {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.15);
}

.form-floating input:focus~label,
.form-floating input:not(:placeholder-shown)~label,
.form-floating textarea:focus~label,
.form-floating textarea:not(:placeholder-shown)~label {
    top: 0;
    left: 15px;
    transform: translateY(-50%) scale(0.85);
    background-color: var(--white);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Footer Redesign */
.footer {
    background-color: #050505;
    color: #bbb;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 1fr;
    gap: 40px;
    text-align: left;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo img {
    height: 170px;
    /* Adjusted size */
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Footer Links */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Footer Contact */
.contact-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-row i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    min-width: 15px;
}

.contact-row a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.contact-row a:hover {
    color: var(--primary-color);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-row {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .contact-row i {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .hours-info {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 900px) {

    .service-item,
    .service-item.reverse {
        flex-direction: column;
    }

    .service-image,
    .service-text {
        width: 100%;
        flex: none;
    }

    .service-image {
        height: 300px;
    }

    .service-text {
        padding: 40px;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    /* Mobile Menu */
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #000;
        /* Solid black background */
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-list.active {
        transform: translateX(0);
    }

    .nav-list li {
        margin: 20px 0;
        opacity: 0;
        transform: translateX(20px);
        transition: var(--transition);
    }

    .nav-list.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.2s;
        /* Cascade effect */
    }

    /* Logo resizing for mobile */
    .logo img {
        height: 130px !important;
        /* Ensure logo is small on mobile */
    }

    .lang-switch {
        margin-top: 30px;
        padding-left: 0;
        border-left: none;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .contact-content {
        flex-direction: column;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns .btn {
        margin: 0;
        width: 100%;
    }
}

/* Snow Effect */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background-color: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(110vh);
    }
}

/* Scroll To Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.6);
}