﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    /*background-image: url("../Images/background.jpg");*/
    font-size: 14px;
}

@media (max-width: 576px) {
    .filecasedashboard {
        height: auto; /* Allow height to adjust on small screens */
    }
}

@media (max-width: 768px) {
    .table-wrapper {
        overflow-x: auto;
    }
}

.LoginCard {
    border: 1px solid #039ffe;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    background-color: #ffffff;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.btn {
    background-color: #4FB5F5;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .btn:hover {
        color: #ffffff;
    }


.custom-btn {
    width: 200px;
    margin: 0 auto;
    background-color: #4FB5F5;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-link {
    background-color: transparent;
    border: none;
    color: #4FB5F5;
}

#Main {
    width: 60%;
    height: 40vh;
}

.panel-title a {
    color: #000;
}

    .panel-title a i {
        color: #000;
    }

.panel-title {
    display: flex;
    justify-content: space-between;
}

.colorBlack {
    text-decoration: none;
}

.vaildationbackground {
    color: red;
}

.tab-pane {
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}


.dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
}

/*INDEXPAGECSS*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    width: 100%;
}

/* General Styles */
.header_style {
    background-color: #4FB5F5;
    font-size: 15px;
    font-weight: 300;
    padding: 10px 20px 10px 30px;
}


.logo-image {
    width: 75%;
    max-width: 75%; /* Add this to ensure the image scales properly on smaller screens */
    height: auto; /* Maintain aspect ratio */
}

.custom-navbar {
    padding: 0.1rem 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    /*background: linear-gradient(to bottom right, #0E74A5, #4FB5F5);*/
    background: #ffffff;
    /*color: #ffffff;*/
    color: #0E74A5;
    /*background-color: transparent;*/
}

    .custom-navbar .navbar-brand {
        font-size: 1.2rem;
        color: #ffffff;
    }

        .custom-navbar .navbar-brand img {
            width: 75px;
            height: 75px;
        }

    .custom-navbar .nav-link {
        padding: 0;
        margin-right: 10px;
        font-size: 1.1rem;
        color: #0E74A5;
        /*color: #ffffff;*/
        background-color: transparent;
    }

    .custom-navbar .custom-nav-item {
        background-color: transparent;
    }

#copyright {
    background: linear-gradient(to bottom right, #0E74A5, #4FB5F5);
    color: #ffffff;
    font-size: 1rem;
    /*margin-left: 5px;*/
}

    #copyright a {
        text-decoration: none;
        color: #ffffff;
    }

        #copyright a:hover {
            text-decoration: underline;
        }

.brand-text {
    color: #0E74A5;
    /*color: #ffffff;*/
    font-size: 30px;
    margin-left: 5px;
}

.logo-text {
    vertical-align: middle;
}

.contentrender {
    margin-bottom: 75px;
}

.about-us-content {
    padding: 40px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    /*.about-us-content:hover {
        transform: translateY(-5px);
    }*/

    .about-us-content h2 {
        color: #2794c4;
        font-size: 28px;
        margin-bottom: 20px;
    }

    .about-us-content p {
        color: #555;
        line-height: 1.6;
        margin-bottom: 20px;
    }



@media (max-width: 768px) {
    .about-us-content {
        padding: 20px;
    }

        .about-us-content h2 {
            font-size: 24px;
        }
}
/* Colorful blinking animation */
.colorful-blink {
    animation: colorful-blink 2s infinite;
    position: relative;
    border-radius: 5px;
    padding: 0.25rem 0.5rem;
}

@keyframes colorful-blink {
    0% {
        /*/*background-color: rgba(255, 0, 0, 0.3);*/
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
        color: #ff0000;
    }
    /*16% {
        background-color: rgba(255, 165, 0, 0.3);
        box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
        color: #ffa500;
    }

    32% {
        background-color: rgba(255, 255, 0, 0.3);
        box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
        color: #ffff00;
    }

    48% {
        background-color: rgba(0, 128, 0, 0.3);
        box-shadow: 0 0 10px rgba(0, 128, 0, 0.5);
        color: #008000;
    }*/
    64% {
        /*background-color: rgba(0, 0, 255, 0.3);*/
        box-shadow: 0 0 10px rgba(0, 0, 255, 0.5);
        color: #0000ff;
    }

    80% {
        /*background-color: rgba(75, 0, 130, 0.3);*/
        box-shadow: 0 0 10px rgba(75, 0, 130, 0.5);
        color: #4b0082;
    }

    100% {
        /*background-color: rgba(238, 130, 238, 0.3);*/
        box-shadow: 0 0 10px rgba(238, 130, 238, 0.5);
        color: #ee82ee;
    }
}

/* Navbar styles */
.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #007bff;
    }

.nav-underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover .nav-underline {
    width: 80%;
}

.login-btn {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border: none;
    color: #fff;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

/* Latest Updates Section Styles */
.latest-updates-section {
    background-color: #f8f9fa;
    margin-top: 50px;
    padding: 50px 0;
}

.latest-update-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

    .latest-update-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.latest-update-img-container {
    position: relative;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}

.latest-update-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.latest-update-img-container:hover .latest-update-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.latest-update-img-container:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: white;
    font-size: 2rem;
}

.latest-update-body {
    padding: 1.5rem;
}

.latest-update-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.latest-update-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.latest-update-content {
    color: #555;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

    .latest-update-content.expanded {
        -webkit-line-clamp: unset;
    }

.read-more-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

    .read-more-link:hover {
        text-decoration: underline;
    }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section heading with colorful effect */
.colorful-heading {
    background: linear-gradient(90deg, #ff0000, #ffa500, #ffff00, #008000, #0000ff, #4b0082, #ee82ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 400% 400%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Navbar styles */
.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.digital-services {
    padding: 50px 0;
}

    .digital-services h2 {
        font-size: 24px;
        font-weight: bold;
        color: #337ab7;
        margin-bottom: 20px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .digital-services p {
        font-size: 16px;
        color: #666;
        margin-bottom: 20px;
    }

.solution_cards_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.solution_card {
    margin: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    flex-basis: 200px; /* Set a minimum width */
    flex-grow: 1; /* Allow the element to grow */
    height: 250px; /* Set a fixed height */
    display: flex;
    flex-direction: column; /* Stack children vertically */
    justify-content: space-between; /* Space out the children evenly */
}

    .solution_card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transform: translateY(-5px);
    }

.so_top_icon {
    margin-bottom: 20px;
}

    .so_top_icon img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin: 0 auto;
    }

.solu_title {
    font-size: 16px;
    font-weight: bold;
    color: #4FB5F5;
    margin-bottom: 10px;
}

.solu_description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.read_more_btn {
    background-color: #4FB5F5;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.form-check-label a {
    color: #039ffe;
    text-decoration: none;
    font-weight: bold;
}

    .form-check-label a:hover {
        color: #039ffe;
        text-decoration: underline;
    }


/* Responsive Adjustments */
@media (max-width: 1200px) {
    .solution_card {
        margin: 10px; /* Adjust margin */
    }
}

@media (max-width: 992px) {
    .solution_card {
        margin: 10px;
        flex-basis: 40%; /* 2 cards per row */
        height: 250px; /* Maintain consistent height */
    }
}

@media (max-width: 768px) {
    .solution_card {
        margin: 10px;
        flex-basis: 60%; /* 1.5 cards per row */
        height: 250px; /* Maintain consistent height */
    }
}

@media (max-width: 576px) {
    .solution_card {
        margin: 10px;
        flex-basis: 100%; /* 1 card per row */
        height: auto; /* Allow height to adjust based on content */
    }
}


.DISPUTECOLOR {
    color: #4FB5F5
}

.centered-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.centered-img {
    width: 75px;
    height: 75px;
}

.gradient h2 {
    color: white;
    text-align: center;
}



article .excerpt {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    height: 100%;
}

article figure {
    width: 100%;
    margin: 0;
    padding: 0;
}

    article figure img {
        width: 100%;
        height: auto;
        display: block;
    }

@media (max-width: 768px) {
    .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .inspace-10 {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .row {
        padding: 10px;
    }
}

.headcolor h2 {
    color: #4FB5F5
}

.borderBlue {
    border: 1px solid #039ffe;
}

/*.card {
    border: 1px solid #039ffe;
}*/

.cardbodyheight {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

    .cardbodyheight h6 {
        text-align: center;
        color: #4FB5F5; /* Corrected property */
    }

.fixed-card-size {
    height: 175px; /* Set your desired fixed height */
    overflow: hidden; /* Hide overflow content */
}

    .fixed-card-size .card-body {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

.card-img-top {
    width: 100px;
    height: 100px;
}

.centered-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.animated-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .animated-card:hover {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    }






.gradient {
    background-image: linear-gradient(to bottom right, #0E74A5, #4FB5F5);
    padding: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.excerpt {
    color: white
}

.form-control {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    padding: 10px;
    border-radius: 5px;
}

    .form-control:focus {
        border-color: #3498db;
        box-shadow: none;
    }

.btn-primary {
    background-color: #0E74A5;
    border-color: #0E74A5;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
}



.linklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .linklist li {
        margin-bottom: 10px;
    }

        .linklist li i {
            margin-right: 10px;
        }

    .linklist a {
        text-decoration: none;
        color: #ffffff;
    }

        .linklist a:hover {
            color: #cccccc;
        }

.d-flex {
    display: flex;
}


.justify-content-between {
    justify-content: space-between;
}

.border-bottom-op {
    border-bottom: 1px solid white;
    padding-bottom: 15px; /* Adjust the value as needed */
}

.colorBlue {
    color: #039ffe;
    text-decoration: none;
}

    .colorBlue:hover {
        text-decoration: underline;
        color: #039ffe;
    }

.colorYellow {
    color: #FFC300;
}

.colorGreen {
    color: #007500;
}

.dashboardbutton {
    background-color: #039ffe;
    border-color: #039ffe;
    color: #ffffff;
}

    .dashboardbutton:hover {
        background-color: #028ae5;
        border-color: #028ae5;
        color: #ffffff;
    }

.smilycolorBlue {
    color: #039ffe;
    background-color: #039ffe;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rectangle {
    width: 100%;
    height: auto;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    border: 2px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    transition: transform 0.2s;
}

    .rectangle:hover {
        transform: scale(1.02);
    }

/* Media queries for different screen sizes */
@media (min-width: 1200px) {
    .rectangle {
        width: 23%;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .rectangle {
        width: 45%;
    }
}

@media (max-width: 767px) {
    .rectangle {
        width: 100%;
        padding: 10px; /* Reduce padding for smaller screens */
    }

    .dashboardbutton {
        width: 100%; /* Full width buttons on mobile */
        margin-bottom: 10px; /* Space between buttons */
    }

    .modal-dialog {
        margin: 0; /* Remove margin for modals on mobile */
        width: 100%; /* Full width for modals */
    }

    .modal-content {
        border-radius: 0; /* Remove border radius for modals */
    }
}

.contact-card {
    background-color: #ffffff; /* White background for the card */
    /*border: 1px solid #e0e0e0;  Light grey border */
    border: 1px solid #039ffe; /* Light blue border */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.2s; /* Smooth transition effect */
}



.contact-card-body {
    padding: 20px; /* Padding inside the card */
}

.contact-card-title {
    font-size: 1.25rem; /* Font size for the heading */
    margin-bottom: 1rem; /* Space below the heading */
}

.contact-card-address {
    display: inline-block;
    padding-right: 20px; /* Reduced padding for better alignment */
    color: #333; /* Darker text color */
}

.contact-card-phone,
.contact-card-email {
    margin: 10px 0; /* Space above and below paragraphs */
    color: #333; /* Darker text color for better readability */
}


.contact-icon {
    color: #039ffe; /* Darker text color for better readability */
}

.contact-social-link {
    margin-right: 15px; /* Space between social icons */
    color: #039ffe; /* Primary color for icons */
    font-size: 1.5rem; /* Size for social icons */
    transition: color 0.3s; /* Smooth color transition */
}

    .contact-social-link:hover {
        color: #028ae5; /* Change color on hover */
    }

@media (max-width: 768px) {
    .contact-card {
        margin: 10px; /* Margin for smaller screens */
    }
}





.custom-card-body {
    background-color: #ffffff; /* White background */
    border: 1px solid #ddd; /* Light border */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Padding inside the card body */
    margin: 20px; /* Margin around the card */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

    .custom-card-body h2 {
        color: #4FB5F5; /* Main title color */
        font-size: 1.5rem; /* Font size for the title */
        margin-bottom: 15px; /* Space below the title */
    }

    .custom-card-body p {
        color: #333; /* Darker text color for better readability */
        line-height: 1.6; /* Line height for better spacing */
        margin-bottom: 20px; /* Space below the paragraph */
    }

.section_our_solution {
    margin-top: 20px; /* Space above the solution section */
}

.service-solution_cards_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-solution_card {
    margin: 5px;
    /*background-color: #118dc9;*/
    background-color: #ffffff;
    border: 1px solid #039ffe;
    /*border: 1px solid #ddd;*/
    color: #039ffe;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    flex-basis: 200px; /* Set a minimum width */
    flex-grow: 1; /* Allow the element to grow */
    height: 250px; /* Set a fixed height */
    display: flex;
    flex-direction: column; /* Stack children vertically */
    justify-content: space-between; /* Space out the children evenly */
}

    .service-solution_card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transform: translateY(-5px);
    }

.service_so_top_icon img {
    width: 50px; /* Set a fixed width for icons */
    height: auto; /* Maintain aspect ratio */
    fill: #ffffff; /* Change this to your desired color */
}

.service-solu_title h3 {
    /*color: white;  Title color */
    color: #039ffe; /* Title color */
    font-size: 1.25rem; /* Font size for the card title */
    margin: 10px 0; /* Space above and below the title */
}

.service_read_more_btn {
    /*background-color: #ffffff;*/ /* Button background color */
    background-color: #039ffe;
    color: #fff; /* Button text color */
    /*color: #118dc9;*/ /* Button text color */
    padding: 10px 20px; /* Button padding */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

    .service_read_more_btn:hover {
        /*background-color: white;*/ /* Darker shade on hover */
        color: black;
    }


.service-description p {
    font-size: 1.0rem; /* Slightly larger font size for better readability */
    line-height: 1.6; /* Increased line height for better spacing */
    color: #333; /* Darker text color for contrast */
    padding: 10px; /* Padding inside the paragraph */
    border-radius: 8px; /* Rounded corners */
    transition: transform 0.3s; /* Smooth transition for hover effect */
}

    .service-description p:hover {
        transform: scale(1.02); /* Slightly scale up on hover */
    }

    .service-description p::first-letter {
        font-size: 2rem; /* Large first letter for emphasis */
        font-weight: bold; /* Bold first letter */
        color: #4FB5F5; /* Color for the first letter */
        float: left; /* Float the first letter to the left */
        margin-right: 8px; /* Space between the first letter and the text */
    }

.container.legalextension {
    max-width: 1200px; /* Set a maximum width for the container */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Add some padding */
}

.legal-template-card {
    width: 100%; /* Make the card take the full width of the column */
    height: 290px; /* Set a fixed height for the card */
    border: 1px solid #ddd; /* Optional: Add a border */
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    transition: transform 0.2s, box-shadow 0.2s; /* Optional: Add a transition effect */
    display: flex; /* Use flexbox to manage layout */
    flex-direction: column; /* Stack children vertically */
}

.legal-template-body {
    flex: 1; /* Allow the card body to grow and fill the available space */
    display: flex; /* Use flexbox for the card body */
    flex-direction: column; /* Stack children vertically */
    justify-content: space-between; /* Distribute space between children */
}

.legal-template-card:hover {
    transform: translateY(-5px); /* Optional: Lift the card on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Optional: Increase shadow on hover */
}

.legal-template-header {
    background-color: #0e74a5; /* Custom color */
    font-size: 1.25rem;
    text-align: center;
}

.legal-template-title {
    font-weight: bold;
    font-size: 1.0rem; /* Slightly larger font size */
    color: #0e74a5; /* Match the theme color */
}

.legal-template-text {
    font-size: 0.80rem; /* Slightly larger font size for readability */
    line-height: 1.5; /* Better line spacing */
    color: #555; /* Darker text color for contrast */
}

.template-type {
    font-weight: normal; /* Normal weight for the template type */
    color: #333; /* Darker color for readability */
}

.description,
.type,
.fees-amount {
    color: #007bff; /* Primary color for emphasis */
    font-weight: 500; /* Medium weight for emphasis */
}

.legal-template-btn {
    border-color: #0e74a5;
    color: #0e74a5;
    border-radius: 20px; /* Rounded button corners */
    padding: 10px 20px; /* Padding for a more substantial button */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
}

    .legal-template-btn:hover {
        background-color: #0e74a5; /* Darker shade on hover */
        color: white; /* White text on hover */
    }

.legal-template-body {
    font-family: 'Roboto', sans-serif;
    padding: 10px; /* Increased padding for better spacing */
    background-color: #f8f9fa; /* Light background for contrast */
    border-radius: 0 0 10px 10px; /* Rounded corners for the bottom of the card */
}


/* Search Bar Styling */
.searchlawyer-custom-searchlawyer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    transition: all 0.3s ease;
    padding: 20px; /* Add padding to the container */
    border-radius: 10px; /* Optional: Add border radius for aesthetics */
    background-color: #fff; /* Optional: Add background color for contrast */
}

.searchlawyer-modal-content {
    padding: 20px; /* Add padding to the modal content */
}
/* Left Section - Areas of Practice */
.searchlawyer-left-side {
    width: 25%;
    padding: 20px; /* Existing padding */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-right: 20px; /* Add margin to the right for spacing */
}

.searchlawyer-right-side {
    width: 70%;
    padding: 20px; /* Existing padding */
    margin-left: 20px; /* Add margin to the left for spacing */
}

.searchlawyer-left-side h2 {
    color: #0E74A5; /* New blue color */
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.25rem; /* Reduced font size */
}

/* Search Lawyer Styling */
.searchlawyer-form-control {
    border-radius: 25px;
    border: 1px solid #ddd;
    box-shadow: none;
    transition: border-color 0.3s ease;
    font-size: 14px;
}

    .searchlawyer-form-control:focus {
        border-color: #0E74A5; /* New blue color */
        box-shadow: 0 0 5px rgba(14, 116, 165, 0.5);
    }

.searchlawyer-form-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Reduced margin */
}

    .searchlawyer-form-check label {
        font-size: 14px; /* Reduced font size */
        margin-left: 10px;
        color: #333;
    }

/* Right Section - Lawyer Listings */
.searchlawyer-right-side h2 {
    color: #0E74A5;
    font-weight: 600;
    font-size: 1.5rem; /* Reduced font size */
    margin-bottom: 15px;
}

/* Lawyer Box */
.searchlawyer-row {
    display: flex; /* Make the row a flex container */
    flex-wrap: wrap; /* Allow wrapping of boxes */
}

.searchlawyer-lawyer-box {
    flex: 1; /* Allow boxes to grow equally */
    min-width: 250px; /* Set a minimum width */
    max-width: 300px; /* Set a maximum width */
    padding: 20px; /* Existing padding */
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
    margin: 10px; /* Add margin to create space around each lawyer box */
}

    .searchlawyer-lawyer-box:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        transform: translateY(-5px);
    }

/* Card Title (Advocate Name) */
.searchlawyer-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0E74A5;
    margin-bottom: 10px;
}

/* Lawyer Information Section */
.searchlawyer-card-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

    .searchlawyer-card-text strong {
        color: #0E74A5;
    }

/* Appointment Button */
.searchlaw .searchlawyer-dashboardbutton {
    background-color: #0E74A5;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    border: none;
    transition: background-color 0.3s ease;
    font-size: 14px;
    width: 100%; /* Full-width button */
    text-align: center;
}

.searchlawyer-dashboardbutton:hover {
    background-color: #065a7c;
    cursor: pointer;
}

/* Ensure that the card is responsive and looks good on smaller screens */
.searchlawyer-card-body {
    display: flex;
    flex-direction: column;
}

/* Hover effect */
.searchlawyer-lawyer-box:hover .searchlawyer-card-body {
    transform: translateY(-5px);
}

/* No Record Found */
.searchlawyer-no-record-found {
    text-align: center;
    margin-top: 20px;
    color: #777;
}

    .searchlawyer-no-record-found i {
        font-size: 50px;
        color: #0E74A5; /* New blue color */
        margin-bottom: 10px;
    }

    .searchlawyer-no-record-found h4 {
        font-size: 16px; /* Smaller font size */
        font-weight: 600;
        color: #333;
    }

/* Pagination Controls */
.searchlawyer-pagination-controls {
    background-color: #0E74A5; /* New blue color */
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

    .searchlawyer-pagination-controls a {
        color: #fff;
        margin: 0 5px;
    }

        .searchlawyer-pagination-controls a:hover {
            text-decoration: underline;
            background-color: #065a7c;
            border-radius: 5px;
            padding: 5px 10px;
        }

    .searchlawyer-pagination-controls .active a {
        background-color: #065a7c;
        border-radius: 5px;
        padding: 5px 10px;
    }

/* Loading Spinner */
.searchlawyer-loading-spinner {
    text-align: center;
    margin-top: 50px;
}

    .searchlawyer-loading-spinner i {
        font-size: 40px;
        color: #0E74A5; /* New blue color */
        animation: spin 1.5s linear infinite;
    }

.no-record-found {
    text-align: center;
    margin-top: 20px;
}

    .no-record-found i.fa-search {
        font-size: 50px; /* adjust the size as per your requirement */
        font-weight: bold;
        color: #666; /* adjust the color as per your requirement */
        margin-bottom: 10px;
    }

    .no-record-found h4 {
        font-size: 18px;
        font-weight: bold;
        color: #666; /* adjust the color as per your requirement */
    }

/* Modern Dashboard Styles with #3498db as Primary Color */
.modern-dashboard {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation Bar */
.dashboard-navbar {
    background-color: white;
    color: black;
    padding: 0 30px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
}

    .brand-logo i {
        margin-right: 12px;
        font-size: 1.8rem;
    }

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.user-role {
    font-size: 0.8rem;
    opacity: 0.8;
}

.user-name {
    font-weight: 600;
}

.user-avatar i {
    font-size: 2.2rem;
    color: black;
}

/* Main Content */
.dashboard-content {
    padding: 30px;
    flex: 1;
}

/* Quick Actions Panel */
.quick-actions-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px; /* Space between elements */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    gap: 8px;
    min-width: 150px; /* Ensure buttons have a minimum width */
}

    .action-btn i {
        font-size: 1rem;
    }

    .action-btn.primary {
        background-color: #3498db;
        color: white;
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }

        .action-btn.primary:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
        }

    .action-btn.secondary {
        background-color: white;
        color: #3498db;
        border: 1px solid #3498db;
    }

        .action-btn.secondary:hover {
            background-color: #f8f9fa;
        }

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .quick-actions-panel {
        flex-direction: column; /* Stack elements vertically on smaller screens */
        align-items: flex-start; /* Align items to the start */
    }

    .action-btn {
        width: 100%; /* Full width for buttons */
        margin-bottom: 10px; /* Space between buttons */
    }

        .action-btn:last-child {
            margin-bottom: 0; /* Remove margin from the last button */
        }
}

.search-panel {
    flex: 1;
    max-width: 700px;
    margin: 0 auto; /* Center the panel horizontally */
    padding: 10px; /* Add some padding around the panel */
}

.search-controls {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap; /* Allow items to wrap */
}

.search-select {
    padding: 12px 15px;
    border: none;
    border-right: 1px solid #eee;
    background: white;
    color: #333;
    font-weight: 500;
    outline: none;
    min-width: 150px;
}

.search-input-container {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

    .search-input-container i {
        color: #95a5a6;
        margin-right: 10px;
    }

    .search-input-container input {
        flex: 1;
        border: none;
        padding: 12px 0;
        outline: none;
        font-size: 0.95rem;
    }

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .search-controls {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }

    .search-select,
    .search-input-container,
    .action-btn {
        width: 100%; /* Full width for all elements */
        border-right: none; /* Remove right border for select */
    }

    .search-select {
        border-bottom: 1px solid #eee; /* Add bottom border for select */
    }

    .search-input-container {
        padding: 10px; /* Adjust padding for smaller screens */
    }

        .search-input-container input {
            padding: 10px; /* Adjust padding for input */
        }
}
/* Status Indicators */
.status-indicators {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .indicator-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

.indicator-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

    .indicator-icon.hold {
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    }

    .indicator-icon.active {
        background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    }

    .indicator-icon.closed {
        background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    }

/* Cases Grid */
.cases-grid-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
}

.empty-icon i {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.empty-state p {
    color: #7f8c8d;
    margin-bottom: 30px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.case-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #3498db;
    display: flex;
    flex-direction: column;
}

    .case-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

.case-hold {
    border-top-color: #FFD700;
    border: 1px solid #FFD700; /* Adjust the width and style as needed */
}

.case-active {
    border-top-color: #2ecc71;
    border: 1px solid #2ecc71; /* Adjust the width and style as needed */
}

.case-closed {
    border-top-color: #3498db;
    border: 1px solid #3498db; /* Adjust the width and style as needed */
}

.case-status .fa-pause-circle {
    color: white !important;
}

.case-status .fa-check-circle {
    color: white !important;
}

.case-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.case-badge {
    background-color: #3498db;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.case-status i {
    font-size: 1.4rem;
}

.case-status .fa-pause-circle {
    color: #e74c3c;
}

.case-status .fa-spinner {
    color: #2ecc71;
    animation: spin 2s linear infinite;
}

.case-status .fa-check-circle {
    color: #3498db;
}



.case-card-body {
    padding: 15px;
    flex: 1;
}

.case-detail {
    display: flex;
    margin-bottom: 12px;
}

    .case-detail label {
        font-weight: 600;
        color: #7f8c8d;
        min-width: 90px;
        font-size: 0.9rem;
    }

    .case-detail span {
        color: #2c3e50;
        font-size: 0.95rem;
    }

* Case Card Footer Styles */
.case-card-footer {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    margin-top: auto; /* Push footer to bottom */
}

.filed-by {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #666;
}

    .filed-by i {
        margin-right: 5px;
        margin-left: 5px;
    }

.case-actions {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.icon-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #4FB5F5;
    transition: color 0.2s;
}

    .icon-btn:hover {
        color: #3a9bcf;
    }

.action-label {
    margin-top: 3px;
    font-size: 1.0rem;
    color: #666;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .case-actions {
        justify-content: space-between;
    }

    .action-item {
        min-width: 50px;
    }
}
/* Pagination */
.pagination-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/* Loader container style */
#loader {
    position: absolute; /* Position the loader absolutely within the table container */
    top: 0;
    left: 0;
    width: 100%; /* Cover the entire width of the table */
    height: 100%; /* Cover the entire height of the table */
    background: rgba(255, 255, 255, 0.8); /* Light background with transparency */
    z-index: 999; /* Ensure it appears above other content */
    display: flex; /* Center loader content */
    justify-content: center;
    align-items: center;
}

/* Modern Color Palette */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --light-bg: #f8fafc;
    --dark-text: #1e293b;
    --light-text: #64748b;
    --border-color: #e2e8f0;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Container with Glass Morphism Effect */
.membership-container {
    max-width: 900px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Header Section */
.membership-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .membership-header h2 {
        font-size: 2.5rem;
        margin: 0;
        font-weight: 700;
        position: relative;
        z-index: 2;
    }

    .membership-header p {
        font-size: 1.1rem;
        opacity: 0.9;
        margin: 10px 0 0;
        position: relative;
        z-index: 2;
    }

.header-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.decoration-1 {
    top: -50px;
    left: -50px;
}

.decoration-2 {
    bottom: -80px;
    right: -30px;
    width: 300px;
    height: 300px;
}

/* Form Styles */
.membership-form {
    padding: 40px;
}

.form-intro {
    text-align: center;
    margin-bottom: 30px;
    color: var(--light-text);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--dark-text);
        font-size: 0.95rem;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
        outline: none;
    }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}

/* Membership Type Styling */
.membership-options {
    grid-column: 1 / -1;
    margin: 20px 0;
}

.membership-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .membership-card:hover {
        border-color: var(--primary-color);
        transform: translateY(-2px);
    }

    .membership-card.selected {
        border-color: var(--primary-color);
        background-color: rgba(37, 99, 235, 0.05);
    }

    .membership-card h4 {
        margin: 0 0 5px;
        color: var(--primary-dark);
    }

    .membership-card p {
        margin: 0;
        color: var(--light-text);
        font-size: 0.9rem;
    }

.membership-price {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 5px;
    display: block;
}

.member-qualification {
    font-size: 0.85rem;
}
/* Terms and Conditions */
.terms-group {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    margin: 20px 0;
}

    .terms-group input {
        margin-right: 10px;
        width: auto;
    }

    .terms-group label {
        margin: 0;
    }

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

    .terms-link:hover {
        text-decoration: underline;
    }

/* Submit Button */
.submit-btn {
    grid-column: 1 / -1;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        background: linear-gradient(to right, var(--primary-dark), var(--accent-color));
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .membership-container {
        margin: 20px;
        border-radius: 12px;
    }

    .membership-header h2 {
        font-size: 2rem;
    }

    .membership-form {
        padding: 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .membership-header {
        padding: 20px;
    }

    .membership-form {
        padding: 20px 15px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.membership-container {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Hide student ID by default */
#student-id-field {
    display: none;
}

.membership-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Section */


/* Membership Card */
.membership-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 30px;
}

/* Search Section */
.search-section {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    max-width: 400px;
    width: 100%;
}

.search-input {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 30px 0 0 30px;
    width: 100%;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

    .search-input:focus {
        border-color: #3498db;
    }

.search-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: background 0.3s;
}

    .search-btn:hover {
        background: #2980b9;
    }

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 30px;
}

.members-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

    .members-table thead {
        background-color: #f8f9fa;
    }

    .members-table th {
        padding: 15px;
        text-align: left;
        font-weight: 600;
        color: #495057;
        border-bottom: 2px solid #e9ecef;
    }

    .members-table td {
        padding: 15px;
        border-bottom: 1px solid #e9ecef;
        color: #495057;
        vertical-align: middle;
    }

    .members-table tr:hover {
        background-color: #f8f9fa;
    }


.navbar-brand:hover img {
    transform: scale(1.1);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    background-color: #ffc720 !important;
}

.login-btn {
    background-color: #ffc720;
    color: black;
}

.nav-link {
    font-weight: 500;
    color: #495057 !important;
    padding: 8px 12px !important;
    position: relative;
    transition: color 0.3s ease;
}

    .nav-link span {
        position: relative;
        z-index: 1;
    }

.nav-underline {
    position: absolute;
    bottom: 0;
    width: 0;
    width: 0;
    height: 3px;
    background-color: #0E74A5;
    transition: width 0.3s ease;
}

.nav-link:hover .nav-underline,
.nav-link.active .nav-underline {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #0E74A5 !important;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0E74A5 !important;
    padding-left: 20px !important;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}

.img-fluid {
    max-width: 100%;
    height: 290px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.headcolor h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

    .headcolor h2:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--secondary-color);
    }

/* Hero Carousel */
#mycarousel {
    /*height: 600px !important;*/ /* Set your desired height */
    overflow: hidden !important; /* Prevent overflow */
}

    #mycarousel .carousel-item {
        height: 100% !important; /* Make sure the item takes full height */
    }

        #mycarousel .carousel-item img {
            object-fit: cover !important; /* Cover the area without distortion */
            height: 100% !important; /* Ensure the image fills the item */
        }

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    bottom: 30%;
}

/* About Section */
.about-us-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

    .about-us-content p {
        font-size: 1.1rem;
        line-height: 1.8;
        text-align: justify;
    }
/* Disputes Section */
.DISPUTECOLOR {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.centered-img-container {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 50%;
    margin-bottom: 15px;
}

.centered-img {
    max-width: 50px;
    max-height: 50px;
}

/* Choose Yourself Section */
#ChooseYourself {
    background: var(--light-color);
    padding: 60px 0;
}

.ChooseYourself h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    border-radius: 2px;
}

.chooseyourself-para {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.tip-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .tip-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

.tip-header {
    background: var(--secondary-color);
    color: white;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    text-align: center;
}

.foun-content {
    color: var(--dark-color);
    text-align: center;
    font-size: 0.9rem;
}

/* Why Choose Us Section */
#whychooseus {
    padding: 60px 0;
    background: white;
}

.whychooseus h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    border-radius: 2px;
}

.fixed-card-size {
    height: 100%;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.animated-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cardbodyheight {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
    text-align: center;
}

/* Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 0.5s;
}

.delay-2 {
    animation-delay: 1s;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}


.footer {
    background: #E6F2F8 !important;
    color: black !important;
    padding: 60px 0 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(255,255,255,0.03)"/></svg>');
        background-size: 150px 150px;
    }

    .footer h5 {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 25px;
        position: relative;
        color: black;
        text-align: center; /* Center the text */
    }

        .footer h5::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: #FFD700;
        }

    .footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer ul li {
            color: black;
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
        }

            /*.footer ul.contact-info li {
            align-items: center;
        }*/

            .footer ul li i {
                color: #0E74A5;
                margin-right: 15px;
                font-size: 1.1rem;
                min-width: 20px;
            }

            .footer ul li a {
                color: black;
                text-decoration: none;
                transition: all 0.3s;
            }

                .footer ul li a:hover {
                    color: black;
                    text-decoration: underline;
                }

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255,255,255,0.1);
        color: black;
        font-size: 1.2rem;
        transition: all 0.3s;
    }

        .social-icons a:hover {
            background: #FFD700;
            color: #0E74A5;
            transform: translateY(-3px);
        }

.copyright {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 50px;
    font-size: 0.9rem;
}

    .copyright a {
        color: #0E74A5;
        text-decoration: none;
        transition: all 0.3s;
    }

        .copyright a:hover {
            text-decoration: underline;
        }

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%230E74A5"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%230E74A5"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"></path></svg>');
    background-size: cover;
}


/* DDRS Section */
#ddrs {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-attachment: fixed;
    padding: 60px 0;
}

.ddrs h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    border-radius: 2px;
}

.services-para {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
}

.title-row {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .title-row:hover {
        background: var(--secondary-color);
        transform: translateX(5px);
    }

    .title-row i {
        transition: transform 0.3s ease;
    }

    .title-row.active i {
        transform: rotate(180deg);
    }

.content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
    border-radius: 0 0 5px 5px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

    .content.show {
        padding: 20px;
        max-height: 500px;
    }

.dispute-image {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    max-height: 350px;
    object-fit: cover;
}

    .dispute-image:hover {
        transform: scale(1.03);
    }

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }

    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    #mycarousel {
        height: 350px !important;
    }
}

/* For larger phones and small tablets */
@media (max-width: 768px) {
    #mycarousel {
        height: 300px !important;
    }
}

/* For medium phones */
@media (max-width: 576px) {
    #mycarousel {
        height: 250px !important;
    }
}

/* For small phones */
@media (max-width: 400px) {
    #mycarousel {
        height: 200px !important;
    }
}

/* For very small phones */
@media (max-width: 340px) {
    #mycarousel {
        height: 180px !important;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }

    .about-content {
        order: 2;
        margin-top: 2rem;
    }

    .about-img-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .services-para {
        font-size: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 1200px) {
    .disputes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .disputes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .disputes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.advisory-section {
    background: linear-gradient(135deg, #0c1a3a, #1c3b6a);
    color: #fff;
    overflow: hidden;
    padding: 5rem 0;
}

    .advisory-section h2 {
        font-weight: 700;
        font-size: 2.5rem;
        position: relative;
        margin-bottom: 40px;
    }

        .advisory-section h2::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 90px;
            height: 4px;
            border-radius: 2px;
            background: linear-gradient(to right, #4facfe, #00f2fe);
        }

/* Image Section */
.advisor-image-container {
    background: #70cbff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    width: 100%;
}

    .advisor-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.advisor-card:hover .advisor-image-container img {
    transform: scale(1.05);
}

/* Text Section */
.advisor-name {
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 5px;
}

.advisor-title {
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .advisor-image-container {
        height: 280px;
    }
}

@media (max-width: 992px) {
    .advisor-image-container {
        height: 250px;
    }

    .advisor-name {
        font-size: 1.3rem;
    }

    .advisory-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .advisor-image-container {
        height: 220px;
        max-width: 300px;
        margin: 0 auto;
    }

    .advisor-name {
        font-size: 1.2rem;
    }

    .advisory-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .advisor-image-container {
        height: 200px;
        max-width: 280px;
    }

    .advisor-name {
        font-size: 1.1rem;
    }

    .advisory-section h2 {
        font-size: 1.8rem;
    }

    .advisory-section {
        padding: 3rem 0;
    }
}

@media (max-width: 400px) {
    .advisor-image-container {
        height: 180px;
        max-width: 250px;
    }
}

/* ===== Animation ===== */
[data-aos] {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    [data-aos].aos-animate {
        opacity: 1;
        transform: translateY(0);
    }
/* Latest Updates Section - Proper One-by-One Scrolling */
.latest-updates-section {
    background: #ecf0f1;
    padding: 5rem 0;
}

.latest-update-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
}

    .latest-update-card:hover {
        transform: translateY(-5px);
    }

.latest-update-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #4facfe;
    flex-shrink: 0;
}

.latest-update-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.latest-update-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0c1a3a;
    margin-bottom: 10px;
}

.latest-update-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.latest-update-content {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

    .latest-update-content.expanded {
        -webkit-line-clamp: unset;
        overflow: visible;
    }

.read-more-link {
    font-size: 0.9rem;
    color: #4facfe;
    text-decoration: none;
    cursor: pointer;
}

    .read-more-link:hover {
        text-decoration: underline;
    }

/* Custom Carousel Styles - Proper One-by-One */
.latest-updates-carousel-container {
    position: relative;
    padding: 0 60px; /* Increased padding to accommodate controls */
    margin: 0 auto;
    max-width: 1400px;
}

.carousel-controls-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.carousel-viewport {
    width: 100%;
    overflow: hidden;
    margin: 0;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: auto;
    white-space: nowrap;
    align-items: stretch;
}

.carousel-slide {
    flex: 0 0 calc(25% - 20px); /* 4 items visible with margin */
    margin: 10px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

    .carousel-slide:hover {
        transform: translateY(-5px);
    }


/* Carousel indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 8px;
}

    .carousel-indicators span {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #6c757d;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .carousel-indicators span.active {
            background-color: #0c1a3a;
            transform: scale(1.2);
        }

        .carousel-indicators span:hover {
            background-color: #0c1a3a;
        }

/* Auto-play controls */
.auto-play-controls {
    margin-top: 20px;
    text-align: center;
}

    .auto-play-controls .btn {
        border-radius: 20px;
        padding: 8px 20px;
        font-size: 0.9rem;
        border: 2px solid #0c1a3a;
        background: transparent;
        color: #0c1a3a;
        transition: all 0.3s ease;
    }

        .auto-play-controls .btn:hover {
            background: #0c1a3a;
            color: white;
        }

/* Latest Update Card Styles */
.latest-update-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .latest-update-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

/* Image Container with Overlay */
.latest-update-img-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.latest-update-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #4facfe;
    transition: transform 0.3s ease;
}

.latest-update-img-container:hover .latest-update-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.latest-update-img-container:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: white;
    font-size: 2rem;
    background: rgba(79, 181, 245, 0.8);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Update Body */
.latest-update-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.latest-update-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0c1a3a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.latest-update-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.latest-update-content {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    transition: all 0.3s ease;
}

    .latest-update-content.expanded {
        -webkit-line-clamp: unset;
        overflow: visible;
        display: block;
    }

/* Read More Link */
.read-more-link {
    font-size: 0.9rem;
    color: #4facfe;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
    font-weight: 500;
}

    .read-more-link:hover {
        color: #0c1a3a;
        text-decoration: none;
    }

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, #0E74A5, #4FB5F5);
    color: white;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0;
}

.modal-body {
    padding: 2rem;
}

.modal-date {
    font-size: 0.95rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.modal-content-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}

    .modal-content-text img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 1rem 0;
    }

/* Image Modal Specific Styles */
.zoomable-image {
    max-width: 100%;
    max-height: 70vh;
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.latest-updates-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    border-radius: 2px;
}
/* Responsive Design */
@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 calc(33.333% - 20px); /* 3 items visible */
    }

    .latest-updates-carousel-container {
        padding: 0 50px;
    }
}

@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 20px); /* 2 items visible */
    }

    .latest-update-img {
        height: 180px;
    }

    .latest-update-title {
        font-size: 1.2rem;
    }

    .latest-update-content {
        font-size: 0.95rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 calc(100% - 20px); /* 1 item visible */
    }

    .latest-updates-carousel-container {
        padding: 0 40px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .latest-update-img {
        height: 160px;
    }

    .latest-update-body {
        padding: 15px;
    }

    .latest-update-title {
        font-size: 1.1rem;
    }

    .latest-update-content {
        font-size: 0.9rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .latest-updates-carousel-container {
        padding: 0 30px;
    }

    .carousel-viewport {
        margin: 0;
    }

    .carousel-slide {
        flex: 0 0 calc(100% - 10px);
        margin: 5px;
    }

    .latest-update-img {
        height: 140px;
    }

    .latest-update-body {
        padding: 12px;
    }

    .latest-update-title {
        font-size: 1rem;
    }

    .latest-update-content {
        font-size: 0.85rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .carousel-control-prev {
        left: -10px;
    }

    .carousel-control-next {
        right: -10px;
    }

    .zoom-controls {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 400px) {
    .latest-updates-carousel-container {
        padding: 0 20px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
}


/* Video Section Styles */
.video-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

    /*.video-section h2 {
        color: #0c1a3a;
        font-weight: 700;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        position: relative;
    }*/

    .video-section h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, #4facfe, #00f2fe);
        border-radius: 2px;
    }

/* Marquee Container */
.marquee-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1400px;
}

.marquee-track {
    display: flex;
    animation: marquee-scroll 40s linear infinite;
    gap: 30px;
    padding: 10px 0;
    align-items: stretch; /* Ensure all items stretch to same height */
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

/* Marquee Items - Fixed Height */
.marquee-item {
    flex: 0 0 320px;
    min-width: 320px;
    height: 380px; /* Fixed height for all cards */
    display: flex;
    flex-direction: column;
}

.video-container {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%; /* Take full height of parent */
    display: flex;
    flex-direction: column;
}

    .video-container:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.video-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    flex-shrink: 0; /* Prevent video wrapper from shrinking */
    height: 220px; /* Fixed height for video iframe */
}

    .video-wrapper iframe {
        border-radius: 10px;
        display: block;
        width: 100%;
        height: 100%; /* Take full height of wrapper */
        object-fit: cover; /* Ensure iframe covers the space */
    }

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

.video-overlay i {
    color: white;
    font-size: 3rem;
    background: rgba(79, 181, 245, 0.9);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.video-wrapper:hover .video-overlay i {
    transform: scale(1.1);
}

.video-title {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    text-decoration: none !important;
    transition: color 0.3s ease;
    padding: 0 10px;
    flex-grow: 1; /* Allow title to take remaining space */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60px; /* Minimum height for title area */
}

    .video-title:hover {
        color: #4facfe !important;
    }

/* Marquee Controls */
.marquee-controls {
    margin-top: 2rem;
}

    .marquee-controls .btn {
        border-radius: 25px;
        padding: 8px 20px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

        .marquee-controls .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

/* Marquee Animation */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-320px * 5 - 30px * 5));
    }
}

/* Pause state */
.marquee-paused .marquee-track {
    animation-play-state: paused;
}

/* Responsive Design with Consistent Heights */
@media (max-width: 1200px) {
    .marquee-item {
        flex: 0 0 280px;
        min-width: 280px;
        height: 360px; /* Adjusted height for medium screens */
    }

    .video-wrapper {
        height: 200px; /* Adjusted video height */
    }

    .video-title {
        min-height: 55px;
        font-size: 0.95rem;
    }

    @keyframes marquee-scroll {
        100% {
            transform: translateX(calc(-280px * 5 - 30px * 5));
        }
    }
}

@media (max-width: 992px) {
    .marquee-item {
        flex: 0 0 260px;
        min-width: 260px;
        height: 350px;
    }

    .video-wrapper {
        height: 190px;
    }

    .video-container {
        padding: 18px;
    }

    .video-title {
        min-height: 50px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .video-section h2 {
        font-size: 2rem;
    }

    .marquee-item {
        flex: 0 0 240px;
        min-width: 240px;
        height: 340px;
    }

    .video-wrapper {
        height: 180px;
    }

    .video-container {
        padding: 15px;
    }

    .video-title {
        min-height: 50px;
        font-size: 0.85rem;
        padding: 0 5px;
    }

    @keyframes marquee-scroll {
        100% {
            transform: translateX(calc(-240px * 5 - 30px * 5));
        }
    }
}

@media (max-width: 576px) {
    .marquee-item {
        flex: 0 0 220px;
        min-width: 220px;
        height: 320px;
    }

    .video-wrapper {
        height: 160px;
    }

    .video-title {
        min-height: 45px;
        font-size: 0.8rem;
    }

    .marquee-controls .btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    .video-overlay i {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    @keyframes marquee-scroll {
        100% {
            transform: translateX(calc(-220px * 5 - 30px * 5));
        }
    }
}

@media (max-width: 400px) {
    .marquee-item {
        flex: 0 0 200px;
        min-width: 200px;
        height: 300px;
    }

    .video-wrapper {
        height: 150px;
    }

    .video-title {
        min-height: 40px;
        font-size: 0.75rem;
    }
}
/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    /* Hero Carousel adjustments */
    #mycarousel .carousel-item img {
        height: auto !important;
        object-fit: cover;
    }

    .carousel-caption {
        bottom: 10%;
        padding: 15px;
    }

        .carousel-caption h3 {
            font-size: 1.2rem;
        }

        .carousel-caption p {
            font-size: 0.9rem;
            display: none; /* Hide description on mobile */
        }

    /* About Section */
    .about-us-content {
        padding: 20px 15px;
    }

        .about-us-content p {
            font-size: 0.95rem;
            text-align: left;
        }

    .about-img-container img {
        max-height: 300px;
        width: 100%;
    }

    /* DDRS Section */
    .title-row {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .content.show {
        padding: 15px;
    }

    .services-para {
        padding: 15px;
        font-size: 0.95rem;
    }

    /* Advisory Board */
    .advisor-image-container {
        height: 200px;
        max-width: 200px;
        margin: 0 auto;
    }

    .advisor-name {
        font-size: 1rem;
    }

    /* Disputes Grid */
    :root {
        --primary-blue: #2c3e50;
        --accent-blue: #3498db;
        --light-blue: #ecf0f1;
        --gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }

    .disputes-section {
        padding: 80px 0;
        background-color: var(--light-blue);
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .section-title-container {
        position: relative;
        display: inline-block;
        margin-bottom: 60px;
    }

    .section-title {
        font-weight: 700;
        color: var(--primary-blue);
        padding-bottom: 20px;
    }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 20%;
            width: 60%;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }

    .DISPUTECOLOR {
        padding: 10px !important;
    }


    .centered-img-container {
        width: 60px;
        height: 60px;
    }

    .centered-img {
        max-width: 35px;
        max-height: 35px;
    }

    .DISPUTECOLOR h6 {
        font-size: 0.8rem;
    }

    /* Choose Yourself Section */
    .tip-card {
        margin-bottom: 20px;
    }

    .tip-header {
        font-size: 1rem;
        padding: 12px;
    }

    .foun-content {
        font-size: 0.85rem;
    }

    /* Why Choose Us Cards */
    .fixed-card-size {
        height: auto;
        margin-bottom: 15px;
    }

    .whychooseus h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, #4facfe, #00f2fe);
        border-radius: 2px;
    }

    .cardbodyheight h5 {
        font-size: 1rem;
    }

    .cardbodyheight p {
        font-size: 0.8rem;
    }

    /* Latest Updates */
    .latest-update-card {
        margin: 0 5px;
    }

    .latest-update-title {
        font-size: 1.1rem;
    }

    .latest-update-content {
        font-size: 0.85rem;
    }

    /* Video Section */
    .video-container iframe {
        height: 180px;
    }

    .video-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    /* Disputes grid - 2 columns */
    .DISPUTECOLOR .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Why Choose Us - 2 columns */
    #whychooseus .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Reduce padding on sections */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Buttons */
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    /* Very small devices */
    #mycarousel .carousel-item img {
        height: auto !important;
    }

    .DISPUTECOLOR .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #whychooseus .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .centered-img-container {
        width: 50px;
        height: 50px;
    }

    .centered-img {
        max-width: 30px;
        max-height: 30px;
    }
}

/* Touch-friendly improvements */
.btn, .title-row, .nav-link {
    cursor: pointer;
}

/* Prevent horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Improve touch targets */
@media (max-width: 768px) {
    .btn, .nav-link, .title-row {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

/* Loading optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth scrolling for mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }
}
/* Mobile menu improvements */
@media (max-width: 768px) {
    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
    }
}

/* Prevent zoom on input focus for iOS */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px; /* Prevents zoom on focus in iOS */
    }
}

/* Better scrolling on iOS */
.container {
    -webkit-overflow-scrolling: touch;
}

/* Optimize typography for mobile */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        line-height: 1.5;
    }

    h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    p {
        margin-bottom: 1rem;
    }
}
/* Reduce animations on low-performance devices */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Optimize for data saving mode */
@media (prefers-reduced-data: reduce) {
    .carousel-item img {
        display: none;
    }

    .carousel-item::before {
        content: "Slide " counter(slide);
        display: block;
        text-align: center;
        padding: 2rem;
        background: #f8f9fa;
    }
}
/* FINAL STICKY FIX - MUST BE LAST */
.custom-navbar.sticky-top,
nav.sticky-top {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0 !important;
    z-index: 1020 !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    width: 100% !important;
}
/*.container-fluid, [ng-controller], [data-ng-app] {
    overflow: visible !important;
}*/

/* Testimonials Section - Responsive Styles */
.testimonials-section {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

    /* Section Title */
    .testimonials-section h2 {
        position: relative;
        padding-bottom: 15px;
        margin-bottom: 30px !important;
    }

        .testimonials-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, #4facfe, #00f2fe);
            border-radius: 2px;
        }

/* No Testimonials Message */
.no-testimonials-found {
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
    margin: 0 15px;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #eaeaea;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
}

    .testimonial-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

/* Universal Image Container - FITS ANY IMAGE SIZE */
.testimonial-img-container {
    width: 100%;
    height: 140px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /*padding: 15px;*/ /* Added padding for better framing */
}


/* Universal Image Styling - Handles ANY dimensions */
.testimonial-img {
    object-fit: cover;
    /*width: 100%;
    height: 100%;*/
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 8px; /* Soft corners for images */
    box-shadow: 0 3px 10px rgba(0,0,0,0.1); /* Subtle shadow */
}
    /* Portrait images (taller than wide) */
    .testimonial-img.portrait {
        width: auto;
        height: 90%;
    }

    /* Landscape images (wider than tall) */
    .testimonial-img.landscape {
        width: 90%;
        height: auto;
    }

    .testimonial-img[src*=".jpeg"],
    .testimonial-img[src*=".jpg"],
    .testimonial-img[src*=".png"] {
        background: white;
        padding: 10px;
    }

    /* For certificate/poster type images */
    .testimonial-img.poster-type {
        object-fit: contain;
        background: white;
        border: 1px solid #eaeaea;
        padding: 8px;
    }


/* Hover effect */
.testimonial-card:hover .testimonial-img {
    transform: scale(1.03);
}

.testimonial-img[src*="default-avatar.png"],
.testimonial-img.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 0;
}
/* Fallback for object-fit in older browsers */
@supports not (object-fit: cover) {
    .testimonial-img {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%);
        width: auto;
        height: auto;
    }
}

/* Default avatar image */
.testimonial-img[src*="default-avatar.png"] {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

/* Testimonial Body */
.testimonial-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-title {
    font-weight: 600;
    color: #0c1a3a;
    margin-bottom: 5px;
    font-size: 1.2rem;
    line-height: 1.4;
    flex-shrink: 0;
}

.testimonial-position {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
    flex-shrink: 0;
}

.testimonial-content {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.rating {
    margin-top: 10px;
    flex-shrink: 0;
}

.star {
    color: #ddd;
    font-size: 1.2rem;
    margin-right: 3px;
}

    .star.filled {
        color: #ffc107;
    }

/* Carousel Container */
.testimonial-carousel-container {
    position: relative;
    padding: 0 50px;
}

.testimonial-carousel-wrapper {
    position: relative;
}

/* Carousel Controls */
.carousel-control-prev.testimonial-prev,
.carousel-control-next.testimonial-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(12, 26, 58, 0.8) !important;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

    .carousel-control-prev.testimonial-prev:hover,
    .carousel-control-next.testimonial-next:hover {
        opacity: 1;
    }

.carousel-control-prev.testimonial-prev {
    left: 0;
}

.carousel-control-next.testimonial-next {
    right: 0;
}

    .carousel-control-prev.testimonial-prev[disabled],
    .carousel-control-next.testimonial-next[disabled] {
        opacity: 0.3;
        cursor: not-allowed;
    }

/* Carousel Viewport */
.testimonial-viewport {
    overflow: hidden;
    padding: 10px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 15px;
}

/* Indicators */
.testimonial-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .indicator-dot.active {
        background: #0c1a3a;
        transform: scale(1.2);
    }

    .indicator-dot:hover {
        background: #4facfe;
        transform: scale(1.1);
    }

/* Responsive Grid for Direct Display */
.row.justify-content-center.g-4 {
    margin: 0 -10px;
}

    .row.justify-content-center.g-4 > div {
        padding: 0 10px;
        margin-bottom: 20px;
    }

/* ====================
   RESPONSIVE BREAKPOINTS
   ==================== */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .testimonial-slide .row .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .testimonial-img-container {
        height: 280px;
        /*padding: 20px;*/
    }

    .testimonial-img.portrait {
        height: 95%;
    }

    .testimonial-img.landscape {
        width: 95%;
    }

    .testimonial-carousel-container {
        padding: 0 60px;
    }

    .carousel-control-prev.testimonial-prev {
        left: -20px;
    }

    .carousel-control-next.testimonial-next {
        right: -20px;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .testimonial-slide .row .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .testimonial-img-container {
        height: 220px;
        /*padding: 12px;*/
    }

    .testimonial-body {
        padding: 15px;
    }

    .testimonial-title {
        font-size: 1.1rem;
    }

    .testimonial-carousel-container {
        padding: 0 40px;
    }

    .testimonial-content {
        -webkit-line-clamp: 3;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .testimonial-slide .row .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .testimonial-img-container {
        height: 240px;
    }

    .testimonial-carousel-container {
        padding: 0 30px;
    }

    .carousel-control-prev.testimonial-prev,
    .carousel-control-next.testimonial-next {
        width: 40px;
        height: 40px;
    }

    .testimonial-indicators {
        margin-top: 20px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .testimonials-section {
        padding: 30px 0;
    }

        .testimonials-section h2 {
            font-size: 1.8rem !important;
            margin-bottom: 25px !important;
        }

    .testimonial-slide .row {
        margin: 0;
    }

        .testimonial-slide .row .col-sm-12 {
            flex: 0 0 100%;
            max-width: 100%;
            padding: 0 5px;
        }

    .testimonial-card {
        margin: 0 5px;
    }

    .testimonial-img-container {
        height: 220px;
        /*padding: 10px;*/
    }


    .testimonial-body {
        padding: 15px;
    }

    .testimonial-title {
        font-size: 1rem;
    }

    .testimonial-content {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
    }

    .testimonial-carousel-container {
        padding: 0 20px;
    }

    .carousel-control-prev.testimonial-prev,
    .carousel-control-next.testimonial-next {
        width: 35px;
        height: 35px;
        top: 40%;
    }

    .carousel-control-prev.testimonial-prev {
        left: -10px;
    }

    .carousel-control-next.testimonial-next {
        right: -10px;
    }

    .testimonial-indicators {
        margin-top: 15px;
    }

    .indicator-dot {
        width: 10px;
        height: 10px;
    }

    .testimonial-img {
        border-radius: 6px;
    }
}

/* For very small screens (less than 400px) */
@media (max-width: 400px) {
    .testimonial-img-container {
        height: 200px;
        /*padding: 8px;*/
    }

    .testimonial-body {
        padding: 12px;
    }

    .testimonial-title {
        font-size: 0.95rem;
    }

    .testimonial-content {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .carousel-control-prev.testimonial-prev,
    .carousel-control-next.testimonial-next {
        width: 30px;
        height: 30px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .testimonial-card:hover {
        transform: none;
    }

    .testimonial-card:active {
        transform: scale(0.98);
    }

    .carousel-control-prev.testimonial-prev,
    .carousel-control-next.testimonial-next {
        opacity: 0.7;
    }

    .indicator-dot {
        width: 14px;
        height: 14px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .testimonial-card {
        box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    }
}

/* Print styles */
@media print {
    .testimonials-section {
        break-inside: avoid;
    }

    .testimonial-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .carousel-control-prev.testimonial-prev,
    .carousel-control-next.testimonial-next,
    .testimonial-indicators {
        display: none;
    }
}