
/* =========================================
   TECH INSIGHTS SECTION (Fully Responsive)
   ========================================= */

/* body, html {
    overflow-x: visible !important;
    overflow-y: visible !important;
} */


.latest-articles-section, 
.common-big-pd,
.tech-insights-section { 
    overflow: visible !important; 
}
.tech-insights-section {
    /* Dynamic Padding: 60px on mobile -> 120px on desktop */
    padding: clamp(60px, 8vw, 90px) 0;
    background: linear-gradient(135deg, #82ade1 0%, #d0d4d4 50%, #a6bcf0 100%);
    position: relative;
    overflow: hidden;
}

/* Dynamic Font Sizes */
.section-title {
    /* Scales from 34px (mobile) to 70px (desktop) */
    font-size: clamp(34px, 5vw + 1rem, 60px);
    line-height: 1.1;
    margin-bottom: 15px;
    color: rgb(0 88 148);
}

.section-desc {
    /* Scales from 16px to 20px */
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

/* Typography Gradient */
.text-gradient-cyan {
    background: linear-gradient(90deg, rgb(0 88 148), #365180);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* --- Featured Card Container --- */
.featured-blog-card {
    background: linear-gradient(135deg, rgb(1, 66, 109) 0%, #0f2e35 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Responsive Width */
    width: 95%; 
    max-width: 1500px; 
    margin: 0 auto;
}

.featured-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(79, 209, 197, 0.4);
}

/* --- Left Side: Content --- */
.blog-content {
 
    padding: clamp(6px, 2vw, 20px);
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-label {
    color: #fff  !important;
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    display: inline-block;
}

.blog-title {
    
    font-size: clamp(14px, 2vw, 26px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #ffffff;
}

.blog-excerpt {
    color: #dde0e6;
    /* Scales from 15px to 18px */
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: 1.7;
    opacity: 0.9;
}
.blog-excerpt p
{
    margin-bottom: 0px !important;
    font-size: 14px !important;
}

/* Author Area */
.blog-author {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.author-img-wrapper {
    width: clamp(40px, 5vw, 60px); /* Dynamic Size */
    height: clamp(40px, 5vw, 60px);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.author-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    margin-left: 15px;
}

.author-details h6 {
    font-size: clamp(14px, 2vw, 18px);
    margin: 0;
    color: #fff;
}

.author-details small {
    font-size: 14px;
    color: #a0aec0;
}

/* --- Button Styling --- */
.btn-teal-glow {
    background-color: #fff;
    color: #000;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
    align-self: flex-start; /* Prevents full width on flex */
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-teal-glow:hover {
    background-color: rgb(0 88 148);
    color: #fff;
    box-shadow: 0 0 25px rgb(0 88 148);
    transform: translateX(5px);
}


/* --- Right Side: Image --- */
.blog-image-wrapper {
    height: 100%;
    height: 388px; 
    position: relative;
    overflow: hidden;
}

.blog-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    object-position: top center;
    position: relative;
    transform-origin: center center;
}

/* Zoom Effect */
.featured-blog-card:hover .blog-main-img {
    transform: scale(1.08);
}

/* Overlay for Text Contrast on Image (Optional) */
.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(16, 27, 32, 0.4), transparent);
    pointer-events: none;
}

/* =========================================
   RESPONSIVE BREAKPOINTS (Specific Adjustments)
   ========================================= */

/* Tablet & Mobile (Max-width 991px) */
@media (max-width: 991px) {
    .blog-image-wrapper {
        min-height: 250px;
        height: 350px; 
    }
    
    .blog-content {
        padding: 40px 25px; 
        text-align: left;
    }

    .featured-blog-card {
        width: 100%; 
        border-radius: 0; 
    }
    
    .btn-teal-glow {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile (Max-width 576px) */
@media (max-width: 576px) {
    .tech-insights-section {
        padding: 60px 0;
    }
    
    .blog-title {
        margin-bottom: 15px;
    }
    
    .blog-image-wrapper {
        height: 220px;     }
}


/* =========================================
   LATEST ARTICLES & STICKY SIDEBAR
   ========================================= */

.latest-articles-section {
   
    padding-bottom: clamp(80px, 8vw, 150px);
    color: #ffffff;
    
   
    position: relative;
    background: linear-gradient(-14deg, rgba(57, 135, 188, 0.4) 0%, rgba(43, 143, 186, 0.25) 68%, rgb(103 202 236 / 17%) 100%);
    
}

/* 1. Custom Container (Max Width 1600px) */
.custom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: clamp(15px, 3vw, 50px);
    padding-right: clamp(15px, 3vw, 50px);
}

.section-subtitle {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: rgb(1, 66, 109);
}

/* --- 2. Article Card Styling --- */
.article-card {
    margin-bottom: 40px !important;
    box-shadow: 5px 5px 34px -2px rgb(0 0 0 / 30%);
    border: 1px solid rgb(3 26 45);
    border-radius: 20px;
    background: rgb(18 35 50 / 83%);
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 105, 165, 0.3); 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Image Wrapper */
.card-img-wrapper {
    height: 260px; 
    overflow: hidden;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
        object-fit: cover;
    transition: transform 0.6s ease;
    object-position: top center;
    position: relative;
    transform-origin: center center;
}

.article-card:hover .card-img-wrapper img {
    transform: scale(1.08); /* Smooth Zoom */
}

/* Content Area */
.card-content {
    padding: clamp(12px, 2vw, 30px);
    display: flex;
    flex-direction: column;
    
    height: 100%;
    
    justify-content: flex-start;
}

.card-excerpt {
    margin-bottom: 25px;
    line-height: 1.8;
    opacity: 0.85;
    
    
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
}

/* --- 5. Category Buttons --- */
.category-label {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 4px;
    letter-spacing: 1.5px;
    display: inline-block; 
    margin-bottom: 15px;
}

/* --- 6. Sidebar Title --- */
.sidebar-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0067a3;
    display: inline-block;
}

.text-teal { color: #10b7ed; }

.card-title a {
    color: #fff;
    text-decoration: none;
    /* Responsive Font Size */
    font-size: clamp(18px, 1vw, 24px);
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.card-title a:hover {
    color: #adc8d7;
}

.card-excerpt {
    color: #a0aec0;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.6;
    margin-top: 12px;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Author Meta */
.card-meta {
    font-size: 14px;
    color: #cbd5e0;
}

.author-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #fff;
}

/* --- 3. Sticky Sidebar Styling --- */
/* =========================================
   STICKY SIDEBAR CSS
   ========================================= */
.sticky-sidebar-wrapper {
    /* 1. Essential Sticky Logic */
    position: -webkit-sticky !important; 
    position: sticky !important;
    top: 100px; 
    z-index: 10;
    
    /* 2. Layout */
    width: 100%;
    padding-left: 15px;
    display: block;
}



/* 2. Sidebar Title Styling */
.sidebar-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0067a3;
    display: inline-block;
    color: #000; /* As per your code */
    font-size: 24px;
    font-weight: 700;
}

/* 3. Tags Container (Flexbox for pills) */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* 4. Tag Pills Styling */
.tag-pill {
    background: rgb(255 255 255 / 25%);
    border: 1px solid rgb(4 147 205 / 34%);
    color: #02314d;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.tag-pill:hover {
    background: rgb(2 141 200 / 27%);
    border-color: #0391cb;
    color: #002f4c;
    transform: translateY(-3px);
}

@media (max-width: 991px) {
   .sticky-sidebar-wrapper {
        position: static !important;
        padding-left: 0;
        margin-top: 50px;
    }

    .sidebar-title {
        margin-bottom: 20px;
        font-size: 22px;
    }
    
    .tags-container {
        justify-content: flex-start; 
    }
}

/* --- 4. Pagination Styling --- */
.pagination-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-btn.active, .page-btn:hover {
    background: #10b7ed;
    border-color: #068bb8;
}

.page-dots {
    color: #fff;
    line-height: 40px;
    padding: 0 5px;
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */

/* Tablet & Mobile (Max-width 991px) */
@media (max-width: 991px) {
    .card-img-wrapper {
        height: 220px; 
        min-height: auto;
    }
    
    .card-content {
        padding: 25px;
    }
    
    
    .sticky-sidebar-wrapper {
        position: static; 
        padding-left: 0;
        margin-top: 40px;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 30px;
    }
}

/* Small Mobile (Max-width 576px) */
@media (max-width: 576px) {
   
    .article-card .row > div {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .card-img-wrapper {
        height: 200px;
    }
    
    .card-title a {
        font-size: 18px;
    }
}

/* Add/Ensure this is in your CSS */
.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 8px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: #10b7ed;
    border-color: #0eace1;
}

/* Active State for Pagination */
.page-btn.active {

    background: #10b7ed;
    border-color: #0eace1;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(19, 82, 144, 0.4);
}


/* =========================================
   MOBILE RESPONSIVENESS FIXES
   ========================================= */

@media (max-width: 991px) {
    /* 1. Ensure the gap is distinct on mobile */
    .article-card {
        margin-bottom: 40px !important;
    }

    .card-img-wrapper {
        height: 220px;
        width: 100%;
    }

    
    .sidebar-title {
        margin-top: 50px;
    }
}

@media (max-width: 576px) {
   
    .card-content {
        padding: 20px; 
    }
   
    .card-title a {
        font-size: 20px; 
    }
    
   
    .card-meta {
        padding-top: 15px;
    }
}


/* =========================================
   THEMEMAKER CREATIVE BLOG STYLES
   ========================================= */

.tm-category-section {
    padding: 80px 0;
    background-color: #fff;
}

.tm-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    font-family: "Nunito", sans-serif;
}

/* Yellow Highlighter Scribble */
.scribble-highlight {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 15 Q 50 20 100 10' stroke='%230d6efd' stroke-width='15' fill='none' opacity='0.2'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 0 5px;
}

.tm-cat-card {
    display: block;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.tm-cat-card:hover {
    transform: translateY(-10px);
}

.tm-icon-box {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Scribble Blob Behind Icon */
.scribble-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    transition: transform 0.3s ease;
}

.tm-cat-card:hover .scribble-bg {
    transform: scale(1.1) rotate(10deg); /* Wiggle effect */
}

.tm-icon {
    position: relative;
    z-index: 1;
    font-size: 32px;
    color: #1e293b;
    transition: color 0.3s ease;
}

.tm-cat-card:hover .tm-icon {
    color: var(--primary-color, #0d6efd);
}

.tm-cat-card h5 {
    font-weight: 700;
    color: #1e293b;
    font-size: 18px;
}

/* --- 4. Newsletter (Paper Vibe) --- */
.tm-newsletter-section {
    padding: 0 0 100px 0;
    margin-top: 60px;
}

.tm-paper-box {
    background: #1e293b; /* Dark theme contrast */
    color: #fff;
    padding: 60px 40px;
    border-radius: 20px; /* Rough border radius */
    position: relative;
    overflow: hidden;
    /* Sketchy Border effect using shadow */
    box-shadow: 10px 10px 0px rgba(13, 110, 253, 0.2); 
    border: 2px solid #1e293b;
}

.tm-news-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.highlight-circle {
    position: relative;
    display: inline-block;
    color: #fff;
}

/* Hand Drawn Circle around text */
.highlight-circle::after {
    content: '';
    position: absolute;
    top: -5px; left: -10px; right: -10px; bottom: -5px;
    border: 2px solid #2c5187;
    border-radius: 50% 60% 40% 70% / 50% 50% 60% 40%; /* Organic circle shape */
    transform: rotate(-2deg);
}

/* Form Styles */
.tm-form .input-group {
    background: #fff;
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.tm-form .form-control {
    border: none;
    box-shadow: none;
    padding-left: 20px;
    font-size: 16px;
}

.tm-form .btn {
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 700;
}

.tm-tiny-text {
    font-size: 12px;
    opacity: 0.7;
}

/* Paper Plane Animation */
.tm-plane-container {
    position: absolute;
    top: 20px;
    right: 50px;
    width: 120px;
    opacity: 0.3;
}

@media (min-width: 992px) {
    .tm-plane-container {
        opacity: 1;
        top: 40px;
        right: 15%;
    }
}

.plane-body {
    offset-path: path("M10 50 C 30 10, 60 10, 60 40 C 60 70, 30 70, 40 40 C 50 10, 100 10, 130 30");
    animation: flyPlane 4s infinite ease-in-out;
}

@keyframes flyPlane {
    0% { transform: translate(0,0); }
    50% { transform: translate(5px, -5px) rotate(5deg); }
    100% { transform: translate(0,0); }
}

/* Responsive */
@media (max-width: 768px) {
    .tm-paper-box { padding: 40px 20px; }
    .tm-news-title { font-size: 28px; }
    .highlight-circle::after { display: none; } /* Hide circle on small screens if text wraps */
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}


/* --- Final CTA Box --- */
.hire-cta-box {
    background: #eaeeff; /* Your Light Blue Theme */
    border-radius: 40px;
    padding: 50px;
    border: 1px solid #d4dcff;
    position: relative;
    box-shadow: 0 20px 60px rgba(13, 110, 253, 0.08);
}
.hire-cta-box h3 {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}
.hire-cta-box p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Trust Icons at bottom */
.trust-icons {
    margin-top: 20px;
    font-size: 14px;
    color: #475569;
    font-weight: 600;
}
.trust-icons span {
    display: inline-block;
    margin: 5px 0;
}

/* --- Mobile Responsive --- */
@media (max-width: 991px) {
    .hire-cta-box { padding: 30px 20px; }
    .domain-grid { justify-content: center; }
    .hire-content { text-align: center; }
}

/* =========================================
   BLOG HIRE CTA (Grid Style)
   ========================================= */

.blog-hire-cta {
    background: #f8fbff; /* Very light premium background */
    padding: 80px 0;
    overflow: hidden;
}

/* --- Left Visual --- */
.hire-visual-card {
    position: relative;
    padding: 20px;
}

.image-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 88, 148, 0.15);
    border: 5px solid #fff;
    transform: rotate(-2deg); /* Stylish tilt */
    transition: 0.3s;
}
.image-box img {
    width: 100%;
    height: auto;
}
.hire-visual-card:hover .image-box {
    transform: rotate(0deg); /* Straighten on hover */
}

/* Decorative Dots */
.pattern-dots {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
    background-size: 10px 10px;
    z-index: -1;
}

/* Floating Stat */
.stat-float {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 4px solid #005894;
    z-index: 2;
}
.stat-float h3 {
    font-size: 24px;
    font-weight: 800;
    color: #005894;
    margin: 0;
}
.stat-float p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- Right Content --- */
.badge-soft {
    background: #e0f2fe;
    color: #005894;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.hire-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.2;
}

.lead-text {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 30px;
    max-width: 90%;
}

/* --- Feature Grid Box --- */
.feature-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center; /* Aligns icon and text */
    gap: 15px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: #dbeafe;
    box-shadow: 0 10px 25px rgba(0, 88, 148, 0.08);
}

/* Icon Styles */
.f-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* Icon Background Colors */
.bg-blue   { background: #e0f2fe; color: #0284c7; }
.bg-purple { background: #f3e8ff; color: #9333ea; }
.bg-green  { background: #dcfce7; color: #16a34a; }
.bg-orange { background: #ffedd5; color: #ea580c; }
.bg-teal   { background: #ccfbf1; color: #0f766e; }
.bg-red    { background: #fee2e2; color: #dc2626; }

/* Text Styles */
.f-info h5 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 3px 0;
}
.f-info p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
}
.hire-content span{
    color: #005894;
}
/* --- Button --- */
.btn-hire-glow {
    display: inline-flex;
    align-items: center;
    background: #005894;
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 88, 148, 0.3);
}
.btn-hire-glow:hover {
    background: #0f172a;
    transform: translateY(-2px);
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .stat-float { right: 0; }
    .hire-visual-card { margin-bottom: 40px; }
}