/**
* Template Name: Day
* Template URL: https://bootstrapmade.com/day-multipurpose-html-template-for-free/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;

  /* Colors */
  /* Note: Colors may differ slightly based on template version */
  --background-color: #ffffff;
  --default-color: #212529;
  --heading-color: #444444;
  --accent-color: #cc1616; /* Default Red Accent of Day Template */
  --contrast-color: #ffffff;

   /* Smooth scroll */
   scroll-behavior: smooth;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: rgba(var(--accent-color-rgb), 0.7); /* Assuming accent is RGB convertible */
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-header {
  text-align: center;
  padding-bottom: 30px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-header h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-header p {
  margin-bottom: 0;
  color: #6f6f6f;
}

/*--------------------------------------------------------------
# Section Title
--------------------------------------------------------------*/
/* Alternative Section Title style as seen in the HTML */
.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: #fdeff0; /* Light red background */
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 20px;
}

.section-title h3 {
  margin: 15px 0 0 0;
  font-size: 32px;
  font-weight: 700;
}

.section-title h3 span {
  color: var(--accent-color);
}

.section-title p {
  margin: 15px auto 0 auto;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .section-title p {
    width: 50%;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 9999;
  background: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background: rgba(var(--accent-color-rgb), 0.8); /* Requires accent-color-rgb */
  color: var(--contrast-color);
}

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

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: preloader-bounce 2s infinite ease-in-out;
}

#preloader:after {
  animation-delay: -1s;
}

@keyframes preloader-bounce {
  0%, 100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  background: rgba(255, 255, 255, 0.8); /* Default state */
  height: 90px; /* Combined height for topbar + branding */
}

.header.sticked {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 70px; /* Height when sticked (only branding) */
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.header .topbar {
  height: 40px;
  font-size: 14px;
  background-color: var(--accent-color);
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  opacity: 0.8;
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .social-links a {
  color: rgba(255, 255, 255, 0.7);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  height: 50px; /* Height of the branding section */
  transition: all 0.5s;
}

.header.sticked .branding {
    height: 70px; /* Branding takes full height when sticked */
}
.header.sticked .topbar {
    display: none; /* Hide topbar when sticked */
}

.header .logo img {
  max-height: 40px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  font-family: var(--heading-font);
}

.header .logo h1 span {
  color: var(--accent-color);
  letter-spacing: 1px;
}


/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-family: var(--nav-font);
    font-size: 15px;
    font-weight: 500;
    color: #555555; /* Default link color */
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu > ul > li > a:before {
    content: "";
    /* position: absolute; */
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus,
  .navmenu li:hover > a {
    color: var(--heading-color); /* Hover/Active color */
  }

  .navmenu .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--background-color);
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-radius: 4px;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--accent-color);
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1279px) {
  .navmenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  .navmenu ul {
    /* position: absolute; */
    inset: 0;
    padding: 50px 0 10px 0;
    margin: 0;
    background: rgba(var(--background-color-rgb), 0.9);
    overflow-y: auto;
    transition: 0.3s;
    /* z-index: 9998; */
    background-color: rgba(255, 255, 255, 0.9);
    height: 100vh;
  }

  .navmenu a,
  .navmenu a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    color: rgba(var(--default-color-rgb), 0.8);
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: rgba(var(--accent-color-rgb), 0.1); /* Example */
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
     background-color: rgba(var(--accent-color-rgb), 0.2); /* Example */
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus,
  .navmenu li:hover > a {
    color: var(--accent-color);
  }

   .navmenu .active {
     color: var(--accent-color);
     border-left: 3px solid var(--accent-color);
   }

  .navmenu .dropdown .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    transition: all 0.5s ease-in-out;
    border: 1px solid #eee;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    display: block;
  }

  .mobile-nav-toggle {
    display: block !important; /* Override inline style */
    position: fixed;
    top: 20px;
    right: 15px;
    z-index: 9999;
    border: 0;
    background: none;
    font-size: 28px;
    transition: all 0.4s;
    outline: none !important;
    line-height: 0;
    cursor: pointer;
    padding: 0;
    color: var(--heading-color); /* Adjust color as needed */
  }

  .mobile-nav-toggle.bi-x {
    color: var(--accent-color);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navmenu {
    right: 0;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    top: 15px;
    right: 15px;
  }
}

/* Specific display for mobile-nav-toggle in default state */
.mobile-nav-toggle {
    display: none; /* Hidden by default on larger screens */
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 80vh;
  background-color: rgba(var(--background-color-rgb), 0.8);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 0;
}

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

.hero h2 {
  margin: 0 0 10px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: var(--contrast-color);
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: 300;
}

.hero .btn-get-started {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 35px;
  border-radius: 4px;
  transition: 0.5s;
  margin-top: 30px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.hero .btn-get-started:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
  .hero h2 {
    font-size: 36px;
    line-height: 42px;
  }
  .hero p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

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

.about .content ul li {
  padding-left: 28px;
  position: relative;
}

.about .content ul li+li {
  margin-top: 10px;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: var(--accent-color);
  line-height: 1;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 8px 26px;
  border-radius: 4px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .content .read-more:hover i {
  color: var(--contrast-color);
}

.about .img-fluid {
    border-radius: 8px; /* Add subtle rounding */
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 40px 0;
}

.clients .swiper {
  padding-bottom: 40px; /* Space for pagination */
}

.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
  max-height: 60px; /* Adjust as needed */
}

.clients .swiper-slide img:hover {
  opacity: 1;
  filter: none;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #ddd; /* Inactive color */
  opacity: 1;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color); /* Active color */
}

.clients.light-background {
    background-color: #f8f9fa; /* Example light background */
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  padding: 30px;
  transition: all ease-in-out 0.3s;
  background: var(--background-color);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  position: relative;
  height: 100%; /* Ensure equal height */
}

.services .service-item .icon {
  margin-bottom: 10px;
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: 0.3s;
}

.services .service-item h3 {
  padding-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.services .service-item h3 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  border-color: var(--background-color);
  box-shadow: 0px 0 35px 0 rgba(0, 0, 0, 0.15);
  transform: translateY(-10px);
}

.services .service-item:hover h3 a {
  color: var(--accent-color);
}


/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../img/bg4.jpg") center center;
  background-size: cover;
  padding: 80px 0;
  position: relative; /* Needed for pseudo-elements if used */
}

.call-to-action img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.call-to-action:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 0;
}

.call-to-action .container {
    position: relative;
    z-index: 1;
}


.call-to-action h3 {
  color: var(--contrast-color);
  font-size: 28px;
  font-weight: 700;
}

.call-to-action p {
  color: var(--contrast-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 35px;
  border-radius: 4px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio .portfolio-item img {
    transition: transform 0.3s ease;
}

.portfolio .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 15px;
  bottom: 0;
  z-index: 3;
  right: 15px;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-info h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

.portfolio .portfolio-info p {
  color: #f9fcfe;
  font-size: 14px;
  margin-bottom: 0;
}

.portfolio .portfolio-info .preview-link,
.portfolio .portfolio-info .details-link {
  position: absolute;
  right: 45px; /* Adjust position */
  font-size: 24px;
  top: calc(50% - 18px);
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-info .details-link {
  right: 15px; /* Adjust position */
}

.portfolio .portfolio-info .preview-link:hover,
.portfolio .portfolio-info .details-link:hover {
  color: var(--contrast-color);
}

.portfolio .portfolio-item:hover img {
   transform: scale(1.03); /* Example hover effect */
}

/* Glightbox link style */
.glightbox-clean .gslide-description {
  background: #222 !important;
}

.glightbox-clean .gslide-title {
  color: #fff !important;
  margin-bottom: 10px !important;
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  padding: 20px 0 30px 0;
  text-align: center;
  border-radius: 8px;
  background: var(--background-color);
  height: 100%;
}

.contact .info-item i {
  display: inline-block; /* Use inline-block for better centering */
  margin-bottom: 10px;
  color: var(--accent-color);
  font-size: 28px;
  line-height: 0;
  width: 56px;
  height: 56px;
  line-height: 56px; /* Use line-height for vertical centering */
  text-align: center;
  border-radius: 50%;
  background-color: rgba(var(--accent-color-rgb), 0.1); /* Requires accent-color-rgb */
}

.contact .info-item h3 {
  font-size: 20px;
  color: #666666;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.contact .info-item p {
  padding: 0;
  margin: 0;
  line-height: 24px;
  font-size: 14px;
}

.contact .php-email-form {
  width: 100%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  border-radius: 8px;
  background: var(--background-color);
}

.contact .php-email-form .form-group {
  padding-bottom: 20px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #df1529;
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border-radius: 4px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #059652;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: 4px;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #059652;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email] {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: rgba(var(--accent-color-rgb), 0.8); /* Requires accent-color-rgb */
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.contact iframe {
    border: 0;
    width: 100%;
    height: 380px; /* Adjust height as needed */
    border-radius: 8px; /* Optional */
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  font-size: 14px;
  background-color: #f1f1f1; /* Light grey background */
  padding: 50px 0;
  color: #555555; /* Default text color */
}

.footer .footer-about .logo {
  line-height: 0;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 30px;
  font-weight: 700;
  /* letter-spacing: 1px; */
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(var(--default-color-rgb), 0.5);
  font-size: 16px;
  color: rgba(var(--default-color-rgb), 0.5);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .footer-links h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

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

.footer .footer-links ul i {
  padding-right: 2px;
  color: var(--accent-color);
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: rgba(var(--default-color-rgb), 0.8);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid #d5d5d5; /* Lighter border */
  display: flex;
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px 8px;
  flex: 1;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: rgba(var(--accent-color-rgb), 0.8); /* Requires accent-color-rgb */
}

.footer .copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #e4e4e4; /* Lighter border */
}

.footer .credits {
  padding-top: 4px;
  text-align: center;
  font-size: 13px;
}

.footer .credits a {
  color: var(--heading-color);
}

/* Dark Background Variant for Footer (if used) */
.footer.dark-background {
    background-color: #343a40; /* Example dark bg */
    color: rgba(255, 255, 255, 0.7);
}
.footer.dark-background .footer-about .logo span,
.footer.dark-background .footer-links h4,
.footer.dark-background .credits a {
    color: #ffffff;
}
.footer.dark-background .footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
}
.footer.dark-background .footer-links ul a:hover {
    color: var(--accent-color); /* Accent might need adjustment on dark */
}
.footer.dark-background .social-links a {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
}
.footer.dark-background .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}
.footer.dark-background .copyright,
.footer.dark-background .footer-newsletter .newsletter-form {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments might be needed for dark background footer */