/* =========================================================
   Kashvi IT – public website theme
   Colors come from Admin → Settings → General (CSS variables)
   ========================================================= */
:root {
    --primary: #0b2e6b;
    --secondary: #16a34a;
    --dark: #061a3d;
    --dark-2: #0c2552;
    --text: #475569;
    --heading: #061a3d;
    --soft: #fbf7ee;
    --border: #ece5d3;
    --cream: #fbf7ee;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(6, 26, 61, .07);
    --shadow-lg: 0 20px 50px rgba(6, 26, 61, .12);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

html { scroll-behavior: smooth; overflow-x: hidden; }
main#main { overflow-x: hidden; overflow-x: clip; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; color: var(--heading); font-weight: 700; line-height: 1.3; }
a { color: var(--primary); transition: color .2s, background .2s, transform .2s; }
a:hover { color: var(--secondary); text-decoration: none; }
img { max-width: 100%; }
.section { padding: 90px 0; }
.bg-soft { background: var(--soft); }
.rounded-lg { border-radius: var(--radius) !important; }
::selection { background: var(--primary); color: #fff; }

/* ---------- Buttons ---------- */
.btn { font-family: 'Poppins', sans-serif; font-weight: 500; border-radius: 50px; padding: .6rem 1.6rem; transition: all .25s; }
.btn-lg { padding: .85rem 2.1rem; font-size: 1rem; }
.btn-sm { padding: .45rem 1.1rem; }
.btn-gradient { background: var(--gradient); color: #fff; border: 0; box-shadow: 0 8px 20px -6px var(--primary); }
.btn-gradient:hover, .btn-gradient:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -6px var(--primary); filter: brightness(1.05); }
.btn-outline-primary { color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-light { color: var(--primary); font-weight: 600; }
.read-more { font-weight: 600; font-size: .92rem; font-family: 'Poppins', sans-serif; }
.read-more i { transition: transform .2s; }
.read-more:hover i { transform: translateX(4px); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--dark); color: #cbd5e1; font-size: .85rem; padding: 8px 0; }
.topbar a, .topbar span { color: #cbd5e1; margin-right: 22px; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--secondary); margin-right: 6px; }
.topbar-social a { margin: 0 0 0 14px; }
.topbar-social i { color: #cbd5e1; margin: 0; }
.topbar-social a:hover i { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 2px 18px rgba(6, 26, 61, .06); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(6, 26, 61, .1); }
.site-header .navbar { padding: 14px 0; transition: padding .3s; }
.site-header.scrolled .navbar { padding: 8px 0; }
.navbar-brand { display: flex; align-items: center; font-family: 'Poppins', sans-serif; }
.logo-img { max-height: 48px; width: auto; }
.logo-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--gradient); color: #fff; font-weight: 800; font-size: 1.3rem; display: inline-flex; align-items: center; justify-content: center; margin-right: 10px; box-shadow: 0 6px 14px -4px var(--primary); }
.logo-text { font-weight: 800; font-size: 1.45rem; color: var(--dark); letter-spacing: -.5px; }
.logo-text span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 5px; }
.site-footer .logo-text { color: #fff; }
.navbar .nav-link { font-family: 'Poppins', sans-serif; font-weight: 500; color: var(--heading); padding: .5rem .95rem !important; position: relative; }
.navbar .nav-item.active > .nav-link, .navbar .nav-link:hover { color: var(--primary); }
@media (min-width: 992px) {
    .navbar .nav-item:not(:last-child) > .nav-link::after { content: ''; position: absolute; left: .95rem; right: .95rem; bottom: 2px; height: 2px; background: var(--gradient); transform: scaleX(0); transition: transform .25s; border-radius: 2px; }
    .navbar .nav-item.active > .nav-link::after, .navbar .nav-link:hover::after { transform: scaleX(1); }
    .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
    .navbar .dropdown-toggle::after { display: none; }
}
.dropdown-menu { border: 0; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px; min-width: 250px; }
.dropdown-item { border-radius: 8px; padding: .5rem .9rem; font-size: .93rem; color: var(--heading); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--soft); color: var(--primary); }
.navbar-toggler { border: 0; padding: 6px; outline: none !important; }
.toggler-bar { display: block; width: 26px; height: 2.5px; background: var(--dark); margin: 5px 0; border-radius: 2px; transition: .3s; }
@media (max-width: 991px) {
    #mainNav { max-height: 80vh; overflow-y: auto; padding: 10px 0; }
    .navbar .nav-link { padding: .6rem 0 !important; border-bottom: 1px solid var(--border); }
    .dropdown-menu { box-shadow: none; padding: 0 0 0 12px; }
}

/* ---------- Flash ---------- */
.flash-wrap { position: fixed; top: 100px; right: 20px; z-index: 2000; max-width: 420px; }
.flash-wrap .alert { border-radius: 12px; border: 0; }

/* ---------- Hero ---------- */
.hero .carousel-item { min-height: 640px; background: linear-gradient(135deg, #061a3d, #0b2e6b 60%, #15803d); background-size: cover; background-position: center; position: relative; }
.hero .carousel-item.d-block { display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(6, 26, 61, .93) 0%, rgba(6, 26, 61, .72) 55%, rgba(6, 26, 61, .35) 100%); }
.hero-shapes span { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .45; animation: float 9s ease-in-out infinite; }
.hero-shapes span:nth-child(1) { width: 380px; height: 380px; background: radial-gradient(circle, var(--primary), transparent 70%); right: 6%; top: 12%; }
.hero-shapes span:nth-child(2) { width: 240px; height: 240px; background: radial-gradient(circle, var(--secondary), transparent 70%); right: 28%; bottom: 6%; animation-delay: -3s; }
.hero-shapes span:nth-child(3) { width: 120px; height: 120px; border: 2px solid rgba(255, 255, 255, .25); right: 12%; bottom: 18%; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-22px) } }
.hero .container { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; min-height: 640px; }
.hero-content { max-width: 700px; color: #e2e8f0; padding: 80px 0; }
.hero-badge { display: inline-block; padding: 7px 18px; border-radius: 50px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-weight: 500; font-size: .9rem; margin-bottom: 22px; backdrop-filter: blur(6px); }
.hero h1 { color: #fff; font-size: 3.3rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: 1.15rem; margin-bottom: 34px; color: #cbd5e1; }
.hero-buttons .btn { margin: 0 12px 12px 0; }
.carousel-item.active .hero-content > * { animation: fadeUp .9s both; }
.carousel-item.active .hero-content > *:nth-child(2) { animation-delay: .15s; }
.carousel-item.active .hero-content > *:nth-child(3) { animation-delay: .3s; }
.carousel-item.active .hero-content > *:nth-child(4) { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px) } to { opacity: 1; transform: none } }
.hero .carousel-indicators li { width: 30px; height: 4px; border-radius: 4px; }
@media (max-width: 767px) {
    .hero .carousel-item, .hero .container { min-height: 540px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
    .section { padding: 65px 0; }
}

/* ---------- Section titles ---------- */
.section-title { margin-bottom: 50px; }
.section-title.text-center { max-width: 680px; margin-left: auto; margin-right: auto; }
.section-subtitle { display: inline-block; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); background: rgba(11, 46, 107, .08); background: color-mix(in srgb, var(--primary) 10%, transparent); padding: 6px 16px; border-radius: 50px; margin-bottom: 14px; }
.section-title h2 { font-size: 2.4rem; margin-bottom: 14px; letter-spacing: -.5px; }
.section-title p { font-size: 1.05rem; margin-bottom: 0; }
@media (max-width: 767px) { .section-title h2 { font-size: 1.85rem; } }

/* ---------- Service cards ---------- */
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 38px 30px; height: 100%; position: relative; overflow: hidden; transition: all .35s; }
.service-card::before { content: ''; position: absolute; inset: 0; background: var(--gradient); opacity: 0; transition: opacity .35s; z-index: 0; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card:hover h3 a, .service-card:hover p, .service-card:hover .read-more { color: #fff; }
.service-icon { width: 70px; height: 70px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; background: var(--gradient); margin-bottom: 24px; box-shadow: 0 10px 22px -8px var(--primary); transition: all .35s; }
.service-card:hover .service-icon { background: rgba(255, 255, 255, .18); box-shadow: none; transform: rotate(-8deg); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card h3 a { color: var(--heading); }
.service-card p { margin-bottom: 18px; transition: color .35s; }

/* ---------- About ---------- */
.about-visual { position: relative; }
.about-illustration { position: relative; height: 430px; border-radius: 24px; background: linear-gradient(135deg, #fbf7ee, #eef7f0); overflow: hidden; }
.about-illustration::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 46, 107, .15) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.ai-circle { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 4rem; box-shadow: 0 0 0 22px rgba(255, 255, 255, .6), var(--shadow-lg); }
.ai-card { position: absolute; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); font-weight: 600; font-family: 'Poppins', sans-serif; color: var(--heading); display: flex; align-items: center; gap: 10px; animation: float 6s ease-in-out infinite; }
.ai-card i { width: 38px; height: 38px; border-radius: 10px; background: var(--soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.ai-1 { left: 8%; top: 12%; } .ai-2 { right: 7%; top: 30%; animation-delay: -2s; } .ai-3 { left: 14%; bottom: 12%; animation-delay: -4s; }
.experience-badge { position: absolute; right: -10px; bottom: -25px; background: var(--dark); color: #fff; border-radius: 16px; padding: 18px 24px; box-shadow: var(--shadow-lg); text-align: center; }
.experience-badge b { display: block; font-family: 'Poppins', sans-serif; font-size: 2rem; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.experience-badge span { font-size: .85rem; color: #cbd5e1; }
@media (max-width: 575px) { .experience-badge { right: 10px; } }
.rich-text ul { list-style: none; padding-left: 0; }
.rich-text ul li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.rich-text ul li::before { content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--gradient); color: #fff; font-size: .6rem; display: flex; align-items: center; justify-content: center; }
.rich-text h2, .rich-text h3, .rich-text h4 { margin-top: 1.6rem; margin-bottom: .8rem; }
.rich-text img { border-radius: 10px; height: auto; }
.rich-text blockquote { border-left: 4px solid var(--primary); background: var(--soft); padding: 18px 24px; border-radius: 0 10px 10px 0; font-style: italic; }
.rich-text table { width: 100%; margin-bottom: 1rem; } .rich-text td, .rich-text th { border: 1px solid var(--border); padding: 8px 12px; }
.call-link { display: inline-flex; align-items: center; gap: 12px; vertical-align: middle; color: var(--heading); font-weight: 600; font-family: 'Poppins', sans-serif; }
.call-link i { width: 48px; height: 48px; border-radius: 50%; background: var(--soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.call-link small { display: block; color: var(--text); font-weight: 400; font-family: 'Inter', sans-serif; }

/* ---------- Counters ---------- */
.counter-section { background: var(--dark); background-image: radial-gradient(circle at 15% 50%, rgba(37, 99, 235, .35), transparent 40%), radial-gradient(circle at 85% 50%, rgba(22, 163, 74, .25), transparent 40%); padding: 70px 0; }
.counter-item { text-align: center; color: #cbd5e1; }
.counter-item i { font-size: 2rem; color: var(--secondary); margin-bottom: 12px; }
.counter-item h3 { color: #fff; font-size: 2.8rem; font-weight: 800; margin-bottom: 4px; }
.counter-item p { margin: 0; font-weight: 500; }

/* ---------- Portfolio ---------- */
.filter-buttons button, .filter-buttons a { display: inline-block; border: 1px solid var(--border); background: #fff; color: var(--heading); padding: 8px 22px; border-radius: 50px; margin: 4px; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .92rem; cursor: pointer; transition: all .25s; }
.filter-buttons button.active, .filter-buttons button:hover, .filter-buttons a.active, .filter-buttons a:hover { background: var(--gradient); color: #fff; border-color: transparent; }
.filter-item { transition: opacity .3s, transform .3s; }
.filter-item.hide { display: none; }
.portfolio-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; transition: all .35s; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-thumb { display: block; position: relative; overflow: hidden; aspect-ratio: 3/2; }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.08); }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11, 46, 107, .85), rgba(22, 163, 74, .85)); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .35s; }
.portfolio-overlay i { width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transform: scale(.5); transition: transform .35s; }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-card:hover .portfolio-overlay i { transform: scale(1); }
.portfolio-body { padding: 22px 24px; }
.portfolio-cat { font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: var(--primary); }
.portfolio-body h4 { font-size: 1.15rem; margin: 6px 0 10px; }
.portfolio-body h4 a { color: var(--heading); }
.portfolio-body h4 a:hover { color: var(--primary); }
.tech-tags span { display: inline-block; font-size: .75rem; background: var(--soft); color: var(--primary); padding: 3px 10px; border-radius: 50px; margin: 0 4px 4px 0; font-weight: 500; }

/* Placeholders (when no image uploaded) */
.ph { width: 100%; height: 100%; min-height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .9); font-size: 2.6rem; position: relative; overflow: hidden; }
.ph::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.ph-0 { background: linear-gradient(135deg, #0b2e6b, #16a34a); }
.ph-1 { background: linear-gradient(135deg, #0b2e6b, #2563eb); }
.ph-2 { background: linear-gradient(135deg, #15803d, #22c55e); }
.ph-3 { background: linear-gradient(135deg, #061a3d, #16a34a); }
.ph-lg { aspect-ratio: 16/9; font-size: 4rem; }
.ph span { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 3.4rem; }

/* ---------- Features ---------- */
.feature-card, .mvv-card { background: #fff; border-radius: var(--radius); padding: 34px 28px; text-align: center; height: 100%; box-shadow: var(--shadow); border-bottom: 3px solid transparent; transition: all .3s; }
.feature-card:hover, .mvv-card:hover { transform: translateY(-6px); border-bottom-color: var(--primary); }
.feature-icon { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--primary); background: var(--soft); transition: all .3s; }
.feature-card:hover .feature-icon, .mvv-card:hover .feature-icon { background: var(--gradient); color: #fff; }
.feature-card h4, .mvv-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { margin: 0; font-size: .95rem; }
.feature-section { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }

/* ---------- Testimonials ---------- */
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); position: relative; height: 100%; }
.quote-icon { position: absolute; right: 30px; top: 28px; font-size: 2.6rem; color: var(--soft); }
.testimonial-card .stars { color: #f59e0b; font-size: .9rem; }
.testimonial-card p { font-size: 1.02rem; font-style: italic; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img, .author-initial { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.author-initial { background: var(--gradient); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.3rem; font-family: 'Poppins', sans-serif; }
.testimonial-author h5 { font-size: 1rem; margin: 0; }
.testimonial-author span { font-size: .85rem; }
#testimonialCarousel .carousel-indicators { position: static; margin-top: 10px; }
#testimonialCarousel .carousel-indicators li { background: var(--primary); width: 10px; height: 10px; border-radius: 50%; border: 0; }
.testimonial-section { background: var(--soft); }

/* ---------- Team ---------- */
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; height: 100%; transition: transform .3s; }
.team-card:hover { transform: translateY(-6px); }
.team-photo { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-social { position: absolute; left: 0; right: 0; bottom: -60px; padding: 14px; display: flex; justify-content: center; gap: 8px; transition: bottom .35s; background: linear-gradient(0deg, rgba(6, 26, 61, .75), transparent); }
.team-card:hover .team-social { bottom: 0; }
.team-social a { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.team-social a:hover { background: var(--primary); color: #fff; }
.team-info { padding: 20px 16px; }
.team-info h4 { font-size: 1.1rem; margin-bottom: 2px; }
.team-info span { color: var(--primary); font-size: .9rem; font-weight: 500; }

/* ---------- Blog ---------- */
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: all .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-thumb { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-date { position: absolute; left: 18px; top: 18px; background: #fff; border-radius: 10px; padding: 6px 12px; text-align: center; font-size: .75rem; text-transform: uppercase; font-weight: 600; color: var(--text); line-height: 1.2; box-shadow: var(--shadow); }
.post-date b { display: block; font-size: 1.3rem; color: var(--primary); font-family: 'Poppins', sans-serif; }
.post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-body p { flex: 1; font-size: .95rem; }
.post-meta { font-size: .85rem; color: var(--text); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.post-meta a { color: var(--text); } .post-meta a:hover { color: var(--primary); }
.post-meta i { color: var(--primary); margin-right: 4px; }
.post-body h4 { font-size: 1.15rem; margin: 10px 0; }
.post-body h4 a { color: var(--heading); } .post-body h4 a:hover { color: var(--primary); }
.post-single .post-content { font-size: 1.05rem; }
.post-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; margin-top: 36px; }
.share-links span { font-weight: 600; margin-right: 6px; color: var(--heading); }
.share-links a { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; }
.share-links a:hover { background: var(--primary); color: #fff; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; }
.post-nav > div { flex: 1; }
.post-nav small { display: block; color: var(--text); text-transform: uppercase; letter-spacing: 1px; font-size: .75rem; }
.post-nav a { font-weight: 600; color: var(--heading); font-family: 'Poppins', sans-serif; }
.post-nav a:hover { color: var(--primary); }

/* ---------- Sidebar ---------- */
.sidebar .widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 28px; }
.widget-title { font-size: 1.1rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--border); position: relative; }
.widget-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 50px; height: 2px; background: var(--gradient); }
.widget-list { list-style: none; padding: 0; margin: 0; }
.widget-list li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; color: var(--heading); margin-bottom: 4px; }
.widget-list li a:hover, .widget-list li.active a { background: var(--soft); color: var(--primary); }
.widget-list li a span { background: var(--soft); color: var(--primary); font-size: .8rem; padding: 0 9px; border-radius: 50px; }
.service-list li a { justify-content: flex-start; gap: 12px; font-weight: 500; }
.service-list li a i { color: var(--primary); width: 20px; text-align: center; }
.service-list li.active a { background: var(--gradient); color: #fff; }
.service-list li.active a i { color: #fff; }
.widget-contact { background: var(--gradient) !important; color: #fff; text-align: center; border: 0 !important; }
.widget-contact > i { font-size: 2.6rem; margin-bottom: 12px; }
.widget-contact h5 { color: #fff; }
.search-form { position: relative; }
.search-form .form-control { height: 50px; border-radius: 50px; padding-right: 54px; border-color: var(--border); }
.search-form button { position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gradient); color: #fff; }
.recent-post { display: flex; gap: 14px; margin-bottom: 16px; align-items: center; }
.recent-post:last-child { margin-bottom: 0; }
.rp-thumb { width: 72px; height: 60px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.rp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rp-thumb .ph { font-size: 1.2rem; }
.recent-post a { color: var(--heading); font-weight: 600; font-size: .92rem; line-height: 1.4; font-family: 'Poppins', sans-serif; }
.tag-cloud a { display: inline-block; padding: 5px 14px; border: 1px solid var(--border); border-radius: 50px; font-size: .85rem; color: var(--text); margin: 0 6px 8px 0; }
.tag-cloud a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.project-info ul { list-style: none; padding: 0; margin: 0; }
.project-info li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.project-info li span { color: var(--text); }
.project-info li b { color: var(--heading); text-align: right; }
.service-enquire { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: var(--soft); border-radius: var(--radius); padding: 26px 30px; border-left: 4px solid var(--primary); }

/* ---------- Page header ---------- */
.page-header { position: relative; overflow: hidden; padding: 90px 0 80px; color: #cbd5e1; background: var(--dark) center/cover no-repeat; background-image: radial-gradient(circle at 85% 30%, rgba(37, 99, 235, .4), transparent 45%), radial-gradient(circle at 10% 90%, rgba(22, 163, 74, .35), transparent 40%); }
.page-header-shapes span { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .08); }
.page-header-shapes span:nth-child(1) { width: 300px; height: 300px; right: -80px; top: -120px; }
.page-header-shapes span:nth-child(2) { width: 180px; height: 180px; right: 18%; bottom: -100px; }
.page-header h1 { color: #fff; font-size: 2.7rem; font-weight: 800; margin-bottom: 8px; max-width: 850px; }
.page-header .lead { max-width: 720px; font-size: 1.08rem; margin-bottom: 18px; }
.page-header .breadcrumb { background: transparent; padding: 0; margin: 14px 0 0; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: #cbd5e1; font-size: .92rem; }
.page-header .breadcrumb-item a:hover { color: #fff; }
.page-header .breadcrumb-item.active { color: var(--secondary); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: #64748b; content: '›'; }
@media (max-width: 767px) { .page-header { padding: 60px 0 50px; } .page-header h1 { font-size: 1.9rem; } }

/* ---------- Contact & forms ---------- */
.contact-info-card { background: var(--dark); color: #cbd5e1; border-radius: var(--radius); padding: 38px 32px; height: 100%; background-image: radial-gradient(circle at 100% 0, rgba(37, 99, 235, .4), transparent 50%); }
.contact-info-card h3 { color: #fff; }
.ci-item { display: flex; gap: 16px; margin-top: 26px; }
.ci-item > i { width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.15rem; }
.ci-item h5 { color: #fff; font-size: 1rem; margin-bottom: 2px; }
.ci-item p { margin: 0; } .ci-item a { color: #cbd5e1; } .ci-item a:hover { color: #fff; }
.contact-form-card { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); }
@media (max-width: 575px) { .contact-form-card { padding: 26px 20px; } }
.form-control { border-radius: 10px; border-color: var(--border); min-height: 48px; padding: .6rem 1rem; }
textarea.form-control { min-height: auto; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(11, 46, 107, .12); }
.form-group label { font-weight: 500; color: var(--heading); font-size: .93rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map-section iframe { display: block; filter: grayscale(.2); }

/* ---------- Careers ---------- */
.job-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 18px; transition: all .3s; }
.job-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateX(4px); }
.job-card h4 { font-size: 1.2rem; margin-bottom: 8px; }
.job-card h4 a { color: var(--heading); }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; }
.job-meta i { color: var(--primary); margin-right: 5px; }
.job-summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.job-summary > div { background: var(--soft); border-radius: 12px; padding: 16px; position: relative; padding-left: 56px; }
.job-summary i { position: absolute; left: 18px; top: 22px; color: var(--primary); font-size: 1.1rem; }
.job-summary small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; }
.job-summary b { color: var(--heading); font-family: 'Poppins', sans-serif; font-weight: 600; }
.apply-card { position: sticky; top: 100px; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--heading); display: flex; justify-content: space-between; align-items: center; gap: 16px; outline: none !important; }
.faq-q i { transition: transform .3s; color: var(--primary); }
.faq-q:not(.collapsed) { color: var(--primary); }
.faq-q:not(.collapsed) i { transform: rotate(180deg); }
.faq-a { padding: 0 24px 20px; }

/* ---------- Clients ---------- */
.clients-section { padding: 60px 0; border-top: 1px solid var(--border); }
.clients-track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 46px; }
.client-logo img { max-height: 54px; max-width: 150px; filter: grayscale(1); opacity: .6; transition: all .3s; }
.client-logo:hover img { filter: none; opacity: 1; }
.client-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; color: #94a3b8; letter-spacing: .5px; }
.client-logo:hover .client-name { color: var(--primary); }

/* ---------- CTA ---------- */
.cta-section { padding: 0 0 90px; }
.is-inner .cta-section, .clients-section + .cta-section { padding-top: 10px; }
.cta-box { background: var(--gradient); border-radius: 24px; padding: 54px 56px; color: rgba(255, 255, 255, .9); position: relative; overflow: hidden; box-shadow: 0 25px 50px -20px var(--primary); }
.cta-box::before, .cta-box::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cta-box::before { width: 260px; height: 260px; right: -60px; top: -110px; }
.cta-box::after { width: 160px; height: 160px; left: 30%; bottom: -100px; }
.cta-box .row { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; font-size: 2rem; margin-bottom: 8px; }
@media (max-width: 767px) { .cta-box { padding: 36px 26px; } .cta-box h2 { font-size: 1.5rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #94a3b8; font-size: .95rem; }
.footer-newsletter { background: var(--dark-2); border-radius: 18px; padding: 34px 38px; transform: translateY(-50%); margin-bottom: -40px; border: 1px solid rgba(255, 255, 255, .06); box-shadow: var(--shadow-lg); }
.is-inner .site-footer, .site-footer { margin-top: 70px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form .form-control { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; border-radius: 50px; height: 52px; }
.newsletter-form .form-control::placeholder { color: #94a3b8; }
.newsletter-form .btn { white-space: nowrap; }
@media (max-width: 575px) { .newsletter-form { flex-direction: column; } .footer-newsletter { padding: 26px 22px; } }
.footer-main { padding: 20px 0 30px; }
.site-footer h5 { color: #fff; font-size: 1.1rem; margin-bottom: 22px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-links a::before { content: '›'; margin-right: 8px; color: var(--secondary); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact i { color: var(--secondary); margin-top: 5px; width: 16px; }
.footer-contact a { color: #94a3b8; } .footer-contact a:hover { color: #fff; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-right: 6px; }
.footer-social a:hover { background: var(--gradient); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .88rem; }
.footer-bottom-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom-links a { color: #94a3b8; } .footer-bottom-links a:hover { color: #fff; }

/* ---------- Floating buttons ---------- */
.whatsapp-float { position: fixed; left: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; z-index: 1040; box-shadow: 0 8px 20px rgba(37, 211, 102, .45); animation: pulse 2.2s infinite; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5) } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0) } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0) } }
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 1040; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all .3s; box-shadow: var(--shadow-lg); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: #fff; }

/* ---------- Error ---------- */
.error-section { padding: 120px 0; }
.error-code { font-family: 'Poppins', sans-serif; font-size: 9rem; font-weight: 800; line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Pagination ---------- */
.pagination .page-link { border: 0; margin: 0 4px; border-radius: 50% !important; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; color: var(--heading); background: var(--soft); }
.pagination .page-item.active .page-link { background: var(--gradient); color: #fff; }

/* ---------- Scroll animations (lightweight, no library) ---------- */
[data-aos] { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
[data-aos="fade-up"] { transform: translateY(35px); }
[data-aos="fade-right"] { transform: translateX(-35px); }
[data-aos="fade-left"] { transform: translateX(35px); }
[data-aos="zoom-in"] { transform: scale(.92); }
[data-aos].aos-animate { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-aos] { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* ---------- Kashvi IT colour scheme: deep blue (main) · green (accent) · white / light cream ---------- */
.section-subtitle { color: var(--secondary); background: rgba(22, 163, 74, .1); }
.hero-badge { border-color: rgba(34, 197, 94, .45); }
.hero h1 span, .text-accent { color: #22c55e; }
.btn-gradient { background: var(--secondary); box-shadow: 0 8px 20px -6px rgba(22, 163, 74, .6); }
.btn-gradient:hover, .btn-gradient:focus { background: #15803d; box-shadow: 0 12px 26px -6px rgba(22, 163, 74, .6); }
.btn-outline-primary:hover { background: var(--primary); }
.navbar .nav-item.active > .nav-link, .navbar .nav-link:hover { color: var(--secondary); }
.rich-text ul li::before { background: var(--secondary); }
.counter-item h3 { color: #fff; } .counter-item i { color: #22c55e; }
.portfolio-cat, .team-info span { color: var(--secondary); }
.tech-tags span { background: var(--cream); color: var(--primary); border: 1px solid var(--border); }
.service-card, .job-card, .faq-item, .sidebar .widget { border-color: var(--border); }
.testimonial-card .stars { color: #f59e0b; }
.cta-box { background: linear-gradient(120deg, var(--primary) 0%, #0d3a85 55%, var(--secondary) 130%); box-shadow: 0 25px 50px -20px rgba(11, 46, 107, .6); }
.cta-box .btn-light { color: var(--primary); }
.footer-newsletter { background: #0c2552; }
.site-footer, .topbar { background: var(--dark); }
.page-header .breadcrumb-item.active { color: #4ade80; }
.experience-badge b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #4ade80; }
.logo-text span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--secondary); }
.error-code { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; }
