/* EYANMI TECHNOLOGIES — Custom Site Overrides============================================================*/

/* ---- VARIABLES ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+Tamil:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --theme-color: #0a3d6b;
    --theme-color2: #e8611a;
    --footer-bg: #ffffff;
    --footer-text: #0f0d1d;
    --footer-text-light: #585858;
}

/* ---- TAMIL FONT UTILITY ---- */
.tamil-font {
    font-family: 'Noto Sans Tamil', sans-serif !important;
    font-size: 0.95em;
    /* Slightly scale down to match English visual weight */
    line-height: 1.6;
}

/* ---- LOGO: Standard Sizing ---- */
.logo,
.logo-2 {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: 160px !important;
    /* Reduced to standard size */
}

.logo a,
.logo-2 a {
    background: transparent !important;
    display: inline-block;
}

.logo img,
.logo-2 img {
    max-height: 80px !important;
    /* Reduced to standard size */
    width: auto;
    mix-blend-mode: normal !important;
    filter: none !important;
    /* Removed white filter for white background */
}

/* ---- HEADER: Remove Blue Shape & Set White Background ---- */
.header-area {
    background-color: #fcfdfe !important;
    /* Extremely light blue-ish white to enhance logo */
    box-shadow: 0 4px 15px rgba(10, 61, 107, 0.05) !important;
    /* Soft professional shadow */
}

.header-area::after {
    display: none !important;
    /* Removes the blue trapezoid */
}

/* Sticky header (after scroll) uses white bg */
.sticky-background-secondary.sticky-menu .logo img,
.sticky-background-secondary.sticky-menu .logo-2 img {
    filter: none !important;
    mix-blend-mode: normal !important;
    max-height: 50px !important;
}

/* ---- HEADER: Initial state ---- */
.header-wrap.header-1 .logo img,
.header-wrap.header-1 .logo-2 img {
    filter: none !important;
}

/* ---- BRAND COLORS (Redundant but kept for consistency) ---- */
:root {
    --theme-color: #0a3d6b;
    --theme-color2: #e8611a;
}

/* ---- THEME BUTTONS ---- */
.theme-btn {
    background-color: #e8611a !important;
    border-color: #e8611a !important;
    color: #ffffff !important;
}

.theme-btn:hover {
    background-color: #0a3d6b !important;
    border-color: #0a3d6b !important;
    color: #ffffff !important;
}

/* ---- PAGE BANNER: Ensure overlay looks professional ---- */
.page-banner-wrap {
    position: relative;
}

.page-banner-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 61, 107, 0.82) 0%, rgba(10, 61, 107, 0.55) 100%);
    z-index: 1;
}

.page-banner-wrap .container {
    position: relative;
    z-index: 2;
}

.page-banner-wrap .banner-text {
    z-index: 0;
}

/* ---- SERVICE CARDS ---- */
.single-service-item {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.single-service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(10, 61, 107, 0.14) !important;
}

/* ---- SERVICE LIST STYLES ---- */
.service__item ul {
    margin-top: 15px;
    padding-left: 0;
}

.service__item ul li {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    transition: var(--transition);
    color: var(--paragraph);
}

.service__item ul li i {
    color: #e8611a;
    margin-top: 4px;
    font-size: 12px;
}

.service__item.active ul li,
.service__item:hover ul li {
    color: rgba(255, 255, 255, 0.9) !important;
}

.service__item.active h4,
.service__item:hover h4 {
    color: #ffffff !important;
}

.service__item.active ul li i,
.service__item:hover ul li i {
    color: #ffffff !important;
}

/* ---- FOOTER ---- */
.footer-area .logo {
    width: 250px !important;
    /* Increased width for footer logo */
}

.footer-area .logo img {
    max-height: 200px !important;
    /* Increased height for footer logo */
    width: auto;
}

.footer-3 .footer-whitel-logo img,
.site_footer_widget img {
    max-height: 140px;
    width: auto;
}

/* ---- WHITE FOOTER OVERRIDES ---- */
.footer-area,
.footer-two-area,
.footer-3,
.footer-wrap {
    background-color: var(--footer-bg) !important;
    color: var(--footer-text) !important;
    border-top: 2px solid #0d6efd !important;
    /* Cyan blue color */
}

.footer__wrp {
    align-items: flex-start !important;
    /* Better alignment for columns */
}

.footer__item .footer-title {
    color: var(--footer-text) !important;
}

.footer__item p {
    color: var(--footer-text-light) !important;
    opacity: 1 !important;
}

.footer__item ul li a {
    color: var(--footer-text-light) !important;
    opacity: 0.9 !important;
}

.footer__item ul li a:hover {
    color: var(--theme-color) !important;
}

/* ---- FOOTER MENU WRAPPING FIX ---- */
.footer__item.item-sm {
    max-width: 250px !important;
}

.footer__item ul li a {
    white-space: nowrap !important;
}

.footer__item .footer-contact li {
    color: var(--footer-text) !important;
}

.footer__item .footer-contact li i {
    color: var(--theme-color) !important;
}

.footer__item .footer-contact li h5 {
    color: var(--footer-text) !important;
}

.footer__item .social-icon a {
    border: 1px solid rgba(15, 61, 107, 0.2) !important;
    color: var(--theme-color) !important;
}

.footer__item .social-icon a:hover {
    background-color: var(--theme-color) !important;
    color: #ffffff !important;
    border-color: var(--theme-color) !important;
}

.footer__copyright {
    background-color: var(--footer-bg) !important;
    border-top: 1px solid rgba(15, 61, 107, 0.1) !important;
}

.footer__copyright p {
    color: var(--footer-text-light) !important;
    opacity: 1 !important;
}

/* Decorative Shapes on White */
.footer__shape-regular-left img,
.footer__shape-regular-right img,
{
filter: brightness(0.1) !important;
/* Make them dark/subtle on white */
opacity: 100 !important;
}

.footer__shadow-shape {
    opacity: 0.1 !important;
}

/* Back to top button visibility */
.scroll-up {
    background-color: var(--theme-color) !important;
    color: #ffffff !important;
}

.scroll-up path {
    stroke: #ffffff !important;
}

/* ---- HEADINGS ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', 'Noto Sans Tamil', 'Roboto', sans-serif;
}

/* ---- SECTION TITLE SPAN (tag above heading) ---- */
.section-title.style-3>span {
    color: #e8611a;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
}

/* ---- ABOUT PAGE: MISSION & VISION BOXES ---- */
.about__mission-box,
.about__vision-box {
    background: #fcfdfe;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(10, 61, 107, 0.05);
    border: 1px solid #f0f3f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__mission-box {
    border-top: 4px solid var(--theme-color2);
}

.about__vision-box {
    border-top: 4px solid var(--theme-color);
}

.about__mission-box:hover,
.about__vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10, 61, 107, 0.1);
}

.about__mission-box h5,
.about__vision-box h5 {
    font-weight: 700;
    letter-spacing: 1px;
}

/* ---- CONTACT PAGE: LEFT ITEM REALIGNMENT ---- */
.contact__left-item ul li {
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    margin-bottom: 40px !important;
}

.contact__left-item ul li i {
    flex-shrink: 0;
    width: 70px !important;
    height: 70px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #ffffff !important;
    color: #3c72fc !important;
    border-radius: 50% !important;
    position: relative;
    transition: all 0.3s ease !important;
}

/* Perfect circle for dashed border */
.contact__left-item ul li i::after {
    content: "";
    position: absolute;
    width: 60px !important;
    height: 60px !important;
    border: 1px dashed #3c72fc !important;
    border-radius: 50% !important;
}

.contact__left-item ul li:hover i {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact__left-item ul li div {
    flex: 1;
    padding-top: 8px;
    /* Visual alignment with icon */
}

.contact__left-item ul li span {
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.contact__left-item ul li h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-top: 5px !important;
}

.contact__left-item ul li h3 a:hover {
    color: #e8611a !important;
}

/* Address specific styling */
.contact__left-item ul li:last-child h3 {
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
}

.contact__left-item .social-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
}

.contact__left-item .social {
    display: flex;
    gap: 12px;
}

.contact__left-item .social a {
    width: 40px !important;
    height: 40px !important;
    background-color: #ffffff !important;
    color: #0a3d6b !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 0 !important;
}

.contact__left-item .social a:hover {
    background-color: #e8611a !important;
    color: #ffffff !important;
    transform: translateY(-3px);
}

/* Icon adjustments for better centering */
.contact__left-item ul li i svg {
    position: relative;
    z-index: 2;
    width: 24px;
    height: 24px;
}

/* ---- FUNFACT SECTION ---- */
.our-achivement-fact {
    background-color: #0a3d6b;
}

/* ---- MOBILE LOGO ---- */
@media (max-width: 1199px) {

    .logo img,
    .logo-2 img {
        max-height: 65px;
    }
}

/* ---- TYPOGRAPHY STANDARDIZATION ---- */
body,
p {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

h1 {
    font-size: 42px !important;
    line-height: 1.2 !important;
    letter-spacing: -1px;
}

h2 {
    font-size: 32px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.5px;
}

h3 {
    color: white;
    font-size: 24px !important;
    line-height: 1.4 !important;
}

h4 {
    font-size: 20px !important;
    line-height: 1.4 !important;
}

h5 {
    font-size: 18px !important;
    line-height: 1.4 !important;
}

h6 {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Hero Section & Large Headers */
.hero-contents h1,
.hero-contents h2,
.page-heading h1,
.cta-content h1,
.eyanmi-quote-cta h2 {
    font-size: 48px !important;
    line-height: 1.2 !important;
    letter-spacing: -1.5px;
}

/* Section Titles */
.section-title h2,
.about-contents h1 {
    font-size: 36px !important;
}

/* Service Card Headings */
.single-service-card h3,
.service-detail-card h3 {
    font-size: 22px !important;
}

/* Responsive Scaling for smaller screens */
@media (max-width: 991px) {

    h1,
    .hero-contents h1,
    .hero-contents h2,
    .page-heading h1,
    .cta-content h1,
    .eyanmi-quote-cta h2 {
        font-size: 36px !important;
    }

    h2,
    .section-title h2,
    .about-contents h1 {
        font-size: 28px !important;
    }

    h3 {
        font-size: 22px !important;
    }

    h4 {
        font-size: 18px !important;
    }
}

@media (max-width: 575px) {

    h1,
    .hero-contents h1,
    .hero-contents h2,
    .page-heading h1,
    .cta-content h1,
    .eyanmi-quote-cta h2 {
        font-size: 30px !important;
    }

    h2,
    .section-title h2,
    .about-contents h1 {
        font-size: 24px !important;
    }

    h3 {
        font-size: 20px !important;
    }
}

/* ---- BANNER: Remove solid blue bg, let slider image fill fully ---- */
.banner-three-area {
    background: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ---- SERVICE THREE CARD HOVER FIX ---- */
/* Ensures text remains visible and turns white when the blue hover background appears */
.service-three__item {
    background-color: #ffffff;
    padding: 40px 30px;
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-three__item * {
    position: relative;
    z-index: 2;
    /* Stay above the ::before hover background */
    transition: all 0.3s ease-in-out;
}

.service-three__item:hover h4 a,
.service-three__item:hover p,
.service-three__item:hover .read-more-btn {
    color: #ffffff !important;
}

.service-three__item:hover .service-three__icon img,
.service-three__item:hover .service-three__icon i {
    filter: brightness(0) invert(1);
    color: #ffffff !important;
}

.service-three__item .read-more-btn i {
    transition: margin-left 0.3s ease;
}

.service-three__item:hover .read-more-btn i {
    margin-left: 10px;
    color: #ffffff !important;
}

/* ---- CLIENT LOGO STYLING ---- */
.brand-area {
    background-color: #ffffff !important;
    padding-bottom: 60px;
}

.brand__wrp {
    background: #ffffff !important;
    padding: 40px !important;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.brand__shape {
    display: none !important;
}

.brand__slider .brand__image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin: 0 auto;
}

.brand__slider .brand__image img {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    /* Removed grayscale */
    opacity: 1;
    /* Full opacity */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand__slider .brand__image img:hover {
    transform: scale(1.1);
}


/* ---- TESTIMONIAL SECTION: Premium Background & Overlay ---- */
.testimonial-area.bg-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* If the user wants the banner image, we might not want a heavy blue overlay if they want the grey look */
/* But standard premium design for dark-themed sections uses overlays. */
/* Looking at the screenshot again, the text "Looking For An Automation Partner?" is white. */
/* This implies a dark background. */

.testimonial-area.bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 61, 107, 0.7);
    /* Subtle dark blue overlay */
    z-index: 1;
}

.testimonial-area.bg-image .container {
    position: relative;
    z-index: 2;
}

.testimonial__item {
    background: #ffffff !important;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ---- CLIENT GRID STYLING ---- */
.client-grid-item {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.client-grid-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    border-color: var(--theme-color2);
    /* Accent color on hover */
}

.client-grid-item img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.client-grid-item:hover img {
    transform: scale(1.05);
}

/* ---- PRELOADER OVERRIDES ---- */
.loading {
    font-size: 45px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 10px !important;
}

.preloader .animation-preloader .txt-loading {
    font: 700 45px "Circular Std", sans-serif !important;
    text-align: center;
}

.preloader .animation-preloader .txt-loading .letters-loading {
    font-size: 45px !important;
}

.preloader .animation-preloader .txt-loading .letters-loading:before {
    font-size: 45px !important;
}

.preloader p.text-center {
    font-size: 45px !important;
    font-weight: 700 !important;
}

/* ---- NICE SELECT SCROLLBAR ---- */
.nice-select .list {
    max-height: 250px !important;
    overflow-y: auto !important;
    padding-bottom: 10px !important;
}

/* Custom scrollbar for nice-select */
.nice-select .list::-webkit-scrollbar {
    width: 6px;
}

.nice-select .list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.nice-select .list::-webkit-scrollbar-thumb {
    background: var(--theme-color);
    border-radius: 10px;
}

.nice-select .list::-webkit-scrollbar-thumb:hover {
    background: var(--theme-color2);
}

/* ---- WHATSAPP FLOATING BUTTON ---- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: transform .2s, box-shadow .2s;
}

.whatsapp-float:hover {
    transform: translateX(-50%) scale(1.12);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
    color: #fff;
}

/* ---- SERVICE ICON: Remove Background & Ensure Hover Visibility ---- */
.service__icon,
.service-three__icon {
    background-color: transparent !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    margin-bottom: 20px !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.service__icon img,
.service-three__icon img {
    transition: filter 0.3s ease !important;
    max-width: 55px !important;
    height: auto !important;
}

.service__item:hover .service__icon img,
.service__item.active .service__icon img,
.service-three__item:hover .service-three__icon img,
.service-three__item.active .service-three__icon img {
    filter: brightness(0) invert(1) !important;
}