/**
 * Theme Name:     Hello Elementor Child
 * Author:         Abdul rakib
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */
:root {
    --primary-color: #34b9fa;
    --accent-color: #bd1a2a;
}

body {
    font-weight: 400;
}

.ab-text-hightlight {
    background-color: #34b9fa;
    color: #fff;
    padding: 2px 3px;
}

/* Custom Header Styles */
.site-header {
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0px 3px 10px rgba(0, 0, 0, .05);
}

@media (max-width: 1024px) {
    .site-header {
        max-width: 100% !important;
        padding-inline-end: 10px !important;
        padding-inline-start: 10px !important;
    }

    .site-header .site-branding .site-logo img {
        width: 100% !important;
        max-width: 150px !important;
    }

    .ab-select-field {
        padding-right: 0px !important;
    }
}

.ab-customize-header .header-inner {
    max-width: 1400px !important;
}

nav.site-navigation.show {
    display: flex !important;
}

.ab-customize-header .site-navigation ul.menu {
    gap: 10px;
}

.ab-customize-header .site-navigation-toggle-holder .site-navigation-toggle-icon:before {
    margin-bottom: 12px;
    box-shadow: 0 0.48rem 0 currentColor;
}

.ab-customize-header .site-navigation-toggle-holder .site-navigation-toggle-icon {
    width: 32px;
}

.ab-customize-header .site-navigation-toggle-holder .site-navigation-toggle[aria-expanded=true] .site-navigation-toggle-icon:after {
    transform: translateY(-0.45rem) rotate(-45deg);
}

.ab-customize-header .site-navigation-toggle-holder .site-navigation-toggle[aria-expanded=true] .site-navigation-toggle-icon:before {
    box-shadow: none;
    transform: translateY(.45rem) rotate(45deg);
}

.site-navigation-dropdown ul.menu li a {
    text-transform: uppercase;
    color: #333;
}

.ab-customize-header .site-navigation ul a {
    transition: all .3s ease-in-out;
}

.ab-customize-header .site-navigation ul a:hover {
    color: #bd1a2a !important;
}

.ab-header-search-icon svg {
    stroke: #fff;
    transition: all .3s ease-in-out;
}

.ab-header-search-icon:hover svg {
    stroke: #c36;
}

.ab-header-search {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
}

a.ab-header-search-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Hero Search************* */
.ab-search-container {
    display: flex;
}

.ab-search-form {
    display: flex;
    border: 2px solid #c4c5c7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
    width: 80%;
}

.ab-select-wrapper,
.ab-input-wrapper {
    position: relative;
    border-right: 2px solid #c4c5c7;
}

.ab-input-wrapper {
    flex: 2;
}

.ab-select-wrapper {
    flex: 1;
}

.ab-select-wrapper:last-of-type,
.ab-input-wrapper:last-of-type {
    border-right: none;
}

.ab-select-field,
.ab-input-field {
    padding: 15px 25px;
    font-size: 16px;
    border: none;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.ab-select-field {
    padding-right: 30px;
}

.ab-select-wrapper::after {
    content: '▼';
    font-size: 12px;
    color: #888;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.ab-input-field {
    width: 200px;
    height: 100%;
    border: none !important;
    outline: none;
}

.ab-search-button {
    background-color: var(--primary-color) !important;
    border: none;
    color: #fff !important;
    padding: 10px 20px;
    border: none !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.ab-search-button:hover {
    background-color: #bd1a2a !important;
}

.ab-search-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

/* For smaller screens, adjust the layout */
@media (max-width: 600px) {
    .ab-search-form {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
    }

    .ab-select-wrapper,
    .ab-input-wrapper {
        border-right: none;
        border-bottom: 1px solid #ccc;
    }

    .ab-input-field,
    .ab-select-field {
        width: 100%;
        height: 55px;
        box-sizing: border-box;
    }

    .ab-search-button {
        width: 100%;
        border-radius: 0 0 8px 8px;
    }
}





/* Footer **************** */

.ab-custom-footer {
    padding: 50px 0px !important;
}

.ab-custom-footer .site-navigation li a {
    font-size: 16px !important;
    text-transform: uppercase;
    color: #898daf;
    font-weight: 600;
}

.ab-custom-footer .site-navigation {
    padding-top: 20px;
    border-top: 1px solid #6b64649c;
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ab-custom-footer .copyright {
    display: none !important;
}

@media (max-width: 768px) {
    .site-footer .footer-inner .site-branding .site-logo img {
        max-width: 180px !important;
    }

    .ab-custom-footer {
        padding: 30px 0px !important;
    }
}





/* Page Loading Overlay Styles */
.page-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loading-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.page-loading-content {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 2rem;
}

.page-loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: page-spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-top-color: rgba(255, 255, 255, 0.6);
    animation-duration: 2s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    border-top-color: rgba(255, 255, 255, 0.4);
    animation-duration: 1s;
}

@keyframes page-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.page-loading-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-loading-text {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Ensure main content is hidden initially */
.universities-page {
    transition: opacity 0.3s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-loading-content {
        padding: 1rem;
    }

    .page-loading-spinner {
        width: 60px;
        height: 60px;
    }

    .spinner-ring:nth-child(2) {
        width: 45px;
        height: 45px;
        top: 7.5px;
        left: 7.5px;
    }

    .spinner-ring:nth-child(3) {
        width: 30px;
        height: 30px;
        top: 15px;
        left: 15px;
    }

    .page-loading-title {
        font-size: 1.25rem;
    }

    .page-loading-text {
        font-size: 0.9rem;
    }
}


/* Loading & States */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
    color: #64748b;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.full-page-loading {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
	min-height: 70vh;
}

.full-page-loading>* {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loading-spinner-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}



/* Contact css************ */
.wp-custom-form .wpforms-container .wpforms-field {
    margin: 0px !important;
    padding: 0px !important;
    display: flex;
    flex-direction: column;
}

.wp-custom-form .wpforms-field-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wp-custom-form button {
    width: 250px !important;
    background: #7a072d !important;
}

.wp-custom-form button:hover {
    background: #db0d4b !important;
}

.wp-custom-form .wpforms-container .wpforms-field label {
    font-weight: 500 !important;
}

.wpforms-title {
    font-size: 48px !important;
}

@media (width < 768px) {
    .wpforms-title {
        font-size: 32px !important;
    }
}



/* Blog css************* */
.ab-archive-page {
    max-width: 1400px;
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 60px 0px;
}

.custom-page-header .page-title {
    font-size: 52px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 0px;
}

nav.custom-blog-breadcrumb ol {
    padding: 0px;
    margin: 0px;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

nav.custom-blog-breadcrumb .separator {
    color: #cccccc;
    margin: 0px 5px 0px 5px;
}

span.breadcrumb-current {
    color: #21285C;
}

.blog-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
}

.blog-container .left-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.blog-container .left-sidebar h2 {
    font-size: 26px;
    margin: 0px;
}

.blog-container .left-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.blog-container .left-sidebar ul li a {
    color: #333;
    font-size: 20px;
    padding: 5px 0px;
    display: block;
    transition: all .3s;
}

.blog-container .left-sidebar ul li a:hover {
    color: red;
}

.blog-container .left-sidebar form {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.blog-container .left-sidebar form input {
    border-radius: 10px;
    border-color: #ccc;
}

.blog-container .left-sidebar form input[type="submit"] {
    background: linear-gradient(135deg, #21285C 0%, #212861 100%);
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
}

.blog-container .left-sidebar form input[type="submit"]:hover {
    background: linear-gradient(135deg, #354196 0%, #1d2452 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white;
}

.blog-content {
    margin-top: 45px;
}

.blog-post {
    display: flex;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, .1);
    overflow: hidden;
}

.blog-post.first-post {
    flex-direction: column;
}

.post-image {
    width: 100%;
    height: 400px;
}

.post-image img,
.post-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-post-info h2 a {
    color: #333;
    text-decoration: none;
    transition: all .3s;
}

.blog-post-info h2 a:hover {
    color: #7a072d;
}

.blog-post-info h2 {
    margin: 0px 0px 10px;
    padding: 0px;
    font-size: 22px;
    font-weight: 500;
}

.blog-post-info {
    display: flex;
    flex-direction: column;
    padding: 20px;
    justify-content: center;
}

.blog-post-info p {
    margin: 0px;
}

.blog-content .page-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-image-right {
    height: 200px;
    aspect-ratio: 1;
}

a.blog-post-more-link {
    background: linear-gradient(135deg, #21285C 0%, #212861 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #21285C;
    border-radius: 10px 10px 10px 10px;
    color: #fff;
    text-decoration: none !important;
    padding: 5px 20px;
    margin-top: 10px;
    display: inline-block;
    transition: all .3s;
}

.blog-post-more-link:hover {
    background: linear-gradient(135deg, #354196 0%, #1d2452 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white;
}

@media (width < 1024px) {
    .blog-container {
        grid-template-columns: 250px 1fr;
        gap: 20px;
    }
}

@media (width < 800px) {
    .blog-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    nav.custom-blog-breadcrumb ol {
        margin-bottom: 60px;
    }

    .blog-content {
        margin-top: 0px;
    }
}

@media (width < 620px) {
    .blog-post.other-post {
        flex-direction: column;
    }

    .post-image {
        height: 300px;
    }

    .post-image-right {
        height: 300px;
    }
}


/* Single post page *************** */
.custom-single {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 0px;
    align-items: center;
}

.custom-single .header-left {
    flex: 1 1 50%;
}

.custom-single .header-right {
    flex: 1 1 50%;
    text-align: right;
}

.custom-single .header-right img {
    max-width: 100%;
    height: auto;
}

.custom-single .breadcrumb {
    font-size: 14px;
    color: #555;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.custom-single .entry-title {
    font-size: 2rem;
    margin: 0 0 1rem;
}

.custom-single .post-meta {
    font-size: 14px;
    color: #555;
}

.custom-single .single-body {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
}

.custom-single .post-content {
    flex: 1 1 70%;
}

.custom-single .post-sidebar {
    flex: 1 1 30%;
}

.post-sidebar h3 {
    font-size: 16px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.related-post {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-title {
    font-size: 14px;
    color: #333;
}

.featured-image {
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
}

section.single-post-header {
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, .07);
}

.single-post-header-box__info {
    padding: 10px 20px 20px;
}

.single-post-header-box h1 {
    margin: 0px 0px 10px !important;
}

.related-post .related-thumb {
    max-width: 150px;
    overflow: hidden;
    width: 100px;
}

.related-post .related-thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    display: block;
}

.related-post a {
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, .1);
}

.related-post .related-title {
    flex: 1;
}

.author-info {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.blog-post-info .author-info {
    margin: 0px;
    border: none;
    padding: 0px;
}

.author-header {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.author-header .written-by {
    color: #555;
}

.author-header .author-name a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.author-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.meta-separator {
    margin: 0 6px;
    color: #aaa;
}

.author-bio {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

@media (width < 1000px) {
    .custom-single .post-sidebar {
        display: none;
    }
}

@media (width < 600px) {
    .custom-single .entry-title {
        font-size: 24px;
    }

    .custom-single h2,
    .custom-single h3 {
        font-size: 24px;
    }
}


/* Service *********** */

.elementor-image-box-content {
    padding-inline: 20px !important;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #21285C 0%, #212861 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    line-height: 1;
}

.view-btn:hover {
    background: linear-gradient(135deg, #354196 0%, #1d2452 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white;
    text-decoration: none;
}

.view-btn.apply-btn {
    background: #bd1a2a;
}


/* Search Results Styles */
.search-results {
    background: linear-gradient(135deg, #21285C 0%, #212861 100%);
    min-height: 100vh;
    padding: 2rem 0;
    color: #ffffff;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.search-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.search-query {
    color: #4fd1c7;
    font-weight: 600;
}

.search-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.search-form-wrapper label {
    width: 100%;
}

.search-form-wrapper .search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0;
}

.search-form-wrapper .search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-form-wrapper .search-field:focus {
    outline: none;
    border-color: #4fd1c7;
    background: rgba(255, 255, 255, 0.15);
}

.search-form-wrapper .search-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-form-wrapper .search-submit {
    padding: 0.75rem 1.5rem;
    background: #4fd1c7;
    color: #21285C;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form-wrapper .search-submit:hover {
    background: #45b7ae;
    transform: translateY(-2px);
}

.search-results-list {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.search-result-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.entry-header .entry-title {
    margin-bottom: 0.5rem;
}

.entry-header .entry-title a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.entry-header .entry-title a:hover {
    color: #4fd1c7;
}

.entry-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.entry-summary {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.entry-footer .read-more {
    color: #4fd1c7;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.entry-footer .read-more:hover {
    color: #45b7ae;
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-results h2 {
    color: #4fd1c7;
    margin-bottom: 1rem;
}

.no-results p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.search-suggestions {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.search-suggestions h3 {
    color: #4fd1c7;
    margin-bottom: 1rem;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.search-suggestions li:before {
    content: "→";
    color: #4fd1c7;
    margin-right: 0.5rem;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 3rem;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination .nav-links a,
.pagination .nav-links span {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.pagination .nav-links a:hover {
    background: #4fd1c7;
    color: #21285C;
    transform: translateY(-2px);
}

.pagination .nav-links .current {
    background: #4fd1c7;
    color: #21285C;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-results {
        padding: 1rem 0;
    }

    .search-title {
        font-size: 2rem;
    }

    .search-form-wrapper .search-form {
        flex-direction: column;
    }

    .search-result-item {
        padding: 1.5rem;
    }

    .entry-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .search-title {
        font-size: 1.5rem;
    }

    .search-result-item {
        padding: 1rem;
    }
}