/* Fixed navbar - stays visible on scroll */
#main-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    width: 100% !important;
}

/* Add padding to body to prevent content hiding behind fixed navbar */
body.has-fixed-navbar {
    padding-top: 70px; /* Adjust based on navbar height */
}

/* Alternative: Add padding to main content area if body class not used */
.navbar-spacer {
    height: 70px;
}

.helper-top-class {
    margin: 2rem 0 3rem 0;
    padding: 2rem 0 0 0;
}

@media (max-width: 575.98px) {
    .helper-top-class{
        /*margin: 1rem 0 2rem 0;*/
        padding:  0;
    }
    .custom-card {
        padding: 10px !important;
    }
}

.hidden {
    display: none;
}

.custom-card {
    /*width: 300px;*/
    padding: 20px;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    font-family: Arial, sans-serif;
    /*text-align: center;*/
}

.custom-card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    cursor: grab;
}

/* Reusable Team Primary Button */
.btn-team-primary {
    background-color: #1d7b77;
    color: #ffffff;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-team-primary:hover {
    background-color: #155e5b;
    color: #ffffff;
    text-decoration: none;
}

.btn-team-primary:focus {
    outline: 2px solid #1d7b77;
    outline-offset: 2px;
}

.btn-team-primary:active {
    transform: scale(0.98);
}
/*ro section of site */
:root {
    --team-primary: #1d7b77;
    --team-primary-hover: #155e5b; /* A slightly darker shade for hover */
}

/* Section Header styling */
.section-header p {
    color: var(--team-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: #444444; /* Or your dark text color */
}

/* Card Styling */
.team-member {
    background: #fff;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-10px); /* Lifts the card up */
    box-shadow: 0px 15px 40px rgba(29, 123, 119, 0.2); /* Colored shadow using your hex */
}

/* Image Container */
.member-img {
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--team-primary); /* Accent line */
}

.member-img img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.team-member:hover .member-img img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Info Area */
.member-info {
    padding: 25px 15px;
    flex-grow: 1; /* Pushes the button to the bottom */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-info h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 18px;
    color: #333;
}

.member-info span {
    display: block;
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

/* Social Icon (LinkedIn) */
.social-link {
    color: var(--team-primary);
    font-size: 24px;
    margin-bottom: 15px;
    transition: 0.3s;
}
.social-link:hover {
    color: var(--team-primary-hover);
}

/* The Main Action Button */
.btn-team {
    background-color: var(--team-primary);
    color: #fff;
    border-radius: 50px;
    padding: 8px 25px;
    font-size: 14px;
    border: none;
    transition: 0.3s;
    text-decoration: none;
    margin-top: auto; /* Ensures button sticks to bottom if lengths vary */
}

.btn-team:hover {
    background-color: var(--team-primary-hover);
    color: #fff;
}
.video-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* keeps equal height */
}

#testimonials {
    background: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0 0 10px #efecec;
}

#testimonials:hover {
    box-shadow: 0 0 20px #bdbdbd;
    transition: 0.5s;
}

#testimonial-slider .carousel-item {
    text-align: center;
    color: #000000;
    padding: 1rem 6rem;
}

#testimonials .carousel-control-prev, .carousel-control-next {
    background-color: #efecec;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    opacity: 1;
}

#testimonials .carousel-control-prev:hover, .carousel-control-next:hover {
    background-color: #d5d3d3;
}

@media (max-width: 768px) {
    #testimonials .carousel-control-prev, .carousel-control-next {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    #testimonials .carousel-control-prev, .carousel-control-next {
        width: 30px;
        height: 30px;
    }

    #testimonial-slider .carousel-item {
        padding: 1rem;
    }
}

.book-section {
    background: #f6f6f6;
    border-radius: 3rem;
    box-shadow: 3px 6px 25px #efecec;
    margin: 3rem 0 0 0;
    padding: 1rem;
}

:root {
    --team-primary: #1d7b77;
    --team-primary-hover: #155e5b; /* A slightly darker shade for hover */
}

/* Section Header styling */
.section-header p {
    color: var(--team-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: #444444; /* Or your dark text color */
}

/* Card Styling */
.team-member {
    background: #fff;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-10px); /* Lifts the card up */
    box-shadow: 0px 15px 40px rgba(29, 123, 119, 0.2); /* Colored shadow using your hex */
}

/* Image Container */
.member-img {
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--team-primary); /* Accent line */
}

.member-img img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.team-member:hover .member-img img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Info Area */
.member-info {
    padding: 25px 15px;
    flex-grow: 1; /* Pushes the button to the bottom */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-info h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 18px;
    color: #333;
}

.member-info span {
    display: block;
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

/* Social Icon (LinkedIn) */
.social-link {
    color: var(--team-primary);
    font-size: 24px;
    margin-bottom: 15px;
    transition: 0.3s;
}
.social-link:hover {
    color: var(--team-primary-hover);
}

/* The Main Action Button */
.btn-team {
    background-color: var(--team-primary);
    color: #fff;
    border-radius: 50px;
    padding: 8px 25px;
    font-size: 14px;
    border: none;
    transition: 0.3s;
    text-decoration: none;
    margin-top: auto; /* Ensures button sticks to bottom if lengths vary */
}

.btn-team:hover {
    background-color: var(--team-primary-hover);
    color: #fff;
}

/*end ro section of the site*/

/*contact ro section*/
:root {
    --team-primary: #1d7b77;
    --team-primary-hover: #155e5b;
}

.contact-section {
    padding: 2rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 200px);
}

.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-logo {
    max-height: 60px;
    width: auto;
}

.contact-logo-small {
    max-height: 50px;
    width: auto;
}

.section-header p {
    color: var(--team-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--team-primary);
    box-shadow: 0 0 0 0.2rem rgba(29, 123, 119, 0.15);
}

.form-label {
    font-weight: 500;
    color: #444;
    margin-bottom: 0.5rem;
}

.text-brand {
    color: var(--team-primary);
}

.text-brand:hover {
    color: var(--team-primary-hover);
}

/* Info Cards */
.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(29, 123, 119, 0.15);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(29, 123, 119, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--team-primary);
}

.info-card h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #666;
    margin-bottom: 0;
}

.info-card a {
    color: var(--team-primary);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 1.5rem;
    }

    .section-header h2 {
        font-size: 24px;
    }
}
/*end ro contact section*/

/*ro about section*/
/* Your Brand Color */
:root {
    --brand-color: #1d7b77;
}

/* Overwrite Bootstrap text-secondary for titles */
.text-brand-color {
    color: var(--brand-color) !important;
}

/* Custom Background for About Section */
.bg-brand {
    background-color: var(--brand-color) !important;
    color: white;
}

/* Image sizing fix */
.fixed-size {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.portfolio-item:hover .fixed-size {
    transform: scale(1.05);
}

.divider-custom {
    margin: 1.25rem 0 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divider-custom-line {
    width: 100%;
    max-width: 7rem;
    height: 0.25rem;
    background-color: white;
    border-radius: 1rem;
    margin: 0 1rem;
}
/*end ro about section*/

/* ===== LEGAL PAGE STYLES ===== */
/* Sidebar Navigation */
.legal-nav .nav-link {
    color: #495057;
    padding: 0.75rem 1rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.legal-nav .nav-link:hover {
    background-color: #f8f9fa;
    border-left-color: #dee2e6;
}

.legal-nav .nav-link.active {
    background-color: #e7f3ff;
    border-left-color: #0d6efd;
    color: #0d6efd;
    font-weight: 500;
}

/* Mobile Accordion Buttons */
.legal-section .btn-light {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.legal-section .btn-light:not(.collapsed) .fa-chevron-down {
    transform: rotate(180deg);
}

.legal-section .fa-chevron-down {
    transition: transform 0.2s ease;
}

/* Section spacing */
.legal-section {
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .legal-section {
        margin-bottom: 3rem;
        scroll-margin-top: 100px;
    }
}
/* ===== END LEGAL PAGE STYLES ===== */
/* Unread message badge for chat button */
.btn-chat-unread {
    position: relative;
}

.badge-unread {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    background-color: #dc3545;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Dev/staging environment indicator — top-left triangle */
.corner-puzzle-piece {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    z-index: 9999;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: .7;
}
.corner-puzzle-piece--dev     { background-color: #96F581; }
.corner-puzzle-piece--staging { background-color: #f5818c; }

@media (max-width: 768px) {
    .corner-puzzle-piece {
        left: auto;
        right: 0;
        clip-path: polygon(0 0, 100% 0, 100% 100%);
    }
}

/*ADMIN utils*/

@media (max-width: 576px) {

    .sm-card {
        padding: 2px !important;
    }
}

/* ===== Dark theme (data-bs-theme="dark" on <html>, client pages only) =====
   utils.css predates CSS variables — these are the reusable public-page
   card/section wrappers with hardcoded light backgrounds; targeted
   overrides rather than a full-file rewrite. */
[data-bs-theme=dark] .custom-card,
[data-bs-theme=dark] #testimonials,
[data-bs-theme=dark] .book-section,
[data-bs-theme=dark] .team-member,
[data-bs-theme=dark] .contact-card,
[data-bs-theme=dark] .info-card {
    background: #1e2229;
}

[data-bs-theme=dark] .contact-section {
    background: linear-gradient(135deg, #14171c 0%, #1e2229 100%);
}

[data-bs-theme=dark] .section-header h2,
[data-bs-theme=dark] .member-info h4,
[data-bs-theme=dark] .info-card h5,
[data-bs-theme=dark] #testimonial-slider .carousel-item,
[data-bs-theme=dark] .form-label {
    color: #e6e6e6;
}

[data-bs-theme=dark] .member-info span,
[data-bs-theme=dark] .info-card p {
    color: #9aa4af;
}

[data-bs-theme=dark] .form-control,
[data-bs-theme=dark] .form-select {
    border-color: #3a4048;
}

[data-bs-theme=dark] .legal-nav .nav-link {
    color: #9aa4af;
}

[data-bs-theme=dark] .legal-nav .nav-link:hover,
[data-bs-theme=dark] .legal-section .btn-light {
    background-color: #1e2229;
    border-color: #3a4048;
}
