body, html {
	font-family: 'Open Sans', sans-serif;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	color: #212529; /* Near Black */
	font-weight: 400;
	width: 100% !important;
	height: 100% !important;
}
h2 {
	font-family: 'Montserrat', sans-serif;
	margin: 0 0 20px 0;
	font-weight: 700;
	font-size: 32px;
	color: #212529; /* Near Black */
}
h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #212529; /* Near Black */
}
h4 {
	font-size: 18px;
	color: #212529; /* Near Black */
}
h5 {
	text-transform: uppercase;
	font-weight: 700;
	line-height: 20px;
}
.text-logo {
  background-color: #000000;
  color: #DAA520; /* Gold */
  padding: 10px 15px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  position: relative; /* Needed for pseudo-element or background animation */
  overflow: hidden; /* Hide overflowing stars */
  transition: background-color 0.3s ease; /* Smooth transition for background */
}

.text-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Golden sparkle effect using radial-gradient for scattered look */
  background-image: radial-gradient(circle at center, #FFD700 0.5px, transparent 0.5px);
  background-size: 5px 5px; /* Very small background size for individual sparkles */
  background-repeat: repeat;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: golden-sparkle 2s linear infinite; /* Animation for scattered falling effect */
  animation-play-state: paused; /* Pause animation by default */
}

.text-logo:hover::before {
  opacity: 1; /* Show sparkles on hover */
  animation-play-state: running; /* Run animation on hover */
}

@keyframes golden-sparkle {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; } /* Animate both X and Y for a scattered fall */
}

/* Optional: Add a subtle glow to the text itself on hover */
.text-logo:hover {
  text-shadow: 0 0 8px #FFD700;
}
p {
	font-size: 15px;
}
p.intro {
	margin: 12px 0 0;
	line-height: 24px;
}
a {
	color: #DAA520; /* Gold */
	font-weight: 400;
}
a:hover, a:focus {
	text-decoration: none;
	color: #B8860B; /* Darker Gold for hover */
}
ul, ol {
	list-style: none;
}
ul, ol {
	padding: 0;
	webkit-padding: 0;
	moz-padding: 0;
}
hr {
	height: 2px;
	width: 70px;
	text-align: center;
	position: relative;
	background: #DAA520; /* Gold */
	margin-bottom: 20px;
	border: 0;
}
/* Navigation */
#menu {
	padding: 20px;
	transition: all 0.8s;
}
#menu.navbar-default {
	background-color: #FFFFFF; /* White */
	border-color: rgba(231, 231, 231, 0);
	box-shadow: 0 0 30px rgba(0,0,0,0.1);
	height: 80px; /* Adjusted height for a straight line */
}
.navbar-logo {
    height: 60px; /* Fixed height for the logo */
    width: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure it doesn't overflow */
    display: block; /* Remove extra space below image */
    margin: 0; /* Remove any default margins */
}
.navbar-logo {
    height: 60px; /* Fixed height for the logo */
    width: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure it doesn't overflow */
    display: block; /* Remove extra space below image */
    margin: 0; /* Remove any default margins */
}
#menu.navbar-default .navbar-nav > li > a {
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	color: #343a40; /* Darker Gray for menu links */
	font-size: 14px;
	font-weight: 700;
	padding: 8px 10px; /* Adjusted padding */
	border-radius: 0;
	margin: 0 5px; /* Adjusted margin */
	white-space: nowrap; /* Prevent text wrapping */
}
#menu.navbar-default .navbar-nav > li > a:hover {
	color: #DAA520; /* Gold */
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #DAA520 !important; /* Gold */
	background-color: transparent;
}
#menu .phone {
	font-family: 'Montserrat', sans-serif;
	margin: 0; /* Remove margin */
	float: right; /* Align to the right */
	font-size: 16px;
	font-weight: 400;
	color: #AAAAAA; /* Light Gray */
}
#menu .phone span {
	display: none; /* Hide the phone number text */
}
.navbar-toggle {
	border-radius: 0;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background-color: #FFFFFF;
	border-color: #FFFFFF;
}
.navbar-default .navbar-toggle:hover>.icon-bar {
	background-color: #DAA520; /* Gold */
}
.section-title {
	margin-bottom: 70px;
}
.section-title h2 {
	position: relative;
	margin-top: 10px;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15); /* Darker border */
}
.section-title h2::after {
	position: absolute;
	content: "";
	background-color: #DAA520; /* Gold */
	height: 3px;
	width: 50px;
	bottom: -1px;
	left: 0;
}
.btn-custom {
	text-transform: uppercase;
	color: #FFFFFF; /* White */
	background-color: #DAA520; /* Gold */
	padding: 14px 20px;
	letter-spacing: 1px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	border-radius: 4px;
	transition: all 0.3s;
}
.btn-custom:hover, .btn-custom:focus, .btn-custom.focus, .btn-custom:active, .btn-custom.active {
	color: #FFFFFF; /* White */
	background-color: #B8860B; /* Darker Gold */
}
.btn:active, .btn.active {
	background-image: none;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
	outline: none;
	outline-offset: none;
}
/* Header Section */
.intro {
	display: table;
	width: 100%;
	padding: 0;
	background: url(../img/intro-bg.png) center center no-repeat;
	background-color: #F5F5F5; /* Light Gray */
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.intro .overlay {
	background: rgba(0,0,0,0.2); /* Slightly lighter overlay */
}
.intro h1 {
	font-family: 'Montserrat', sans-serif;
	color: #FFFFFF; /* White */
	font-size: 62px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 10px;
	text-shadow: 0 0 10px rgba(0,0,0,0.3); /* Lighter shadow */
}
.intro p {
	color: #FFFFFF; /* White */
	font-size: 17px;
	line-height: 28px;
	padding: 15px;
	max-width: 600px;
	margin: 0 auto;
	margin-bottom: 40px;
	background: rgba(0,0,0,.3); /* Lighter background */
}
header .intro-text {
	padding-top: 350px;
	padding-bottom: 150px;
	text-align: center;
}
/* Get Touch Section */
#get-touch {
	padding: 40px 0 30px;
	color: rgba(255,255,255,.85); /* Lighter text */
	background: #333333; /* Dark Gray */
}
#get-touch h3 {
	font-size: 24px;
	font-weight: 400;
	color: #FFFFFF; /* White */
	margin: 0 0 10px 0;
}
#get-touch .btn-custom {
	margin: 0;
	background: transparent;
	border: 2px solid #FFFFFF; /* White border */
}
#get-touch .btn-custom:hover {
	color: #333333; /* Dark Gray */
	background: #FFFFFF; /* White */
	border: 2px solid #FFFFFF; /* White border */
}
/* About Section */
#about {
	padding: 110px 0;
	background: #ebebeb; /* Slightly darker light gray */
}
#about h3 {
	font-size: 22px;
	margin: 0 0 20px 0;
}
#about h2 {
	position: relative;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
#about h2::after {
	position: absolute;
	content: "";
	background-color: #DAA520; /* Gold */
	height: 3px;
	width: 50px;
	bottom: -1px;
	left: 0;
}
#about .about-text li {
	margin-bottom: 6px;
	margin-left: 6px;
	list-style: none;
	padding: 0;
}
#about .about-text li:before {
	content: '\f00c';
	font-family: 'FontAwesome';
	color: #DAA520; /* Gold */
	font-size: 11px;
	font-weight: 300;
	padding-right: 8px;
}
#about img {
	padding: 20px;
	width: 500px;
	margin-top: 10px;
	background: #FFFFFF; /* White */
	border-right: 0;
	box-shadow: 0 0 50px rgba(0,0,0,0.04); /* Lighter shadow */
}
#about p {
	line-height: 24px;
	margin: 30px 0;
}
/* Services Section */
#services {
	padding: 100px 0;
}
#services .service-media {
	margin: 10px;
}
#services .service-media img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
}
#services .service-desc {
	margin: 10px 10px 20px;
}
#services h3 {
	font-weight: 700;
	padding: 5px 0;
}
#services .service-desc hr {
	margin-left: 0;
}

/* ¿Por qué elegirnos? */
#why-us {
	padding: 100px 0 160px 0;
}
#why-us .section-title {
	margin-bottom: 70px;
}
#why-us h2 {
	position: relative;
	margin-top: 10px;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
#why-us h2::after {
	position: absolute;
	content: "";
	background-color: #DAA520; /* Gold */
	height: 3px;
	width: 50px;
	bottom: -1px;
	left: 0;
}
#why-us ul {
	list-style: none;
	padding: 0;
}
#why-us ul li {
	margin-bottom: 10px;
	font-size: 16px;
	color: #333333; /* Dark Gray */
}
#why-us ul li i.fa {
	color: #DAA520; /* Gold */
	margin-right: 10px;
}

/* Portfolio Section */

/* ¿Por qué elegirnos? */
#why-us {
	padding: 100px 0 160px 0;
}
#why-us .section-title {
	margin-bottom: 70px;
}
#why-us h2 {
	position: relative;
	margin-top: 10px;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
#why-us h2::after {
	position: absolute;
	content: "";
	background-color: #DAA520; /* Gold */
	height: 3px;
	width: 50px;
	bottom: -1px;
	left: 0;
}
#why-us ul {
	list-style: none;
	padding: 0;
}
#why-us ul li {
	margin-bottom: 10px;
	font-size: 16px;
	color: #333333; /* Dark Gray */
}
#why-us ul li i.fa {
	color: #DAA520; /* Gold */
	margin-right: 10px;
}

/* Portfolio Section */

/* ¿Por qué elegirnos? */
#why-us {
	padding: 100px 0 160px 0;
}
#why-us .section-title {
	margin-bottom: 70px;
}
#why-us h2 {
	position: relative;
	margin-top: 10px;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
#why-us h2::after {
	position: absolute;
	content: "";
	background-color: #DAA520; /* Gold */
	height: 3px;
	width: 50px;
	bottom: -1px;
	left: 0;
}
#why-us ul {
	list-style: none;
	padding: 0;
}
#why-us ul li {
	margin-bottom: 10px;
	font-size: 16px;
	color: #333333; /* Dark Gray */
}
#why-us ul li i.fa {
	color: #DAA520; /* Gold */
	margin-right: 10px;
}

/* Portfolio Section */
#portfolio {
	padding: 100px 0;
	background: #F5F5F5; /* Light Gray */
}
.portfolio-item {
	margin: 15px 0;
}
.portfolio-item .hover-bg {
	overflow: hidden;
	position: relative;
}
.hover-bg .hover-text {
	position: absolute;
	text-align: center;
	margin: 0 auto;
	color: #FFFFFF; /* White */
	background: rgba(51, 51, 51, 0.7); /* Dark Gray with transparency */
	padding: 30% 0 0 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: all 0.5s;
}
.hover-bg .hover-text>h4 {
	opacity: 0;
	color: #FFFFFF; /* White */
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	transition: all 0.3s;
	font-size: 17px;
	letter-spacing: 1px;
	font-weight: 400;
	text-transform: uppercase;
}
.hover-bg:hover .hover-text>h4 {
	opacity: 1;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
.hover-bg:hover .hover-text {
	opacity: 1;
}
/* Testimonials Section */
#testimonials {
	padding: 100px 0;
}
#testimonials i {
	color: #DDDDDD; /* Lighter Gray */
	font-size: 32px;
	margin-bottom: 20px;
}
.testimonial {
	position: relative;
	padding: 20px;
}
.testimonial-image {
	float: left;
	margin-right: 15px;
}
.testimonial-image, .testimonial-image img {
	display: block;
	width: 64px;
	height: 64px;
}
.testimonial-content {
	position: relative;
	overflow: hidden;
}
.testimonial-content p {
	margin-bottom: 0;
	font-size: 14px;
	font-style: italic;
}
.testimonial-meta {
	margin-top: 10px;
	font-size: 13px;
	font-weight: bold;
	text-transform: uppercase;
}
/* Contact Section */
#contact {
	padding: 100px 0 60px 0;
	background: #343a40; /* Darker Gray for contact section */
	color: rgba(255,255,255,.85); /* Lighter text */
}
#contact .section-title {
	margin-bottom: 40px;
}
#contact h2 {
	color: #FFFFFF; /* White */
	margin-top: 10px;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
#contact h4 {
	color: #FFFFFF; /* White */
	margin-top: 22px;
	margin-bottom: 60px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
#contact form {
	padding-top: 20px;
}
#contact h3 {
	font-size: 17px;
	font-weight: 600;
}
#contact .text-danger {
	color: #CC0000; /* Red for errors */
	text-align: left;
}
#contact .btn-custom {
	margin: 30px 0;
	background: transparent;
	border: 2px solid #FFFFFF; /* White border */
}
#contact .btn-custom:hover {
	color: #333333; /* Dark Gray */
	background: #FFFFFF; /* White */
}
label {
	font-size: 12px;
	font-weight: 400;
	font-family: 'Open Sans', sans-serif;
	float: left;
}
#contact .form-control {
	display: block;
	width: 100%;
	padding: 6px 12px;
	font-size: 16px;
	line-height: 1.42857143;
	color: #495057; /* Darker Gray for form text */
	background-color: #FFFFFF; /* White */
	background-image: none;
	border: 1px solid #ced4da; /* Lighter Gray border */
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
}
#contact .form-control:focus {
	border-color: #AAAAAA; /* Medium Gray on focus */
	outline: 0;
	-webkit-box-shadow: transparent;
	box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
color: #6c757d;
}
.form-control:-moz-placeholder {
color: #6c757d;
}
.form-control::-moz-placeholder {
color: #6c757d;
}
.form-control:-ms-input-placeholder {
color: #6c757d;
}
#contact .contact-item {
	margin: 20px 0;
}
#contact .contact-item span {
	color: #FFFFFF; /* White */
	display: block;
}
#contact .social {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 50px;
	margin-top: 50px;
	text-align: center;
}
#contact .social ul li {
	display: inline-block;
	margin: 0 20px;
}
#contact .social i.fa {
	font-size: 24px;
	padding: 10px;
	color: rgba(255,255,255,0.6);
	transition: all 0.3s;
}
#contact .social i.fa:hover {
	color: #DAA520; /* Gold */
}
/* Footer Section*/
#footer {
	background: #F5F5F5; /* Light Gray */
	padding: 30px 0;
}
#footer p {
	color: #6c757d; /* Darker gray for footer text */
	font-size: 14px;
}
#footer a {
	color: #333333; /* Dark Gray */
}
#footer a:hover {
	color: #DAA520; /* Gold */
}

/* Modern Animations */
@keyframes slide-in-left {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-in-right {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.section-animated {
  opacity: 0; /* Start hidden */
}

.section-animated.is-visible.slide-in-left {
  animation: slide-in-left 1s forwards;
}

.section-animated.is-visible.slide-in-right {
  animation: slide-in-right 1s forwards;
}

/* Image hover effect */
.service-media img, .testimonial-image img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-media:hover img, .testimonial-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }

  /* Hide WhatsApp icon in responsive view */
  #menu .phone {
    display: none;
  }

  /* Ensure logo is left-aligned and toggle is right-aligned */
  #menu .navbar-brand {
    float: left;
    margin-left: 0; /* Remove left margin */
    padding-left: 15px; /* Add back padding if needed, or adjust container */
  }

  #menu .navbar-toggle {
    float: right;
    margin-right: 0; /* Remove right margin */
    padding-right: 15px; /* Add back padding if needed, or adjust container */
  }

  /* Adjust container padding for full width */
  #menu .container {
    padding-left: 0;
    padding-right: 0;
  }

  /* When menu is open, apply white background and fix container layout */
  #menu.navbar-expanded {
    background-color: #ffffff !important;
  }

  #menu.navbar-expanded .container {
    display: block !important; /* Override inline flex to allow stacking */
  }

  #menu.navbar-expanded .navbar-collapse {
    border-top: 1px solid #eee;
    margin-top: 10px;
  }
  
  /* Explicitly set background on the nav list itself */
  #menu.navbar-expanded .navbar-nav {
    background-color: #ffffff !important;
  }

  #menu.navbar-expanded .navbar-nav > li > a {
    color: #555 !important; /* Ensure text is visible */
    text-align: center;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: none; /* Hidden by default, shown with JavaScript */
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #DAA520; /* Gold */
    color: #fff;
    font-size: 22px;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    z-index: 9999;
}

.scroll-to-top:hover {
    background: #B8860B; /* Darker Gold */
    color: #fff;
}
