/* VCareAll Custom Styles - Modern Business Website */

/* Root Variables */
:root {
    --vcareall-orange: #ffb933;
    --vcareall-dark: #1a1a1a;
    --vcareall-light: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #ffb933, #de9a1d);
    --gradient-secondary: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.2);
    --transition-fast: all 0.3s ease;
    --transition-medium: all 0.5s ease;
    --size:clamp(10rem, 1rem + 40vmin, 30rem);
    --gap:calc(var(--size) / 14);
    --duration:60s;
    --scroll-start:0;
    --scroll-end:calc(-100% - var(--gap));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--vcareall-dark);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--vcareall-orange);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b87a06;
}

/* ✅ Clamp title (3 lines) */
.vhome-line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ✅ Clamp description (2 lines) */
.vhome-line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Navigation Enhancements */
nav {
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav.scrolled {
    box-shadow: var(--shadow-medium);
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    left: 20%;
    animation-delay: 5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    left: 70%;
    animation-delay: 10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    left: 80%;
    animation-delay: 15s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Button Styles */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--vcareall-orange);
    padding: 12px 30px;
    border-radius: 50px;
    color: var(--vcareall-orange);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--vcareall-orange);
    color: white;
    transform: translateY(-2px);
}

/* Card Hover Effects */
.card-hover {
    transition: var(--transition-medium);
    cursor: pointer;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

/* Service Cards Enhancement */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    transition: var(--transition-medium);
    border: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: var(--transition-medium);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--vcareall-orange);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 30px;
    color: white;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Technology Stack Enhancements */
.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--vcareall-orange);
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: var(--transition-fast);
}

.tech-item:hover i {
    transform: scale(1.2);
}

/* Testimonial Cards */
.testimonial-card {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-medium);
    border-left: 4px solid var(--vcareall-orange);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: var(--vcareall-orange);
    font-family: 'Times New Roman', serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background: white;
}

/* Contact Form Styling */
.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px 20px;
    color: white;
    font-size: 16px;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--vcareall-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Stats Animation */
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--vcareall-orange);
    display: block;
    line-height: 1;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: var(--transition-fast);
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Hero Section Enhancements */
.hero-bg {
    background: linear-gradient(135deg, var(--vcareall-dark) 0%, #2d2d2d 50%, #000 100%);
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
}

/* Section Spacing */
.section-padding {
    padding: 100px 0;
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(-45deg, #f9b02a, #ffb933, #f8ab1b, #e2970d);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

/* Loading Animation */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% {
        color: rgba(0,0,0,0);
        text-shadow:
            .25em 0 0 rgba(0,0,0,0),
            .5em 0 0 rgba(0,0,0,0);
    }
    40% {
        color: var(--vcareall-orange);
        text-shadow:
            .25em 0 0 rgba(0,0,0,0),
            .5em 0 0 rgba(0,0,0,0);
    }
    60% {
        text-shadow:
            .25em 0 0 var(--vcareall-orange),
            .5em 0 0 rgba(0,0,0,0);
    }
    80%, 100% {
        text-shadow:
            .25em 0 0 var(--vcareall-orange),
            .5em 0 0 var(--vcareall-orange);
    }
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .tech-item {
        padding: 15px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .floating-shapes,
    nav,
    #mobile-menu,
    footer {
        display: none !important;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --vcareall-orange: #ffb933;
        --vcareall-dark: #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--vcareall-orange);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--vcareall-orange);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 100;
}

.skip-link:focus {
    top: 6px;
}

/* Custom Utilities */
.bg-gradient-orange {
    background: var(--gradient-primary);
}

.bg-gradient-dark {
    background: var(--gradient-secondary);
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.shadow-medium {
    box-shadow: var(--shadow-medium);
}

.shadow-strong {
    box-shadow: var(--shadow-strong);
}

.transition-fast {
    transition: var(--transition-fast);
}

.transition-medium {
    transition: var(--transition-medium);
}

/* Intersection Observer Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Selection Colors */
::selection {
    background-color: var(--vcareall-orange);
    color: white;
}

::-moz-selection {
    background-color: var(--vcareall-orange);
    color: white;
}
.mw-232{
	min-width:232px;
}

/* new css */
.right-line{
    position: absolute;
    right:0%;
    opacity: 0.2;
}
.left-line{
    position: absolute;
    left:0%;
    opacity: 0.2;
	pointer-events:none;
}

/* partners */
.marquee{
  display: flex;
  overflow: hidden;
  user-select: none;
  gap:calc(var(--size) / 14);
}
.marquee_group{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap:calc(var(--size) / 14);
  min-width: 100%;
  animation: scroll-x 60s linear infinite;
}
.marquee-reverse .marquee_group{
  animation-direction: reverse;
  animation-delay: -3s;
}
@keyframes scroll-x{
  from{transform: translateX(var(--scroll-start));}
  to{transform: translateX(var(--scroll-end));}
}
/* img{font-size: 70px!important} */
.marquee img{
    display: grid;
    place-items:center;
    /* width: var(--size);
    fill: var(--color-text); */
    /* background: var(--color-bg-accent); */
    aspect-ratio:20/12;
    /* padding: calc(var(--size) / 10); */
    border-radius: 0.5rem;
    background: #f9f9f9;
    border: 1px solid #ddd;
}
.marquee .marquee_group img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
	max-height:150px;
}
.wrapper{
    display: flex;
    flex-direction: column;
    gap:var(--gap);
    margin: auto;
    max-width: 100vw;
}

/* textimonial vertical slide */

.testimonial-viewport {
    position: relative;
  }
  .testimonial-track {
    display: flex;
    flex-direction: column;
    gap: 2rem;               /* matches Tailwind gap-8 */
    will-change: transform;
  }
  /* Fades content at top/bottom instead of blurring */
.testimonial-viewport {
  position: relative;
  overflow: hidden;
  /* mask for WebKit/Blink */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 12%,
    rgba(0,0,0,1) 88%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 12%,
    rgba(0,0,0,1) 88%,
    rgba(0,0,0,0) 100%
  );
}
  

@media (max-width: 768px) {
    .testimonial-track div {
        opacity: 1!important;
    }
    .mobile-hide{
        display: none;
    }
}

/* blogs section */
.carousel{
    position:relative;
}
#blog-carousel .track{
    display:grid;
    grid-auto-flow:column;
    gap:24px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    padding:6px 4px 12px;
}
#blog-carousel .track::-webkit-scrollbar{
    height:10px
}
#blog-carousel .track::-webkit-scrollbar-thumb{
    background:#d1d5db;
    border-radius:999px
}

@media (max-width: 980px){ 
    #blog-carousel .track{
        grid-auto-columns: calc(50% - 14px);
    } 
}
@media (max-width: 640px){ 
    #blog-carousel .track{
        grid-auto-columns: 100%;
    } 
}

/* Card */
#blog-carousel .card{
    background:#ffffff; 
    border:1px solid #e5e7eb; 
    border-radius:14px;
    /* box-shadow:0 10px 24px rgba(2,6,23,.08);  */
    scroll-snap-align:start; 
    overflow:hidden;
}
#blog-carousel .thumb{
    position:relative;
    aspect-ratio:16/9;
    overflow:hidden
}
#blog-carousel .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease
}
#blog-carousel .card:hover .thumb img{
    transform:scale(1.05)
}
#blog-carousel .badge{
    position:absolute; 
    left:12px; 
    bottom:12px; 
    background:#ffedd5; 
    color:#7c2d12;
    padding:6px 10px; 
    border-radius:999px; 
    font-size:12px; 
    display:flex; 
    align-items:center; 
    gap:6px;
}
#blog-carousel .date-dot{
    width:8px;
    height:8px;
    background:#f59e0b;
    border-radius:50%
}
#blog-carousel .pad{
    padding:16px 18px 14px
}

.vhome-meta {
    display: flex;
    align-items: center;
    font-size: 11px; 
    color: #6c757d; 
    gap: 0.3rem; 
}

.vhome-meta .divider-dot {
    width: 3px;
    height: 3px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
}

.vhome-meta .author{
	display: flex;
    gap: 0.3rem;
}
.vhome-meta img{
	width: 15px;
    height: 15px;
    border-radius: 15px;
}
.vhome-meta .author i {
    margin-right: 0.2rem; 
}

.f-link{
	color:#ffb933;
	opacity:0.8;
	cursor:pointer;
	font-size:13px;
}
.f-link:hover{
	color:#ffb933;
	opacity:1;
}

#blog-carousel .title{
    margin:0px 0 12px;
    /* white-space:nowrap; */
    overflow:hidden;
    text-overflow:ellipsis;
	line-height:24px;
}

#blog-carousel .title:hover{
   color:#ffb933;
}
#blog-carousel .meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid #e5e7eb; 
    margin-top:14px; 
    padding-top:12px; 
    color:#475569; 
    font-size:13px;
}
#blog-carousel .meta .left,#blog-carousel .meta .right{
    display:flex;
    align-items:center;
    gap:8px
}
#blog-carousel .icon{
    width:16px;
    height:16px;
    display:inline-block;
    background:#f59e0b;
    mask-size:contain;
    mask-repeat:no-repeat
}
#blog-carousel .icon.user{
    mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill=\"%23000\" viewBox=\"0 0 24 24\"><path d=\"M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5Z\"/></svg>');
}
#blog-carousel .icon.cmt{
    mask-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M21 6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h11l4 3V6Z\"/></svg>');
}
#blog-carousel .ctrl{
    position:absolute; 
    inset: -16px 0 auto 0; 
    height:0; 
    pointer-events:none;
    top: 50%;
}
#blog-carousel .btn{
    pointer-events:auto; 
    position:absolute; 
    top:0; 
    transform:translateY(-50%);
    width:42px; 
    height:42px; 
    border-radius:50%; 
    border:1px solid #e5e7eb;
    background:#fff; 
    box-shadow:0 10px 24px rgba(2,6,23,.08); 
    display:grid; 
    place-items:center; 
    cursor:pointer;
}
#blog-carousel .btn svg{
    width:20px;
    height:20px
}
#blog-carousel .btn.prev{
    left:-10px
}
#blog-carousel .btn.next{
    right:-10px
}
@media (max-width:640px){ 
    #blog-carousel .btn.prev{
        left:4px
    }
    #blog-carousel .btn.next{
        right:4px
    } 
}

/* product section */
#product .card{
    position:relative;
    min-height: 280px;
}

#product .hero{
    height: 230px;
    border-radius: 22px;
    background: #d7d7d7; 
    /* background: #fff7e8; */
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    padding: 15px;
}
#product .hero img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#product .panel{
    position:absolute;
    left: 4px;
    right: 4px;
    bottom:-50px;        
    background:#fff;
    border-radius: 18px;
    padding:10px;
    /* box-shadow: 0 12px 24px rgba(0,0,0,.10); */
}
.cta{
    display:flex; justify-content:center;
}


/* global location */

/* --- Map --- */
#global .map-wrap{
  position: relative;
  width: 100%;
  margin: 10px auto 36px;
  border-radius: 18px;
  overflow: hidden;
  /* background:
    radial-gradient(circle at 20% 30%, rgba(110,58,255,0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(110,58,255,0.08), transparent 40%),
    #fff; */
  /* box-shadow: 0 10px 30px rgba(0,0,0,.05) inset; */
}

/* keep map aspect ratio like the screenshot */
#global .map-wrap::before{
  content:"";
  display:block;
  padding-top: 48%; /* aspect for wide world map */
  background-image: url("../img/map1.png");
  background-size: 115% auto;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(0.9) opacity(0.55);
}

/* Pins */
#global .pin{
  --size: 14px;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: white;
  border: 2px solid #6e3aff;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 6px rgba(110,58,255,.08),
    0 0 0 0 rgba(110,58,255,.35);
  animation: pulse 2.4s infinite;
  cursor: pointer;
}
#global .pin:hover{ box-shadow: 0 0 0 8px rgba(110,58,255,.12), 0 0 0 0 rgba(110,58,255,.35); }

@keyframes pulse{
  0%   { box-shadow: 0 0 0 6px rgba(110,58,255,.08), 0 0 0 0 rgba(110,58,255,.35); }
  70%  { box-shadow: 0 0 0 10px rgba(110,58,255,.0), 0 0 0 16px rgba(110,58,255,.0); }
  100% { box-shadow: 0 0 0 6px rgba(110,58,255,.08), 0 0 0 0 rgba(110,58,255,.35); }
}

/* Info cards */
#global .info-card{
  position: absolute;
  left: var(--card-x);
  top: var(--card-y);
  transform: translate(-10px, -10px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  width: min(240px, 70vw);
  box-shadow: 0 12px 30px rgba(17, 24, 39, .12);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
#global .info-card.active{ opacity: 1; pointer-events: auto; transform: translate(0,0); }

#global .info-card header{
  display:flex; align-items:center; gap:8px; margin-bottom:6px;
}
#global .info-card header img{
  width:18px; height:18px; border-radius:999px; display:block;object-fit: cover;
}
#global .info-card b{ color: #0f172a; font-size: 14px; }
#global .info-card p{  font-size: 13px; line-height: 1.35; margin: 0; }

/* Bottom grid */
#global .grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 10px;
  text-align:left;
}
#global .col h4{
  margin:0 0 6px; color: #0f172a; font-size: 18px;
}
#global .col p{
  margin:0 0 8px; color: #6b7280;
}
#global .col a{
  color: #6e3aff; text-decoration: none; font-weight: 600;
}
@media (min-width: 768px){
  #global .grid{ grid-template-columns: repeat(3, 1fr); text-align:center; }
}