/* General Body Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #212121;
}

.dashboard-container {
    display: flex;
    background-color: #f6f6f6;
}

/* Sidebar Styles */
.sidebar {
    width: 240px; /* Updated width */
    background-color: #fff;
    border-right: 1px solid #e4e3e7;
    padding: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-shrink: 0; /* Prevent sidebar from shrinking */
}

.sidebar .logo {
    margin-bottom: 40px;
}

.logo-svg {
    width: 91px;
    height: 25px;
}

.sidebar-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #77767b;
    margin-bottom: 20px;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.main-nav li {
    margin-bottom: 10px;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #3f3f46;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.main-nav a:hover {
    color: #f26633;
    background-color: rgba(242, 102, 51, 0.1);
}

.main-nav a svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: color 0.2s ease-in-out;
}

.main-nav a svg path {
    stroke: currentColor;
    fill: none; /* Ensure fill is none for stroke icons */
}

.main-nav li.active a {
    color: #007996;
    font-weight: 600;
}

.nav-spacer {
    flex-grow: 1;
}

/* Main Content Styles */
.main-content {
    flex-grow: 1;
    padding: 20px;
    background-color: #f6f6f6;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px 20px;
    margin: -20px -20px 20px -20px;
    border-bottom: 1px solid #e4e3e7;
}

.main-header h1 {
    font-size: 20px;
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.header-actions input {
    border: 1px solid #e5e4e6;
    border-radius: 6px;
    padding: 8px 40px 8px 12px;
    font-family: 'Poppins', sans-serif;
    width: 200px;
    transition: width 0.3s ease-in-out;
}

.header-actions input:focus {
    width: 300px;
    outline: 2px solid #007996;
    outline-offset: -1px;
}

.search-shortcut {
    position: absolute;
    right: 8px;
    display: flex;
    gap: 2px;
    align-items: center;
    background-color: #f6f6f6;
    padding: 2px 4px;
    border-radius: 4px;
    border: 1px solid #e5e4e6;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #64748b;
    pointer-events: none;
}

.profile-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5e4e6;
    border-radius: 6px;
    padding: 4px;
    cursor: pointer;
}

.header-actions .avatar {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    object-fit: cover;
}

/* Profile Dropdown Styles */
.profile-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background-color: white;
    border: 1px solid #e5e4e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 220px;
    z-index: 100;
    padding: 8px;
}

.profile-dropdown.show {
    display: block;
}

.profile-dropdown .dropdown-title {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.profile-dropdown a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #3f3f46;
    font-size: 14px;
    border-radius: 4px;
}

.profile-dropdown a:hover {
    background-color: #f6f6f6;
}

.profile-dropdown hr {
    border: none;
    border-top: 1px solid #e4e3e7;
    margin: 8px 0;
}


.content-area {
    display: flex;
    gap: 24px;
}

.main-column {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.right-sidebar {
    width: 286px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Card Styles */
.hero-card {
    background-color: #007996;
    color: white;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text h2 {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 4px 0;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.44);
    margin: 0;
}
.hero-profile {
    text-align: right;
}

.hero-profile p {
    margin: 0 0 4px 0;
}
.hero-profile .email {
    color: rgba(255, 255, 255, 0.49);
    margin-bottom: 16px;
}


.info-card {
    background-color: #fff;
    border: 1px solid #dedede;
    border-radius: 22px;
    padding: 35px;
}

.info-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.info-header-text {
    flex-basis: 50%;
}

.info-header-text h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 18px;
}
.info-header-text p {
    font-size: 14px;
    line-height: 1.7;
}

/* Slider Styles */
.slider-container {
    position: relative;
    flex-basis: 50%;
    aspect-ratio: 439 / 318;
    border-radius: 16px;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.info-header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
}

.slider-arrow {
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50%;
    width: 51px;
    height: 51px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4.5px);
    -webkit-backdrop-filter: blur(4.5px);
    transition: background-color 0.2s ease;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}


.faq-section {
    background-color: #f6f6f69e;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 12px;
    padding: 34px 32px;
    margin-bottom: 16px;
}

.faq-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}
.faq-section h4 svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.faq-section h5 {
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
}

.faq-section p {
    font-size: 14px;
    line-height: 1.7;
}

.faq-section a {
    color: #007996;
}

.moving-section {
    display: flex;
    gap: 35px;
    align-items: center;
}
.moving-img {
    width: 468px;
    height: 251px;
    border-radius: 12px;
}

.moving-text h3 {
    font-size: 24px;
    text-transform: capitalize;
    margin-bottom: 16px;
}
.moving-text a {
    color: #212121;
    text-decoration: none;
}
.moving-text a:hover {
    text-decoration: underline;
}

.faq-accordion-section {
    text-align: center;
}
.faq-accordion-section h3 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px; /* Reduced padding */
}
.faq-accordion-section p {
    font-size: 20px;
    margin-bottom: 24px;
}

/* FAQ Accordion Styles */
.faq-accordion {
    text-align: left;
}
.faq-item {
    border-bottom: 1px solid #dedede;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 18px; /* Larger font size */
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
}
.faq-toggle .line1, .faq-toggle .line2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background-color: #007996;
    transition: transform 0.3s ease-in-out;
}
.faq-toggle .line1 {
    transform: translate(-50%, -50%) rotate(0deg);
}
.faq-toggle .line2 {
    transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item.active .faq-toggle .line1 {
    transform: translate(-50%, -50%) rotate(45deg);
}
.faq-item.active .faq-toggle .line2 {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    font-size: 13px; /* Reduced font size */
}
.faq-answer p {
    padding: 0 0 20px 0;
    line-height: 1.6;
}


/* Widget Styles */
.widget-card {
    background-color: #fff;
    border: 1px solid #dedede;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.widget-card hr {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.11);
    margin: 24px 0;
}
.widget-card h4 {
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 14px;
}
.widget-card p {
    font-size: 14px;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 12px;
}
.widget-card strong {
    font-weight: 500;
}

.widget-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    margin: 0 auto 10px;
    object-fit: cover;
}
.widget-title {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.44);
    margin: 0;
}
.widget-card > p strong {
    font-size: 16px;
    color: #212121;
}

.widget-date {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.44);
    margin-bottom: 12px;
}
.widget-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 12px;
}
.widget-card li {
    margin-left: 1em;
}
.widget-card a {
    color: #212121;
    text-decoration: underline;
}
.widget-card a:hover {
    color: #007996;
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-tertiary, .btn-secondary-outline, .btn-tertiary-outline {
    border-radius: 6px;
    padding: 9px 25px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    width: 100%;
    margin-bottom: 10px;
    display: block;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: #f26633;
    color: white;
}
.btn-primary:hover {
    background-color: #d45a2d; /* Darker shade for hover */
}

.btn-secondary {
    background-color: #fff;
    border-color: #f5f5f5;
    color: #212121;
}
.btn-secondary:hover {
    background-color: #f0f0f0; /* Lighter grey for hover */
}

.btn-tertiary {
    background-color: #007996;
    color: white;
}
.btn-tertiary:hover {
    background-color: #005f79;
}

.btn-secondary-outline {
    background-color: white;
    color: #007996;
    border: 1px solid #007996;
}
.btn-secondary-outline:hover {
    background-color: #e6f2f5; /* Light blue for hover */
}

.btn-tertiary-outline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}
.btn-tertiary-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
