/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background: #fff;
  color: #666666;
  font-family: "Open Sans", sans-serif;
}

a {
  text-decoration: none;
  color: #e8c972;
  transition: 0.5s;
}

h3 { color: #e8c972 !important; }
.bi-check { color: #e8c972 !important; }

a:hover,
a:active,
a:focus {
  color: #e8c972;
  outline: none;
  text-decoration: none;
}

p { padding: 0; margin: 0 0 30px 0; }

/* Typography (updated) */
h1, h2, h3, h4, h5, h6, .section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Comfortable line length for long text */
.section-description,
#details p,
#testimonials .section-description,
#testimonials p,
.details .content p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Preloader */
#preloader {
  position: fixed;
  left: 0; top: 0; z-index: 999;
  width: 100%; height: 100%; overflow: visible;
  background: #fff url("../img/preloader.svg") no-repeat center center;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px; bottom: 15px; z-index: 996;
  background: #e8c972; width: 40px; height: 40px;
  border-radius: 4px; transition: all 0.4s;
}
.back-to-top i { font-size: 28px; color: #fff; line-height: 0; }
.back-to-top:hover { background: #e8c972; color: #fff; }
.back-to-top.active { visibility: visible; opacity: 1; }

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
#hero {
  display: table;
  width: 100%;
  height: 100vh;
  background: url(../img/bg.avif) top center;
  background-size: cover;
}
@media (min-width: 1024px) { #hero { background-attachment: fixed; } }

#hero .hero-logo { margin: 20px; }
#hero .hero-logo img { max-width: 50%; }

#hero .hero-container {
  background: rgba(0, 0, 0, 0.8);
  display: table-cell;
  margin: 0; padding: 0;
  text-align: center;
  vertical-align: middle;
}

#hero h1 {
  margin: 30px 0 10px 0;
  font-weight: 700; line-height: 48px;
  text-transform: uppercase; color: #fff;
}
@media (max-width: 768px) {
  #hero h1 { font-size: 28px; line-height: 36px; }
}
#hero h2 { color: #ccc; margin-bottom: 50px; }
#hero h2 span { color: #fff; transition: 0.3s; border-bottom: 2px solid #e8c972; }
@media (max-width: 768px) {
  #hero h2 { font-size: 24px; line-height: 26px; margin-bottom: 30px; }
  #hero h2 .rotating { display: block; }
}
#hero .rotating > .animated { display: inline-block; }
#hero .actions a {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase; font-weight: 600; font-size: 16px;
  letter-spacing: 1px; display: inline-block;
  padding: 8px 20px; border-radius: 2px; transition: 0.5s; margin: 10px;
}
#hero .btn-get-started { background: #e8c972; border: 2px solid #e8c972; color: #fff; }
#hero .btn-get-started:hover { background: none; border: 2px solid #fff; color: #fff; }
#hero .btn-services { border: 2px solid #fff; color: #fff; }
#hero .btn-services:hover { background: #e8c972; border: 2px solid #e8c972; }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #0d0d0d; transition: all 0.5s; z-index: 997; height: 70px;
}
@media (max-width: 992px) { #header { height: 60px; } }
#header.fixed-top { background: rgba(0, 0, 0, 0.85); }

#header .logo {
  font-size: 30px; margin: 0; padding: 0; line-height: 1;
  font-weight: 400; letter-spacing: 2px; text-transform: uppercase;
}
#header .logo a { color: #fff; }
#header .logo img { height: 50px; }

.scrolled-offset { margin-top: 70px; }
@media (max-width: 992px) { .scrolled-offset { margin-top: 60px; } }

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar { padding: 0; }
.navbar ul {
  margin: 0; padding: 0; display: flex;
  list-style: none; align-items: center;
}
.navbar li { position: relative; }
.navbar a, .navbar a:focus {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0 10px 30px; font-family: "Montserrat", sans-serif;
  font-size: 14px; color: #fff; white-space: nowrap; 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: #e8c972; }

/* Dropdowns omitted for brevity: keep your existing rules */
.navbar .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: #fff; 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; text-transform: none; color: #333333; }
.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a { color: #e8c972; }
.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 (max-width: 1366px) {
  .navbar .dropdown .dropdown ul { left: -90%; }
  .navbar .dropdown .dropdown:hover > ul { left: -100%; }
}

/* Mobile Nav */
.mobile-nav-toggle { color: #fff; font-size: 28px; cursor: pointer; display: none; line-height: 0; transition: 0.5s; }
@media (max-width: 991px) { .mobile-nav-toggle { display: block; } .navbar ul { display: none; } }
.navbar-mobile {
  position: fixed; overflow: hidden; top:0; right:0; left:0; bottom:0;
  background: rgba(26,26,26,0.9); transition: 0.3s; z-index: 999;
}
.navbar-mobile .mobile-nav-toggle { position: absolute; top: 15px; right: 15px; }
.navbar-mobile ul {
  display: block; position: absolute; top: 55px; right: 15px; bottom: 15px; left: 15px;
  padding: 10px 0; background-color: #fff; overflow-y: auto; transition: 0.3s;
}
.navbar-mobile a, .navbar-mobile a:focus { padding: 10px 20px; font-size: 15px; color: #333333; }
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a { color: #e8c972; }
.navbar-mobile .getstarted, .navbar-mobile .getstarted:focus { margin: 15px; }
.navbar-mobile .dropdown ul {
  position: static; display: none; margin: 10px 20px; padding: 10px 0; z-index: 99;
  opacity: 1; visibility: visible; background: #fff; box-shadow: 0 0 30px rgba(127,137,161,0.25);
}
.navbar-mobile .dropdown > .dropdown-active { display: block; }

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section { overflow: hidden; padding: 64px 0; }
.section-title {
  font-size: 32px; color: #111; text-transform: uppercase;
  text-align: center; font-weight: 700;
}
.section-description { text-align: center; margin-bottom: 40px; }
.section-title-divider {
  width: 50px; height: 3px; background: #e8c972;
  margin: 0 auto 20px auto; border-radius: 2px;
}
@media (max-width: 576px){
  section { padding: 36px 0; }
  .container { padding-left: 18px !important; padding-right: 18px !important; }
}

/* About */
#about {
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url("../img/transparent bg b_w.png") fixed center center / cover no-repeat !important;
  padding: 80px 0;
  background-size: 90% auto !important;
}
#about .about-img { overflow: hidden; }
#about .about-img img { max-width: 80%; }
@media (max-width: 768px) {
  #about .about-img { max-width: 100%; height: auto; padding-bottom: 30px; }
}
#about .about-title { color: #333; font-weight: 700; font-size: 28px; }
#about .about-text { line-height: 26px; margin-bottom: 15px; }
#about .about-text:last-child { margin-bottom: 0; }

/* Services (unchanged core styles) */
#services {
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url("../img/services-bg.jpg") fixed center center;
  background-size: cover; padding: 80px 0 60px 0;
}
#services .service-item { margin-bottom: 20px; }
#services .service-icon {
  float: left; background: #e8c972; border-radius: 50%;
  transition: 0.5s; border: 1px solid #e8c972;
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
}
#services .service-icon i { color: #fff; font-size: 24px; line-height: 0; }
#services .service-item:hover .service-icon { background: #fff; }
#services .service-item:hover .service-icon i { color: #e8c972; }
#services .service-title { margin-left: 80px; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; }
#services .service-title a { color: #111; }
#services .service-description { margin-left: 80px; line-height: 24px; }

/* Subscribe */
#subscribe {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(../img/subscribe-bg.jpg) fixed center center;
  background-size: cover; padding: 80px 0;
}
#subscribe .subscribe-title { color: #fff; font-size: 28px; font-weight: 700; }
#subscribe .subscribe-text { color: #fff; }
#subscribe .subscribe-btn-container { text-align: center; padding-top: 20px; }
#subscribe .subscribe-btn {
  font-family: "Montserrat", sans-serif; text-transform: uppercase; font-weight: 600;
  font-size: 16px; letter-spacing: 1px; display: inline-block;
  padding: 8px 20px; border-radius: 2px; transition: 0.5s; margin: 10px;
  border: 2px solid #fff; color: #fff;
}
#subscribe .subscribe-btn:hover { background: #e8c972; border: 2px solid #e8c972; }

/* Portfolio */
#portfolio { background: #fff; padding: 80px 0; }
#portfolio #portfolio-flters {
  padding: 0; margin: 0 auto 35px auto; list-style: none; text-align: center;
}
#portfolio #portfolio-flters li {
  cursor: pointer; display: inline-block; padding: 8px 12px;
  font-size: 14px; font-weight: 600; line-height: 1; text-transform: uppercase;
  color: #666666; transition: all 0.3s ease-in-out;
}
#portfolio #portfolio-flters li:hover, #portfolio #portfolio-flters li.filter-active { color: #e8c972; }
#portfolio .portfolio-item { margin-bottom: 30px; }
#portfolio .portfolio-item .portfolio-info {
  opacity: 0; position: absolute; left: 12px; right: 12px; bottom: 0; z-index: 3;
  transition: all ease-in-out 0.3s; background: rgba(255,255,255,0.85); padding: 15px;
}
#portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px; font-weight: 600; color: #333333; margin-bottom: 5px;
}
#portfolio .portfolio-item .portfolio-info p { color: #666666; font-size: 14px; margin-bottom: 0; }
#portfolio .portfolio-item:hover .portfolio-info { opacity: 1; }

/*--------------------------------------------------------------
# Details
--------------------------------------------------------------*/
.details .content + .content { margin-top: 100px; }
.details .content h3 { font-weight: 700; font-size: 26px; color: #010483; }
.details .content ul { list-style: none; padding: 0; max-width: 820px; margin: 0 auto; }
.details .content ul li { padding-bottom: 10px; list-style: none; margin: 12px 0; }
.details .content ul i { font-size: 20px; padding-right: 4px; color: #1acc8d; }
.details .content ul i.bi-check { color: #e8c972; margin-right: 8px; vertical-align: text-top; }
.details .content p:last-child { margin-bottom: 0; }

/* Portfolio Details (unchanged essentials) */
.portfolio-details { padding-top: 20px; }
.portfolio-details .portfolio-details-slider img { width: 100%; }
.portfolio-details .portfolio-details-slider .swiper-pagination { margin-top: 20px; position: relative; }
.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px; height: 12px; background-color: #fff; opacity: 1; border: 1px solid #e8c972;
}
.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active { background-color: #e8c972; }
.portfolio-details .portfolio-info { padding: 30px; box-shadow: 0 0 30px rgba(51,51,51,0.08); }
.portfolio-details .portfolio-info h3 {
  font-size: 22px; font-weight: 700; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee;
}
.portfolio-details .portfolio-info ul { list-style: none; padding: 0; font-size: 15px; }
.portfolio-details .portfolio-info ul li + li { margin-top: 10px; }
.portfolio-details .portfolio-description { padding-top: 30px; }
.portfolio-details .portfolio-description h2 { font-size: 26px; font-weight: 700; margin-bottom: 20px; }

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
#testimonials { background: #f6f6f6; padding: 80px 0; }
#testimonials .profile .pic {
  border-radius: 20%; border: 0 solid #fff; margin-bottom: 15px;
  overflow: hidden; height: 150px; width: 220px;
}
#testimonials .profile .pic img { max-width: 100%; }
#testimonials .profile h4 { font-weight: 700; color: #e8c972; margin-bottom: 5px; }
#testimonials .profile span { color: #333333; }
#testimonials .quote {
  position: relative; background: #fff; color: #e8c972;
  padding: 20px; margin-top: 40px; font-size: 16px; font-style: italic; border-radius: 5px;
}
#testimonials .quote b { display: inline-block; font-size: 22px; left: -9px; position: relative; top: -8px; }
#testimonials .quote small { display: inline-block; right: -9px; position: relative; top: 4px; }

.quoteSub {
  position: relative; background: #f7f7f7; color: #e8c972;
  padding: 20px; margin-top: 40px; font-size: 16px; font-style: italic; border-radius: 5px;
}
.quoteSub b { display: inline-block; font-size: 22px; left: -9px; position: relative; top: -8px; }
.quoteSub small { display: inline-block; right: -9px; position: relative; top: 4px; }

#filler { background: #fff; padding: 80px 0 60px 0; }

/* Team (unchanged essentials) */
#team { background: #fff; padding: 80px 0 60px 0; }
#team .member { text-align: center; margin-bottom: 20px; }
#team .member .pic { margin-bottom: 15px; overflow: hidden; height: 260px; }
#team .member .pic img { max-width: 100%; }
#team .member h4 { font-weight: 700; margin-bottom: 2px; }
#team .member span { font-style: italic; display: block; font-size: 13px; }
#team .member .social { margin-top: 15px; }
#team .member .social a { color: #b3b3b3; }
#team .member .social a:hover { color: #e8c972; }
#team .member .social i { font-size: 18px; margin: 0 2px; }

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
#contact { background: #f7f7f7; padding: 80px 0 120px 0; }
#contact .info { color: #333333; }

/* Centered icon + label */
.contact-icon { font-size: 32px; color: #e8c972; margin-bottom: 8px; line-height: 1; }
.contact a { color: inherit; text-decoration: none; }
.contact a:hover { color: #e8c972; }

/* Remove the old icon offsets that pushed icons right */
.bi-geo-alt::before,
.bi-envelope::before,
.bi-phone::before { margin-left: 0 !important; }

/* (legacy) left-floated icon style not used in new markup, kept harmless */
#contact .info i { font-size: 32px; color: #e8c972; float: left; line-height: 0; }
#contact .info p { padding: 0 0 10px 50px; line-height: 24px; }

/* PHP email form (unchanged essentials) */
#contact .php-email-form .error-message { display: none; color: #fff; background: #ed3c0d; text-align: left; padding: 15px; font-weight: 600; }
#contact .php-email-form .error-message br + br { margin-top: 25px; }
#contact .php-email-form .sent-message { display: none; color: #fff; background: #18d26e; text-align: center; padding: 15px; font-weight: 600; }
#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 #18d26e; border-top-color: #eee; animation: animate-loading 1s linear infinite;
}
#contact .php-email-form input, #contact .php-email-form textarea { border-radius: 0; box-shadow: none; }
#contact .php-email-form button[type=submit] { background: #e8c972; border: 0; padding: 10px 24px; color: #fff; transition: 0.4s; }
#contact .php-email-form button[type=submit]:hover { background: #25d8fc; }
@keyframes animate-loading { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs { padding: 30px 0; }
.breadcrumbs h2 { font-size: 26px; font-weight: 300; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: 15px; }
.breadcrumbs ol li + li { padding-left: 10px; }
.breadcrumbs ol li + li::before { display: inline-block; padding-right: 10px; color: gray; content: "/"; }
@media (max-width: 768px) {
  .breadcrumbs .d-flex { display: block !important; }
  .breadcrumbs ol { display: block; }
  .breadcrumbs ol li { display: inline-block; }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer { background: #111; padding: 30px 0; color: #fff; }
#footer .copyright { text-align: center; }
#footer .credits { padding-top: 10px; text-align: center; font-size: 13px; color: #e8c972; }

.bi-facebook::before,
.bi-instagram::before,
.bi-linkedin::before { margin-right: 10px; }

/* Images / helpers */
@media (max-width: 768px) {
  .mobile-image { max-width: 100%; height: auto; }
}

/* About image spacing */
.about-margin { margin-top: 0; background: #fff; }
@media (min-width: 992px) { .about-margin { margin-top: 20%; } }
.about-img-inner { border-radius: 15px; height: 80%; margin: 30px; }
@media (max-width: 576px) {
  .about-img-inner {
    border-radius: 15px;
    display: block; margin-left: auto; margin-right: auto; text-align: center;
  }
}
