/*
Theme Name: Mis360-Kurumsal
Theme URI: https://misteknoloji360.com.tr/
Author: Mis Teknoloji 360
Author URI: https://misteknoloji360.com.tr/
Description: Mis Teknoloji 360 Kurumsal WordPress Teması - themedya.com pixel-perfect clone
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: mis360-kurumsal
*/

/* 1. Global Reset & Typography Base (themedya.com exact match) */
:root {
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --thm-blue: #184185;
    --thm-blue-dark: #123366;
    --thm-blue-light: #205bc7;
    --thm-orange: #ff6a00;
    --thm-teal: #00bfa5;
    --thm-gray-bg: #f8fafc;
    --thm-border: #e2e8f0;
    --thm-text-dark: #1e293b;
    --thm-text-muted: #64748b;
    --thm-radius-sm: 8px;
    --thm-radius-md: 16px;
    --thm-radius-lg: 24px;
    --thm-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --thm-shadow-hover: 0 20px 30px -10px rgba(24, 65, 133, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body) !important;
    font-size: 15px;
    color: var(--thm-text-dark);
    background-color: #ffffff;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Headings font: Poppins */
h1, h2, h3, h4, h5, h6,
.hero-heading,
.section-title,
.service-name,
.about-lead,
.cta-heading,
.solution-title,
.project-name,
.project-card-title,
.post-title,
.post-card-title,
.footer-title,
.footer-heading,
.page-hero-title,
.service-hero-title,
.drawer-title,
.features-title,
.checklist-heading,
.marketing-title,
.platform-name,
.pricing-title,
.tab-btn,
.stat-number,
.exp-num {
    font-family: var(--font-heading) !important;
    letter-spacing: -0.02em;
}

/* Navigation, Buttons, Badges: Poppins */
.nav-menu-themedya > li > a,
.btn,
.btn-themedya-blue,
.btn-themedya-white,
.btn-themedya-dark,
.btn-themedya-outline,
.sub-badge,
.cta-badge,
.section-badge,
.hero-tag-badge,
.service-card-link,
.mobile-nav-link,
.mobile-nav-sublink,
.platform-pill {
    font-family: var(--font-heading) !important;
}

p, span, li, input, textarea, select {
    font-family: var(--font-body);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container-themedya {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.text-center { text-align: center; }
.text-blue { color: var(--thm-blue) !important; }
.text-orange { color: var(--thm-orange) !important; }
.text-teal { color: var(--thm-teal) !important; }
.text-green { color: #25d366 !important; }
.text-gold { color: #f59e0b !important; }
.w-100 { width: 100%; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }
.py-5 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-700 { max-width: 700px; }

/* 2. Top Bar (themedya.com exact match) */
.mis360-topbar-themedya {
    background-color: transparent;
    font-size: 13px;
    color: #64748b;
    padding: 10px 0 6px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #64748b;
}

.topbar-item i {
    color: #94a3b8;
    font-size: 13px;
}

.topbar-item a {
    color: #64748b;
}

.topbar-item a:hover {
    color: var(--thm-blue);
}

/* 3. Floating Navbar Card (themedya.com signature card) */
.header-floating-wrapper {
    position: sticky;
    top: 8px;
    z-index: 1000;
    margin-top: 4px;
    margin-bottom: 25px;
}

.mis360-floating-navbar {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 30px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

/* Brand / Logo with clean right divider */
.header-brand {
    display: flex;
    align-items: center;
    padding-right: 30px;
    border-right: 1px solid #e2e8f0;
    margin-right: 10px;
}

.site-logo-img {
    max-height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.site-logo-img:hover {
    transform: scale(1.02);
}

/* Main Navigation */
.main-navigation {
    flex-grow: 1;
}

.nav-menu-themedya {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-menu-themedya > li {
    position: relative;
}

.nav-menu-themedya > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    font-size: 14.5px;
    font-weight: 600;
    color: #334155;
    position: relative;
    transition: color 0.2s ease;
}

.nav-menu-themedya > li > a:hover {
    color: var(--thm-blue);
}

/* Active State: Clean Blue Underline bar (themedya signature) */
.nav-menu-themedya > li.current-menu-item > a {
    color: #123366;
    font-weight: 700;
}

.nav-menu-themedya > li.current-menu-item > a::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    right: 0;
    height: 3px;
    background: #184185;
    border-radius: 3px;
}

.nav-icon-bolt {
    color: #3b82f6;
    font-size: 13px;
}

.nav-icon-sparkle {
    color: #f59e0b;
    font-size: 13px;
}

.nav-chevron {
    font-size: 10px;
    color: #94a3b8;
    margin-left: 2px;
    transition: transform 0.25s ease;
}

.nav-menu-themedya > li:hover .nav-chevron {
    transform: rotate(180deg);
}

/* Dropdown Sub-menu */
.nav-menu-themedya .sub-menu {
    position: absolute;
    top: 100%;
    left: -10px;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.nav-menu-themedya > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(12px);
}

.nav-menu-themedya .sub-menu li a {
    display: block;
    padding: 9px 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s ease;
}

.nav-menu-themedya .sub-menu li a:hover {
    background: #f8fafc;
    color: var(--thm-blue);
    padding-left: 24px;
}

/* Header Tools: Magnifying Glass Search Button */
.header-tools {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 17px;
    color: #64748b;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-btn:hover {
    color: var(--thm-blue);
    transform: scale(1.1);
}

/* Search Modal Overlay */
.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.search-modal-box {
    position: relative;
    width: 90%;
    max-width: 620px;
}

.search-modal-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 8px 10px 8px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.search-modal-input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1e293b;
    font-family: inherit;
}

.search-modal-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--thm-blue);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: background 0.2s ease;
}

.search-modal-btn:hover {
    background: var(--thm-blue-dark);
}

.search-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
}

/* 4. Hero Section */
.themedya-hero-section {
    padding: 60px 0 70px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hero-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0e7ff;
    color: var(--thm-blue);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-heading {
    font-size: 42px;
    line-height: 1.25;
    font-weight: 800;
    color: #123366;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--thm-blue) 0%, var(--thm-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 16.5px;
    color: var(--thm-text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 580px;
}

.hero-btn-row {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-themedya-blue {
    background: var(--thm-blue);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.btn-themedya-blue:hover {
    background: var(--thm-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 65, 133, 0.25);
}

.btn-themedya-white {
    background: #ffffff;
    color: var(--thm-blue);
    font-size: 15px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 30px;
    border: 1.5px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.btn-themedya-white:hover {
    border-color: var(--thm-blue);
    color: var(--thm-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.hero-trust-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--thm-text-dark);
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-mockup-card {
    position: relative;
    border-radius: 24px;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(24, 65, 133, 0.15);
    border: 1px solid #e2e8f0;
}

.hero-mockup-img {
    border-radius: 16px;
    width: 100%;
    object-fit: cover;
}

.mockup-floating-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e2e8f0;
}

.mockup-floating-badge i {
    font-size: 24px;
}

.mockup-floating-badge strong {
    display: block;
    font-size: 15px;
    color: var(--thm-blue);
}

.mockup-floating-badge small {
    color: var(--thm-text-muted);
    font-size: 12px;
}

/* 5. Section Headers */
.themedya-section-header {
    margin-bottom: 45px;
}

.sub-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--thm-blue);
    background: #e0e7ff;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    color: #123366;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 16px;
    color: var(--thm-text-muted);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* 6. Services 3D Grid */
.themedya-services-section {
    padding: 70px 0;
    background: #ffffff;
}

.services-3d-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-3d-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px 30px 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-3d-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(24, 65, 133, 0.1);
    border-color: #cbd5e1;
}

.service-img-wrap {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img-wrap img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-3d-card:hover .service-img-wrap img {
    transform: scale(1.08);
}

.service-name {
    font-size: 20px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 12px;
}

.service-text {
    font-size: 14.5px;
    color: var(--thm-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--thm-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card-link:hover {
    gap: 10px;
    color: var(--thm-blue-dark);
}

/* 7. Solutions 2-Col Grid */
.themedya-solutions-section {
    padding: 40px 0 70px 0;
    background: #f8fafc;
}

.solutions-2col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.solution-card {
    border-radius: 24px;
    padding: 40px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.solution-card-blue {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
}

.solution-card-teal {
    background: linear-gradient(135deg, #ccfbf1 0%, #e0f2fe 100%);
    border: 1px solid #99f6e4;
}

.solution-content {
    max-width: 60%;
    z-index: 2;
}

.solution-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 12px;
}

.solution-card-blue .solution-badge {
    background: #3b82f6;
    color: #fff;
}

.solution-card-teal .solution-badge {
    background: #0d9488;
    color: #fff;
}

.solution-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 12px;
}

.solution-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 22px;
}

.solution-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 25px;
    color: #ffffff;
    transition: all 0.25s ease;
}

.solution-btn.btn-blue {
    background: #2563eb;
}
.solution-btn.btn-blue:hover {
    background: #1d4ed8;
    transform: translateX(3px);
}

.solution-btn.btn-teal {
    background: #0d9488;
}
.solution-btn.btn-teal:hover {
    background: #0f766e;
    transform: translateX(3px);
}

.solution-image-box {
    max-width: 40%;
    z-index: 1;
}

.solution-image-box img {
    max-height: 220px;
    object-fit: contain;
}

/* 8. Projects Section (Homepage Showcase with Real 3D Device Mockups) */
.themedya-projects-section {
    padding: 75px 0 85px 0;
    background: #ffffff;
}

.projects-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.project-showcase-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(18, 51, 102, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.project-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px -10px rgba(18, 51, 102, 0.16);
    border-color: #cbd5e1;
}

.project-card-image-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.project-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.project-showcase-card:hover .project-card-thumb {
    transform: scale(1.06);
}

.project-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(18, 51, 102, 0.88);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.project-category-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--thm-blue);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.project-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-title {
    font-size: 19px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 8px;
    line-height: 1.35;
}

.project-card-desc {
    font-size: 13.5px;
    color: var(--thm-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.project-rating {
    font-size: 13px;
    font-weight: 600;
    color: var(--thm-text-dark);
}

.project-btn-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--thm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.25s ease;
}

.project-showcase-card:hover .project-btn-arrow {
    background: var(--thm-blue);
    color: #ffffff;
    transform: translateX(3px);
}

/* =========================================================================
   Dedicated Portfolio & References Page Styles (/projelerimiz/)
   ========================================================================= */
.portfolio-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.portfolio-tab-btn {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.portfolio-tab-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.portfolio-tab-btn.active {
    background: var(--thm-blue);
    color: #ffffff;
    border-color: var(--thm-blue);
    box-shadow: 0 4px 14px rgba(24, 65, 133, 0.25);
}

.projects-detailed-section {
    padding: 40px 0 80px 0;
}

.projects-cards-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.ref-project-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 35px -5px rgba(18, 51, 102, 0.08);
    align-items: center;
    transition: all 0.35s ease;
}

.ref-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -10px rgba(18, 51, 102, 0.15);
    border-color: #cbd5e1;
}

.ref-mockup-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.ref-mockup-inner {
    position: relative;
}

.ref-mockup-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    transition: transform 0.5s ease;
}

.ref-project-card:hover .ref-mockup-img {
    transform: scale(1.03);
}

.ref-floating-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(18, 51, 102, 0.9);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ref-content-wrapper {
    display: flex;
    flex-direction: column;
}

.ref-top-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ref-cat-pill {
    background: #e0e7ff;
    color: var(--thm-blue);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 16px;
    text-transform: uppercase;
}

.ref-status-badge {
    font-size: 12.5px;
    font-weight: 600;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ref-card-title {
    font-size: 26px;
    font-weight: 800;
    color: #123366;
    margin-bottom: 4px;
    line-height: 1.25;
}

.ref-card-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: var(--thm-orange);
    margin-bottom: 14px;
}

.ref-card-desc {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 18px;
}

.ref-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.ref-tech-tag {
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ref-tech-tag i {
    color: var(--thm-blue);
    font-size: 11px;
}

.ref-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 24px;
}

.ref-metric-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ref-metric-val {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--thm-blue);
    line-height: 1.2;
}

.ref-metric-lbl {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

.ref-actions-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* CTA Showcase & Ref Card Special Styling */
.is-cta-showcase-card {
    border-color: #cbd5e1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.is-cta-showcase-card:hover {
    border-color: var(--thm-orange);
    box-shadow: 0 22px 40px -10px rgba(249, 85, 4, 0.18);
}

.badge-cta {
    background: linear-gradient(135deg, #f95504, #ea580c) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(249, 85, 4, 0.35);
}

.is-cta-ref-card {
    border-color: #cbd5e1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.is-cta-ref-card:hover {
    border-color: var(--thm-orange);
    box-shadow: 0 25px 50px -10px rgba(249, 85, 4, 0.16);
}

.cat-pill-cta {
    background: #fff7ed !important;
    color: #c2410c !important;
}

.status-cta {
    color: #f95504 !important;
    font-weight: 700 !important;
}

/* Homepage CTA Showcase Box (Burayı Size Ayırdık) */
.homepage-cta-showcase-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 35px -5px rgba(18, 51, 102, 0.08);
    transition: all 0.35s ease;
}

.homepage-cta-showcase-box:hover {
    border-color: var(--thm-orange);
    box-shadow: 0 22px 45px -10px rgba(249, 85, 4, 0.16);
}

.cta-box-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 35px;
    align-items: center;
}

.cta-box-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.cta-box-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    transition: transform 0.5s ease;
}

.homepage-cta-showcase-box:hover .cta-box-media img {
    transform: scale(1.03);
}

.cta-floating-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: linear-gradient(135deg, #f95504, #ea580c);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(249, 85, 4, 0.35);
}

.cta-box-content {
    display: flex;
    flex-direction: column;
}

.cta-box-title {
    font-size: 28px;
    font-weight: 800;
    color: #123366;
    margin: 8px 0 12px 0;
}

.cta-box-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 24px;
}

.cta-box-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .projects-showcase-grid {
        grid-template-columns: 1fr;
    }
    .ref-project-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .cta-box-grid {
        grid-template-columns: 1fr;
    }
}

/* 9. Brands / Partners Infinite Slider (Themedya Continuous Marquee) */
.themedya-brands-section {
    padding: 45px 0;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
    position: relative;
    overflow: hidden;
}

/* Elegant left & right gradient fade masks */
.themedya-brands-section::before,
.themedya-brands-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 3;
    pointer-events: none;
}

.themedya-brands-section::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.themedya-brands-section::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.brands-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.brands-marquee-track {
    display: flex;
    align-items: center;
    gap: 70px;
    width: max-content;
    animation: brandsSliderScroll 35s linear infinite;
    will-change: transform;
}

.brands-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes brandsSliderScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.brand-item img {
    height: 58px;
    max-height: 58px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(35%) contrast(105%);
    opacity: 0.85;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-item:hover img {
    filter: grayscale(0%) contrast(110%);
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .themedya-brands-section {
        padding: 32px 0;
    }
    .themedya-brands-section::before,
    .themedya-brands-section::after {
        width: 60px;
    }
    .brands-marquee-track {
        gap: 45px;
        animation-duration: 25s;
    }
    .brand-item img {
        height: 44px;
        max-height: 44px;
        max-width: 150px;
    }
}

/* 10. Blog 4-Col Grid */
.themedya-blog-section {
    padding: 70px 0;
    background: #ffffff;
}

.blog-4col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.blog-card-themedya {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card-themedya:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.blog-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card-themedya:hover .blog-thumb img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(18, 51, 102, 0.85);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-title a:hover {
    color: var(--thm-blue);
}

.blog-excerpt {
    font-size: 13.5px;
    color: var(--thm-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.blog-readmore {
    font-size: 13px;
    font-weight: 700;
    color: var(--thm-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-readmore:hover {
    gap: 10px;
}

/* 11. Breadcrumbs Banner */
.mis360-breadcrumb-bar {
    background: linear-gradient(135deg, #184185 0%, #123366 100%);
    color: #ffffff;
    padding: 30px 0;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.breadcrumb-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 28px;
}

.page-banner-title {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.35;
    flex: 0 1 auto;
    max-width: 680px;
    word-break: break-word;
}

.breadcrumb-nav {
    font-size: 13.5px;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-left: auto;
}

.breadcrumb-nav a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb-nav a:hover {
    color: var(--thm-orange);
}

.breadcrumb-nav .separator {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
}

.breadcrumb-nav .current {
    color: var(--thm-orange);
    font-weight: 600;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .mis360-breadcrumb-bar {
        padding: 22px 0;
        margin-bottom: 20px;
    }
    .breadcrumb-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .breadcrumb-nav {
        margin-left: 0;
    }
    .page-banner-title {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        font-size: 22px;
        line-height: 1.3;
    }
    .breadcrumb-nav .current {
        max-width: 240px;
    }
}


/* 12. Inner Page Sections (Hakkımızda, Hizmetler vb.) */
.inner-page-section {
    padding: 50px 0;
}

.about-grid-main {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.about-lead {
    font-size: 18px;
    color: #123366;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.highlight-box {
    display: flex;
    gap: 15px;
    background: #f8fafc;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--thm-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.highlight-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 5px;
}

.highlight-box p {
    font-size: 13px;
    color: var(--thm-text-muted);
    line-height: 1.5;
}

.about-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-badge-experience {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--thm-blue);
    color: #ffffff;
    padding: 16px 22px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.about-badge-experience .exp-num {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.about-badge-experience .exp-txt {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.9;
}

/* About Speed & Performance Section (Google PageSpeed 94+ Showcase) */
.about-speed-performance-section {
    padding: 70px 0;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.speed-perf-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
}

.pagespeed-proof-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 45px -10px rgba(18, 51, 102, 0.12);
    overflow: hidden;
    transition: all 0.35s ease;
}

.pagespeed-proof-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -10px rgba(18, 51, 102, 0.18);
}

.pagespeed-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.pagespeed-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: #1e293b;
}

.dot-status.green {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    display: inline-block;
}

.pagespeed-score-badge {
    background: #ecfdf5;
    color: #059669;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}

.pagespeed-img-container {
    padding: 14px;
    background: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagespeed-report-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    display: block;
}

.pagespeed-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    font-size: 13.5px;
    color: #64748b;
}

.domain-tag {
    font-weight: 600;
    color: var(--thm-blue);
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: var(--font-heading);
}

.speed-metrics-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.speed-metric-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.speed-metric-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.speed-metric-icon.bg-green { background: #10b981; }
.speed-metric-icon.bg-blue { background: var(--thm-blue); }
.speed-metric-icon.bg-orange { background: var(--thm-orange); }

.speed-metric-item h4 {
    font-size: 16.5px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 4px;
}

.speed-metric-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
}

@media (max-width: 991px) {
    .speed-perf-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

.bg-light-gray {
    background-color: #f8fafc;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
}

.mv-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.mv-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 20px;
}

.bg-blue { background: var(--thm-blue); }
.bg-orange { background: var(--thm-orange); }
.bg-teal { background: var(--thm-teal); }

.mv-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 12px;
}

.mv-card p {
    font-size: 14.5px;
    color: var(--thm-text-muted);
    line-height: 1.6;
}

.stats-counter-section {
    background: #123366;
    color: #ffffff;
    padding: 50px 0;
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.counter-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--thm-orange);
    margin-bottom: 6px;
}

.counter-label {
    font-size: 15px;
    font-weight: 600;
    color: #e2e8f0;
}

/* 13. Service Detail Rows */
.services-detail-list-section {
    padding: 40px 0;
}

.service-detail-row {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid #f1f5f9;
}

.service-detail-row.reverse {
    grid-template-columns: 1.2fr 0.8fr;
}

.service-detail-row.reverse .service-detail-img {
    order: 2;
}

.service-detail-row.reverse .service-detail-text {
    order: 1;
}

.service-detail-img img {
    max-height: 280px;
    margin: 0 auto;
}

.service-step-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--thm-orange);
    background: #fff7ed;
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 12px;
}

.service-detail-text h3 {
    font-size: 28px;
    font-weight: 800;
    color: #123366;
    margin-bottom: 14px;
}

.service-detail-text p {
    font-size: 15.5px;
    color: var(--thm-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-feature-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.service-feature-checklist li {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--thm-text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-feature-checklist li i {
    color: #10b981;
}

.process-steps-section {
    padding: 70px 0;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.step-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 22px;
    border: 1px solid #e2e8f0;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
}

.step-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--thm-blue);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.step-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13.5px;
    color: var(--thm-text-muted);
    line-height: 1.6;
}

/* 14. Projects Detailed Page */
.projects-page-grid-section {
    padding: 40px 0 70px 0;
}

.projects-detailed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-detailed-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.project-detailed-header {
    height: 110px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
}

.project-logo-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.project-tag {
    font-size: 11.5px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
    border-radius: 12px;
}

.project-detailed-body {
    padding: 25px;
}

.project-detailed-body h3 {
    font-size: 21px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 6px;
}

.project-scope {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--thm-orange);
    margin-bottom: 12px;
}

.project-info {
    font-size: 14px;
    color: var(--thm-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.badge-success {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 10px;
}

/* 15. Contact Page Styles */
.contact-page-section {
    padding: 50px 0 70px 0;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
}

.contact-intro {
    font-size: 15.5px;
    color: var(--thm-text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 22px;
    transition: all 0.25s ease;
}

.contact-detail-card:hover {
    border-color: var(--thm-blue);
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(24, 65, 133, 0.08);
}

.contact-detail-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #e0e7ff;
    color: var(--thm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-detail-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 3px;
}

.contact-detail-card p, .contact-detail-card a {
    font-size: 14.5px;
    color: var(--thm-text-dark);
}

.contact-detail-card small {
    font-size: 12px;
    color: var(--thm-text-muted);
}

.contact-whatsapp-card {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.wa-icon {
    font-size: 32px;
    color: #10b981;
}

.wa-text {
    flex-grow: 1;
}

.wa-text strong {
    font-size: 15px;
    color: #065f46;
    display: block;
}

.wa-text p {
    font-size: 12.5px;
    color: #047857;
}

.wa-btn {
    background: #10b981;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 20px;
}

.wa-btn:hover {
    background: #059669;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.contact-form-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: #123366;
    margin-bottom: 6px;
}

.form-desc {
    font-size: 14px;
    color: var(--thm-text-muted);
    margin-bottom: 25px;
}

.contact-custom-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--thm-text-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    color: var(--thm-text-dark);
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--thm-blue);
    box-shadow: 0 0 0 3px rgba(24, 65, 133, 0.12);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--thm-text-muted);
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 2px;
}

.btn-submit-form {
    border: none;
    cursor: pointer;
    justify-content: center;
    padding: 14px 20px;
}

.map-embed-wrapper {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
}

.map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 15px;
}

/* 16. Inner CTA Section */
.inner-cta-section {
    background: linear-gradient(135deg, #184185 0%, #0f172a 100%);
    color: #ffffff;
    padding: 60px 0;
    margin-top: 50px;
}

.cta-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 17. Footer */
.themedya-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 60px 0 25px 0;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1fr 1.1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo-img {
    max-height: 48px;
    width: auto;
    margin-bottom: 18px;
}

.footer-bio-text {
    font-size: 14px;
    color: var(--thm-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
}

.footer-social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--thm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.footer-social-icons a:hover {
    background: var(--thm-blue);
    color: #ffffff;
}

.footer-title {
    font-size: 17px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2.5px;
    background: var(--thm-blue);
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li a {
    font-size: 14px;
    color: var(--thm-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.footer-links-list li a:hover {
    color: var(--thm-blue);
    padding-left: 5px;
}

.footer-links-list li a i {
    font-size: 11px;
    color: #94a3b8;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-details p {
    font-size: 14px;
    color: var(--thm-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.footer-contact-details p i {
    color: var(--thm-blue);
    font-size: 15px;
    margin-top: 3px;
}

.footer-bottom-bar {
    border-top: 1px solid #f1f5f9;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: var(--thm-text-muted);
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-links a:hover {
    color: var(--thm-blue);
}

.footer-bottom-links .sep {
    color: #cbd5e1;
}

/* 18. Floating WhatsApp */
.themedya-whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
}

.themedya-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

/* 19. Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 10001;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--thm-text-dark);
    cursor: pointer;
}

.drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.mobile-nav-list li a {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--thm-text-dark);
    border-radius: 8px;
}

.mobile-nav-list li a:hover,
.mobile-nav-list li.current-menu-item a {
    background: #f1f5f9;
    color: var(--thm-blue);
}

.drawer-contact-info {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    font-size: 13.5px;
    color: var(--thm-text-muted);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    backdrop-filter: blur(3px);
}

.drawer-backdrop.active {
    display: block;
}

/* 20. Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btn-row, .hero-trust-row {
        justify-content: center;
    }
    .services-3d-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .solutions-2col-grid {
        grid-template-columns: 1fr;
    }
    .projects-showcase-grid, .projects-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-4col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid-main {
        grid-template-columns: 1fr;
    }
    .contact-layout-grid {
        grid-template-columns: 1fr;
    }
    .service-detail-row, .service-detail-row.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .service-feature-checklist {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .d-none-mobile { display: none !important; }
    .hero-heading { font-size: 30px; }
    .section-title { font-size: 26px; }
    .page-banner-title { font-size: 22px; flex: 0 0 auto; width: 100%; }
    .breadcrumb-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .services-3d-grid { grid-template-columns: 1fr; }
    .projects-showcase-grid, .projects-detailed-grid { grid-template-columns: 1fr; }
    .blog-4col-grid { grid-template-columns: 1fr; }
    .footer-top-grid { grid-template-columns: 1fr; }
    .mission-vision-grid { grid-template-columns: 1fr; }
    .stats-counter-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps-grid { grid-template-columns: 1fr; }
    .form-group-row { grid-template-columns: 1fr; }
    .contact-form-card { padding: 25px 20px; }
}

@media (min-width: 769px) {
    .d-none-desktop { display: none !important; }
}


/* =========================================================================
   21. Service Detail Page Styles (Two Column Layout with Sticky Sidebar)
   ========================================================================= */
.service-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: flex-start;
}

/* Service Content Hero Card */
.service-content-hero-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.hero-card-left {
    flex-grow: 1;
}

.service-main-heading {
    font-size: 32px;
    font-weight: 800;
    color: #123366;
    margin-bottom: 12px;
    line-height: 1.25;
}

.service-lead-text {
    font-size: 16px;
    color: var(--thm-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-quick-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--thm-text-dark);
}

.service-quick-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-card-right {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-3d-feature-img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
}

/* Service Section Boxes */
.service-section-box {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 35px 30px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.03);
}

.box-title {
    font-size: 22px;
    font-weight: 800;
    color: #123366;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.box-text {
    font-size: 15.5px;
    color: var(--thm-text-muted);
    line-height: 1.8;
}

/* Features 2-Col Grid */
.service-features-2col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-feature-item {
    display: flex;
    gap: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    transition: all 0.25s ease;
}

.service-feature-item:hover {
    border-color: var(--thm-blue);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(24, 65, 133, 0.08);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e0e7ff;
    color: var(--thm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-name {
    font-size: 16px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 5px;
}

.feature-desc {
    font-size: 13.5px;
    color: var(--thm-text-muted);
    line-height: 1.5;
}

/* Service Featured Projects Showcase */
.service-box-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
}

.service-view-all-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--thm-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.service-view-all-link:hover {
    color: var(--thm-orange);
    transform: translateX(4px);
}

.service-featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 20px;
}

.service-fp-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px -4px rgba(18, 51, 102, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.service-fp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px -6px rgba(18, 51, 102, 0.14);
    border-color: #cbd5e1;
}

.service-fp-img-wrap {
    position: relative;
    width: 100%;
    height: 195px;
    background: #f8fafc;
    overflow: hidden;
}

.service-fp-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.service-fp-card:hover .service-fp-img-wrap img {
    transform: scale(1.05);
}

.service-fp-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(18, 51, 102, 0.92);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.service-fp-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-fp-title {
    font-size: 17px;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 8px;
}

.service-fp-desc {
    font-size: 13.5px;
    color: var(--thm-text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.service-fp-btn {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--thm-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
    margin-top: auto;
}

.service-fp-btn:hover {
    color: var(--thm-orange);
    transform: translateX(4px);
}

/* Process Grid */
.service-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.process-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 16px;
    text-align: center;
}

.process-step-num {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    color: var(--thm-orange);
    background: #fff7ed;
    padding: 3px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.process-name {
    font-size: 15.5px;
    font-weight: 700;
    color: #123366;
    margin-bottom: 8px;
}

.process-desc {
    font-size: 12.5px;
    color: var(--thm-text-muted);
    line-height: 1.5;
}

/* Tech Badges */
.tech-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-badge {
    background: #f1f5f9;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 25px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* FAQ Accordion */
.service-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.faq-item.active {
    background: #ffffff;
    border-color: var(--thm-blue);
    box-shadow: 0 4px 12px rgba(24, 65, 133, 0.06);
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15.5px;
    font-weight: 700;
    color: #123366;
    text-align: left;
}

.faq-arrow {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.25s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--thm-blue);
}

.faq-answer {
    padding: 0 20px 16px 20px;
    font-size: 14px;
    color: var(--thm-text-muted);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Service Bottom CTA */
.service-bottom-cta {
    background: linear-gradient(135deg, #184185 0%, #123366 100%);
    border-radius: 24px;
    padding: 40px;
    color: #ffffff;
    text-align: center;
}

.service-bottom-cta h3 {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.service-bottom-cta p {
    font-size: 15.5px;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================================================
   Sidebar Styles
   ========================================================================= */
.service-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.03);
}

.sidebar-widget-title {
    font-size: 17px;
    font-weight: 800;
    color: #123366;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.sidebar-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2.5px;
    background: var(--thm-blue);
    border-radius: 2px;
}

.sidebar-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-services-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.sidebar-services-list li a span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sidebar-services-list li a:hover,
.sidebar-services-list li.active a {
    background: #eff6ff;
    color: var(--thm-blue);
    border-color: #bfdbfe;
}

.sidebar-services-list li.active a {
    font-weight: 700;
}

/* Call Card */
.widget-direct-call {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
    text-align: center;
    padding: 30px 20px;
}

.call-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--thm-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px auto;
    box-shadow: 0 8px 16px rgba(24, 65, 133, 0.2);
}

.widget-direct-call h4 {
    font-size: 18px;
    font-weight: 800;
    color: #123366;
    margin-bottom: 8px;
}

.widget-direct-call p {
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 18px;
    line-height: 1.5;
}

.sidebar-phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--thm-blue);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 25px;
    width: 100%;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.sidebar-phone-btn:hover {
    background: var(--thm-blue-dark);
}

.call-hours {
    font-size: 12px;
    color: #64748b;
    display: block;
}

/* WhatsApp Card */
.widget-wa-support {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.wa-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 8px;
}

.widget-wa-support p {
    font-size: 13px;
    color: #047857;
    margin-bottom: 15px;
    line-height: 1.5;
}

.sidebar-wa-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #10b981;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 20px;
    transition: background 0.2s ease;
}

.sidebar-wa-btn:hover {
    background: #059669;
}

/* Location Card */
.sidebar-contact-items p {
    font-size: 13.5px;
    color: var(--thm-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }
    .service-content-hero-card {
        flex-direction: column;
        text-align: center;
    }
    .service-quick-meta {
        justify-content: center;
    }
    .service-features-2col-grid {
        grid-template-columns: 1fr;
    }
    .service-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .service-process-grid {
        grid-template-columns: 1fr;
    }
    .service-featured-projects-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================================
   Mobile Drawer & Navigation Overrides (Strict Vertical Stack)
   ========================================================================= */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: 85vw;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    z-index: 100001;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active,
.mobile-drawer.open {
    right: 0 !important;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    z-index: 100000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--thm-text-dark);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-close:hover {
    color: var(--thm-blue);
}

.drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.mobile-nav-container ul,
.mobile-nav-container .nav-menu-themedya,
.mobile-nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 25px 0 !important;
    gap: 4px !important;
}

.mobile-nav-container ul li,
.mobile-nav-list li {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid #f1f5f9 !important;
    position: relative !important;
}

.mobile-nav-container ul li a,
.mobile-nav-list li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 11px 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.mobile-nav-container ul li a span,
.mobile-nav-list li a span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.mobile-nav-container ul li a:hover,
.mobile-nav-container ul li.current-menu-item > a,
.mobile-nav-list li.current-menu-item > a {
    background: #f1f5f9 !important;
    color: var(--thm-blue) !important;
}

.mobile-nav-container ul li.current-menu-item > a::after,
.mobile-nav-list li.current-menu-item > a::after {
    display: none !important;
}

.mobile-item-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.mobile-item-row a {
    flex-grow: 1 !important;
}

.mobile-nav-toggle-btn {
    width: 36px !important;
    height: 36px !important;
    background: #f1f5f9 !important;
    border: none !important;
    border-radius: 8px !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 12px !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.menu-item-has-children.active .mobile-nav-toggle-btn,
.menu-item-has-children.open .mobile-nav-toggle-btn {
    transform: rotate(180deg) !important;
    color: var(--thm-blue) !important;
    background: #e0e7ff !important;
}

.mobile-nav-container .sub-menu {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: #f8fafc !important;
    border-radius: 10px !important;
    margin: 4px 0 10px 10px !important;
    padding: 6px 10px !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.mobile-nav-container .menu-item-has-children.active > .sub-menu,
.mobile-nav-container .menu-item-has-children.open > .sub-menu {
    display: flex !important;
    flex-direction: column !important;
}

.mobile-nav-container .sub-menu li {
    border-bottom: none !important;
}

.mobile-nav-container .sub-menu li a {
    font-size: 13.5px !important;
    color: #475569 !important;
    padding: 8px 10px !important;
}

.mobile-nav-container .sub-menu li a:hover {
    color: var(--thm-blue) !important;
    padding-left: 14px !important;
}

.drawer-contact-info {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    font-size: 13.5px;
    color: var(--thm-text-muted);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-contact-info p i {
    color: var(--thm-blue);
    font-size: 15px;
    width: 18px;
    text-align: center;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    backdrop-filter: blur(3px);
}

.drawer-backdrop.active {
    display: block !important;
}


/* =========================================================================
   Header Tools (Search & Mobile Hamburger Toggle) - Guaranteed Visibility
   ========================================================================= */
.header-tools {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

.header-search-btn {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    cursor: pointer !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    color: #123366 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.header-search-btn svg,
.mobile-menu-toggle svg,
.drawer-close svg,
.search-modal-close svg {
    display: block !important;
    pointer-events: none !important;
}

.header-search-btn svg {
    color: #123366 !important;
}

.header-search-btn,
.mobile-menu-toggle,
.drawer-close,
.search-modal-close {
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
}

.header-search-btn:hover {
    background: #e0e7ff !important;
    color: var(--thm-blue) !important;
    transform: scale(1.06) !important;
}

.header-search-btn:hover svg {
    color: var(--thm-blue) !important;
}

.mobile-menu-toggle {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    cursor: pointer !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    color: #123366 !important;
    display: none; /* hidden on desktop */
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.mobile-menu-toggle svg {
    color: #123366 !important;
}

.mobile-menu-toggle:hover {
    background: #e0e7ff !important;
    border-color: #cbd5e1 !important;
    color: var(--thm-blue) !important;
}

.mobile-menu-toggle:hover svg {
    color: var(--thm-blue) !important;
}

/* Breakpoint rules */
@media (max-width: 991px) {
    .main-navigation {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: flex !important;
    }
    .mobile-drawer {
        display: flex !important;
    }
    .header-brand {
        border-right: none !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
    .mis360-floating-navbar {
        padding: 10px 16px !important;
    }
    .site-logo-img {
        max-height: 26px !important;
    }
}

@media (min-width: 992px) {
    .main-navigation {
        display: block !important;
    }
    .mobile-menu-toggle {
        display: none !important;
    }
    .mobile-drawer {
        display: none !important;
    }
}

/* ==========================================================================
   MisTeknoloji 360 - 6 Core Solution Services & Supporting Infrastructure
   ========================================================================== */

.themedya-services-section {
    padding: 85px 0 95px;
    background: #ffffff;
    position: relative;
}

.services-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 45px;
}

.service-solution-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(18, 51, 102, 0.04);
    position: relative;
}

.service-solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(18, 51, 102, 0.12);
    border-color: #cbdcf8;
}

.solution-card-top {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d2757 0%, #17428b 100%);
}

.solution-card-img-wrap {
    width: 100%;
    height: 100%;
}

.solution-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-solution-card:hover .solution-thumb-img {
    transform: scale(1.06);
}

.solution-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(18, 51, 102, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

.solution-card-body {
    padding: 26px 26px 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.solution-card-title {
    font-size: 21px;
    font-weight: 800;
    color: #123366;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.solution-card-pitch {
    font-size: 14px;
    font-weight: 600;
    color: var(--thm-blue);
    line-height: 1.45;
    margin-bottom: 12px;
}

.solution-card-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
}

.solution-sub-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    padding-top: 10px;
}

.sub-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.sub-chip i {
    font-size: 10px;
    color: var(--thm-blue);
}

.service-solution-card:hover .sub-chip {
    background: #eef4ff;
    color: var(--thm-blue);
    border-color: #dbeafe;
}

.solution-card-footer {
    padding: 18px 26px 22px;
    border-top: 1px solid #f1f5f9;
    background: #fafcff;
}

.btn-solution-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #ffffff;
    color: #123366;
    border: 1px solid #dbeafe;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-solution-detail i {
    transition: transform 0.25s ease;
    color: var(--thm-blue);
}

.btn-solution-detail:hover {
    background: var(--thm-blue);
    color: #ffffff;
    border-color: var(--thm-blue);
}

.btn-solution-detail:hover i {
    transform: translateX(4px);
    color: #ffffff;
}

/* Destekleyici Hizmetler Bar */
.supporting-services-wrapper {
    background: linear-gradient(135deg, #0b1f44 0%, #123366 100%);
    border-radius: 24px;
    padding: 40px 45px;
    color: #ffffff;
    margin-top: 55px;
    box-shadow: 0 15px 35px rgba(11, 31, 68, 0.18);
    position: relative;
    overflow: hidden;
}

.supporting-services-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 43, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.supporting-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.supporting-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ff9b66;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.supporting-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.supporting-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 650px;
}

.supporting-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.supporting-item-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s ease;
}

.supporting-item-card:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.supp-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ff8b43;
    flex-shrink: 0;
}

.supp-info {
    flex-grow: 1;
}

.supp-item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px;
}

.supp-item-desc {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.35;
}

/* Hizmetlerimiz Detailed Page Extra Styles */
.service-pitch-text {
    font-size: 15px;
    color: var(--thm-blue);
    margin-bottom: 12px;
}

.service-row-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

/* Responsive Rules for Services */
@media (max-width: 1024px) {
    .services-solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    .supporting-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .services-solution-grid {
        grid-template-columns: 1fr;
    }
    .supporting-services-wrapper {
        padding: 26px 20px;
    }
    .supporting-items-grid {
        grid-template-columns: 1fr;
    }
    .service-row-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================================================================
   MisTeknoloji 360 - Modern Blog Index & Single Article Styles
   ========================================================================== */

/* Blog Archive & Filter Bar */
.blog-archive-page {
    background: #f8fafc;
    min-height: 80vh;
}

.blog-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #ffffff;
    padding: 16px 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(18, 51, 102, 0.03);
    flex-wrap: wrap;
}

.blog-filter-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 30px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.filter-pill:hover {
    background: #e2e8f0;
    color: #123366;
}

.filter-pill.active {
    background: var(--thm-blue);
    color: #ffffff;
    border-color: var(--thm-blue);
    box-shadow: 0 4px 12px rgba(24, 65, 133, 0.25);
}

.filter-pill .pill-count {
    opacity: 0.75;
    font-size: 11.5px;
}

.blog-search-box {
    min-width: 280px;
}

.blog-search-form {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.blog-search-form input {
    width: 100%;
    padding: 10px 42px 10px 16px;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
    font-size: 13.5px;
    background: #f8fafc;
    color: #1e293b;
    outline: none;
    transition: all 0.25s ease;
}

.blog-search-form input:focus {
    background: #ffffff;
    border-color: var(--thm-blue);
    box-shadow: 0 0 0 3px rgba(24, 65, 133, 0.12);
}

.blog-search-form button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.blog-search-form button:hover {
    color: var(--thm-blue);
}

/* 3-Column Blog Main Grid */
.blog-main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-item-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(18, 51, 102, 0.04);
}

.blog-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(18, 51, 102, 0.1);
    border-color: #cbdcf8;
}

.blog-item-thumb-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #0f172a;
}

.blog-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-item-card:hover .blog-item-img {
    transform: scale(1.06);
}

.blog-item-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(18, 51, 102, 0.88);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.blog-item-date-badge {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-item-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-item-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
    color: #123366;
}

.blog-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-item-title a:hover {
    color: var(--thm-blue);
}

.blog-item-excerpt {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.blog-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.blog-item-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
}

.blog-item-author .author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e0e7ff;
    color: var(--thm-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.blog-item-author .author-name {
    font-weight: 600;
    color: #334155;
}

.blog-item-author .dot-sep {
    opacity: 0.5;
}

.blog-item-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--thm-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-item-btn i {
    transition: transform 0.2s ease;
}

.blog-item-btn:hover {
    color: #0b1f44;
}

.blog-item-btn:hover i {
    transform: translateX(4px);
}

/* Pagination Styles */
.themedya-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
}

.themedya-pagination-wrapper .pagination {
    margin: 0;
}

.themedya-pagination-wrapper .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.themedya-pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.themedya-pagination-wrapper .page-numbers:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--thm-blue);
}

.themedya-pagination-wrapper .page-numbers.current {
    background: var(--thm-blue);
    color: #ffffff;
    border-color: var(--thm-blue);
    box-shadow: 0 4px 12px rgba(24, 65, 133, 0.25);
}

.themedya-pagination-wrapper .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

/* Blog Conversion CTA Banner */
.blog-cta-banner {
    background: linear-gradient(135deg, #0b1f44 0%, #123366 100%);
    border-radius: 20px;
    padding: 38px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(11, 31, 68, 0.16);
    position: relative;
    overflow: hidden;
}

.blog-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 43, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.blog-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ff9b66;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.blog-cta-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.blog-cta-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    max-width: 600px;
}

.blog-cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* ==========================================================================
   Single Article Layout & Typography
   ========================================================================== */

.single-post-wrapper {
    background: #f8fafc;
}

.single-post-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: flex-start;
}

.single-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(18, 51, 102, 0.04);
}

.single-cat-badge {
    display: inline-block;
    background: #eef4ff;
    color: var(--thm-blue);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 15px;
    border: 1px solid #dbeafe;
}

.single-article-title {
    font-size: 30px;
    font-weight: 800;
    color: #123366;
    line-height: 1.35;
    margin-bottom: 18px;
    letter-spacing: -0.4px;
}

.single-meta-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
}

.single-meta-bar .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-meta-bar .meta-icon {
    color: var(--thm-blue);
}

.single-featured-image-wrap {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.single-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Entry Content Typography */
.single-entry-content {
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
}

.single-entry-content p {
    margin-bottom: 22px;
}

.single-entry-content h2 {
    font-size: 24px;
    font-weight: 800;
    color: #123366;
    margin: 38px 0 16px;
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.single-entry-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 30px 0 14px;
    line-height: 1.4;
}

.single-entry-content ul,
.single-entry-content ol {
    margin: 0 0 24px 24px;
}

.single-entry-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.single-entry-content blockquote {
    border-left: 4px solid var(--thm-blue);
    background: #f8fafc;
    padding: 18px 24px;
    margin: 28px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #1e293b;
}

.single-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.single-entry-content strong {
    color: #0f172a;
}

/* Share Bar */
.single-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    margin: 35px 0 30px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.single-share-bar .share-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #123366;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.share-btn:hover {
    opacity: 0.88;
    color: #ffffff;
}

.share-wa { background: #25d366; }
.share-in { background: #0077b5; }
.share-x  { background: #000000; }
.share-fb { background: #1877f2; }

/* Author Bio Card */
.single-author-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.author-avatar-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--thm-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.single-author-card .author-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--thm-blue);
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 4px;
}

.single-author-card .author-name {
    font-size: 17px;
    font-weight: 800;
    color: #123366;
    margin-bottom: 6px;
}

.single-author-card .author-bio {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

/* Prev / Next Navigation */
.single-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.nav-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 22px;
    transition: all 0.25s ease;
}

.nav-card a {
    text-decoration: none;
    display: block;
}

.nav-card:hover:not(.disabled) {
    border-color: var(--thm-blue);
    background: #eef4ff;
    transform: translateY(-2px);
}

.nav-card .nav-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--thm-blue);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.next-card .nav-label {
    justify-content: flex-end;
}

.nav-card .nav-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #123366;
    margin: 0;
    line-height: 1.4;
}

.next-card .nav-title {
    text-align: right;
}

/* Related Posts */
.related-articles-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 35px;
}

.related-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #123366;
    margin-bottom: 22px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.25s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.related-thumb {
    height: 130px;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-body {
    padding: 14px 16px;
}

.related-date {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-bottom: 6px;
}

.related-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #123366;
    line-height: 1.4;
    margin: 0;
}

.related-title a {
    color: inherit;
    text-decoration: none;
}

.related-title a:hover {
    color: var(--thm-blue);
}

/* Sidebar Widgets */
.single-sidebar-column {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(18, 51, 102, 0.03);
}

.sidebar-widget-title {
    font-size: 16px;
    font-weight: 800;
    color: #123366;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.sidebar-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--thm-blue);
}

.sidebar-search-form {
    display: flex;
    position: relative;
}

.sidebar-search-form input {
    width: 100%;
    padding: 10px 42px 10px 16px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 13.5px;
    outline: none;
}

.sidebar-search-form button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
}

.sidebar-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories-list li {
    margin-bottom: 8px;
}

.sidebar-categories-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-categories-list a:hover {
    background: #eef4ff;
    color: var(--thm-blue);
}

.sidebar-categories-list a .cat-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
}

.sidebar-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.recent-post-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recent-thumb {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-date {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-bottom: 3px;
}

.recent-title {
    font-size: 13px;
    font-weight: 700;
    color: #123366;
    margin: 0;
    line-height: 1.35;
}

.recent-title a {
    color: inherit;
    text-decoration: none;
}

.recent-title a:hover {
    color: var(--thm-blue);
}

/* Sidebar Corporate CTA */
.widget-corporate-cta {
    background: linear-gradient(135deg, #0b1f44 0%, #123366 100%);
    color: #ffffff;
    border: none;
}

.widget-corporate-cta .cta-mini-tag {
    font-size: 10.5px;
    font-weight: 800;
    color: #ff9b66;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 6px;
}

.widget-corporate-cta .cta-box-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.widget-corporate-cta .cta-box-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 18px;
    line-height: 1.5;
}

.cta-box-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.btn-cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.btn-cta-phone:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.btn-cta-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.btn-cta-whatsapp:hover {
    opacity: 0.9;
    color: #ffffff;
}

.btn-cta-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--thm-blue);
    color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #3b82f6;
    transition: all 0.2s ease;
}

.btn-cta-quote:hover {
    background: #17428b;
    color: #ffffff;
}

/* Responsive Rules for Blog */
@media (max-width: 1024px) {
    .blog-main-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .single-post-grid {
        grid-template-columns: 1fr;
    }
    .single-sidebar-column {
        position: static;
    }
    .blog-cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .blog-main-grid {
        grid-template-columns: 1fr;
    }
    .blog-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .blog-search-box {
        min-width: 100%;
    }
    .single-article-card {
        padding: 24px 18px;
    }
    .single-article-title {
        font-size: 22px;
    }
    .single-post-navigation {
        grid-template-columns: 1fr;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .blog-cta-banner {
        padding: 28px 20px;
    }
    .blog-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .blog-cta-actions a {
        width: 100%;
        text-align: center;
    }
}


