  :root{
    --primary: #0b5ed7;      /* change to match your exact brand color */
    --dark: #0f1723;
    --muted: #6b7280;
    --bg: #f8fafc;
    --card: #ffffff;
    --glass: rgba(255,255,255,0.6);
    --radius: 14px;
    --max-width: 1200px;
    --accent: #06b6d4;
  }

  /* Reset + base */
  body{
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: var(--dark);
    background: linear-gradient(180deg, var(--bg), #ffffff 60%);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
  }
  a { color: var(--primary); text-decoration: none; }
  a:hover { text-decoration: underline; }

  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Header hero */
  .hero {
    background: linear-gradient(90deg, rgba(11,94,215,0.95) 0%, rgba(6,182,212,0.95) 100%);
    color: #fff;
    padding: 64px 0;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }
  .hero-inner{
    display:flex;
    gap: 36px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .brand {
    display:flex;
    gap:18px;
    align-items:center;
  }
  .brand img{
    width:92px;
    height:92px;
    object-fit:contain;
    background: rgba(255,255,255,0.08);
    padding:10px;
    border-radius: 12px;
  }
  .hero-copy { max-width: 720px; }
  .hero .eyebrow {
    text-transform:uppercase;
    font-weight:600;
    letter-spacing:0.08em;
    opacity:0.95;
    font-size:13px;
  }
  .hero h1{
    margin:6px 0 10px;
    font-size:40px;
    line-height:1.05;
    font-weight:700;
  }
  .hero p.lead{
    opacity:0.95;
    color: rgba(255,255,255,0.92);
    margin-bottom:18px;
  }
  .hero-cta { display:flex; gap:12px; flex-wrap:wrap; }
  .btn-primary {
    background: #fff;
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight:700;
    box-shadow: 0 8px 24px rgba(11,94,215,0.12);
    border: 0;
  }
  .btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight:700;
  }
  
  .btn-inline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.22);
    color: #333;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight:700;
  }

  /* Quick stats / bullets */
  .hero-features {
    margin-top: 20px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
  }
  .chip {
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size:13px;
    display:inline-flex;
    gap:8px;
    align-items:center;
  }
  .chip i { opacity:0.95; }

  /* Services grid */
  .services {
    padding: 56px 0;
    margin-top: 12px;
  }
  .services-grid{
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
  }
  .card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 8px 30px rgba(15,23,35,0.04);
    position:relative;
    overflow:visible;
  }
  .card .icon {
    width:64px;
    height:64px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(180deg, rgba(11,94,215,0.08), rgba(6,182,212,0.06));
    font-size:22px;
    position:absolute;
    left:24px;
    top:-28px;
    box-shadow: 0 6px 18px rgba(11,94,215,0.06);
  }
  .card h4 { margin-top:8px; margin-left:0; padding-left:0; text-align:center; }
  .card ul { margin-top:18px; color: var(--muted); list-style: none; padding-left:0; }
  .card li { margin-bottom:10px; display:flex; gap:10px; align-items:flex-start; }

  /* Projects / testimonials area */
  .projects {
    padding: 56px 0;
  }
  .testimonials-wrap {
    display:grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
  }
  .testimonials-slider {
    background: linear-gradient(180deg,#ffffff,#fbfdff);
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(2,6,23,0.03);
  }
  .testimonial-item {
    border-left: 4px solid var(--primary);
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: #fff;
  }
  .testimonial-item p { margin:0; color: var(--muted); }
  .client {
    display:flex;
    gap:12px;
    align-items:center;
    margin-top:12px;
  }
  .client img { width:48px; height:48px; object-fit:cover; border-radius:8px; }

  /* Existing CSS for projects-cta and carousel-wrapper (Good foundation, keeping) */
.projects-cta {
    background: linear-gradient(180deg, rgba(11,94,215,0.06), rgba(6,182,212,0.04));
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15,23,35,0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    width: 100%; /* Ensures it takes up the full width of the projects-cta padding */
    overflow: hidden;
}

/* Scrollable image list */
.project-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.project-carousel::-webkit-scrollbar {
    height: 6px;
}
.project-carousel::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}

/* 🛑 Crucial Update: Image Width for Responsiveness */
.project-carousel img {
    max-height: 320px; 
    /*min-width: 280px; */
    max-width: 70%; /* On mobile, let it take up most of the screen width */
    
    border-radius: 14px;
    flex-shrink: 0;
    scroll-snap-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.project-carousel img:hover {
    transform: scale(1.05);
}

/* Scroll buttons (Keeping the original styling for desktop) */
.scroll-btn {
    position: absolute;
    top: 50%; /* Changed from 45% for better vertical centering */
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 22px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 10;
}
.scroll-btn:hover { opacity: 1; }

.scroll-btn.left { left: -18px; }
.scroll-btn.right { right: -18px; }

/* --- */

 
@media (max-width: 768px) {
    /* 1. Adjust image size for better viewing on smaller screens */
    .project-carousel img {
        max-height: 240px; /* Smaller height for mobile viewing */
        /*min-width: 70%; */
        max-width: 50%; /* Calc to factor in the gap/padding */
    }

    /* 2. Reposition the scroll buttons to be INSIDE the wrapper, 
          or hide them and rely on swipe (the best option) */
    .scroll-btn {
        display: none; /* Hide buttons on mobile, relying on swipe for navigation */
    }

    /* Optional: If you want to keep the buttons but move them inside the padding */
    /*
    .scroll-btn.left { left: 10px; }
    .scroll-btn.right { right: 10px; }
    */

    /* Ensure the padding doesn't push the carousel off-screen */
    .projects-cta {
        padding: 20px 0; /* Reduce side padding for the main box if needed */
    }
    .project-carousel {
        padding: 10px 16px; /* Add internal padding to show the first and last image fully */
    }
}









  /* Blog grid */
  .blogs {
    padding: 56px 0;
  }
  .blog-grid {
    display:grid;
    grid-template-columns: repeat(4,1fr);
    gap:18px;
  }
  .blog-card {
    border-radius:12px;
    overflow:hidden;
    background:#fff;
    box-shadow: 0 10px 30px rgba(12,18,35,0.04);
  }
  .blog-card .thumb {
    height:150px;
    background-size:cover;
    background-position:center;
  }
  .blog-card .body { padding:12px 14px; }
  .blog-card h5 { font-size:15px; margin:0 0 6px 0; color:var(--dark); }
  .blog-card .btn-row { padding: 12px 14px 18px; display:flex; justify-content:flex-end; }

  /* Contact / CTA */
  .contact-cta {
    background: linear-gradient(90deg, rgba(11,94,215,0.06), rgba(6,182,212,0.03));
    padding:40px;
    border-radius:16px;
    display:flex;
    gap:20px;
    align-items:center;
    justify-content:space-between;
    margin: 48px 0;
  }
  .contact-cta .left h3 { margin:0 0 6px; }
  .contact-cta .left p { margin:0; color:var(--muted); }

  footer.site-footer{
    padding:28px 0;
    color:var(--muted);
    font-size:14px;
  }

  /* Responsive */
  @media (max-width: 992px){
    .services-grid{ grid-template-columns: repeat(1,1fr); }
    .testimonials-wrap{ grid-template-columns: 1fr; }
    .blog-grid{ grid-template-columns: repeat(2,1fr); }
    .hero h1{ font-size:32px; }
  }
  @media (max-width: 576px){
    .blog-grid{ grid-template-columns: 1fr; }
    .brand img { width:76px; height:76px; }
    .hero-inner{ gap:18px; }
    .chip { font-size:12px; padding:6px 10px; }
  }
  
  
  /*Added*/
.projects-cta {
  background: linear-gradient(180deg, rgba(11,94,215,0.06), rgba(6,182,212,0.04));
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15,23,35,0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

/* Carousel wrapper */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Scrollable image list */
.project-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.project-carousel::-webkit-scrollbar {
  height: 6px;
}
.project-carousel::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}

.project-carousel img {
  max-height: 320px;
  border-radius: 14px;
  flex-shrink: 0;
  scroll-snap-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.project-carousel img:hover {
  transform: scale(1.05);
}

/* Scroll buttons */
.scroll-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 10;
}
.scroll-btn:hover { opacity: 1; }

.scroll-btn.left { left: -18px; }
.scroll-btn.right { right: -18px; }

@media (max-width: 768px) {
  .project-carousel img {
    max-height: 240px;
  }
  .scroll-btn {
    display: none; /* hide arrows on mobile, use swipe */
  }
}




/*PORTFOLIO*/
    .portfolio-hero {
    background: linear-gradient(90deg, rgba(11,94,215,0.95), rgba(6,182,212,0.95));
    color: #fff;
    text-align: center;
    padding: 80px 0;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }
  .portfolio-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
  }
  .portfolio-hero p {
    color: rgba(255,255,255,0.9);
    max-width: 680px;
    margin: 14px auto 0;
    font-size: 17px;
  }

  .portfolio-section {
    padding: 64px 0;
  }

  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
  }

  .portfolio-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 34px rgba(0,0,0,0.08);
  }

  .portfolio-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .portfolio-card .body {
    padding: 18px;
  }

  .portfolio-card h4 {
    font-size: 18px;
    margin: 0 0 6px;
    color: var(--dark);
  }

  .portfolio-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 12px;
  }

  .portfolio-card .client {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .portfolio-card .client img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
  }

  .portfolio-card small {
    color: var(--muted);
  }

  .portfolio-card .btn-row {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
  }

  @media(max-width:768px){
    .portfolio-hero h1 { font-size: 32px; }
  }
  
  
  .breadcrumb {
  margin-bottom: 16px;
  font-size: 14px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}
.breadcrumb span {
  color: rgba(255,255,255,0.6);
}



/*CONTACT*/

/* Contact Section Styling */
.contact-hero {
  background: linear-gradient(90deg, rgba(11,94,215,0.95), rgba(6,182,212,0.95));
  padding: 80px 0;
  color: #fff;
  text-align: center;
  border-radius: 24px;
  margin: 40px auto;
  max-width: 900px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-text h2 {
  font-size: 36px;
  margin-bottom: 12px;
  font-weight: 700;
}

.contact-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}

.contact-form {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  outline: none;
}

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

.contact-form .form-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  flex: 1;
  min-width: 140px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  border: none;
}

.btn-primary {
  background: #fff;
  color: #0b5ed7;
}

.btn-primary:hover {
  background: rgba(255,255,255,0.9);
}

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

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

@media(max-width:768px){
  .contact-text h2 { font-size:28px; }
  .contact-text p { font-size:16px; }
}






/*PAGINATION*/
/*
 * General Container Styling
 * Targets: $config['full_tag_open'] = '<ul class="pagination pagination-lg pagination-danger m-t-0">';
 */
.pagination {
    display: flex; /* Makes the list items align in a row */
    padding-left: 0; /* Removes default list padding */
    list-style: none; /* Removes default list bullets */
    border-radius: .25rem; /* Optional: adds subtle rounding */
}

/*
 * Size and Margin Styling (Based on 'pagination-lg' and 'm-t-0')
 */
.pagination-lg .page-link {
    padding: .75rem 1.5rem; /* Larger padding for 'lg' size */
    font-size: 1.25rem; /* Larger font size */
}

.m-t-0 {
    margin-top: 0 !important; /* Ensures no top margin is applied */
}

 
.page-link { 
    padding: .5rem .75rem;  
    margin-left: -1px; 
    line-height: 1.25;
    color: #06b6d4;  
    background-color: #fff; 
    border: 1px solid #dee2e6;  
    position: relative;
    display: block;  
    text-decoration: none;  
}

.page-link:hover {
    z-index: 2;  
    color: #fff;  
    text-decoration: none;
    background-color: #e9ecef;  
    border-color: #dee2e6;
}
 
.pagination-danger .page-link { 
    color: #06b6d4; 
    border-color: #06b6d4; 
}

.pagination-danger .page-link:hover {
    color: #fff;  
    background-color: #06b6d4;  
    border-color: #06b6d4;
}
 
.page-link.active,
.pagination-danger .page-link.active { 
    z-index: 3;
    color: #fff;  
    background-color: #06b6d4;  
    border-color: #06b6d4;  
    pointer-events: none;  
}

.page-link.active a { 
    color: #fff;  
    text-decoration: none;
}
 
.page-link.disabled,
.page-link.disabled:hover {
    color: #6c757d; /* Muted gray text */
    pointer-events: none;
    background-color: #fff;
    border-color: #06b6d4;
}

/*
 * Rounding the Ends of the Pagination Component
 */
.pagination .page-link:first-child {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.pagination .page-link:last-child {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}