/* ==========================================================================
   PlunkorSyS — Shared Stylesheet
   Plunkor Systems and IT Consultancy
   ========================================================================== */

:root {
    --primary-color: #5b9bd5;   /* brand color: rgb(91, 155, 213) */
    --secondary-color: #185c9c;
    --accent-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --muted-color: #64748b;
    --border-color: #e2e8f0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* ---------- Navbar ---------- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand small {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: none;
    -webkit-text-fill-color: var(--muted-color);
    color: var(--muted-color);
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91, 155, 213, 0.35);
    color: #fff;
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ---------- Hero Slider (Home) ---------- */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding-top: 90px;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="white" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100%25" height="100%25" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

/* The illustration is masked with a soft diagonal fade so it blends into
   the brand gradient instead of sitting as a hard-edged photo/graphic. */
.hero-slide-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-mask-image: linear-gradient(100deg, transparent 0%, transparent 30%, rgba(0, 0, 0, 0.5) 50%, #000 68%);
    mask-image: linear-gradient(100deg, transparent 0%, transparent 30%, rgba(0, 0, 0, 0.5) 50%, #000 68%);
    z-index: 0;
}

.hero-slide .container {
    position: relative;
    z-index: 1;
}

.hero-slide-content {
    max-width: 620px;
    color: #fff;
    opacity: 0;
    transform: translateY(24px);
}

.carousel-item.active .hero-slide-content {
    animation: heroContentIn 0.8s ease 0.35s forwards;
}

@keyframes heroContentIn {
    to { opacity: 1; transform: none; }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-slide-content h1 {
    font-size: 2.9rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero-slide-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Custom controls/indicators so they read clearly over any slide image */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    opacity: 0.85;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.hero-slider .carousel-control-prev { left: 24px; }
.hero-slider .carousel-control-next { right: 24px; }

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 1.15rem;
    height: 1.15rem;
}

.hero-slider .carousel-indicators {
    bottom: 22px;
}

.hero-slider .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 6px;
    opacity: 1;
    transition: width 0.3s ease, border-radius 0.3s ease, background 0.3s ease;
}

.hero-slider .carousel-indicators .active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}

@media (max-width: 992px) {
    .hero-slide-media {
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 55%, #000 78%);
        mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 55%, #000 78%);
        opacity: 0.4;
    }
    .hero-slide { min-height: 600px; padding-top: 110px; }
}

@media (max-width: 768px) {
    .hero-slide-content h1 { font-size: 2.1rem; }
    .hero-slide { min-height: 560px; }
}

.hero-buttons .btn {
    margin: 0.5rem 0.5rem 0.5rem 0;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-light-custom {
    background: #fff;
    color: var(--primary-color);
    border: none;
}

.btn-light-custom:hover {
    color: var(--secondary-color);
}

.btn-outline-light-custom {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline-light-custom:hover {
    background: #fff;
    color: var(--primary-color);
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
    padding: 130px 0 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid2" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="white" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100%25" height="100%25" fill="url(%23grid2)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.page-header p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb-nav {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #fff;
    font-weight: 600;
}

/* ---------- Generic Section ---------- */
section {
    padding: 80px 0;
}

.bg-light-custom {
    background: var(--light-color);
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: var(--muted-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ---------- Feature / Service Cards ---------- */
.feature-card,
.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon,
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.feature-card h3,
.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p,
.service-card p {
    color: var(--muted-color);
    font-size: 1rem;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    text-align: left;
}

.service-list li {
    padding: 0.4rem 0;
    color: var(--muted-color);
    display: flex;
    align-items: flex-start;
}

.service-list li i {
    color: var(--accent-color);
    margin-right: 0.6rem;
    margin-top: 0.25rem;
}

/* ---------- Benefits ---------- */
.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-color), #059669);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.benefit-content p {
    color: var(--muted-color);
    margin: 0;
}

/* ---------- Product Cards ---------- */
.product-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin-bottom: 1.5rem;
}

.product-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.product-tagline {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-card p.description {
    color: var(--muted-color);
    margin-bottom: 1.25rem;
}

.product-card .service-list {
    margin-bottom: 1.5rem;
}

/* ---------- Stats ---------- */
.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--muted-color);
    font-weight: 500;
}

/* ---------- Values / Team ---------- */
.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-color);
    background: rgba(91, 155, 213, 0.12);
}

/* ---------- Team Cards ---------- */
.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-img {
    width: 100%;
    height: 60%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit:fill;
    transition: transform 0.4s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-body {
    padding: 2rem;
    text-align: center;
}

.team-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.4rem;
}

.team-role {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.team-role-secondary {
    font-weight: 500;
    color: var(--muted-color);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.team-bio {
    color: var(--muted-color);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0.75rem 0 0;
}

.team-contact {
    margin-top: 1.25rem;
}

.team-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(91, 155, 213, 0.12);
    color: var(--primary-color);
    transition: background 0.3s ease, color 0.3s ease;
}

.team-contact a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ---------- Blog Cards ---------- */
.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.blog-card-body {
    padding: 1.75rem;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--muted-color);
    margin-bottom: 0.75rem;
}

.blog-meta i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.blog-category {
    display: inline-block;
    background: rgba(91, 155, 213, 0.12);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.blog-card p {
    color: var(--muted-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* ---------- CTA ---------- */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    text-align: center;
}

.cta h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 60px 0 30px;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.75rem;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Scroll to top ---------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.3rem; }
    .hero p { font-size: 1rem; }
    .page-header h1 { font-size: 2rem; }
    .section-title { font-size: 1.9rem; }
}
