/********** Template CSS **********/
:root {
    --primary: #FFC107; /* Use your brand's primary color */
    --secondary: #007BFF; /* Contrasting secondary color for attention */
    --light: #F8F2F0;
    --dark: #060315;
    --cta-bg: #FF5722; /* Bright call-to-action color */
    --cta-hover: #FF3D00; /* Hover color */
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background-color: var(--primary); /* Add a CTA-style color */
    color: #FFF;
    padding: 15px;
    border-radius: 50%;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 600;
    transition: .3s ease-out;
    text-transform: uppercase; /* Enhances button's visibility */
    padding: 12px 25px;
    border-radius: 4px;
}

.btn.btn-primary {
    background-color: var(--primary); /* Use the new primary color */
    border-color: var(--primary); /* Ensure border matches */
}

.btn.btn-secondary {
    background-color: var(--secondary); /* Use the new secondary color */
    border-color: var(--secondary); /* Ensure border matches */
}

.btn.btn-primary:hover,
.btn.btn-secondary:hover {
    background-color: var(--cta-hover);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.btn-square {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--cta-bg);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-square:hover {
    background-color: var(--cta-hover);
}

/*** Button Effects ***/
.button.--glow:hover {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
}

.button.--pulse:hover {
    animation: pulse 1s ease-out infinite;
}

.button.--move:hover {
    background: var(--cta-bg);
    box-shadow: 0 0 10px var(--cta-hover), 0 0 20px var(--cta-hover);
}

/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    font-size: 16px;
    color: black;
    padding: 20px 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary); /* Use the new primary color */
    border-bottom: 2px solid var(--primary); /* Match border color */
}

/*** Header & Hero Section ***/
.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 18px;
    font-weight: 500;
}

/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.png) center center no-repeat;
    background-size: cover;
    color: var(--light);
    padding: 50px 0;
}

.footer .btn.btn-social {
    margin-right: 10px;
    width: 45px;
    height: 45px;
    color: #fff;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50%;
    transition: 0.3s;
}

.footer .btn.btn-social:hover {
    background-color: var(--cta-hover);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
    text-align: center;
}

/*** CTA Buttons ***/
.contact-area #contactForm {
    -webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    padding: 50px;
    border-radius: 8px;
}

.contact-area #contactForm button {
    background-color: var(--cta-bg);
    border: none;
    color: #fff;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-area #contactForm button:hover {
    background-color: var(--cta-hover);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/*** General Styling for Better Focus ***/
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark);
}

p {
    font-size: 16px;
    color: var(--dark);
    line-height: 1.6;
}

/*** Mobile Responsiveness & Optimization ***/
@media (max-width: 768px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 14px;
    }

    .page-header {
        padding: 60px 20px;
    }
}
