body {
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.navbar .container {
    max-width: 1200px !important;
    margin: auto;
}

.nav-item {
    font-size: 14px;
}

.navbar a {
    color: white;
    text-decoration: none;
}

.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* Navbar Background Changes on Scroll */
.navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand {
    color: black !important;
}

.navbar .nav-link {
    transition: color 0.3s ease-in-out;
}

.navbar.scrolled a {
    color: black !important;
    text-decoration: none;
}

.navbar-nav .nav-item a:hover {
    color: #198754 !important;
}

.cc-1 {
    font-size: 14px;
}

.cc-1 .cc-2:hover {
    color: #198754 !important;
}

.hero {
    min-height: 60vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding: 5rem 1rem;
}

.hero .tags .badge {
    background-color: #198754;
    text-decoration: none;
}

.tags a {
    text-decoration: none !important;
    margin-bottom: 5px;
}

/* Styling for search bar */
.search-bar {
    max-width: 768px;
    margin: auto;
}

.search-bar .form-control {
    border-right: none;
    border-radius: 5px 0 0 5px;
    border: 1px solid white;
    background-clip: border-box;

}

.search-bar .btn {
    border-radius: 5px;
    border-left: none;
}

.hero h1 {
    font-size: 28px;
    font-weight: bold;
}

.pb-btn {
    border: 7px solid;
    background: white;
    border-radius: 0px 5px 5px 0px;
}

/* Ensure proper alignment of the sign-in and contribute buttons */
.navbar .d-flex {
    gap: 15px;
    align-items: center;
}

/* Style for the Contribute button */
.navbar .btn-outline-success {
    font-weight: bold;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: bold;
    border: 2px solid #198754;
}

/* Featured Collections Section */
.featured-collections {
    background: white;
    padding: 40px 0;
}

.featured-collections h4 {
    color: black;
}

.collections-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar */
    -ms-overflow-style: none;
    padding-bottom: 10px;
    max-width: 100%;
    white-space: nowrap;
    scroll-behavior: smooth; /* Smooth scrolling */
    padding-bottom: 0px;
    padding-top: 0px;
}

/* Hide scrollbar in Webkit browsers */
.collections-wrapper::-webkit-scrollbar {
    display: none;
}

/* Collection Item */
.collection-item {
    position: relative;
    width: 220px;
    /* height: 180px; */
    /* border-radius: 15px; */
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.collection-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius: 15px; */
    filter: brightness(0.7);
    transition: filter 0.3s ease-in-out;
}

.collection-item:hover img {
    filter: brightness(0.5);
}

/* Overlay for better text readability */
.collection-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    /* border-radius: 15px; */
    transition: background 0.3s ease-in-out;
}

.collection-item:hover::before {
    background: rgba(0, 0, 0, 0.2); /* Lighter overlay on hover */
}

.collection-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 18px;
    z-index: 2;
    text-align: center;
    width: 100%; /* Ensures text remains centered */
}
/* More Button */
.collection-item.more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.collection-title small {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 4px;
}

.more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: black;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
}

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    background: transparent;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease;
    z-index: 2; /* Make sure buttons appear above gradient */
}

.featured-collections  .col-btn,
.latest-uploads  .col-btn, 
.categories-section .col-btn {
    font-weight: 600;
    border: 2px solid;
}

.scroll-btn.left {
    left: 0px;
    z-index: 3;
}

.scroll-btn.right {
    right: 0px;
    z-index: 3;
}

/* Gradient Overlay for Navigation Arrows */
.scroll-gradient {
    position: absolute;
    top: 0;
    width: 80px; /* Width of gradient */
    height: 100%;
    pointer-events: none; /* Allows click-through */
    z-index: 1;
}

/* Left Gradient */
.scroll-gradient.left {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent);
}

/* Right Gradient */
.scroll-gradient.right {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent);
}

/* Latest Uploads CSS */
.latest-uploads h2 {
    margin-bottom: 20px;
}

.image-card {
    overflow: hidden;
    /* border-radius: 10px; */
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.image-card img {
    width: 100%;
    display: block;
    /* border-radius: 10px; */
}

.image-card:hover {
    transform: scale(1.05);
}


.image-overlay {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 10px;
    /* border-radius: 5px; */
    display: block;
    /* align-items: center;
    justify-content: space-between; */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    flex-wrap: nowrap;
}

.image-overlay figcaption {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.image-overlay a {
    text-decoration: none;
    color: white;
 }

.download-btn {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.image-card:hover .image-overlay {
    opacity: 1;
}

/* Ensures author image is aligned properly */
.user-avatar {
    width: 30px !important;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
}

/* Makes author info and date inline */
.contributor-info {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* Prevents badge from breaking into a new line */
.image-overlay .badge {
    flex-shrink: 0;
}

/* Category */

.categories-section {
    /* background-color: #f8f9fa; */
}

.category-card {
    background: white;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border: 1px solid rgb(0,0,0,0.1);
}

.category-card img {
    width: 100%;
    height: auto;
    /* max-height: 180px; */
    object-fit: cover; 
    border-radius: 0px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.category-card h3 {
    font-size: 18px;
}

.category-card p {
    font-size: 14px;
    color: #6c757d;
}
/* END */

/* BREADCRUMBS */
.breadcrumb a {
    color: #000;
    text-decoration: none;
}
.breadcrumb a:hover {
    color: #198754;
    text-decoration: none;
}


.breadcrumb-item + .breadcrumb-item::before {
    content: ">>";
}

/* TABS */
.category-tabs {
    gap: 20px;
}

.category-tabs-inner {
    min-width: max-content;
    width: 30%;
  }

.tab-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: black;
    border-bottom: 3px solid #198754; /* Green underline */
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Icons in Tabs */
.tab-btn i {
    font-size: 18px;
}

.category-tabs-wrapper {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px !important;
    gap: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
} 

.category-tabs-wrapper::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
      }

.sort-dropdown {
    min-width: 180px;
}

@media (max-width: 768px) {
    .category-tabs-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .sort-dropdown {
        order: 1; /* ensure it comes after tabs */
        flex: 1 1 auto;
        margin-left: 20px;
      }
}

.category-tabs-inner {
    min-width: max-content;
    width: 100%;
  }

/* END */

/* COLLECTION LIST */
.collection-card {
    background: white;
    /* border-radius: 10px; */
    border: 1px solid rgb(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    padding: 15px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

.collection-preview {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.collection-preview .small-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.collection-card h3 {
    font-size: 18px;
    margin-top: 12px;
}

.collection-card p {
    font-size: 14px;
    color: #6c757d;
}

/* END */

.input-group-text svg {
    width: 20px;
    height: 20px;
    fill: currentColor; /* respects Bootstrap's .text-* classes */
    color: #198754; /* Optional: or use Bootstrap's text-muted */
  }

.newsletter .newsletter-form input, span, button {
    border-radius: 0px !important;
}

/* Footer CSS */
.footer {
    background: #f8f9fa;
    color: #333;
}

.footer h6 {
    margin-bottom: 15px;
}

.footer ul {
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: #198754;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    font-size: 18px;
    color: #007b7f;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #005b5e;
}

/* Bottom Text */
.footer .text-center {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 20px;
    font-size: 14px;
}

/* Image Detail Section */
.image-main {
    position: relative;
    background: #f8f9fa;
    /* padding: 20px; */
    text-align: center;
    /* border-radius: 10px; */
    border: 1px solid rgb(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;

}

.image-main img {
    max-width: 100%;
    height: auto;
    /* border-radius: 10px; */
    object-fit: contain;
}

/* Download Section */
.license-info, .contributor-main {
    background: #fff;
    /* border-radius: 10px; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.download-section {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.license-info h5, .download-section h5 {
    font-size: 16px;
}

.download-section button {
    font-size: 14px;
    font-weight: 600;
}

.download-section a {
    font-size: 14px;
    font-weight: 600;
}

.dropdown button {
    font-size: 14px;
}
.dropdown-menu {
    min-width: 150px;
    border-radius: 0px;
    padding: 0px;
}
.dropdown-item:hover {
    background-color: #e9ecef;
}
.dropdown-menu .dropdown-item {
    color: black;
    font-size: 14px !important;
    padding: 8px 12px;
}
.dropdown-divider {
    margin: 0;
}

/* License Info */
.license-info p {
    font-size: 13px;
    margin-bottom: 10px;
}

/* Author Info */
.contributor-main img {
    border: 2px solid #ddd;
}

.contributor-main h6 {
    font-size: 16px;
}

.contributor-main .small {
    font-size: 12px;
}

/* File Size and Resolution */
.file-size-section {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 14px;
}

/* Individual File Option */
.file-option {
    padding: 10px 15px;
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Line Separator */
    cursor: pointer;
}

/* Last item should not have a border */
.file-option:last-child {
    border-bottom: none;
}

/* Aligning text and badge */
.file-option label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    cursor: pointer;
    padding: 0px 10px;
}

/* File Size Text */
.file-size {
    font-size: 12px;
    color: #666;
    margin-left: 30px;
}

/* Checked State */
.file-option input[type="radio"]:checked + label {
    color: #dc3545;
    font-weight: bold;
}

/* END */

/* Details Section */
.details-section {
    background: #fff;
    /* border-radius: 10px; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 14px;
}

.details-section h6 {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0px;
}

/* Table Styling */
.details-section .table {
    margin-bottom: 0;
}

/* Table Styling */
.details-table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: collapse; /* Ensures proper border alignment */
}

/* Table Rows & Borders */
.details-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.details-table td {
    padding: 10px 15px;
}

/* Remove border for last row */
.details-table tr:last-child td {
    border-bottom: none;
}

/* Category Link */
.category-link {
    font-weight: bold;
    text-decoration: none;
}

.category-link:hover {
    text-decoration: underline;
}

.free-badge {
    top: 10px;
    left: 10px;
    font-size: 12px;
    padding: 5px 8px;
}

/* END */

/* Share Section */
.share-section {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    font-size: 16px;
}

/* Social Icons */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    text-decoration: none;
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.twitter {
    background: #000;
}

.social-icon.pinterest {
    background: #E60023;
}

.social-icon.whatsapp {
    background: #25D366;
}

/* Hover Effect */
.social-icon:hover {
    opacity: 0.8;
}

/* END */

/* About us */
.about-us {
    background-color: #fff;
}

.about-us h1, .about-us h2 {
    color: #333;
}

.about-us p,
.privacy-policy p,
.contact-us p,
.terms p,
.copyright p,
.refund-policy p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  font-weight: 300 !important;
}

.about-us li,
.privacy-policy li,
.contact-us li,
.terms li,
.copyright li,
.refund-policy li {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  font-weight: 300 !important;
  text-decoration: none;
}

.about-us h1,
.privacy-policy h1,
.contact-us h1,
.terms h1,
.copyright h1, 
.refund-policy h1 {
  font-size: 36px;
  color: #000;
}

.about-us h2,
.privacy-policy h2,
.contact-us h2,
.terms h2,
.copyright h2,
.refund-policy h2 {
  text-decoration: underline;
  font-size: 30px;
  color: #000;
}

.about-us h3,
.privacy-policy h3,
.contact-us h3,
.terms h3,
.copyright h3,
.refund-policy h3 {
  font-size: 23px;
  text-decoration: underline;
  color: #000;
}

.about-us h4,
.privacy-policy h4,
.contact-us h4,
.terms h4,
.copyright h4,
.refund-policy h4 {
  font-size: 18px;
  color: #000;
}

.about-us img {
    max-width: 100%;
    border-radius: 8px;
}
/* END */

/* Contact US */

/* Contact Us Page */
.contact-us {
    background-color: #fff;
}

.contact-us h1, .contact-us h2 {
    color: #333;
}

.contact-us p, .contact-us li {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    font-weight: 300;
}

.contact-us a {
    color: #198754;
    text-decoration: none;
}

.contact-us a:hover {
    text-decoration: underline;
}

.contact-us form .form-control {
    border-radius: 0;
}

.contact-us .btn {
    border-radius: 0;
}
/* END */
    

/* EMBED */

/* Embed Code Section */
.embed-section {
    background: #fff;
    /* border-radius: 10px; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.embed-code-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px !important;
}

#embedCode {
    font-size: 14px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 8px;
    flex: 1;
}

#copyEmbedCode {
    font-size: 14px;
}
/* END */

/* Similar Images Section */
.similar-images h3 {
    font-size: 20px;
}

/* .image-card-2 {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.image-card-2 img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-card-2:hover {
    transform: scale(1.05);
}

.free-badge {
    top: 10px;
    left: 10px;
    font-size: 12px;
    padding: 5px 8px;
}

.hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-card-2:hover .hover-overlay {
    opacity: 1;
    
}

.image-title {
    font-size: 14px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.hover-buttons {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.hover-buttons .btn {
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
} */

/* Pagination */
.pagination .page-item .page-link {
    color: black;
    /* transition: all 0.3s ease; */
}

.pagination .page-item.active {
    background-color: #198754; /* Green background for active page */
    color: white;
    border: 1px solid #198754;
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    text-decoration: none;
}

.pagination .page-item .page-link:hover {
    background-color: #218838; /* Darker green on hover */
    color: white;
    border: 1px solid #218838;
}

/* Contributor Profile Banner */
.contributor-box {
    background: #007b7f; /* Teal background */
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Ensures banner is properly contained */
.container .contributor-box {
    max-width: 100%; /* Prevents stretching */
}

.bg-teal {
    background: #007b7f !important;
}

.contributor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* Contact Button */
.btn-light {
    border-radius: 5px;
    font-weight: 600;
    white-space: nowrap;
}

/* Load More Button */
#loadMoreBtn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    transition: opacity 0.3s ease;
}

#loadMoreBtn:hover {
    opacity: 0.8;
}

/* Spinner inside button */
.spinner-border {
    width: 20px;
    height: 20px;
    color: white;
}

.load-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Page Styling */
.contact-page h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
}

.contact-form button {
    background-color: #007b7f;
    color: white;
    font-weight: 600;
    padding: 10px;
    border-radius: 5px;
}

.contact-form button:hover {
    background-color: #005b5e;
}

.contact-page a {
    text-decoration: none;
    color: #007b7f;
}

.contact-page a:hover {
    text-decoration: underline;
}

.nav-2 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.search-bar-2 {
    display: flex;
    background: #f1f1f1;
    border-radius: 0px;
    padding: 5px;
    max-width: 500px;
    flex: 1;
}

.search-input {
    border-radius: 0px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.nav-2 a {
    color: black;
}


/* LOGIN PAGE */
/* Login Page Styling */
.login-section {
    background-color: white;
}

.login-section h2 {
    font-size: 24px;
    font-weight: bold;
}

.login-section .form-control {
    padding: 10px;
    border: 1px solid #ccc;
}

.login-section .form-control:focus {
    border-color: #198754;
    box-shadow: none;
}

.login-section .btn-outline-primary, .btn-outline-info {
    border-radius: 4px;
}

.login-section .btn {
    padding: 10px;
}

.login-section .toggle-password {
    cursor: pointer;
}
/* END */

/* ✅ Register Page Styling */

/* General Section Styling */
.register-section {
    padding: 40px 0;
}

/* Card Styling */
.register-section .card {
    border: none;
    border-radius: 0;
    background-color: white;
}

/* Form Inputs */
.register-section .form-control {
    border-radius: 0;
    box-shadow: none;
    padding: 0.75rem 1rem;
}

.register-section .form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.1rem rgba(25, 135, 84, 0.25);
}

/* Toggle Password Button */
.toggle-password {
    cursor: pointer;
    font-size: 1.2rem;
    user-select: none;
}

/* Submit Button */
.register-section .btn-success {
    background-color: #198754;
    border: none;
    transition: background-color 0.3s;
}

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

/* Social Login Buttons */
.register-section .btn-outline-secondary,
.register-section .btn-outline-primary,
.register-section .btn-outline-dark {
    border-radius: 0;
    transition: all 0.3s;
}

.register-section .btn-outline-secondary:hover,
.register-section .btn-outline-primary:hover,
.register-section .btn-outline-dark:hover {
    background-color: #f0f0f0;
}

/* Social Media Icons */
.register-section .btn img {
    margin-right: 10px;
}

/* OR Text Styling */
.register-section .text-center.my-3 {
    font-weight: 600;
    color: #6c757d;
}

/* Link Styling */
.register-section a {
    text-decoration: none;
    color: #198754;
}

.register-section a:hover {
    text-decoration: underline;
}

.register-section .btn {
    padding: 10px;
}


@media (max-width: 991px) {
    /* Ensure Navbar Items Align Properly */
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Fix Navbar Toggler Position */
    .navbar-toggler {
        margin-left: auto; /* Pushes the toggle to the right */
        border: none; /* Optional: Remove default border */
        outline: none;
        z-index: 1100;
    }

    .navbar-nav {
        width: 100%;
        text-align: left;
    }

    /* Fullscreen Navbar */
    .fullscreen-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.80); /* Slight transparency */
        z-index: 1050;
        display: flex;
        align-items: normal;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20%);
        transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
    }

    /* Show fullscreen menu */
    .fullscreen-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Prevent scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Navbar Links */
    .fullscreen-menu .nav-item {
        margin: 5px 0;
    }

    .fullscreen-menu .nav-link {
        font-size: 22px;
        font-weight: bold;
        color: black !important;
        transition: color 0.1s ease-in-out;
    }

    .fullscreen-menu .nav-link:hover {
        color: #007b7f;
    }
    
    body.menu-open {
        overflow: hidden !important;
    }
    /* Close Button */
    .close-btn {
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 30px;
        background: none;
        border: none;
        cursor: pointer;
        color: black;
        transition: color 0.3s ease-in-out;
    }

    .close-btn:hover {
        color: red;
    }

    .btn-hide {
        display: none !important;
    }
    .search-bar-2 {
        max-width: 100%;
    }


    .footer .social-icons {
        justify-content: space-evenly;
}


}

@media (min-width: 991px) {
    .close-btn {
        display: none;
    }
    .link-hide {
        display: none;
    }
    .hero p {
        font-size: 18px;
        font-weight: normal;
        width: 66.67%;
    }
    
}

@media (max-width: 768px) {
    .scroll-btn {
        width: 30px;
        height: 30px;
    }

    .scroll-btn.left {
        left: 5px;
    }

    .scroll-btn.right {
        right: 5px;
    }
}

/* Bootstrap */
.fs-6 {
    font-size: 1rem !important;
  }
  
.order-first {
    order: -1 !important;
  }
  
  .order-0 {
    order: 0 !important;
  }
  
  .order-1 {
    order: 1 !important;
  }
  
  .order-2 {
    order: 2 !important;
  }
  
  .order-3 {
    order: 3 !important;
  }
  
  .order-4 {
    order: 4 !important;
  }
  
  .order-5 {
    order: 5 !important;
  }
  
  .order-last {
    order: 6 !important;
  }
  
@media (min-width: 576px) {
    .order-sm-first {
        order: -1 !important;
      }
      .order-sm-0 {
        order: 0 !important;
      }
      .order-sm-1 {
        order: 1 !important;
      }
      .order-sm-2 {
        order: 2 !important;
      }
      .order-sm-3 {
        order: 3 !important;
      }
      .order-sm-4 {
        order: 4 !important;
      }
      .order-sm-5 {
        order: 5 !important;
      }
      .order-sm-last {
        order: 6 !important;
      }
    }

@media (min-width: 768px) {
    .order-md-first {
        order: -1 !important;
      }
      .order-md-0 {
        order: 0 !important;
      }
      .order-md-1 {
        order: 1 !important;
      }
      .order-md-2 {
        order: 2 !important;
      }
      .order-md-3 {
        order: 3 !important;
      }
      .order-md-4 {
        order: 4 !important;
      }
      .order-md-5 {
        order: 5 !important;
      }
      .order-md-last {
        order: 6 !important;
      }

}

@media (min-width: 992px) {

    .order-lg-first {
        order: -1 !important;
    }
    .order-lg-0 {
        order: 0 !important;
    }
    .order-lg-1 {
        order: 1 !important;
    }
    .order-lg-2 {
        order: 2 !important;
    }
    .order-lg-3 {
        order: 3 !important;
    }
    .order-lg-4 {
        order: 4 !important;
    }
    .order-lg-5 {
        order: 5 !important;
    }
    .order-lg-last {
        order: 6 !important;
    }
}

@media (min-width: 1200px) {
    .order-xl-first {
        order: -1 !important;
      }
      .order-xl-0 {
        order: 0 !important;
      }
      .order-xl-1 {
        order: 1 !important;
      }
      .order-xl-2 {
        order: 2 !important;
      }
      .order-xl-3 {
        order: 3 !important;
      }
      .order-xl-4 {
        order: 4 !important;
      }
      .order-xl-5 {
        order: 5 !important;
      }
      .order-xl-last {
        order: 6 !important;
      }    
}

@media (min-width: 1400px) {
    .order-xxl-first {
        order: -1 !important;
    }
    .order-xxl-0 {
        order: 0 !important;
    }
    .order-xxl-1 {
        order: 1 !important;
    }
    .order-xxl-2 {
        order: 2 !important;
    }
    .order-xxl-3 {
        order: 3 !important;
    }
    .order-xxl-4 {
        order: 4 !important;
    }
    .order-xxl-5 {
        order: 5 !important;
    }
    .order-xxl-last {
        order: 6 !important;
    }
}  