﻿body {
    margin: 0;
    overflow-x: hidden;
}

.navbar-transparent {
    background-color: transparent !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-scrolled {
    background-color: rgba(15, 23, 34, 0.96) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.hero-section {
    position: relative;
    min-height: 130vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url("../images/HeroImage.jpg");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    padding: 90px 0 60px;
}

.hero-section .container {
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: 960px;
    padding: 0 1rem;
    margin: 0 auto;
}

.hero-copy {
    max-width: 720px;
    min-height: 110px;
}

.hero-section h1 {
    text-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
}

.hero-section .btn {
    min-width: 180px;
}

.hero-section .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 992px) {
    .hero-section {
        min-height: calc(100vh - 64px);
        padding-top: 80px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.7rem;
    }

    .hero-copy {
        min-height: 120px;
    }

    .hero-section .btn {
        width: 100%;
        max-width: 320px;
    }

    .navbar-brand img {
        max-width: 80px;
        height: auto;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2.3rem;
    }

    .hero-section {
        padding-top: 75px;
    }
}


.navbar-nav .nav-item + .nav-item { margin-left: 1rem; }
.navbar-nav .nav-link { color: #fff !important; font-weight: 600; padding: 0.45rem 0.9rem; border-radius: 999px; transition: background-color 0.2s ease, color 0.2s ease; background-color: rgba(255, 255, 255, 0.08); border: none; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus { background-color: rgba(255, 255, 255, 0.22); color: #fff !important; text-decoration: none; }
.navbar-nav .nav-link.btn { background-color: transparent; border: 1px solid #f48c06; color: #f48c06 !important; }
.navbar-nav .nav-link.btn:hover, .navbar-nav .nav-link.btn:focus { background-color: #f48c06; color: #fff !important; border-color: #f48c06; }
.navbar-nav .nav-link.active {
    background-color: rgba(244, 140, 6, 0.3) !important;
    border: 1px solid rgba(244, 140, 6, 0.45);
}

.navbar-nav .dropdown-toggle::after { margin-left: 0.35rem; }
.navbar-nav .nav-item.dropdown { position: relative; }
.navbar-nav .dropdown-menu { position: absolute; top: 100%; left: 0; margin-top: 0.5rem; min-width: 200px; }
@media (max-width: 1200px) { .navbar-nav .nav-item + .nav-item { margin-left: 0.6rem; } }

/* Mobile navbar collapse */
@media (max-width: 991.98px) {
    .navbar-brand img {
        max-width: 70px;
        height: auto;
    }

    .navbar-collapse {
        background-color: rgba(10, 17, 25, 0.97);
        border-radius: 0 0 8px 8px;
        padding: 0.5rem 1rem 1rem;
        margin-top: 0.25rem;
    }

    .navbar-nav .nav-item + .nav-item {
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .navbar-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: rgba(255, 255, 255, 0.06);
        padding-left: 0.75rem;
        margin-top: 0.25rem;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
        border-radius: 6px;
    }

    .navbar-nav .dropdown-menu .dropdown-item:hover,
    .navbar-nav .dropdown-menu .dropdown-item:focus {
        background-color: rgba(255, 255, 255, 0.15);
        color: #fff;
    }
}

/* Who We Are Section */
.who-we-are {
    background-color: #f9f9f9;
    padding-top: 2.5rem !important;
}

.who-we-are h2 {
    font-size: 2.5rem;
}

.who-we-are-divider {
    width: 60px;
    height: 4px;
    background-color: #f48c06;
    border: none;
}

.who-we-are-content {
    line-height: 1.7;
}

.who-we-are-content .btn {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .who-we-are h2 {
        font-size: 2rem;
    }
}

/* Reviews Section */
.reviews-section {
    background-color: #fff;
    padding: 60px 0;
}

.reviews-carousel {
    position: relative;
}

.review-item {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.review-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.review-item .card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-item .stars {
    font-size: 1.8rem;
    color: #ffc107;
    letter-spacing: 2px;
}

.review-item h5 {
    font-size: 1.25rem;
    color: #212529;
}

.review-item p {
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.review-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 4px;
    z-index: 10;
}

.review-nav:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.review-prev {
    left: -50px;
}

.review-next {
    right: -50px;
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.review-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.3s;
    border: 2px solid rgba(0, 0, 0, 0.4);
}

.review-dots .dot.active {
    background-color: #f48c06;
    border-color: #f48c06;
}

.review-dots .dot:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .review-nav {
        position: static;
        display: inline-block;
        margin: 0 10px;
        transform: none;
    }

    .review-prev,
    .review-next {
        left: auto;
        right: auto;
    }

    .review-dots {
        margin-top: 20px;
    }

    .review-item .card {
        min-height: 250px;
    }
}

/* Footer Copyright */
footer .row:last-child {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

footer .text-center p {
    color: #b0b0b0 !important;
    font-size: 0.95rem;
}

/* Team Section */
.team-section {
    background-color: #f9f9f9;
}

.team-section h2 {
    color: #212529;
}

.team-bio {
    border-left: 4px solid #f48c06;
}

.team-bio p {
    line-height: 1.6;
}

/* Footer Navigation */
footer h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #f48c06 !important;
}

/* Contact Form */
.card {
    border-radius: 8px;
}

.form-control {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #f48c06;
    box-shadow: 0 0 0 0.2rem rgba(244, 140, 6, 0.25);
}

.form-label {
    color: #212529;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-success:hover {
    background-color: #157347;
    border-color: #157347;
}

/* Brand Color Buttons */
.btn-brand-color {
    background-color: #f48c06;
    border-color: #f48c06;
    color: #fff;
    font-weight: 600;
}

.btn-brand-color:hover {
    background-color: #e07c04;
    border-color: #e07c04;
    color: #fff;
}

.btn-brand-color:focus {
    background-color: #e07c04;
    border-color: #e07c04;
    box-shadow: 0 0 0 0.25rem rgba(244, 140, 6, 0.5);
}

.btn-brand-color:active {
    background-color: #d46a02;
    border-color: #d46a02;
}

/* Override button colors across the site */
.btn-success {
    background-color: #f48c06;
    border-color: #f48c06;
}

.btn-success:hover {
    background-color: #e07c04;
    border-color: #e07c04;
}

.btn-success:focus {
    background-color: #e07c04;
    border-color: #e07c04;
    box-shadow: 0 0 0 0.25rem rgba(244, 140, 6, 0.5);
}

.btn-success:active {
    background-color: #d46a02;
    border-color: #d46a02;
}

/* Contact Info Banner */
.contact-info-banner {
    background-color: #1a1a1a;
    border-left: 5px solid #f48c06;
}

.contact-info-banner h3 {
    color: #f48c06;
    margin-bottom: 15px;
}

/* Outline Primary Buttons */
.btn-outline-primary {
    color: #f48c06;
    border-color: #f48c06;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #f48c06;
    border-color: #f48c06;
}

.btn-outline-primary:focus {
    color: #fff;
    background-color: #f48c06;
    border-color: #f48c06;
    box-shadow: 0 0 0 0.25rem rgba(244, 140, 6, 0.5);
}

.btn-outline-primary:active {
    color: #fff;
    background-color: #e07c04;
    border-color: #e07c04;
}

/* Primary Buttons */
.btn-primary {
    background-color: #f48c06;
    border-color: #f48c06;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e07c04;
    border-color: #e07c04;
    color: #fff;
}

.btn-primary:focus {
    background-color: #e07c04;
    border-color: #e07c04;
    box-shadow: 0 0 0 0.25rem rgba(244, 140, 6, 0.5);
}

.btn-primary:active {
    background-color: #d46a02;
    border-color: #d46a02;
}

@media (max-width: 576px) {
    .contact-info-banner {
        padding: 2rem 1.25rem !important;
    }
}

/* Mobile floating call button */
.mobile-call-btn {
    display: none;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .mobile-call-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        position: fixed;
        bottom: 1.5rem;
        right: 1.5rem;
        background-color: #f48c06;
        color: #fff !important;
        padding: 0.8rem 1.4rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1rem;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
        z-index: 1020;
        transition: background-color 0.2s, transform 0.15s;
    }

    .mobile-call-btn:hover,
    .mobile-call-btn:focus {
        background-color: #e07c04;
        color: #fff !important;
        transform: scale(1.04);
    }
}
