/* ===================================================================
   Aikara CMS - Custom Stylesheet
   Color Palette:
     Navy:   #0f2c4a
     Orange: #e65c00
     Light:  #f8f9fa
   =================================================================== */

:root {
  --navy: #0f2c4a;
  --navy-dk: #091e35;
  --orange: #e65c00;
  --orange-h: #c44f00;
  --white: #ffffff;
  --gray: #6c757d;
  --light: #f8f9fa;
}

/* ─── Global ─────────────────────────────────────────────────────── */
body {
  font-family: "Roboto", sans-serif;
  color: #333;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", sans-serif;
  color: var(--navy);
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--orange-h);
}

.text-orange {
  color: var(--orange) !important;
}
.bg-orange {
  background-color: var(--orange) !important;
}

.btn-orange {
  background-color: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
  transition: all 0.25s;
}
.btn-orange:hover {
  background-color: var(--orange-h);
  border-color: var(--orange-h);
  color: #fff;
}

.btn-outline-orange {
  color: var(--orange);
  border: 2px solid var(--orange);
  background: transparent;
  transition: all 0.25s;
}
.btn-outline-orange:hover {
  background-color: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.section-pad {
  padding: 80px 0;
}
.section-tag {
  display: inline-block;
  background: var(--navy-dk);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 2.2rem;
}

/* ─── Top Bar ────────────────────────────────────────────────────── */
.topbar {
  background: var(--navy-dk);
  color: #ccc;
  font-size: 0.85rem;
  padding: 7px 0;
}
.topbar-right a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.topbar-right a:hover {
  color: var(--orange);
}

/* ─── Navbar ─────────────────────────────────────────────────────── */
.main-nav {
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
  z-index: 1000;
}
.logo-text {
  font-family: "Oswald", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}
.logo-sub {
  font-size: 0.7rem;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}
.main-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 8px 14px !important;
  transition: color 0.2s;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--orange) !important;
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero-section {
  background: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600")
    center/cover no-repeat fixed;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(
    --hero-overlay-bg,
    linear-gradient(
      135deg,
      rgba(9, 30, 53, 0.92) 0%,
      rgba(15, 44, 74, 0.75) 100%
    )
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.hero-badge {
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
  display: inline-block;
}
.hero-title {
  font-size: 3.2rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}
.hero-subtitle {
  font-size: 1.4rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* ─── Stats ──────────────────────────────────────────────────────── */
.stats-section {
  background: var(--orange);
  padding: 0;
}
.stat-item {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.stat-item:last-child {
  border-right: none;
}
.stat-number {
  font-family: "Oswald", sans-serif;
  font-size: 2.6rem;
  color: #fff;
  font-weight: 700;
}
.stat-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Service Cards ──────────────────────────────────────────────── */
.service-card {
  background: #fff;
  padding: 30px 24px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.13);
}
.service-icon {
  width: 60px;
  height: 60px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.service-icon i {
  color: #fff;
  font-size: 1.4rem;
}
.service-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.service-card .btn {
  align-self: center;
}

/* ─── Why Section ────────────────────────────────────────────────── */
.why-section {
  background: #fff;
}
.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.why-item i {
  font-size: 1.4rem;
  margin-top: 3px;
}
.why-item p {
  margin: 0;
  color: var(--gray);
  font-size: 0.9rem;
}
.feature-box {
  background: var(--light);
  padding: 24px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}
.feature-box:hover {
  background: #e9ecef;
}

/* ─── Projects ───────────────────────────────────────────────────── */
.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s;
}
.project-card:hover {
  transform: translateY(-4px);
}
.project-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.project-img-placeholder {
  width: 100%;
  height: 220px;
  background: #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}
.project-info {
  padding: 18px;
}
.project-info h5 {
  margin-bottom: 8px;
}

/* ─── CTA Section ────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4470 100%);
  padding: 70px 0;
  color: #fff;
}
.cta-section h2,
.cta-section p {
  color: #fff;
}

/* ─── Blog Cards ─────────────────────────────────────────────────── */
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}
.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-body h5 a {
  color: var(--navy);
}
.blog-card-body h5 a:hover {
  color: var(--orange);
}
.blog-meta {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ─── Blog List ──────────────────────────────────────────────────── */
.blog-list-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  padding: 0;
}
.blog-list-img {
  width: 250px;
  min-width: 250px;
  height: 180px;
  object-fit: cover;
}
.blog-list-img-placeholder {
  width: 250px;
  min-width: 250px;
  height: 180px;
  background: #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}
.blog-list-body {
  padding: 20px;
}
.blog-list-body h4 a {
  color: var(--navy);
}
.blog-list-body h4 a:hover {
  color: var(--orange);
}
.blog-list-meta {
  font-size: 0.8rem;
  margin-bottom: 8px;
}

@media (max-width: 576px) {
  .blog-list-item {
    flex-direction: column;
  }
  .blog-list-img,
  .blog-list-img-placeholder {
    width: 100%;
    min-width: unset;
  }
}

/* ─── Single Post ────────────────────────────────────────────────── */
.single-post-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 8px;
}
.post-title {
  font-size: 2rem;
}
.quill-content {
  line-height: 1.8;
}
.quill-content img {
  max-width: 100%;
  border-radius: 6px;
}

/* ─── Page Hero ──────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4470 100%);
  min-height: 220px;
  padding: 40px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--header-overlay-bg, rgba(15, 44, 74, 0.65));
  z-index: 0;
}
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 8px;
}
.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}
.page-hero .breadcrumb-item.active {
  color: var(--orange);
}
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* ─── Sidebar ────────────────────────────────────────────────────── */
.sidebar-widget {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  margin-bottom: 24px;
}
.widget-title {
  font-size: 1.1rem;
  color: var(--navy);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  margin-bottom: 18px;
}
.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.recent-thumb {
  width: 65px;
  height: 55px;
  object-fit: cover;
  border-radius: 5px;
}
.recent-thumb-placeholder {
  width: 65px;
  height: 55px;
  background: #e9ecef;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}
.recent-post-title {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
.recent-post-title:hover {
  color: var(--orange);
}
.recent-post-date {
  font-size: 0.78rem;
  color: var(--gray);
}

.service-list,
.service-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-list li,
.service-nav-list li {
  margin-bottom: 8px;
}
.service-list a,
.service-nav-list a {
  color: #444;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.service-list a:hover,
.service-nav-list a:hover {
  color: var(--orange);
}

.contact-widget {
  background: var(--navy);
}
.contact-widget .widget-title {
  color: #fff;
  border-bottom-color: var(--orange);
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-info-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.contact-info-list i {
  color: var(--orange);
  margin-top: 3px;
}
.contact-info-list a {
  color: rgba(255, 255, 255, 0.85);
}
.contact-info-list a:hover {
  color: var(--orange);
}

.category-list,
.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-list li,
.archive-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}
.category-list a,
.archive-list a {
  color: #444;
}
.category-list a:hover,
.archive-list a:hover,
.category-list a.active,
.archive-list a.active {
  color: var(--orange);
}

/* ─── About Stats ─────────────────────────────────────────────────── */
.stats-full-section {
  background: var(--orange);
}
.big-stat {
  padding: 20px;
}
.big-stat-num {
  font-family: "Oswald", sans-serif;
  font-size: 3.5rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1;
}
.big-stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ─── Why Cards (About) ───────────────────────────────────────────── */
.why-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 24px;
  height: 100%;
  transition: box-shadow 0.2s;
}
.why-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ─── Content Blocks ─────────────────────────────────────────────── */
.content-block {
}
.content-title {
  font-size: 1.8rem;
  color: var(--navy);
  padding-bottom: 12px;
  border-bottom: 3px solid var(--orange);
  margin-bottom: 20px;
  display: inline-block;
}

/* ─── Service Sections ────────────────────────────────────────────── */
.service-section-header {
  background: var(--navy);
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
}
.service-section-header h2 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
}
.service-section-header i {
  font-size: 1.3rem;
  color: var(--orange);
}

.service-item-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  padding: 20px;
  transition: box-shadow 0.2s;
}
.service-item-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.service-item-title {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* ─── Customers Page ─────────────────────────────────────────────── */
.customer-project-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.09);
}
.customer-project-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}
.customer-project-img-placeholder {
  width: 100%;
  height: 280px;
  background: #dee2e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}
.customer-project-body {
  padding: 28px;
}
.customer-project-title {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.meta-badge {
  display: inline-block;
  background: var(--light);
  border: 1px solid #dee2e6;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-right: 8px;
  margin-bottom: 8px;
}
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.client-logo-item {
  background: var(--light);
  border: 1px solid #dee2e6;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
  color: var(--navy);
  flex: 1;
  text-align: center;
}

/* ─── Project Image Overlay (Customers list) ─────────────────────── */
.customer-project-card > a {
  overflow: hidden;
  display: block;
}
.customer-project-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 44, 74, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.customer-project-img-overlay span {
  background: var(--orange);
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.customer-project-card:hover .customer-project-img-overlay {
  opacity: 1;
}
.customer-project-card:hover .customer-project-img {
  transform: scale(1.03);
  transition: transform 0.4s;
}

/* ─── Single Project Page ─────────────────────────────────────────── */
.project-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.project-meta-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.project-meta-list li:last-child {
  border-bottom: none;
}
.project-meta-list i {
  color: var(--orange);
  font-size: 1rem;
  margin-top: 3px;
  min-width: 16px;
}
.project-meta-list span {
  display: block;
  font-size: 0.78rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.project-meta-list strong {
  display: block;
  font-size: 0.95rem;
  color: #333;
}

/* ─── Project Gallery Grid ────────────────────────────────────────── */
.project-gallery h4 {
  color: var(--navy);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  display: block;
}
.gallery-item img {
  transition: transform 0.35s;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 44, 74, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
  font-size: 1.4rem;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ─── Lightbox ────────────────────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}
.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1101;
}
.lightbox-close {
  top: 20px;
  right: 20px;
}
.lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--orange);
}
.lightbox-counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: 10px;
}

/* ─── Contact Page ────────────────────────────────────────────────── */
.contact-info-card {
  background: var(--navy);
  color: #fff;
  padding: 32px;
  border-radius: 10px;
  height: 100%;
}
.contact-info-card h4 {
  color: #fff;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-details li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-details li:last-child {
  border-bottom: none;
}
.contact-details i {
  color: var(--orange);
  font-size: 1.2rem;
  margin-top: 3px;
}
.contact-details strong {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-details p {
  color: #fff;
  margin: 4px 0 0;
}
.contact-details a {
  color: rgba(255, 255, 255, 0.85);
}
.contact-details a:hover {
  color: var(--orange);
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.main-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
}
.footer-top {
  padding: 60px 0 40px;
}
.footer-title {
  color: #fff;
  font-size: 1.1rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--orange);
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.75);
}
.footer-contact i {
  color: var(--orange);
  margin-top: 3px;
  min-width: 14px;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
}
.footer-contact a:hover {
  color: var(--orange);
}
.social-links a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  margin-right: 6px;
  transition:
    background 0.2s,
    color 0.2s;
}
.social-links a:hover {
  background: var(--orange);
  color: #fff;
}
.footer-bottom {
  background: var(--navy-dk);
  padding: 16px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Back to Top ─────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 42px;
  height: 42px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--orange-h);
  color: #fff;
}
