 /* Custom CSS Variables */
 :root {
    --primary-color: #1e5a8e;
    --primary-light: #2875b8;
    --secondary-color: #2d9d74;
    --bg-light: #f8f9fa;
    --text-dark: #2a3f52;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e5a8e, #2875b8);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.hero-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient Backgrounds */
.bg-tech {
    background: linear-gradient(180deg, #f8f9fb, #e8f2fc);
}

.bg-install {
    background: linear-gradient(180deg, #e8f7f0, #f0f9f5);
}

.bg-partners {
    background: linear-gradient(180deg, #f8f9fa, #f0f2f5);
}

.bg-certs {
    background: linear-gradient(180deg, #e8f2fc, #ffffff);
}

/* Accordion Custom Styles */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

.icon-box {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}

.icon-box-primary {
    background-color: rgba(30, 90, 142, 0.1);
    color: var(--primary-color);
}

.icon-box-secondary {
    background-color: rgba(45, 157, 116, 0.1);
    color: var(--secondary-color);
}

/* Shadows */
.shadow-soft {
    box-shadow: 0 4px 20px -2px rgba(42, 63, 82, 0.08);
}

.shadow-medium {
    box-shadow: 0 8px 30px -4px rgba(42, 63, 82, 0.12);
}

.shadow-hover:hover {
    box-shadow: 0 8px 30px -4px rgba(42, 63, 82, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Partner Cards */
.partner-card {
    transition: border-color 0.3s ease;
}

.partner-card:hover {
    border-color: rgba(30, 90, 142, 0.5) !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}
/*partneru daļas css*/
.distributor-card {
border: none;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
transition: transform 0.3s ease, box-shadow 0.3s ease;
margin-bottom: 20px;
height: 180px;              /* fixed equal height */
display: flex;
align-items: center;        /* center logo vertically */
justify-content: center;    /* center logo horizontally */
}

.distributor-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.distributor-card img {
max-height: 120px;          /* keep logos proportional */
object-fit: contain;        /* prevent distortion */
}

/*end partneru daļas css*/
.extra-small{
    font-size: 0.65rem;
}

.main-bg-section {
    background-image: url('/images/main-bg.jpg');
    background-size: cover;      /* fills the entire section */
    background-position: center; /* keeps image centered */
    background-repeat: no-repeat;
    height: 500px;               /* adjust height as needed */
}

.custom-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #d0d0d0;
}

  /* -------------------------------------------------
     3. Table container – 2/3 width on lg+ screens
     ------------------------------------------------- */
  .table-wrapper {
    position: relative;
    z-index: 2;                     /* above the overlay */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
  }

  @media (min-width: 992px) {       /* lg breakpoint */
    .table-wrapper .table-container {
      max-width: 66.666%;           /* 2/3 of the viewport */
    }
  }

  /* -------------------------------------------------
     4. Header styling (different from body rows)
     ------------------------------------------------- */
  .table-header-custom {
    background-color: #2c3e50;
    color: #fff;
    font-weight: 400;
    text-align: center;
  }

  .table tbody tr:hover {
    background-color: rgba(255,255,255,0.15);
  }

  /* -------------------------------------------------
     5. Optional: make table text pop on dark bg
     ------------------------------------------------- */
  .table {
    background: rgba(255,255,255,0.85);
    border-radius: .5rem;
    overflow: hidden;
  }

  .bg-install {
    background: linear-gradient(180deg, #e8f7f0, #f0f9f5);
}
.bg-install-row {
    background-color: #003366; /* Dark blue shade */
}

.bg-install-row2 {
    background-color: #C23519; /* red */
}
.bg-install-row3 {
background-color: rgba(144, 238, 144, 0.5); /* 50% transparent */
}

.c-body {
    background-color: #f8f9fa;
    padding: 40px 0;
}

/* Hover Animation */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default; 
}

.card-hover:hover {
    transform: translateY(-5px); 
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important; 
    border-color: #dee2e6;
}

/* Logo Styling */
.logo-link img {
    max-height: 70px; /* Slightly smaller to balance with smaller text */
    width: auto;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.card-hover:hover .logo-link img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
