body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
    margin: 0;
    position: relative;
}

footer {
    margin-top: auto;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;

}

.preloader.hidden {
    transform: translateY(-100%);

}

.preloader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.preloader-text {
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
}

.preloader-text img {
    width: 4rem;
    height: 4rem;
}

.preloader-text span {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--foreground);
}

.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 1rem;
    color: var(--primary);
}

:root {
    /* Anasayfa */
    --primary: #4A90E2;
    --primary-dark: #357ABD;
    --primary-light: #6BA4E7;
    --background: #F8FAFC;
    --foreground: #1E293B;
    --muted: #64748B;
    --border: #E2E8F0;
    --error: #F43F5E;
    --contrast: #000000;
}

.authContainer {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: var(--background);
    background-image: url(../images/authBg.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.authBox {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    width: 100%;
    max-width: 28rem;
}

.authHeader {
    text-align: center;
    margin-bottom: 2rem;
}

.authHeader h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--contrast);
    margin-bottom: 0.5rem;
}

.authDescription {
    color: var(--muted);
    font-size: 0.875rem;
}

.formGroup {
    margin-bottom: 1.5rem;
}

.formGroup label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--contrast);
    margin-bottom: 0.5rem;
}

.inputWrapper {
    position: relative;
}

.inputWrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
    background: white;
}

.inputWrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.formOptions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.rememberMe {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.forgotPassword {
    color: var(--primary);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.forgotPassword:hover {
    color: var(--primary-dark);
}

.authButton {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.authButton:hover {
    background-color: var(--primary-dark);
}

.authDivider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.authDivider::before,
.authDivider::after {
    content: "";
    position: absolute;
    top: 60%;
    width: 45%;
    height: 1px;
    background-color: var(--border);
}

.authDivider::before {
    left: 0;
}

.authDivider::after {
    right: 0;
}

.authDivider span {
    background-color: white;
    padding: 0 0.75rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.authRedirect {
    text-align: center;
    color: var(--muted);
    font-size: 0.875rem;
}

.authRedirect a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.authRedirect a:hover {
    color: var(--primary-dark);
}

.termsWrapper {
    margin-bottom: 1.5rem;
}

.termsCheck {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.termsCheck input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1rem;
    height: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    cursor: pointer;
}

.termsCheck span {
    line-height: 1.4;
}

.termsCheck a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.termsCheck a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.codeInputWrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1.25rem;
    letter-spacing: 0.5rem;
    text-align: center;
    transition: all 0.2s;
    background: white;
}

.codeInputWrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.termsContainer {
    min-height: 100vh;
    padding: 2rem;
    background-color: var(--background);
    background-image: url(../images/authBg.webp);
    background-size: cover;
    background-position: center;
}

.termsBox {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    max-width: 48rem;
    margin: 0 auto;
}

.termsHeader {
    text-align: center;
    margin-bottom: 3rem;
}

.termsHeader h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--contrast);
    margin-bottom: 0.5rem;
}

.termsDate {
    color: var(--muted);
    font-size: 0.875rem;
}

.termsContent section {
    margin-bottom: 2rem;
}

.termsContent h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--contrast);
    margin-bottom: 1rem;
}

.termsContent p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.termsFooter {
    margin-top: 3rem;
    text-align: center;
}

.termsBackButton {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.termsBackButton:hover {
    background-color: var(--primary-dark);
}

.heroSection {
    min-height: 85vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/heroBg2.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.heroContent {
    max-width: 1200px;
    width: 100%;
    color: white;
}

.heroContent h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.heroContent p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.searchContainer {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.searchForm {
    width: 100%;
}

.searchGroup {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.searchInput {
    flex: 2;
    position: relative;
}

.searchIcon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.searchInput input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.searchSelect {
    flex: 1;
}

.searchSelect select {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
}

.searchButton {
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.searchButton:hover {
    background: var(--primary-dark);
}

.featuredSection {
    padding: 5rem 2rem;
    background-color: var(--background);
}

.sectionContainer {
    max-width: 1200px;
    margin: 0 auto;
}

.sectionContainer h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--contrast);
    margin-bottom: 3rem;
}

.categoryGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.categoryCard {
    background: white;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-decoration: none;

}

.categoryContent {
    padding: 2rem;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.categoryContent:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;

}

.categoryCard:hover {
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;

}

.categoryIcon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.categoryCard h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--contrast);
    margin-bottom: 0.5rem;
}

.categoryCard p {
    color: var(--muted);
    font-size: 0.875rem;
}

/* Stats Section */
.statsSection {
    padding: 5rem 2rem;
    background-color: white;
}

.statsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.statCard {
    text-align: center;
    padding: 2rem;
}

.statCard h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.statCard p {
    color: var(--muted);
    font-size: 1.125rem;
}

/* Responsive Design Adjustments */
@media (max-width: 1024px) {
    .heroContent h1 {
        font-size: 2.5rem;
    }

    .searchGroup {
        flex-direction: column;
    }

    .searchInput,
    .searchSelect {
        flex: none;
        width: 100%;
    }

    .searchButton {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .heroContent h1 {
        font-size: 2rem;
    }

    .heroContent p {
        font-size: 1rem;
    }

    .categoryGrid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .statsGrid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featuredSection,
    .statsSection {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .heroContent h1 {
        font-size: 1.75rem;
    }

    .searchContainer {
        padding: 1rem;
    }

    .categoryCard {
        padding: 1.5rem;
    }

    .statCard h3 {
        font-size: 2rem;
    }

    .statCard p {
        font-size: 1rem;
    }
}

/* Additional Responsive Helpers */
.hideOnMobile {
    @media (max-width: 768px) {
        display: none;
    }
}

.showOnMobile {
    display: none;

    @media (max-width: 768px) {
        display: block;
    }
}

/* Increase height of Select2 input */
.select2-container .select2-selection--single {
    height: 56px !important;
    /* Matches your other input heights */
}

/* Vertically center the placeholder/selected text */
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 56px !important;
    padding-left: 1rem;
}

/* Adjust the dropdown arrow position */
.select2-container .select2-selection--single .select2-selection__arrow {
    height: 56px !important;
}

/* Style the dropdown options */
.select2-results__option {
    padding: 0.75rem 1rem !important;
    font-size: 1rem;
}

/* Navbar Styles */
.navbar {
    background: white;
    padding: 1rem 0;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 3rem;
}

.navBrand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--foreground);
    font-weight: 600;
    font-size: 1.25rem;
}

.navLogo {
    height: 2rem;
    width: auto;
}

.navLinks {
    display: flex;
    gap: 2rem;
}

.navLink {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.navLink:hover {
    color: var(--primary);
}

.navAuth {
    display: flex;
    gap: 1rem;
}

.navButton {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.navButton.primary {
    background: var(--primary);
    color: white;
    text-align: center;
}

.navButton.primary:hover {
    background: var(--primary-dark);
}

.navButton.secondary {
    border: 1px solid var(--border);
    color: var(--foreground);
    text-align: center;
}

.navButton.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Footer Styles */
.footer {
    background: var(--background);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footerContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footerGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footerSection h3 {
    color: var(--contrast);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footerSection h4 {
    color: var(--contrast);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footerSection p {
    color: var(--contrast);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footerSection a {
    display: block;
    color: var(--contrast);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footerSection a:hover {
    color: var(--foreground);
}

.footerBottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--contrast);
}

/* Mobile Menu */
.mobileMenuButton {
    display: none;
}

.mobileMenu {
    height: 0;
    transition: all 0.2s;
}

@media (max-width: 768px) {

    .navLinks,
    .navAuth {
        display: none;
    }

    .mobileMenuButton {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--muted);
        cursor: pointer;
    }

    .mobileMenu {
        overflow: hidden;
        position: fixed;
        top: 3rem;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 99999999;
        transition: all 0.2s;
    }

    .mobileMenu.active {
        overflow: auto;
        height: auto;
        flex-direction: column;
        transition: all 0.2s;
        padding: 2rem 1rem;
    }

    .mobileLink {
        padding: 0.75rem;
        color: var(--muted);
        text-decoration: none;
        font-weight: 500;
    }

    .mobileAuthButtons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }
}

.searchPageContainer {
    padding-top: 4rem;
    min-height: 100vh;
    background-color: var(--background);
}

.searchHeader {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.searchHeaderContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.searchHeaderContent h1 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--contrast);
}

.filterForm {
    width: 100%;
}

.filterGroup {
    display: flex;
    gap: 1rem;
}

.filterSelect {
    flex: 1;
}

.resultsContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.resultStats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.resultStats p {
    color: var(--muted);
}

.resultStats span {
    color: var(--primary);
    font-weight: 600;
}

.sortSelect {
    width: 200px;
}

.resultGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.companyCard {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
    text-decoration: none;
}

.companyCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.companyImage img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.companyInfo {
    padding: 1.5rem;
}

.companyInfo h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--contrast);
}

.companyMeta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.companyRating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars {
    color: #FFD700;
}

.reviewCount {
    color: var(--muted);
    font-size: 0.875rem;
}

.companyDescription {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.paginationButton {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    background: white;
    border-radius: 0.5rem;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
}

.paginationButton:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.paginationButton.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .filterGroup {
        flex-direction: column;
    }

    .resultStats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .sortSelect {
        width: 100%;
    }
}

.categoriesContainer {
    padding-top: 4rem;
    min-height: 100vh;
    background-color: var(--background);
}

.categoriesHeader {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.headerContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.headerContent h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--contrast);
    margin-bottom: 1rem;
}

.headerContent p {
    color: var(--muted);
    font-size: 1.125rem;
}

.categoriesContent {
    padding: 3rem 0;
}

.mainCategoryGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.categorySection {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.categoryHeader {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.categoryIcon {
    width: 3rem;
    height: 3rem;
    background: var(--background);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.featuredCategoryIcon {
    width: 3rem;
    height: 3rem;
    background: var(--background);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
}

.categoryInfo h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--contrast);
    margin-bottom: 0.25rem;
}

.categoryInfo span {
    color: var(--muted);
    font-size: 0.875rem;
}

.subCategories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.subCategoryLink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s;
}

.subCategoryLink:hover {
    background: var(--background);
    color: var(--primary);
}

.viewAllButton {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background: var(--background);
    color: var(--primary);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
}

.viewAllButton:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 768px) {
    .headerContent h1 {
        font-size: 2rem;
    }

    .mainCategoryGrid {
        grid-template-columns: 1fr;
    }
}

.navIcons {
    display: flex;
    gap: 1.5rem;
    margin-left: 1rem;
}

.navIcon {
    color: var(--foreground);
    font-size: 1.25rem;
    transition: color 0.2s;
}

.navIcon:hover {
    color: var(--primary);
}

.mobileIcons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.mobileIcons .navIcon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    font-size: 1rem;
}

.mobileIcons .navIcon span {
    color: var(--muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .navIcons {
        display: none;
    }
}

.navAvatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: contain;
}

.searchFilters {
    margin-bottom: 2rem;
}

.searchFilters .searchForm {
    width: 100%;
}

.searchFilters .searchGroup {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.searchFilters .searchInput {
    position: relative;
    flex: 3;
}

.searchFilters .searchSelect {
    flex: 1;
}

.searchFilters .searchButton {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.searchFilters .searchButton:hover {
    background-color: var(--primary-dark);
}

.searchFilters .searchIcon {
    position: absolute;
    left: 1rem;
    top: 53%;
    transform: translateY(-50%);
    color: var(--muted);
}

.searchFilters input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    height: 100%;
}

.featuredCompaniesSection {
    padding: 4rem 0;
    background-color: var(--background);
}

.featuredSwiper {
    width: 100%;
    height: 500px;
    margin-top: 2rem;
}

.featuredSwiper .parallax-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 130%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.3);
    /* opacity: 0.5; */
}

.featuredCompanyCard {
    display: flex;
    column-gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    margin: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.featuredCompanyCard .companyImage {
    flex: 1;
    max-width: 400px;
}

.featuredCompanyCard .companyImage img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.featuredCompanyCard .companyContent {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featuredCompanyCard h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.featuredCompanyCard .companyMeta {
    display: flex;
    gap: 1rem;
    color: var(--muted);
}

.featuredCompanyCard .rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featuredCompanyCard .stars {
    color: #ffd700;
}

.featuredCompanyCard .description {
    color: var(--text);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    word-break: break-all;
}

.viewProfileButton {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    align-self: flex-start;
    transition: background-color 0.2s;
}

.viewProfileButton:hover {
    background-color: var(--primary-dark);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    top: 48% !important;
}

.swiper-button-next {
    right: 0px !important;
}

.swiper-button-prev {
    left: 0px !important;
}

.swiper-pagination-bullet {
    background: var(--primary);
}

@media (max-width: 768px) {
    .featuredCompanyCard {
        flex-direction: column;
    }

    .featuredCompanyCard .companyImage {
        max-width: 100%;
    }

    .featuredSwiper {
        height: auto;
    }
}

.companyDetailContainer {
    padding-top: 4rem;
    background-color: var(--background);
}

.companyHero {
    background: var(--background);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.companyHeroContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.companyBasicInfo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


.companyHeader h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--contrast);
    margin-bottom: 1rem;
}

.companyMeta {
    display: flex;
    gap: 1rem;
    color: var(--muted);
}

.ratingBox {
    text-align: center;
    padding: 1rem;
    background: var(--background);
    border-radius: 1rem;
}

.ratingScore {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.ratingStars * {
    color: #FFD700 !important;
    margin: 0.5rem 0;
}

.reviewCount {
    color: var(--muted);
    font-size: 0.875rem;
}

.companyContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    background: var(--background);
}

.companyContent {
    color: var(--contrast);
}

.companyBasicInfo * {
    color: var(--contrast);
}

.contentGrid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.ratingBreakdown span {
    color: var(--foreground);
}

.contentSection {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.contentSection * {
    color: var(--primary);
}

.contentSection p {
    color: var(--foreground);
}

.contentSection h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.reviewStats {
    margin-bottom: 2rem;
}

.reviewText {
    word-break: break-all;
    color: var(--contrast) !important;
}

.overallRating {
    display: flex;
    gap: 2rem;
}

.bigScore {
    font-size: 4rem;
    font-weight: 700;
    color: var(--foreground);
}

.ratingBar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.progressBar {
    flex: 1;
    height: 0.5rem;
    background: var(--background);
    border-radius: 1rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary);
}

.reviewCard {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.reviewCard * {
    color: var(--contrast);
}

.reviewHeader {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviewerInfo {
    display: flex;
    gap: 1rem;
}

.reviewerAvatar img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

.infoCard {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.infoCard h3 {
    color: var(--primary);
}


.mapCard {
    background: white;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    padding: 1.5rem;
}

.mapCard h3 {
    color: var(--primary);
}

.infoList {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.infoItem {
    display: flex;
    gap: 1rem;
    color: var(--muted);
}

.infoItem span {
    word-break: break-all;
}

.infoItem a {
    color: var(--primary);
}

.directionButton {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .contentGrid {
        grid-template-columns: 1fr;
    }

    .companyBasicInfo {
        flex-direction: column;
        gap: 1.5rem;
    }

    .companyHeader h1 {
        font-size: 2rem;
    }
}

.mapImageContainer {
    width: 100%;
    height: 300px;
}

.mapImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mapImageTitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--contrast);
}

.SideImageContainer {
    width: 100%;
}

/* Contact Page */
.contactContainer {
    padding-top: 4rem;
    min-height: 100vh;
    background-color: var(--background);
}

.contactContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.contactGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contactFormSection {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.contactFormSection h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--contrast);
    margin-bottom: 1rem;
}

.contactDescription {
    color: var(--muted);
    margin-bottom: 2rem;
}

.contactForm .formGroup {
    margin-bottom: 1.5rem;
}

.contactForm textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.contactForm textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.contactButton {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contactButton:hover {
    background-color: var(--primary-dark);
}

.contactInfoCard {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.contactInfoCard h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--contrast);
    margin-bottom: 2rem;
}

.contactInfo {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.infoItem {
    display: flex;
    gap: 1rem;
}

.infoItem span {
    color: var(--foreground);
}

.infoItem i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 2rem;
}

.infoItem h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--contrast);
    margin-bottom: 0.5rem;
}

.infoItem p {
    color: var(--muted);
    line-height: 1.5;
}

.socialLinks {
    display: flex;
    gap: 1rem;
}

.socialLink {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.2s;
}

.socialLink:hover {
    color: white;
}

.mapImage {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contactGrid {
        grid-template-columns: 1fr;
    }

    .contactFormSection,
    .contactInfoCard {
        padding: 1.5rem;
    }

    .contactFormSection h1 {
        font-size: 1.75rem;
    }
}

.swiper-slide {
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
}

.authTabs {
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.authTabs .nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.authTabs .nav-link {
    color: var(--primary);
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.authTabs .nav-link:hover {
    border-color: var(--border);
}

.authTabs .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background: none;
}

.tab-content {
    padding-top: 1rem;
}

/* Remove default Bootstrap tab fade animation for smoother transitions */
.fade {
    transition: opacity .1s linear;
}

/* Business Profile Styles */
.businessProfileContainer {
    padding-top: 4rem;
    background-color: var(--background);
    min-height: 100vh;
}

.profileHeader {
    background: var(--background);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.headerContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.headerContent h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--contrast);
    margin-bottom: 0.5rem;
}

.headerContent p {
    color: var(--muted);
}

.profileContent {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.contentGrid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
}

.formSection {
    background: white;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    box-sizing: border-box;
    padding: 1.5rem;
}



.formSection h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.formGroup {
    margin-bottom: 1.5rem;
}

.formGroup label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--foreground);
}

.formGroup input,
.formGroup textarea,
.formGroup select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: white;
    color: var(--foreground);
    transition: all 0.2s;
}

.formGroup input:focus,
.formGroup textarea:focus,
.formGroup select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.imageUpload {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.currentImage {
    position: relative;
}

.currentImage img {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    object-fit: cover;
    border: 1px solid var(--border);
    position: relative;
}

.uploadButton {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.uploadButton:hover {
    background: var(--primary-dark);
}

.workingHours {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-direction: column;
}

.workDay {
    display: flex;
    column-gap: 1rem;
    align-items: center;
}

.workDay .day {
    flex: 1;
}

.dayName {
    width: 100px;
    font-weight: 500;
    color: var(--contrast);
}

.hoursInputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hoursInputs input {
    width: 120px;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
}

.statusCard {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    position: sticky;
    top: 5rem;
}

.statusCard h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.statusInfo {
    margin-bottom: 1.5rem;
}

.statusItem {
    margin-bottom: 1rem;
}

.statusItem span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--muted);
}

.progressBar {
    height: 0.5rem;
    background: var(--background);
    border-radius: 1rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary);
    border-radius: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    background: var(--primary);
    color: white;
    border-radius: 1rem;
    font-size: 0.875rem;
}

.packageSpan {
    padding: 1rem !important;
    color: white !important;
    font-size: 16px !important;
}

.upgradeButton {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
}

.upgradeButton:hover {
    background: var(--primary);
    color: white;
}

.saveButton {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.saveButton:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .contentGrid {
        grid-template-columns: 1fr;
    }

    .statusCard {
        position: static;
    }

    .imageUpload {
        flex-direction: column;
        align-items: flex-start;
    }
}

.packagesContainer {
    padding-top: 4rem;
    background-color: var(--background);
    min-height: 100vh;
}

.packagesHeader {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.packagesContent {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.packagesGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.packageCard {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s;
}

.packageCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.packageCard.featured {
    border: 2px solid var(--primary);
}

.packageBadge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

.packageHeader {
    text-align: center;
    margin-bottom: 2rem;
}

.packageHeader h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--contrast);
    margin-bottom: 1rem;
}

.packagePrice {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.packagePrice .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.packagePrice .period {
    color: var(--muted);
}

.packageFeatures {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.packageFeatures li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--contrast);
    border-bottom: 1px solid var(--border);
}

.packageFeatures li:last-child {
    border-bottom: none;
}

.packageFeatures li i {
    color: var(--primary);
}

.packageFeatures li.disabled {
    color: var(--muted);
}

.packageFeatures li.disabled i {
    color: var(--muted);
}

.packageButton {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.packageButton:hover {
    background: var(--primary-dark);
}

@media (max-width: 992px) {
    .packagesGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .packagesGrid {
        grid-template-columns: 1fr;
    }
}

.checkoutContainer {
    padding-top: 4rem;
    background-color: var(--background);
    min-height: 100vh;
}

.checkoutContent {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.checkoutGrid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.selectedPackage {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.paymentSection {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border);
}

#card-element {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: white;
}

.paymentError {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.paymentButton {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    position: relative;
    cursor: pointer;
}

.paymentButton:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hidden {
    display: none;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.summaryCard {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    position: sticky;
    top: 5rem;
}

.summaryItem {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.summaryTotal {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    font-weight: 600;
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .checkoutGrid {
        grid-template-columns: 1fr;
    }

    .summaryCard {
        position: static;
    }
}

.cardDetails {
    display: flex;
    row-gap: 15px;
    flex-direction: column;
}

.cancelMembershipButton {
    text-align: center;
    color: var(--error);
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.cancelMembershipContainer {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    background: transparent;
}

.cancelMembershipContainer:hover {
    background: var(--error);
    color: white;
}

.cancelMembershipContainer:hover .cancelMembershipButton {
    color: white;
}

.addReviewSection {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.addReviewSection * {
    color: var(--primary);
}

.addReviewSection h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--contrast) !important;
}

.reviewForm {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.ratingInput {
    margin-bottom: 1.5rem;
}

.ratingInput label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.starRating {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.5rem;
    justify-content: flex-end;
}

.starRating input {
    display: none;
}

.starRating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: gold !important;
}

.starRating label:hover i,
.starRating label:hover~label i,
.starRating input:checked~label i {
    color: gold !important;
}

.starRating label i {
    transition: all 0.2s;
}

.reviewTextArea {
    margin-bottom: 1.5rem;
}

.reviewTextArea label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.reviewTextArea textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    resize: vertical;
    color: black;
}

.submitReview {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.submitReview:hover {
    background: var(--primary-dark);
}

.galleryUpload {
    margin: 2rem 0;
    width: 100%;
}

.galleryUpload h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.gallerySwiper {
    width: 100%;
    height: 300px;
    margin-bottom: 1rem;
}

.swiper-slide {
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
}

.galleryItem {
    position: relative;
    width: 100%;
    height: 100%;
}

.galleryItem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    border: none;
}

.galleryItem img:focus {
    outline: none;
}

.removeImage {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.removeImage:hover {
    background: var(--error);
    color: white;
}

.removeImageLogo {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid lightgray;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.removeImageLogo:hover {
    background: var(--error);
    color: white;
}

.uploadGalleryControl {
    text-align: center;
}

.uploadGalleryButton {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.uploadGalleryButton:hover {
    background: var(--primary-dark);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
}

.gallerySwiperButtonNext,
.gallerySwiperButtonPrev {
    width: 30px !important;
    height: 30px !important;
    background-color: white;
    border-radius: 100%;
    padding: 1.3rem;
}

.gallerySwiperButtonNext {
    right: 5px !important;
    top: 50% !important;
}

.gallerySwiperButtonPrev {
    left: 5px !important;
    top: 50% !important;
}

.gallerySwiperButtonNext::after,
.gallerySwiperButtonPrev::after {
    font-size: 25px !important;
}


/* @media (min-width: 768px) {
    .galleryUpload {
        width: 60vw;
    }
}

@media (min-width: 1024px) {
    .galleryUpload {
        width: 55vw;
    }
}


@media (min-width: 1440px) {
    .galleryUpload {
        width: 40vw;
    }
} */

.userProfileContainer {
    padding-top: 4rem;
    background-color: var(--background);
    min-height: 100vh;
}

.avatarUpload {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.currentAvatar {
    position: relative;
}

.currentAvatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.uploadButton {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.uploadButton:hover {
    background: var(--primary-dark);
}

.accountInfo {
    padding: 1rem 0;
}

.accountInfo .infoItem {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.accountInfo .infoItem:last-child {
    border-bottom: none;
}

.accountInfo .infoItem span:first-child {
    color: var(--muted);
}

.accountInfo .infoItem span:last-child {
    font-weight: 500;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-button i {
    font-size: 20px;
    margin-right: 8px;
}

.floating-button span {
    font-size: 14px;
}

.whatsapp-button {
    background-color: #25D366;
}

.whatsapp-button:hover {
    background-color: #22c35e;
    transform: translateY(-2px);
    color: white;
}

.call-button {
    background-color: var(--primary);
}

.call-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    color: white;
}

.confirmReviewButton {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    min-width: 100px;
    margin-right: 0.24rem;
}

.deleteReviewButton {
    background-color: var(--error);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    min-width: 100px;
    margin-left: 0.24rem;
}

.colorPickerContainer {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.colorPickerContainer label {
    margin-right: 10px;
}

.colorPickerContainer input {
    border: none;
    border-radius: 9px;
    width: 100%;
    background-color: transparent;
    margin-top: 10px;
}

.sideContent {
    position: relative;
}

.themeForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.profilePreview {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profilePreview * {
    text-decoration: none;
    text-align: center;
}

.companyGallerySwiper {
    width: 100%;
    height: 550px;
}

.companyGallerySwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.companyGallerySwiper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.companyGallerySwiper .swiper-pagination-bullet {
    background: var(--primary);
    width: 10px;
    height: 10px;
    border-radius: 100%;
}

.companyGallerySwiper .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 15px;
    height: 15px;
}

.companyGallerySwiper .swiper-button-next,
.companyGallerySwiper .swiper-button-prev {
    color: var(--primary);
}

.companyGallerySwiper .swiper-button-next::after,
.companyGallerySwiper .swiper-button-prev::after {
    font-size: 25px !important;
}

.companyGallerySwiper .swiper-button-next {
    right: 5px !important;
    background-color: white;
    border-radius: 100%;
    padding: 1.3rem;
}

.companyGallerySwiper .swiper-button-prev {
    left: 5px !important;
    background-color: white;
    border-radius: 100%;
    padding: 1.3rem;
}

.myKeywords {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.keyword {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    position: relative;
}

.keyword span {
    font-weight: 500;
}

.removeKeyword {
    background: var(--error);
    color: white;
    border-radius: 0.5rem;
    cursor: pointer;
    position: absolute;
    right: -10px;
    top: -10px;
    border: none;
    z-index: 1000;
}

.preloaderContainer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--foreground);
    font-weight: 600;
    font-size: 1.25rem;
}

.companyHeaderLogoNameContainer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.companyHeaderLogo {
    width: 100px;
    height: 100px;
    border-radius: 15px;
}

.companyDetailNavbar {
    background: var(--primary);
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.companyDetailNavbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.companyDetailNavbar li {
    display: inline;
}

.companyDetailNavbar a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.2s;
    text-align: center;
    font-size: 16px;
}

.companyDetailNavbar a:hover {
    color: white;
}

.companyDetailNavbar .row * {
    display: flex;
    align-items: center;
    justify-content: center;
}

.companyDetailNavbar .row div {
    border: 1px solid var(--primary);
    transition: all 0.2s;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.companyDetailNavbar .row div:hover {
    border: 1px solid white;
    color: white;
}


.companyDetailNavbarCols {
    border: 1px solid var(--primary);
    border-radius: 1rem;
    padding: 0.5rem 1rem;
}

.companyDetailNavbar .row a {
    width: 100%;
    height: 100%;
}

.servicesContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}


.single-service-item {
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s;
    gap: 1rem;
}

.single-service-item * {
    word-break: break-all;
}

.servicesTexts * {
    -webkit-line-clamp: 8;
    -ms-line-clamp: 8;
    line-clamp: 8;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-service-item:hover {
    transform: scale(1.05);
}

.projectImg img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.addService {
    margin-top: 2rem;
}

.text-holder {
    padding: 1rem;
    background-color: var(--background);
}

.text-holder h3 {
    color: var(--contrast);
}

.text-holder p {
    color: var(--muted);
}


.services-area {
    background-color: #f9f9f9;
    padding: 40px 0;
    margin-top: 40px;
}

.services-area .title {
    margin-bottom: 30px;
}

.services-area h1 {
    font-size: 2.5rem;
    color: var(--contrast);
    font-weight: bold;
}

#bizeulasin h1 {
    color: var(--foreground);
}

.services-area .formcontact {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.services-area .form-group {
    margin-bottom: 20px;
}

.services-area .form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 1rem;
}

.services-area .form-control:focus {
    border-color: var(--primary);
    box-shadow: var(--primary);
}

.services-area .contact-btn {
    text-align: center;
}

.services-area .sub {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.services-area .sub:hover {
    background-color: var(--primary);
}

.services-area .alert {
    margin-top: 10px;
    display: none;
}

#konum {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.messageCount {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--primary);
    color: white;
    border-radius: 100%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.myMessagesContainer {
    margin-top: 5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.myMessagesContainer h1 {
    margin-top: 0;
}

.messageContainer {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.messageHeader {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.messageHeader img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.messageHeader span {
    font-weight: bold;
    margin-left: 0.6rem;
}

.senderPhone {
    color: gray;
}

.senderEmail {
    color: gray;
}

.messageBody {
    margin-bottom: 10px;
    word-break: break-all;
}

.messageText {
    font-size: 16px;
    color: #666;
    display: block;
}

.readMoreButton {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 5px;
}

.hiddenText {
    display: none;
}

.galleryImg {
    position: relative;
    /* Ensure positioning context for absolute elements */
}

.galleryImg img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0.5rem;
}



.fancybox-trigger {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    display: none;
    cursor: pointer;
}

.galleryImg:hover .fancybox-trigger {
    display: block;
}

.galleryImg:hover::before {
    content: url("../images/magnifier2.png");
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    z-index: 1;
    transform: translate(-50%, -100%);
    cursor: pointer;
    display: block;
}

.gallerySwiperCompanyDetail swiper-slide {
    margin: 0;
}

.galleryTexts * {
    word-break: break-all;
}

.companyDetailSidebar {
    position: sticky;
}

.gallerySwiper {
    display: flex;
    flex-wrap: wrap;
}

.swiper-slide {
    width: calc(33.33% - 1rem);
    /* 3 columns */
}

.profileGalleryImg img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
}

@media (max-width: 768px) {
    .swiper-slide {
        width: calc(50% - 1rem);
        /* 2 columns on smaller screens */
    }
}

@media (max-width: 900px) {
    .preloaderContainer {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    /* .floating-buttons {
        bottom: 15px;
        left: 15px;
    } */

    .floating-button {
        padding: 16px 16px;
    }

    .floating-button span {
        font-size: 13px;
        display: none;
    }

    .floating-button i {
        font-size: 28px;
        margin-right: 0;
    }

}

@media (max-width: 660px) {
    .companyDetailContainer {
        padding-top: 0px;
    }
}