
/* Fonts */
:root {
  --font-default: "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";
  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Work Sans", sans-serif;
}

/* Colors */
:root {
  --color-default: #b28b21;
  --color-primary: #b28b21;
  --color-secondary: #b28b21;
}

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

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background-color: #0c0b0bec;
  font-family: var(--font-default);
  color: #F5F5F5;
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: #B78700;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  color: #b28b21;
  /* subtle shadow for readability on photographic backgrounds */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
} 

/* Logo: use max-height so it scales consistently across breakpoints */
.site-logo{
  height: auto;
  width: auto;
  max-height: 100px; /* safe default for desktop */
  display: block;
  filter: drop-shadow(0 0 1.0px white);
}


/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
  scroll-margin-top: 90px
}


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


.section-header p {
  margin: 0 auto 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
} 


@media (min-width: 1400px) {
  .section-header p {
    max-width: 57%;
    font-size: 18px;
    color: #F5F5F5;
  }
}



/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 140px 0 60px 0;
  min-height: 30vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.breadcrumbs:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
}

.breadcrumbs h2 {
  font-size: 56px;
  font-weight: 500;
  color: #F5F5F5;
  font-family: var(--font-secondary);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
}

.breadcrumbs ol a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
}

.breadcrumbs ol a:hover {
  text-decoration: underline;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #F5F5F5;
  content: "/";
}

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

.scroll-top i {
  font-size: 24px;
  color: #0c0b0bec;
  line-height: 0;
}

.scroll-top:hover {
  background: #b28b21;
  color: #F5F5F5;
}

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




/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #F5F5F5;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #F5F5F5;
  border-color: var(--color-primary) transparent var(--color-primary) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1.5s linear infinite;
  animation: animate-preloader 1.5s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  z-index: 999;
  position: fixed;
  width: 100%;
  padding: 25px 0;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(1px);
  transition: 0.4s ease, padding 0.3s ease;
  background: transparent;
}

.header .logo img {
  height: auto;
  width: auto;
  max-height: 100px;
  margin-right: 6px;
  transition: max-height 0.3s ease;
}


.header .logo h1 span {
  color: var(--color-primary);
}

.header.header-scrolled {
  background: rgba(48, 44, 38, 0.704);
  backdrop-filter: blur(8px);
  padding: 15px 0;
}

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

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

  .navbar li {
    position: relative;
  }

  .navbar>ul>li {
    white-space: nowrap;
    padding: 10px 0 10px 28px;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 500;
    color: #f5f5f5;
    text-transform: uppercase;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 2px 6px rgba(0, 0, 0, 0.4);
  }

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

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

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

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #f5f5f5;
  }

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

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

  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--color-default);
    font-weight: 400;
  }

  .navbar .dropdown ul a i {
    font-size: 14px;
  }

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

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

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

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

@media (min-width: 1280px) and (max-width: 1400px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

.sapna a {
  position: relative;
  color: #F5F5F5;
  font-weight: 600;
  padding: 6px 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

.sapna a::after {
  width: 40%;
}

.sapna a:hover::after {
  width: 100%;
}

.sapna a {
  animation: sapnaPulse 2s infinite;
}

@keyframes sapnaPulse {
  0% { text-shadow: 0 0 0 rgba(255,107,0,0); }
  50% { text-shadow: 0 0 10px rgba(255, 187, 0, 0.785); }
  100% { text-shadow: 0 0 8px rgba(255, 187, 0, 0.785); }
}


@media (min-width: 1280px) {

  .mobile-nav-show,
  .mobile-nav-hide {
    display: none;
  }
}


@media (min-width: 1440px) {

  /* Normal header */
  .header:not(.header-scrolled) .logo img {
    max-height: 60px;
  }

  /* Scrolled header */
  .header.header-scrolled .logo img {
    max-height: 60px;
  }

  .header {
    padding: 20px 0;
  }
}


@media (min-width: 1280px) and (max-width: 1439px) {
  .header .logo img {
    max-height: 50px;
  }

  .navbar {
    padding: 0;
  }

  .navbar ul {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .navbar>ul>li {
    padding: 8px 0 8px 20px;
  }

  .navbar a,
  .navbar a:focus {
    font-size: 16px;
    padding: 0 6px;
  }

  .navbar .dropdown ul {
    left: 18px;
  }
}

/* Hide "Početna" before scroll */
.header:not(.header-scrolled) .navbar .nav-home {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.navbar .nav-home {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}


/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/


/* =====================================
   Logo sizing – Mobile & Tablet
   ===================================== */
@media (max-width: 1279px) {
  .header .logo img {
    max-height: 43px;  
  }

  .header {
    padding: 18px 0;
  }

  .header.header-scrolled .logo img {
    max-height: 43px;   
  }

}


@media (max-width: 1279px) {
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    max-width: 50%;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  .navbar ul {
    position: absolute;
    inset: 0;
    padding: 50px 0 10px 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.722);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: #F5F5F5;
    white-space: nowrap;
    text-transform: uppercase;
    transition: 0.3s;
  }

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

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #b28b21;
  }

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

  .navbar .dropdown>.dropdown-active,
  .navbar .dropdown .dropdown>.dropdown-active {
    display: block;
  }

  .mobile-nav-show {
    position: relative;
    color: #f6d100;
    font-size: 33px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
    padding-right: 10px;
  }

  .mobile-nav-hide {
    color: #F5F5F5;
    font-size: 32px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999;
  }

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

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

  .mobile-nav-active .navbar:before {
    content: "";
    position: fixed;
    inset: 0;
    color: rgba(0, 0, 0, 0.706);
    z-index: 9996;
  }
}

/*--------------------------------------------------------------
# Get Started Section
--------------------------------------------------------------*/
.get-started .content {
  padding: 30px 0;
}

.get-started .content h3 {
  font-size: 36px;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 25px;
  position: relative;
}

.get-started .content h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.get-started .content p {
  font-size: 14px;
}

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

  100% {
    transform: rotate(360deg);
  }
}

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

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Constructions Section / O nama
--------------------------------------------------------------*/
.constructions .card-item {
  border: 1px solid rgba(111, 97, 28, 0.419);
  background: #282828;
  position: relative;
  border-radius: 0;
  height: 100%;
  display: flex;
}

.constructions .card-item .card-bg {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-size: cover;
  background-position: center;
}

/* Mobile optimized background images for constructions section */
@media (max-width: 768px) {
  .constructions .row > .col-lg-6:nth-child(1) .card-bg {
    background-image: url(../img/constructions-1_800.webp) !important;
  }
  .constructions .row > .col-lg-6:nth-child(2) .card-bg {
    background-image: url(../img/constructions-2_800.webp) !important;
  }
  .constructions .row > .col-lg-6:nth-child(3) .card-bg {
    background-image: url(../img/constructions-3_800.webp) !important;
  }
  .constructions .row > .col-lg-6:nth-child(4) .card-bg {
    background-image: url(../img/constructions-4_800.webp) !important;
  }
}


.constructions .card-item .card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  
}

.constructions .card-item h4 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--color-secondary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.constructions .card-item p {
  color: #F5F5F5;
  margin: 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
} 


.constructions .card-item > .row {
  flex: 1;
}

@media (max-width: 991px) {
  .constructions .card-item .card-bg {
    min-height: 220px;
  }
}

/* Stack layout: image above text for tablet and smaller widths */
@media (max-width: 1199px) {
  .constructions .card-item {
    flex-direction: column !important; 
    align-items: stretch !important;
    overflow: hidden;
  }

  .constructions .card-item > .row {
    display: block !important;
  }

  .constructions .card-item .col-xl-5,
  .constructions .card-item .col-lg-5,
  .constructions .card-item .col-xl-7,
  .constructions .card-item .col-lg-7,
  .constructions .card-item .col-12 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .constructions .card-item .card-bg {
    min-height: 220px;
    height: 220px; 
    max-height: none;
    background-position: center center;
    background-size: cover;
    width: calc(100% - 40px); 
    margin: 0 20px; 
    border-radius: 0;
    display: block;
  }

  .constructions .card-item .card-body {
    padding: 20px 20px 24px 20px;
  }
}

.constructions .card-item > .row {
  height: 100%;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .constructions .card-item .card-body {
    padding: 24px;
  }

  .constructions .card-item p {
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .constructions .card-item {
    min-height: 220px; 
    align-items: stretch;
  }

  .constructions .card-item > .row {
    align-items: stretch;
  }

  .constructions .card-item .col-xl-5,
  .constructions .card-item .col-lg-5 {
    display: flex;
    align-items: center;
    padding: 0; 
  }

  .constructions .card-item .card-bg {
    min-height: 160px; 
    max-height: 260px; 
    width: 100%;
    background-position: center center;
    background-size: cover;
    flex-shrink: 0;
    overflow: hidden;
  }

  .constructions .card-item .card-body {
    padding: 18px 18px;
  }

  .constructions .card-item h4 {
    font-size: 18px;
  }

  .constructions .card-item p {
    font-size: 15px;
    line-height: 1.6;
  }

  .constructions .card-item + .card-item {
    margin-top: 18px;
  }
}

@media (min-width: 1440px) {
  .constructions .card-item {
    min-height: 320px;
    align-items: stretch;
  }

  .constructions .card-item > .row {
    align-items: stretch;
  }

  .constructions .card-item .col-xl-5,
  .constructions .card-item .col-lg-5 {
    display: flex;
    align-items: center;
    padding: 0;
    flex: 0 0 48%;
    max-width: 48%;
  }

  .constructions .card-item .col-xl-7,
  .constructions .card-item .col-lg-7 {
    flex: 0 0 52%;
    max-width: 52%;
  }

  .constructions .card-item .card-bg {
    min-height: 320px;
    max-height: 500px;
    width: 100%;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
  }

  .constructions .card-item .card-body {
    padding: 22px 24px;
  }

  .constructions .card-item h4 {
    font-size: 20px;
  }

  .constructions .card-item p {
    font-size: 16px;
    line-height: 1.6;
  }

  .constructions .card-item + .card-item {
    margin-top: 22px;
  }
}

@media (min-width: 2560px) and (min-height: 1440px) {
  .constructions .card-item {
    min-height: 520px; 
    align-items: stretch;
  }

  .constructions .card-item .col-xl-5,
  .constructions .card-item .col-lg-5 {
    flex: 0 0 60%;
    max-width: 60%;
    display: flex;
    align-items: center;
    padding: 0;
  }

  .constructions .card-item .col-xl-7,
  .constructions .card-item .col-lg-7 {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .constructions .card-item .card-bg {
    min-height: 480px;
    height: 100%;
    max-height: none;
    background-position: center center;
    background-size: cover;
    width: 100%;
    overflow: hidden;
  }

  .constructions .card-item .card-body {
    padding: 36px; 
  }

  .constructions .card-item h4 {
    font-size: 24px;
  }

  .constructions .card-item p {
    font-size: 16px;
    line-height: 1.6;
  }
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  border: 1px solid rgba(111, 97, 28, 0.419);
  padding: 40px;
  background: #282828;
  height: 100%;
}

.services .service-item .icon {
  width: 48px;
  height: 48px;
  position: relative;
  margin-bottom: 50px;
}

.services .service-item .icon i {
  color: var(--color-secondary);
  font-size: 40px;
  transition: ease-in-out 0.3s;
  z-index: 2;
  position: relative;
  line-height: 1.8;
}

.services .service-item h3 {
  color: var(--color-default);
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  font-size: 22px;
  position: relative;
  display: inline-block;
  border-bottom: 4px solid #F5F5F5;
  transition: 0.3s;
}

.services .service-item p {
  color: #F5F5F5;
  line-height: 24px;
  font-size: 16px;
  margin-bottom: 0;
}

.services .service-item:hover h3 {
  border-color: #b28b21
}

@media (max-width: 767px) {

  .services .service-item {
    padding: 12px;
  }

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

  .services .service-item .icon i {
    font-size: 28px;
  }

  .services .service-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .services .service-item p {
    font-size: 12px;
    line-height: 1.4;
  }

  #services .row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 0.4rem; 
    padding-right: 0.4rem;
  }

  #services .service-item {
    margin-bottom: 12px;
  }

  #services [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

} 

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
  border: 2px solid rgba(111, 97, 28, 0.419);
}

.features .nav-link {
  padding: 15px 0;
  transition: 0.3s;
  color: var(--color-secondary);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  border: 0;
  border-bottom: 4px solid #e2e4e6;
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  /* ensure multi-line headings stay centered */
  text-align: center;
  width: 100%;
}



@media (max-width: 575px) {
  .features .nav-link h4 {
    font-size: 16px;
    text-align: center;
  }
}

.features .nav-link:hover {
  color: #F5F5F5;
}

.features .nav-link.active {
  color: var(--color-primary);
  background-color: transparent;
  border-color: var(--color-primary);
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  font-weight: 700;
  font-size: 32px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.features .tab-pane h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 45px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
  color: #F5F5F5;
}

.features .tab-pane ul li {
  display: block;
  width: 100%;
  padding-top: 10px;
  color: #F5F5F5;
}

@media (max-width: 767px) {
  .tab-pane#tab-1 ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    padding-left: 0; 
    align-items: start;
  }

  .tab-pane#tab-1 ul li {
    display: flex;
    align-items: center;
    width: auto;
    padding-top: 6px;
    margin: 0;
  }

  .tab-pane#tab-1 ul li i {
    margin-right: 8px;
  }
}

@media (min-width: 768px) {
  .tab-pane#tab-1 ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    padding-left: 0;
    align-items: start;
  }

  .tab-pane#tab-1 ul li {
    display: flex;
    align-items: center;
    width: auto;
    padding-top: 6px;
    margin: 0;
  }

  .tab-pane#tab-1 ul li i {
    margin-right: 8px;
  }
}

@media (min-width: 1200px) {
  .tab-pane#tab-1 ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 40px;
  }
}


.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--color-primary);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

.features-slider img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
  border-color: #b28b21;
}

.features-slider {
  position: relative;
}

.swiper-button-prev {
  color: #b28b21;
}

.swiper-button-next {
  color: #b28b21;
}

.swiper-pagination-bullet-active {
  background: #000000;
}

/*--------------------------------------------------------------
# Our Projects Section
--------------------------------------------------------------*/
.projects .portfolio-flters {
  border: 1px solid rgba(111, 97, 28, 0.419);
  color: #b28b21;
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.projects .portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  color: #F5F5F5;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.projects .portfolio-flters li:hover,
.projects .portfolio-flters li.filter-active {
  color: var(--color-primary);
}

.projects .portfolio-flters li:first-child {
  margin-left: 0;
}

.projects .portfolio-flters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .projects .portfolio-flters li {
    font-size: 15px;
    margin: 0 5px;
  }
}

.portfolio-content {
  aspect-ratio: 4 / 3;   /* consistent card shape */
  overflow: hidden;
}

.portfolio-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.projects .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.projects .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #F5F5F5;
  display: inline-block;
  background-color: var(--color-primary);
}

.projects .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.projects .portfolio-content .portfolio-info .preview-link,
.projects .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 20px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #F5F5F5;
  transition: 0.3s;
  line-height: 1.2;
}

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

.projects .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.projects .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.projects .portfolio-content:hover img {
  transform: scale(1.1);
}

.portfolio-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.portfolio-pagination .page-btn {
  padding: 6px 16px;
  border: 1px solid #d4af37;
  background: transparent;
  color: #d4af37;
  cursor: pointer;
}

.portfolio-pagination .page-btn.active {
  background: #d4af37;
  color: #000;
}

.portfolio-pagination .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Ellipsis button styling - mimic page button but non-interactive */
.portfolio-pagination .ellipsis {
  border: 1px solid #d4af37;
  background: transparent;
  color: #d4af37;
  padding: 6px 12px;
  cursor: default;
}

.hidden-item {
  display: none !important;
}

/* Portfolio image wrapper */
.portfolio-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;     
  overflow: hidden;
  background: #111;      
}

/* Portfolio images */
.projects .portfolio-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.portfolio-item {
  display: block;
}

/*--------------------------------------------------------------
# Alt Services Section
--------------------------------------------------------------*/
.alt-services .img-bg {
  background-size: cover;
  background-position: center center;
  min-height: 400px;

}

.alt-services h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.alt-services h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.alt-services .icon-box {
  margin-top: 50px;
}

.alt-services .icon-box i {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-right: 25px;
  font-size: 28px;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  line-height: 0;
  box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.08);
  background-color: #F5F5F5;
  transition: 0.3s;
}


.alt-services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.alt-services .icon-box h4 a {
  color: #B78700;
  transition: 0.3s;
}

.alt-services .icon-box h4 a:hover {
  color: var(--color-primary);
}

.alt-services .icon-box p {
  color: #F5F5F5;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}


/*--------------------------------------------------------------
# Projet Details Section
--------------------------------------------------------------*/
.project-details .portfolio-details-slider img {
  width: 100%;
}

.project-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.project-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

.project-details .swiper-button-prev,
.project-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.project-details .swiper-button-prev:after,
.project-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.project-details .swiper-button-prev:hover:after,
.project-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 575px) {

  .project-details .swiper-button-prev,
  .project-details .swiper-button-next {
    display: none;
  }
}

.project-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.project-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.project-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.project-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.project-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: #838893;
  font-size: 14px;
}

.project-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--color-primary);
  color: #F5F5F5;
  border-radius: 50px;
  transition: 0.3s;
}

.project-details .portfolio-info .btn-visit:hover {
  background: #ffc019;
}

.project-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-secondary);
}

.project-details .portfolio-description p {
  padding: 0;
}

.project-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: #f5f6f7;
  height: 100%;
  margin-bottom: 50px;
}

.project-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid #F5F5F5;
  float: left;
  margin: 0 10px 0 0;
}

.project-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.project-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.project-details .portfolio-description .testimonial-item .quote-icon-left,
.project-details .portfolio-description .testimonial-item .quote-icon-right {
  color: #ffd565;
  font-size: 26px;
  line-height: 0;
}

.project-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.project-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.project-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid #F5F5F5;
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid #d9e3e8;
  margin: 20px 0;
  color: var(--color-secondary);
  transition: 0.3s;
}

.service-details .services-list a.active {
  font-weight: 700;
  border-color: var(--color-primary);
}

.service-details .services-list a:hover {
  border-color: var(--color-primary);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 28px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--color-primary);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero {
  overflow-x: hidden;
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 100svh;
  padding: 80px 0;
  margin: 0;
  position: relative;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #222; /* fallback color while images load */
  overflow: hidden;
  z-index: 1;
  transition-duration: 0.5s;
}

/* Make picture/img inside carousel fill the slide and use cover-fit for better LCP and responsiveness */
.hero .carousel-item picture,
.hero .carousel-item img {
  width: 100%;
  height: 100svh;
  display: block;
  object-fit: cover;
}

/* Move hero image slightly to the right on mobile */
@media (max-width: 768px) {
  .hero .carousel-item picture,
  .hero .carousel-item img {
    object-position: 45% center;
  }
}



.hero .carousel-item::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.107);
  position: absolute;
  inset: 0;
}


.hero .info {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; 
  padding-bottom: 100px;        
  padding-left: 50px;          
  padding-right: 50px;
}

.hero .info {
  padding-bottom: clamp(24px, 6vh, 100px);
}


.hero .info h2 {
  color: #F5F5F5;
  margin-bottom: 30px;
  padding-bottom: 30px;
  font-size: 60px;
  font-weight: 700;
  position: relative;
}

@media (max-width: 768px) {
  .hero .info h2 {
    font-size: 36px;
  }
}


.hero .info p {
  color: rgba(255, 255, 255, 0.8);
  filter: drop-shadow(0 0 0.8px rgba(255, 255, 255, 0.748));
  font-size: 20px;
}

.hero .info .btn-get-started {
  background-color: rgba(183, 143, 23, 0.801);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  font-family: var(--font-primary);
  font-weight: 45;
  font-size: 18px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  color: #F5F5F5;
  border: 2px solid rgba(178, 139, 33, 0.724);

  /* fallback for browsers without backdrop-filter */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.622);
  position: relative;
}

/* Animation smoothing and rendering hints for AOS-animated elements */
.hero .info .btn-get-started[data-aos],
.logo[data-aos],
.logo[data-aos] .site-logo {
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (min-width: 1400px) {
  .hero .info .btn-get-started {
    padding: 14px 60px;
    font-size: 20px;
  }
}


.hero .info .btn-get-started:hover {
  background-color: var(--color-primary);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.711);
  color: #ffffff;
}


/* =====================================
   Footer background – large screens
   ===================================== */

.footer {
  color: #F5F5F5;
  background-image: url("../img/footer-bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover; /* mobile & small screens */
  font-size: 14px;
  padding: 80px 0 60px 0;
  position: relative;
}

@media (max-width: 768px) {
  .footer {
    background-image: url("../img/footer-bg_800.webp");
  }
}

@media (min-width: 1400px) {
  .footer {
    background-size: cover;
    background-position: 40% 45%;
    min-height: 420px;
  }
}


.footer:before {
  content: "";
  background: rgba(0, 0, 0, 0.526);
  position: absolute;
  inset: 0;
}

.footer .footer-content .footer-info {
  margin-bottom: 30px;
}

/* Footer-specific smaller logo */
.footer .site-logo{
  height: 40px;
  width: auto;
  display: block;
}

.footer .footer-content .footer-info p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--font-primary);
  color: #F5F5F5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.footer .footer-content .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(11, 10, 10, 0.583);
  color: #f5f5f5;
  line-height: 1;
  margin-right: 8px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .footer-content .social-links a:hover {
  background: var(--color-primary);
  text-decoration: none;
}

.footer .footer-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #b28b21;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-content .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-content .footer-links ul li {
  padding: 8px 0;
}

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

.footer .footer-content .footer-links ul a {
  color: rgba(255, 255, 255, 0.67);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer .footer-content .footer-links ul a:hover {
  color: #F5F5F5;
}

.footer .footer-legal .credits {
  padding-top: 4px;
  font-size: 13px;
  color: #b28b21;
}

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


/*--------------------------------------------------------------
@media (max-width: 768px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}
