:root {
    --primary: #007bff; /* Vibrant blue */
    --secondary: #00c4b4; /* Modern teal */
    --light: #e6f3fa; /* Softer light blue for background */
    --dark: #1a2b4b; /* Deeper navy for contrast */
}

/*** Spinner ***/
#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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Heading ***/
h1, h2, h3, .fw-bold {
    font-weight: 700 !important;
}

h4, h5, h6, .fw-medium {
    font-weight: 500 !important;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
}

/*** Hero Header ***/
.hero-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-position: center;
    background-repeat: no-repeat;
}

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(0, 123, 255, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}

/*** Contact ***/
.contact-info {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.contact-info:hover .contact-icon {
    transform: scale(1.2);
}

.contact-info p a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    color: var(--secondary);
}

.form-floating input,
.form-floating textarea {
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-floating input:focus,
.form-floating textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
} */

.btn-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-social:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/*** Footer ***/
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Responsive Adjustments ***/
@media (max-width: 991.98px) {
    .contact-info {
        padding: 20px;
    }

    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .contact-info h4 {
        font-size: 1.2rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .form-floating input,
    .form-floating textarea {
        font-size: 0.9rem;
    }

    .form-floating label {
        font-size: 0.85rem;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 10px;
    }

    iframe {
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .contact-info {
        padding: 15px;
    }

    .contact-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .contact-info h4 {
        font-size: 1.1rem;
    }

    .contact-info p {
        font-size: 0.85rem;
    }

    .form-floating input,
    .form-floating textarea {
        font-size: 0.85rem;
    }

    .form-floating label {
        font-size: 0.8rem;
    }

    .btn-primary {
        font-size: 0.85rem;
        padding: 8px;
    }

    iframe {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .contact-info {
        padding: 12px;
    }

    .contact-icon {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }

    .contact-info h4 {
        font-size: 1rem;
    }

    .contact-info p {
        font-size: 0.8rem;
    }

    .form-floating input,
    .form-floating textarea {
        font-size: 0.8rem;
    }

    .form-floating label {
        font-size: 0.75rem;
    }

    .btn-primary {
        font-size: 0.8rem;
        padding: 8px;
    }

    .btn-social {
        width: 35px;
        height: 35px;
    }

    iframe {
        height: 180px;
    }
}