/*
Theme Name: Quantum Movement
Description: A modern WordPress theme designed for Quantum Movement with flexible header options and customizable page titles.
Version: 1.0.0
Author: Quantum Movement
Text Domain: quantum-movement
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* outline: 1px solid red !important; */
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #007cba;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #005a87;
}

/* Container */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    position: relative;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.site-header.transparent {
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
}

/* Transparent header white text styling */
.site-header.transparent .site-title,
.site-header.transparent .site-title a,
.site-header.transparent .site-description {
    color: #fff;
}

.site-header.transparent .menu.main-menu > li > a {
    color: #fff;
}

.site-header.transparent .menu.main-menu > li > a:hover,
.site-header.transparent .menu.main-menu > li.current-menu-item > a {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.site-header.transparent .menu-toggle {
    color: #fff;
}

.site-header.transparent .btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.site-header.transparent .btn-login:hover,
.site-header.transparent .btn-login:focus {
    background: #fff;
    color: #0a2533;
}

.site-header.white {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    position: relative;
}

.site-branding {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: inherit;
}

.site-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Navigation */
.main-navigation {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.menu.main-menu {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu.main-menu>li {
    position: relative;
}

.menu.main-menu>li>a {
    font-size: 1rem;
    font-weight: 500;
    color: #0a2533;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.menu.main-menu>li>a:hover,
.menu.main-menu>li.current-menu-item>a {
    background: #00323d;
    color: #fff;
}

.menu.main-menu>li.menu-item-has-children>a {
    position: relative;
    padding-right: 2rem;
}

.menu.main-menu>li.menu-item-has-children>a::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    position: absolute;
    right: 0rem;
    top: 50%;
    transform: translateY(-50%);
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"/></svg>') no-repeat center center;
    background-size: 1em 1em;
    pointer-events: none;
}

.menu.main-menu>li.menu-item-has-children>a .feather {
    font-size: 1em;
    vertical-align: middle;
    margin-left: 0.3em;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.menu.main-menu>li:hover>a::after,
.menu.main-menu>li:focus-within>a::after {
    filter: brightness(0) invert(1);
}

.menu.main-menu>li ul.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 0.5rem);
    min-width: 180px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    z-index: 100;
    padding: 0.5rem 0;
}

.menu.main-menu>li:hover>ul.sub-menu,
.menu.main-menu>li:focus-within>ul.sub-menu {
    display: block;
}

.menu.main-menu ul.sub-menu,
.menu.main-menu ul.sub-menu li {
    list-style: none;
}

.menu.main-menu ul.sub-menu li a {
    color: #0a2533;
    padding: 0.5rem 1.25rem;
    display: block;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 400;
    transition: background 0.2s, color 0.2s;
}

.menu.main-menu ul.sub-menu li a:hover {
    background: #f0f8fa;
    color: #007cba;
}

.header-actions {
    flex: 0 0 auto;
    margin-left: 2rem;
    display: flex;
    align-items: center;
}

.btn,
.btn-demo,
.btn-login {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    margin-left: 1rem;
}

.btn-demo {
    background: #2ed0e7;
    color: #fff;
    box-shadow: 0px 10px 15px 0px #0000001A;
}

.btn-demo:hover,
.btn-demo:focus {
    background: #1bb6d6;
    color: #fff;
    box-shadow: 0px 4px 6px 0px #0000001A;
}

.btn-login {
    background: #f0f8fa;
    color: #00323d;
    box-shadow: 0px 10px 15px 0px #0000001A;
}

.btn-login:hover,
.btn-login:focus {
    background: #e0f4fa;
    color: #00323d;
    box-shadow: 0px 4px 6px 0px #0000001A;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    margin-left: 1rem;
}

/* Page Title Section */
.page-title-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-title-section.hidden {
    display: none;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.breadcrumbs {
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumbs a {
    color: inherit;
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
}

/* Main Content */
.site-main {
    padding: 3rem 0;
    min-height: 60vh;
}

/* Homepage Sections */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn,
.btn-demo,
.btn-login {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #007cba;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-login {
    background: #f0f8fa;
    color: #00323d;
    box-shadow: 0px 10px 15px 0px #0000001A;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    margin-left: 1rem;
    border: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border-radius: 5px;
}

.btn-login:hover,
.btn-login:focus {
    background: #e0f4fa;
    color: #00323d;
    box-shadow: 0px 4px 6px 0px #0000001A;
}

/* Featured Content */
.featured-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.featured-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-title a {
    color: #333;
}

.card-title a:hover {
    color: #007cba;
}

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

.card-excerpt {
    margin-bottom: 1rem;
    color: #555;
}

.read-more {
    color: #007cba;
    font-weight: 500;
}

.read-more:hover {
    color: #005a87;
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.about-image {
    text-align: center;
}

.placeholder-image {
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    color: #007cba;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #555;
    line-height: 1.6;
}

/* Blog Posts */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.post-content {
    padding: 1.5rem;
}

.entry-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.entry-title a {
    color: #333;
}

.entry-title a:hover {
    color: #007cba;
}

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

.entry-meta span {
    margin-right: 1rem;
}

.entry-summary {
    color: #555;
    margin-bottom: 1rem;
}

/* Single Post */
.single-post {
    /* max-width: 800px; */
    margin: 0 auto;
}

.single-post .post-thumbnail {
    margin-bottom: 2rem;
}

.single-post .post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.single-post .entry-header {
    margin-bottom: 2rem;
}

.single-post .entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.single-post .entry-meta {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.single-post .entry-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.single-post .entry-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Page Content */
.page-content {
    max-width: 1300px;
    margin: 0 auto;
}

.page-content .entry-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

/* Search Form */
.search-form {
    margin: 2rem 0;
}

.search-input-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-field {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-submit {
    background: #007cba;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-submit:hover {
    background: #005a87;
}

/* Search Results */
.search-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.search-title span {
    color: #007cba;
}

.search-count {
    font-size: 1.1rem;
    color: #666;
}

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

.search-result {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.search-result:hover {
    transform: translateY(-2px);
}

.result-thumbnail img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.result-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.result-title a {
    color: #333;
}

.result-title a:hover {
    color: #007cba;
}

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

.result-meta span {
    margin-right: 1rem;
}

.result-excerpt {
    color: #555;
    margin-bottom: 1rem;
}

.no-results {
    text-align: center;
    padding: 3rem 0;
}

.no-results h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.no-results p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.search-suggestions {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

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

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

.search-suggestions li {
    padding: 0.5rem 0;
    color: #555;
}

.search-suggestions li:before {
    content: "•";
    color: #007cba;
    font-weight: bold;
    margin-right: 0.5rem;
}

.search-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.search-form-container h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* 404 Error Page */
.error-404 {
    text-align: center;
    padding: 4rem 0;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 8rem;
    font-weight: 700;
    color: #007cba;
    margin-bottom: 1rem;
    line-height: 1;
}

.error-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.error-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.recent-posts {
    text-align: left;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.recent-posts h3 {
    margin-bottom: 1rem;
    color: #333;
}

.recent-posts ul {
    list-style: none;
    padding: 0;
}

.recent-posts li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts a {
    color: #007cba;
}

.recent-posts a:hover {
    color: #005a87;
}

/* Footer */
.site-footer {
    background: #06242b;
    color: #b6c3cb;
    padding: 3.5rem 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
    max-width: 100vw;
}

.footer-widgets-container,
.footer-bottom-inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px;
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: 40% 20% 20% 20%;
    gap: 3.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.footer-widget-col h3 {
    color: #fff;
    font-size: 1.18rem;
    margin-bottom: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.footer-widget-col {
    font-size: 1.08rem;
}

.footer-widget-col-1 {
    font-size: 1.13rem;
    color: #b6c3cb;
    padding-right: 2rem;
}

.footer-widget-col-1 .social-links {
    display: flex;
    gap: 1.1rem;
    margin-top: 1.7rem;
}

.footer-widget-col-1 .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: none;
    color: #b6c3cb;
    font-size: 1.45rem;
    border: 2px solid #b6c3cb;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.footer-widget-col-1 .social-links a:hover {
    background: #b6c3cb;
    color: #06242b;
    border-color: #b6c3cb;
}

.footer-widget-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-col ul li {
    margin-bottom: 0.6rem;
}

.footer-widget-col ul li:last-child {
    margin-bottom: 0;
}

.footer-widget-col ul li a {
    color: #b6c3cb;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-widget-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1.5px solid #18343b;
    padding-top: 1.7rem;
    text-align: left;
    opacity: 0.85;
    margin-top: 2.5rem;
}

.footer-bottom-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 56px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 1.04rem;
    color: #b6c3cb;
}

.footer-bottom-inner a {
    color: #b6c3cb;
    margin-left: 2.2rem;
    text-decoration: none;
    font-size: 1.04rem;
    transition: color 0.2s;
}

.footer-bottom-inner a:hover {
    color: #fff;
}

.footer-copyright {
    letter-spacing: 0.01em;
}

.footer-copyright-menu {
    display: flex !important;
    flex-direction: row !important;
    gap: 2.2rem;
    margin-left: auto;
    list-style: none !important;
    padding: 0 !important;
    align-items: center;
}
.footer-copyright-menu li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.footer-copyright-menu a {
    color: #b6c3cb;
    text-decoration: none;
    font-size: 1.04rem;
    transition: color 0.2s;
}

.footer-copyright-menu ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 2.2rem;
    margin-left: auto;
    list-style: none !important;
    padding: 0 !important;
    align-items: center;
}
.footer-copyright-menu li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}


.footer-copyright-menu a:hover {
    color: #fff;
}

@media (max-width: 1200px) {
    .footer-widgets-container {
        padding: 0 24px;
    }
    .footer-bottom-inner {
        padding: 0 24px;
    }
}

@media (max-width: 1024px) {
    .footer-widgets-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 700px) {
    .footer-widgets-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 12px;
    }
    .footer-widgets-container {
        padding: 0 12px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #005a87;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {

    .subtitle {
        font-size: 1.1rem;
        width: 100%;
    }

    .header-content {
        padding: 1rem 0;
    }

    .menu.main-menu {
        gap: 1.2rem;
    }

    .header-actions {
        margin-left: 1rem;
    }
}

@media (max-width: 900px) {
    .main-navigation {
        justify-content: flex-end;
    }

    .menu.main-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .offcanvas-menu-list,
    .offcanvas-menu-list li,
    .offcanvas-menu-list ul,
    .offcanvas-menu-list ul li {
        list-style: none;
    }
    .offcanvas-login,
    .offcanvas-demo {
        display: block;
        width: 100%;
        text-align: center;
        padding: 16px 0;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1rem;
        margin: 0.5rem 0 0.5rem 0 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        border: none;
        transition: background 0.2s, color 0.2s;
    }
    .offcanvas-login {
        background: #f0f8fa;
        color: #00323d !important;
    }
    .offcanvas-login:hover,
    .offcanvas-login:focus {
        background: #e0f4fa;
        color: #00323d;
    }
    .offcanvas-demo {
        background: #2ed0e7;
        color: #fff;
    }
    .offcanvas-demo:hover,
    .offcanvas-demo:focus {
        background: #1bb6d6;
        color: #fff;
    }
    .main-title {
        font-size: 2rem;
        width: 80%;
    }
    .subtitle {
        font-size: 1.05rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    body, p, .page-content {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .offcanvas-menu {
        width: 90vw;
        min-width: 0;
        padding: 1.5rem 1rem 1rem 1rem;
    }

    .btn-demo {
        padding: 0.75rem 1.2rem;
        font-size: 1rem;
    }
    .main-title {
        font-size: 1.3rem;
    }
    .subtitle {
        font-size: 0.95rem;
    }
    h1 {
        font-size: 1.3rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    h3 {
        font-size: 1rem;
    }
    body, p, .page-content {
        font-size: 0.97rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Skip Link */
.skip-link {
    background: #007cba;
    color: white;
    font-weight: 700;
    left: 6px;
    padding: 8px 16px;
    position: absolute;
    text-decoration: none;
    top: -40px;
    transition: top 0.3s ease;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* --- OFFCANVAS MOBILE MENU --- */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 24px rgba(0, 0, 0, 0.08);
    z-index: 2000;
    transition: right 0.35s cubic-bezier(.77, 0, .18, 1);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}

.offcanvas-menu.active {
    right: 0;
}

.offcanvas-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #0a2533;
    align-self: flex-end;
    margin-bottom: 2rem;
    cursor: pointer;
    display: block;
    z-index: 2100;
}

.offcanvas-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.offcanvas-menu-list li a {
    font-size: 1.2rem;
    color: #0a2533;
    font-weight: 500;
    padding: 0.5rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    display: block;
}

.offcanvas-menu-list li a:hover,
.offcanvas-menu-list li.current-menu-item>a {
    background: #00323d;
    color: #fff;
}

.offcanvas-demo {
    margin-top: 2rem;
    width: 100%;
    text-align: center;
}

.offcanvas-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 37, 51, 0.25);
    z-index: 1999;
    transition: opacity 0.3s;
    opacity: 0;
}

.offcanvas-overlay.active {
    display: block;
    opacity: 1;
}

.custom-logo img {
    width: 150px;
}

.menu-svg-icon {
    min-width: 20px;
    min-height: 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#page {
    padding-top: 0;
}
.site-header.scrolled ~ #page {
    padding-top: 90px; /* Adjust to match header height */
}

.offcanvas-menu-list .menu-item-has-children > ul {
    display: none;
    transition: max-height 0.3s ease;
    overflow: hidden;
}
.offcanvas-menu-list .menu-item-has-children.open > ul {
    display: block;
}

.offcanvas-menu-list .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.5em;
    vertical-align: middle;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"/></svg>') no-repeat center center;
    background-size: 1em 1em;
    transition: transform 0.3s;
}

.offcanvas-menu-list .menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}

.offcanvas-menu-list .menu-item-has-children > a {
    background: none;
}

.offcanvas-menu-list .menu-item-has-children.open > a {
    background: #00323d;
    color: #fff;
}

.custom-page-title-card {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: linear-gradient(90deg, var(--page-title-grad-1) 0%, var(--page-title-grad-2) 50%, var(--page-title-grad-3) 100%);
  color: #fff;
  padding: 60px 0 40px 0;
  text-align: center;
  overflow: hidden;
}

.main-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -1px;
  line-height: 1.2;
  width: 80%;
}

.subtitle {
  color: #7ee0ff;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0;
  margin-top: 0;
  width: 50%;
}

.dancing-icons {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.dancing-icons i {
  position: absolute;
  font-size: 2.2rem;
  color: #ffffff38;
  opacity: 1;
  background: rgba(60, 207, 226, 0.18); /* #3CCFE240 */
  border-radius: 50%;
  padding: 28px;
  box-shadow: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dancing-icons i svg {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  display: block;
}

.dancing-icons .icon-1 { top: 40px; left: 60px; animation-delay: 0s; }
.dancing-icons .icon-2 { top: 60px; right: 120px; animation-delay: 0.5s; }
.dancing-icons .icon-3 { bottom: 60px; left: 25%; animation-delay: 1s; }
.dancing-icons .icon-4 { bottom: 80px; right: 25%; animation-delay: 1.5s; }

@keyframes dance {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.08); }
  100% { transform: translateY(0) scale(1); }
}

.custom-page-title-card .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

:root {
  --page-title-grad-1: #101316;
  --page-title-grad-2: #002D3C;
  --page-title-grad-3: #0B1A2B;
}

@media (max-width: 900px) {
  .custom-page-title-card {
    max-width: 92vw;
  }
  .container {
    max-width: 92vw;
  }
  .dancing-icons i {
    font-size: 1.2rem;
    padding: 14px;
  }
  .dancing-icons .icon-1 { top: 24px; left: 18px; }
  .dancing-icons .icon-2 { top: 32px; right: 18px; }
  .dancing-icons .icon-3 { bottom: 24px; left: 18%; }
  .dancing-icons .icon-4 { bottom: 32px; right: 18%; }
}

@media (max-width: 600px) {
  .custom-page-title-card {
    max-width: 92vw;
  }
  .container {
    max-width: 92vw;
  }
  .main-title {
    font-size: 1.3rem;
  }
  .subtitle {
    font-size: 0.95rem;
    width: 100%;
  }
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  h3 {
    font-size: 1rem;
  }
  body, p, .page-content {
    font-size: 0.97rem;
  }
}

.dancing-circles {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.dancing-circle {
    position: absolute;
    border-radius: 50%;
    background: #3ccfe208;
    opacity: 1;
    pointer-events: none;
    animation: floatCircle 8s ease-in-out infinite alternate;
    padding: 100px;
}
.dancing-circle.circle-1 {
  width: 220px; height: 120px;
  top: 0; left: 25%;
  animation-delay: 0s;
}
.dancing-circle.circle-2 {
  width: 200px; height: 110px;
  bottom: 0; right: 25%;
  animation-delay: 1.5s;
}

@keyframes floatCircle {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-18px) scale(1.04); }
}

@media (max-width: 900px) {
  .dancing-circle.circle-1,
  .dancing-circle.circle-2 {
    display: none;
  }
}

/* Admin bar handling for transparent header */
.admin-bar .site-header.transparent {
    top: 32px; /* Default admin bar height */
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header.transparent {
        top: 46px; /* Mobile admin bar height */
    }
}

/* Scrolled transparent header styling */
.site-header.transparent.scrolled-transparent {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.site-header.transparent.scrolled-transparent .site-title,
.site-header.transparent.scrolled-transparent .site-title a,
.site-header.transparent.scrolled-transparent .site-description {
    color: #0a2533;
}

.site-header.transparent.scrolled-transparent .menu.main-menu > li > a {
    color: #0a2533;
}

.site-header.transparent.scrolled-transparent .menu.main-menu > li > a:hover,
.site-header.transparent.scrolled-transparent .menu.main-menu > li.current-menu-item > a {
    background: #00323d;
    color: #fff;
}

.site-header.transparent.scrolled-transparent .menu-toggle {
    color: #0a2533;
}

.site-header.transparent.scrolled-transparent .btn-login {
    background: #00323d;
    color: #fff;
    border: 2px solid #00323d;
}

.site-header.transparent.scrolled-transparent .btn-login:hover,
.site-header.transparent.scrolled-transparent .btn-login:focus {
    background: #0a2533;
    color: #fff;
    border-color: #0a2533;
}

/* Logo color change for scrolled transparent header */
.site-header.transparent.scrolled-transparent .custom-logo img {
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

/* Transparent header dropdown caret styling */
.site-header.transparent .menu.main-menu > li.menu-item-has-children > a::after {
    filter: brightness(0) invert(1);
}

/* Scrolled transparent header dropdown caret styling */
.site-header.transparent.scrolled-transparent .menu.main-menu > li.menu-item-has-children > a::after {
    filter: none;
}

/* Add padding for dropdown menu items */
.site-header.transparent .menu.main-menu > li.menu-item-has-children > a {
    padding-right: 2rem;
}

.site-header.transparent.scrolled-transparent .menu.main-menu > li.menu-item-has-children > a {
    padding-right: 2rem;
}

/* Custom Blogs Widget Styles */
.qm-custom-blogs-widget__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 900px) {
    .qm-custom-blogs-widget__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .qm-custom-blogs-widget__grid {
        grid-template-columns: 1fr;
    }
}

.qm-custom-blogs-widget__card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(60, 207, 226, 0.12);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.qm-custom-blogs-widget__image-hover-area {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}

.qm-custom-blogs-widget__card:hover .qm-custom-blogs-widget__image-hover-area {
    opacity: 1;
    pointer-events: auto;
}

.qm-custom-blogs-widget__image-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}

.qm-custom-blogs-widget__card:hover .qm-custom-blogs-widget__image-bg {
    opacity: 1;
    pointer-events: auto;
}

.qm-custom-blogs-widget__image-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 31, 47, 0.10) 53.86%, rgba(1, 31, 47, 0.60) 72.02%);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(.4,1.6,.6,1), background 0.2s;
}

.qm-custom-blogs-widget__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 20px 18px 18px 18px;
}



/* Default title styles - will be overridden by Elementor typography controls */
.qm-custom-blogs-widget__title {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #22313a;
    margin-bottom: 8px;
    line-height: 1.2;
    transition: color 0.2s;
}

.qm-custom-blogs-widget__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.qm-custom-blogs-widget__title a:hover {
    color: inherit;
    text-decoration: none;
}

/* Default excerpt styles - will be overridden by Elementor typography controls */
.qm-custom-blogs-widget__excerpt {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    color: #3A4A5D;
    margin-bottom: auto;
    line-height: 1.5;
    transition: color 0.2s;
}

.qm-custom-blogs-widget__card:hover .qm-custom-blogs-widget__title,
.qm-custom-blogs-widget__card:hover .qm-custom-blogs-widget__excerpt {
    color: #fff;
}

/* Default button styles - will be overridden by Elementor typography controls */
.qm-custom-blogs-widget__button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1.5px solid #3CCFE2;
    color: #3CCFE2;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1.08rem;
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 18px;
    width: 100%;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
    box-shadow: none;
}

.qm-custom-blogs-widget__card:hover .qm-custom-blogs-widget__button {
    background: #3CCFE2 !important;
    color: #fff !important;
    border: 1.5px solid #3CCFE2 !important;
}

.qm-custom-blogs-widget__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 32px 0 0 0;
}

.qm-custom-blogs-widget__pagination-link a,
.qm-custom-blogs-widget__pagination-link span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    background: #eaf7fc;
    color: #002D3C;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.qm-custom-blogs-widget__pagination-link .current {
    background: #3CCFE2;
    color: #fff;
}

.qm-custom-blogs-widget__pagination-link a:hover {
    background: #3CCFE2;
    color: #fff;
}

.qm-custom-blogs-widget__image-bg img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.qm-custom-blogs-widget__card.qm-hovered .qm-custom-blogs-widget__button {
    background: transparent !important;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.7) !important;
}



.qm-custom-blogs-widget__card.qm-hovered .qm-custom-blogs-widget__title,
.qm-custom-blogs-widget__card.qm-hovered .qm-custom-blogs-widget__excerpt {
    color: #fff !important;
}

.qm-custom-blogs-widget__card.qm-hovered .qm-custom-blogs-widget__image-fade {
    opacity: 1;
    background: linear-gradient(90deg, rgba(0,45,60,0.85) 0%, rgba(0,74,99,0.85) 50%, rgba(0,26,36,0.85) 100%) !important;
}

/* Elementor typography overrides - these will take precedence */
.elementor-widget .qm-custom-blogs-widget__title {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    font-style: inherit;
    text-decoration: inherit;
}

.elementor-widget .qm-custom-blogs-widget__excerpt {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    font-style: inherit;
    text-decoration: inherit;
}

.elementor-widget .qm-custom-blogs-widget__button {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    font-style: inherit;
    text-decoration: inherit;
    text-align: center;
}

/* Archive Page Styles */
.qm-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.qm-archive-header {
    text-align: center;
    margin-bottom: 48px;
}

.qm-archive-title {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #002D3C;
    margin-bottom: 16px;
}

.qm-archive-empty {
    text-align: center;
    padding: 60px 20px;
}

.qm-archive-empty h2 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #002D3C;
    margin-bottom: 16px;
}

.qm-archive-empty p {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    color: #3A4A5D;
}


.accent-blue strong {
    color: #3CCFE2;
}

/* Team Box Widget Styles */
.qm-team-box-widget {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgb(204 204 204 / 30%);
    height: 100%;
}

.qm-team-box-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.qm-team-box-widget__image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;  
}

.qm-team-box-widget__image {
    width: 150px;
    max-height: 150px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 12px 12px 0 0;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-radius: 100% !important;
    filter: grayscale(1);
}

.qm-team-box-widget:hover .qm-team-box-widget__image {
    transform: scale(1.05);
}

.qm-team-box-widget__content {
    padding: 20px;
    background: #fff;
}

.qm-team-box-widget__name {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #002D3C;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.qm-team-box-widget__position {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #3CCFE2;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qm-team-box-widget__description {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    color: #3A4A5D;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.qm-team-box-widget__social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.qm-team-box-widget__social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: #3A4A5D;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.qm-team-box-widget__social-links a:hover {
    background: #eaf7fc;
    color: #3CCFE2;
    transform: translateY(-2px);
}

.qm-team-box-widget__social-links .qm-social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .qm-team-box-widget__image {
        width: 120px;
        height: 120px;
    }
    
    .qm-team-box-widget__name {
        font-size: 1.1rem;
    }
    
    .qm-team-box-widget__position {
        font-size: 0.85rem;
    }
    
    .qm-team-box-widget__description {
        font-size: 0.9rem;
    }
}



.qm-icon-list li.elementor-icon-list-item.elementor-inline-item {
    background: #3CCFE24D;
    padding: 5px 15px;
    border-radius: 25px;
    margin-top: 5px; 
    margin-bottom: 5px;
}

/* Custom Blogs Widget Carousel Styles */
.qm-custom-blogs-widget__carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 10px;
}

.qm-custom-blogs-widget__carousel .swiper-wrapper {
    display: flex;
    transition-property: transform;
}

.qm-custom-blogs-widget__carousel .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

/* Swiper Navigation Arrows */
.qm-custom-blogs-widget__carousel .swiper-button-next,
.qm-custom-blogs-widget__carousel .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #002D3C;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.qm-custom-blogs-widget__carousel .swiper-button-next:hover,
.qm-custom-blogs-widget__carousel .swiper-button-prev:hover {
    background: #3CCFE2;
    color: #fff;
    transform: scale(1.1);
}

.qm-custom-blogs-widget__carousel .swiper-button-next {
    right: 10px;
}

.qm-custom-blogs-widget__carousel .swiper-button-prev {
    left: 10px;
}

.qm-custom-blogs-widget__carousel .swiper-button-next:after,
.qm-custom-blogs-widget__carousel .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* Swiper Pagination */
.qm-custom-blogs-widget__carousel .swiper-pagination,
.qm-custom-blogs-widget__carousel [class*="swiper-pagination-"] {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding: 10px 0;
}

.qm-custom-blogs-widget__carousel .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(0, 45, 60, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
}

.qm-custom-blogs-widget__carousel .swiper-pagination-bullet-active {
    background: #3CCFE2;
    transform: scale(1.3);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .qm-custom-blogs-widget__carousel .swiper-button-next,
    .qm-custom-blogs-widget__carousel .swiper-button-prev {
        width: 35px;
        height: 35px;
        margin-top: -17.5px;
    }
    
    .qm-custom-blogs-widget__carousel .swiper-button-next:after,
    .qm-custom-blogs-widget__carousel .swiper-button-prev:after {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .qm-custom-blogs-widget__carousel .swiper-button-next,
    .qm-custom-blogs-widget__carousel .swiper-button-prev {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }
    
    .qm-custom-blogs-widget__carousel .swiper-button-next:after,
    .qm-custom-blogs-widget__carousel .swiper-button-prev:after {
        font-size: 14px;
    }
    
    .qm-custom-blogs-widget__carousel .swiper-pagination {
        margin-top: 20px;
        gap: 6px;
    }
    
    .qm-custom-blogs-widget__carousel .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}

/* Carousel card styling to match grid */
.qm-custom-blogs-widget__carousel .qm-custom-blogs-widget__card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.qm-custom-blogs-widget__carousel .qm-custom-blogs-widget__image-hover-area {
    position: relative;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    flex: 1;
    min-height: 200px;
}

.qm-custom-blogs-widget__carousel .qm-custom-blogs-widget__image-bg {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.qm-custom-blogs-widget__carousel .qm-custom-blogs-widget__image-bg img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.qm-custom-blogs-widget__carousel .qm-custom-blogs-widget__image-fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(1, 31, 47, 0.10) 53.86%, rgba(1, 31, 47, 0.60) 72.02%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 18px 18px 0 0;
}

.qm-custom-blogs-widget__carousel .qm-custom-blogs-widget__card:hover .qm-custom-blogs-widget__image-bg img {
    transform: scale(1.05);
}

.qm-custom-blogs-widget__carousel .qm-custom-blogs-widget__card:hover .qm-custom-blogs-widget__image-fade {
    opacity: 1;
}

.qm-custom-blogs-widget__carousel .qm-custom-blogs-widget__content {
    padding: 20px;
    background: #fff;
    border-radius: 0 0 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: background 0.4s ease;
}

.qm-custom-blogs-widget__carousel .qm-custom-blogs-widget__card:hover .qm-custom-blogs-widget__content {
    background: transparent;
    color: #fff !important;
}

.qm-custom-blogs-widget__carousel .qm-custom-blogs-widget__card:hover .qm-custom-blogs-widget__title,
.qm-custom-blogs-widget__carousel .qm-custom-blogs-widget__card:hover .qm-custom-blogs-widget__excerpt {
    color: #fff !important;
}

.menu-svg-icon {
    margin-right: 10px;
}

/* Gravity Forms Theme Styling */
/* ========================== */

/* Typography */
.gform_wrapper,
.gform_wrapper * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.gform_wrapper .gform_title {
    font-weight: 700;
    color: #002D3C;
}

.gform_wrapper .gform_description {
    color: #3A4A5D;
}

.gform_wrapper .gfield_label {
    font-weight: 600;
    color: #002D3C;
}

.gform_wrapper .gfield_required {
    color: #dc3545;
}

.gform_wrapper .gfield_description {
    color: #3A4A5D;
    font-style: italic;
}

/* Input Field Styling */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="password"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="date"],
.gform_wrapper input[type="time"],
.gform_wrapper input[type="search"],
.gform_wrapper textarea,
.gform_wrapper select {
    color: #002D3C;
    background: #fff;
    border: 2px solid rgba(60, 207, 226, 0.12);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper input[type="url"]:focus,
.gform_wrapper input[type="password"]:focus,
.gform_wrapper input[type="number"]:focus,
.gform_wrapper input[type="date"]:focus,
.gform_wrapper input[type="time"]:focus,
.gform_wrapper input[type="search"]:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
    border-color: #3CCFE2;
    box-shadow: 0 4px 16px rgba(60, 207, 226, 0.15);
}

.gform_wrapper input[type="text"]:hover,
.gform_wrapper input[type="email"]:hover,
.gform_wrapper input[type="tel"]:hover,
.gform_wrapper input[type="url"]:hover,
.gform_wrapper input[type="password"]:hover,
.gform_wrapper input[type="number"]:hover,
.gform_wrapper input[type="date"]:hover,
.gform_wrapper input[type="time"]:hover,
.gform_wrapper input[type="search"]:hover,
.gform_wrapper textarea:hover,
.gform_wrapper select:hover {
    border-color: rgba(60, 207, 226, 0.3);
}

/* Select dropdown arrow */
.gform_wrapper select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23002D3C" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Checkbox and Radio styling */
.gform_wrapper input[type="checkbox"],
.gform_wrapper input[type="radio"] {
    accent-color: #3CCFE2;
}

.gform_wrapper .gfield_checkbox label,
.gform_wrapper .gfield_radio label {
    color: #002D3C;
}

/* Submit Button */
.gform_wrapper .gform_button {
    color: #fff;
    background: linear-gradient(135deg, #3CCFE2 0%, #2ed0e7 100%);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(60, 207, 226, 0.25);
    transition: all 0.3s ease;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_button:focus {
    background: linear-gradient(135deg, #2ed0e7 0%, #1bb6d6 100%);
    box-shadow: 0 6px 20px rgba(60, 207, 226, 0.35);
}

/* Multi-page form buttons */
.gform_wrapper .gform_previous_button {
    color: #3A4A5D;
    background: #eaf7fc;
    border: 2px solid #eaf7fc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gform_wrapper .gform_previous_button:hover,
.gform_wrapper .gform_previous_button:focus {
    background: #d0f0f8;
    border-color: #3CCFE2;
    color: #002D3C;
}

.gform_wrapper .gform_next_button {
    color: #fff;
    background: linear-gradient(135deg, #3CCFE2 0%, #2ed0e7 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gform_wrapper .gform_next_button:hover,
.gform_wrapper .gform_next_button:focus {
    background: linear-gradient(135deg, #2ed0e7 0%, #1bb6d6 100%);
    box-shadow: 0 4px 12px rgba(60, 207, 226, 0.25);
}

/* Validation Messages */
.gform_wrapper .validation_message {
    color: #dc3545;
    font-weight: 500;
}

.gform_wrapper .gfield_error {
    background: rgba(220, 53, 69, 0.02);
    border: 2px solid #dc3545;
    border-radius: 10px;
}

.gform_wrapper .gfield_error .gfield_label {
    color: #dc3545;
}

.gform_wrapper .gform_validation_errors {
    background: rgba(220, 53, 69, 0.05);
    border: 2px solid #dc3545;
    border-radius: 10px;
}

.gform_wrapper .gform_validation_errors h2 {
    color: #dc3545;
}

.gform_wrapper .gform_validation_errors li {
    color: #dc3545;
}

/* Success Message */
.gform_wrapper .gform_confirmation_message {
    background: rgba(60, 207, 226, 0.05);
    border: 2px solid #3CCFE2;
    border-radius: 10px;
}

.gform_wrapper .gform_confirmation_message h2 {
    color: #002D3C;
}

.gform_wrapper .gform_confirmation_message p {
    color: #3A4A5D;
}

/* Progress Bar */
.gform_wrapper .gf_progressbar {
    background: #eaf7fc;
    border-radius: 10px;
}

.gform_wrapper .gf_progressbar_percentage {
    background: linear-gradient(90deg, #3CCFE2 0%, #2ed0e7 100%);
    border-radius: 10px;
}

.gform_wrapper .gf_progressbar_title {
    color: #002D3C;
}

/* Section breaks */
.gform_wrapper .gsection {
    border-bottom: 2px solid rgba(60, 207, 226, 0.12);
}

.gform_wrapper .gsection_title {
    color: #002D3C;
}

.gform_wrapper .gsection_description {
    color: #3A4A5D;
}

/* File upload rules */
.gform_wrapper .gform_fileupload_rules {
    color: #3A4A5D;
}

/* Focus states for accessibility */
.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
    outline: 2px solid #3CCFE2;
    outline-offset: 2px;
}