/*
Theme Name: CodeMastery Theme
Theme URI: https://codemastery.co.uk
Author: CodeMastery
Author URI: https://codemastery.co.uk
Description: A custom WordPress theme developed for CodeMastery based on a static HTML design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme, responsive-layout, tailwindcss
Text Domain: codemastery
*/

/* ==========================================================================
   আপনার দেওয়া style.css ফাইলের সব কোড নিচে পেস্ট করুন
   ========================================================================== */

/* CSS Custom Variables */
:root {
    --primary-orange: #f48c06;
    --primary-blue: #1d274e;
}

/* Base Body Styles */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
}
body {
    overflow-x: visible; /* sticky element visible রাখতে */
}




/* Tailwind Color Helper Classes (already in HTML, good to have centralized if needed) */
.bg-primary-orange {
    background-color: var(--primary-orange);
}

.bg-primary-blue {
    background-color: var(--primary-blue);
}

.text-primary-orange {
    color: var(--primary-orange);
}

.text-primary-blue {
    color: var(--primary-blue);
}

.border-primary-orange {
    border-color: var(--primary-orange);
}

.hover-bg-primary-orange:hover {
    background-color: var(--primary-orange);
}

.hover-bg-primary-blue:hover {
    background-color: var(--primary-blue);
}
.first-btn:hover {
  background-color: var(--primary-orange);
  
  color: rgb(255, 255, 255);
}

.second-btn:hover {
  background-color: var(--primary-blue);
  color: rgb(255, 255, 255);
}
.third-btn:hover {
    color: var(--primary-orange);
}

li{list-style-type: none;}


span.font-bold.bg-primary-orange.px-2.py-1.rounded.flex-shrink-0.z-10{
    padding: 1% 2%;
    left: 0;
    position: absolute;
}
/* ==========================================================================
   WordPress Dynamic Menu Styles
   ========================================================================== */

/* Desktop Menu */
header nav .menu {
    display: flex;
    /* gap: 2rem; space-x-8 equivalent */
    list-style: none; /* Removes bullet points */
    padding: 0;
    margin: 0;
}

header nav .menu-item a {
    color: #374151; /* text-gray-700 */
    font-weight: 500; /* font-medium */
    transition: color 0.3s ease;
}

header nav .menu-item a:hover {
    color: var(--primary-orange);
}

/* Mobile Menu */
#mobile-menu nav .menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* space-y-2 */
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile-menu nav .menu-item a {
    display: block;
    padding: 0.75rem 1rem; /* py-3 px-4 */
    border-radius: 0.375rem; /* rounded-md */
    color: #374151; /* text-gray-700 */
    transition: background-color 0.3s ease, color 0.3s ease;
}

#mobile-menu nav .menu-item a:hover {
    background-color: #f3f4f6; /* bg-gray-100 */
    color: var(--primary-orange);
}


.search-trigger-wrapper i.fas.fa-times{
    display: none;
}


/* Active menu item styling */
header nav .menu-item.current-menu-item a {
    color: var(--primary-orange);
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 2px;
}
#mobile-menu nav .menu-item.current-menu-item a {
    background-color: #f3f4f6; /* bg-gray-100 */
    color: var(--primary-orange);
    border-bottom: none;
}
/* Animations & Transitions */
.special-offer-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.portfolio-card {
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--primary-orange);
}






/* Hero Pattern */
.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(244, 140, 6, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(29, 39, 78, 0.1) 0%, transparent 50%);
}

/* Scroll Animation Classes */
.will-animate {
    opacity: 0;
    transform: translateY(30px); /* Start 30px down */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.will-animate.is-visible {
    opacity: 1;
    transform: translateY(0); /* End at original position */
}

/* Print Styles */
@media print {
    body { font-size: 12px; }
    .no-print { display: none !important; }
    .will-animate { /* Disable animation for print */
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}


/*============== CSS Code For about us page ==================*/

/* CSS Custom Variables */
:root {
    --primary-orange: #f48c06;
    --primary-navy: #1d274e;
}

/* Base Body Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth; /* Added for consistency if you add internal links */
}

/* Color Helper Classes */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2d3748 100%);
}

.text-primary-orange {
    color: var(--primary-orange);
}

.text-primary-navy {
    color: var(--primary-navy);
}

.bg-primary-orange {
    background-color: var(--primary-orange);
}

.bg-primary-navy {
    background-color: var(--primary-navy);
}

.border-primary-orange {
    border-color: var(--primary-orange);
}

/* Hover Effects */
.hover-orange:hover {
    background-color: var(--primary-orange);
    color: white;
}

/* Shadows */
.card-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Timeline Specific Styles */
.timeline-line {
    position: relative;
}

.timeline-line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-orange);
    transform: translateX(-50%);
}

/* Icon Float Animation */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Stats Card Background */
.stats-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
}

/* Scroll Animation Classes */
.will-animate {
    opacity: 0;
    transform: translateY(30px); /* Start 30px down */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.will-animate.is-visible {
    opacity: 1;
    transform: translateY(0); /* End at original position */
}


/* Print Styles */
@media print {
    body { print-color-adjust: exact; }
    .no-print { display: none !important; } /* Ensure this class hides elements for print */
     .will-animate { /* Disable animation for print */
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* === ADD THESE STYLES TO YOUR EXISTING assets/css/style.css === */

/* Services Page Specific Styles (or general if reusable) */

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-5px);
}

/* Gradient for Services Page Hero */
.gradient-bg-services { /* Renamed to avoid conflict if homepage uses .gradient-bg differently */
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d3748 100%);
}

/* Service Card for Services Page */
/* Note: If you have a .service-card from homepage, review for conflicts or desired override */
.service-card-services { /* Renamed for clarity if homepage has .service-card */
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* Adjusted shadow slightly */
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card-services:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* Adjusted hover shadow */
    border-color: var(--primary-orange);
    transform: translateY(-5px); /* Added consistent hover effect */
}


/* Pricing Card Styles */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden; /* Important for the popular banner */
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.pricing-popular {
    border: 3px solid var(--primary-orange);
}

.pricing-popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 100px; /* Adjust as needed */
    right: -30px; /* Adjust as needed */
    background: var(--primary-orange);
    color: white;
    padding: 8px 40px; /* Adjust padding */
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    transform-origin: top right; /* Better positioning for rotation */
    z-index: 1; /* Ensure it's above card content */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Feature List Styles */
.feature-list li {
    position: relative;
    padding-left: 1.75rem; /* Increased padding for better spacing */
    margin-bottom: 0.75rem; /* Increased margin */
    line-height: 1.5; /* Improved readability */
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px; /* Fine-tune vertical alignment */
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.1em; /* Slightly larger checkmark */
}

/* Process Step Styles */
.process-step {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.process-number {
    background: var(--primary-orange);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* CTA Button Styles (General or Services Page Specific) */
.cta-button {
    display: inline-block; /* Ensures padding and transforms work as expected */
    background: var(--primary-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #e67e00; /* Slightly darker orange on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(244, 140, 6, 0.4);
}

/* Discount Banner (Top of Page) */
.discount-banner {
    background: linear-gradient(45deg, var(--primary-orange), #ff9500);
    color: white;
    padding: 0.75rem 0; /* Adjusted padding */
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100; /* Ensure it's above sticky header if header z-index is 50 */
    animation: pulse-banner 2.5s infinite ease-in-out; /* Renamed animation */
}

@keyframes pulse-banner { /* Renamed animation */
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}


/* Ensure global variables are defined if not already at the top of your style.css */
/* :root {
    --primary-orange: #f48c06;
    --primary-blue: #1d274e; 
} */

/* Ensure body font and scroll behavior is defined if not already */
/* body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
} */

/* Ensure animation classes are defined if not already */
/* .will-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.will-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
} */


/* Homepage Testimonial Card Style (for reference if needed, assuming already in your style.css) */
/* .testimonial-card {
    background: white;
    padding: 2rem; 
    border-radius: 0.75rem; 
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
} */




/* === ADD THESE STYLES TO YOUR EXISTING assets/css/style.css === */

/* Portfolio Page Specific Styles */

.portfolio-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background-color: white; /* Added default background */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* Default shadow */
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.portfolio-image { /* Placeholder image style */
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-orange) 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.filter-btn {
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem; /* Tailwind equivalent for px-6 py-3 */
    border-radius: 9999px; /* Tailwind equivalent for rounded-full */
    font-weight: 500; /* Tailwind equivalent for font-medium */
}

.filter-btn.active {
    background-color: var(--primary-orange);
    color: white;
}

.filter-btn:not(.active) {
    background-color: #e9ecef; /* Light gray for non-active, better contrast */
    color: var(--primary-navy);
}

.filter-btn:not(.active):hover {
    background-color: var(--primary-orange);
    color: white;
}

/* Testimonial card on portfolio page, if different from homepage/services */
.testimonial-card-portfolio { /* Renamed for specificity if needed */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem; /* Keep if layout requires */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.testimonial-card-portfolio:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}


.case-study-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    padding: 2rem;
    margin-bottom: 2rem; /* Keep if layout requires */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.stats-card-portfolio { /* Renamed for specificity */
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2c3e50 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stats-card-portfolio:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2), 0 4px 6px -2px rgba(0,0,0,0.1);
}


.process-step-portfolio { /* Renamed for specificity */
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.process-step-portfolio:hover {
    border-color: var(--primary-orange);
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}


/* Ensure print styles include -webkit prefix for broader compatibility */
@media print {
    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .no-print { display: none !important; }
    .will-animate {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}



/* === ADD THESE STYLES TO YOUR EXISTING assets/css/style.css === */

/* Contact Page Specific Styles (Revised) */

.hero-contact-alt { /* Specific hero for this contact page design */
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2d3561 100%);
}

.hero-pattern-contact { /* Specific pattern for this contact page hero */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='60' cy='60' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-card { /* Card style for form, info, and FAQ items */
    background: white;
    border-radius: 16px; /* rounded-2xl equivalent */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); /* Softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.form-input {
    border: 1px solid #d1d5db; /* Tailwind gray-300 */
    border-radius: 8px;
    padding: 12px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.95rem; /* Slightly smaller font for inputs */
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(244, 140, 6, 0.15); /* Adjusted focus shadow */
}

.btn-primary-contact { /* Specific button style for this contact page */
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e07704 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(244, 140, 6, 0.25); /* Adjusted hover shadow */
}

.pulse-animation-contact { /* Specific pulse for this contact page's banner */
    animation: pulse-contact 2.5s infinite ease-in-out;
}

@keyframes pulse-contact {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.01); }
}

.feature-icon-contact { /* Specific icon style for this contact page */
    width: 56px; /* Slightly smaller */
    height: 56px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e07704 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px; /* Slightly smaller */
    margin-bottom: 16px;
    flex-shrink: 0; /* Prevent shrinking */
}

.special-offer-banner-contact { /* Specific banner for this contact page */
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e07704 100%);
    color: white;
    padding: 1rem 1.5rem; /* Adjusted padding */
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem; /* mb-8 */
    animation: pulse-animation-contact 3s infinite; /* Uses specific animation */
    box-shadow: 0 4px 15px rgba(244, 140, 6, 0.2);
}

/* FAQ Item Styling (using .contact-card for consistency) */
.faq-item .faq-question {
    font-weight: 600; /* font-semibold */
    color: var(--primary-navy);
    margin-bottom: 0.75rem; /* mb-3 */
}

.faq-item .faq-answer {
    color: #4b5563; /* text-gray-600 */
    font-size: 0.9rem; /* text-sm equivalent */
    line-height: 1.6;
}

/* Accordion styles for FAQ (Optional, if you want interactive FAQs) */
.faq-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-navy);
    background-color: #f9fafb; /* bg-gray-50 */
    border-radius: 8px;
    transition: background-color 0.2s ease;
}
.faq-accordion summary:hover {
    background-color: #f3f4f6; /* bg-gray-100 */
}
.faq-accordion summary::-webkit-details-marker {
    display: none; /* Hide default arrow in Chrome/Safari */
}
.faq-accordion summary::after { /* Custom arrow */
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.faq-accordion[open] summary::after {
    transform: rotate(45deg);
}
.faq-accordion .faq-answer-accordion {
    padding: 1rem;
    background-color: white;
    border-top: 1px solid #e5e7eb; /* border-gray-200 */
    border-radius: 0 0 8px 8px;
}


/* General text color for body if not already set globally */
/* body {
    color: #374151; text-gray-700 for better readability than #333
} */




/* === ADD THESE STYLES TO YOUR EXISTING assets/css/style.css === */

/* Blog Page Specific Styles */

.gradient-bg-blog { /* Specific gradient for blog page hero */
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-orange) 100%);
}

.blog-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07); /* Softer default shadow */
    background-color: white; /* Ensure background for cards */
    border-radius: 0.75rem; /* rounded-xl */
    overflow: hidden; /* For image containment */
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Enhanced hover shadow */
}

.tag { /* Reusable tag style */
    background: var(--primary-orange);
    color: white;
    padding: 4px 12px;
    border-radius: 9999px; /* rounded-full */
    font-size: 0.75rem; /* text-xs equivalent */
    font-weight: 500; /* font-medium */
    display: inline-block; /* Ensure padding is applied correctly */
    line-height: 1.2;
}

.featured-image-placeholder { /* Placeholder style for blog images */
    background: linear-gradient(45deg, var(--primary-navy), var(--primary-orange));
    min-height: 200px; /* Or specific height like h-48 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem; /* Adjusted icon size */
    /* For actual images, you'd use an <img> tag and object-fit */
}
.blog-card img.featured-image-actual { /* Style for actual images */
    width: 100%;
    height: 200px; /* Or your desired height, e.g., h-48 from Tailwind */
    object-fit: cover; /* Ensures image covers the area without distortion */
}

.featured_article_img{
    width: 95% !important; 
    height: auto !important; 
    border-radius: 10px;
    margin-left: 12px !important;
}
/* ==========================================================================
   Custom Pagination Styles
   ========================================================================== */
.pagination-container .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem; /* 8px */
    flex-wrap: wrap;
}

.pagination-container .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem; /* 40px */
    height: 2.5rem; /* 40px */
    padding: 0.25rem 0.75rem;
    border: 2px solid #e5e7eb; /* border-gray-200 */
    border-radius: 0.5rem; /* rounded-lg */
    font-weight: 600;
    font-size: 0.875rem; /* text-sm */
    color: var(--primary-blue);
    background-color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.pagination-container .page-numbers:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}

.pagination-container .page-numbers.current {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(244, 140, 6, 0.4);
    cursor: default;
}

.pagination-container .page-numbers.dots {
    border: none;
    background: none;
    box-shadow: none;
    padding: 0.5rem 0;
}

.pagination-container .page-numbers .fas {
    font-size: 0.8em;
}

.pagination-container .page-numbers.prev,
.pagination-container .page-numbers.next {
    padding: 0.5rem;
}


.cta-banner-blog { /* Specific CTA banner for blog page */
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff7e5f 100%); /* Slightly different gradient */
    color: white;
    padding: 1.5rem 2rem; /* p-8 equivalent */
    border-radius: 15px; /* Or rounded-xl */
    margin: 2.5rem 0; /* my-10 */
    box-shadow: 0 8px 20px rgba(244, 140, 6, 0.2);
}

.section-divider-blog { /* Specific divider for blog page */
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy) 0%, var(--primary-orange) 100%);
    border-radius: 2px;
    margin: 2.5rem auto; /* my-10 and mx-auto if width is set */
    width: 6rem; /* w-24 */
}

/* Category card styles */
.category-card-blog {
    color: white;
    padding: 1.5rem; /* p-6 */
    border-radius: 0.75rem; /* rounded-xl */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.category-card-blog:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Resource card styles */
.resource-card-blog {
    padding: 1.5rem; /* p-6 */
    border-radius: 0.75rem; /* rounded-xl */
    border: 1px solid #e5e7eb; /* border-gray-200 */
    background-image: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%); /* bg-gradient-to-br from-color-50 to-color-50 */
    transition: box-shadow 0.3s ease;
}
.resource-card-blog:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.07);
}
.resource-icon-blog {
    width: 3rem; /* w-12 */
    height: 3rem; /* h-12 */
    border-radius: 0.5rem; /* rounded-lg */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem; /* mr-4 */
    color: white;
}

/* Client success story card for blog page */
.success-story-card-blog {
    background-color: white;
    padding: 2rem; /* p-8 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.03); /* Softer shadow */
}
.success-story-icon-blog {
    width: 4rem; /* w-16 */
    height: 4rem; /* h-16 */
    border-radius: 9999px; /* rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem; /* mr-4 */
    color: white;
    font-size: 1.25rem; /* text-xl */
}

/* Single Blog Post Specific Styles (to be added for single-blog.html) */
.single-blog-content h1, .single-blog-content h2, .single-blog-content h3 {
    color: var(--primary-navy);
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}
.single-blog-content h1 { font-size: 2.25rem; font-weight: 700; } /* text-4xl font-bold */
.single-blog-content h2 { font-size: 1.875rem; font-weight: 700; } /* text-3xl font-bold */
.single-blog-content h3 { font-size: 1.5rem; font-weight: 600; }    /* text-2xl font-semibold */
.single-blog-content p {
    margin-bottom: 1.25em;
    line-height: 1.7;
    color: #374151; /* text-gray-700 */
}
.single-blog-content a {
    color: var(--primary-orange);
    text-decoration: underline;
}
.single-blog-content a:hover {
    text-decoration: none;
}
.single-blog-content ul, .single-blog-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25em;
    list-style-position: outside;
}
.single-blog-content ul li, .single-blog-content ol li {
    margin-bottom: 0.5em;
}
.single-blog-content blockquote {
    border-left: 4px solid var(--primary-orange);
    padding-left: 1rem;
    margin: 1.5em 0;
    font-style: italic;
    color: #4b5563; /* text-gray-600 */
}
.single-blog-content pre {
    background-color: #f3f4f6; /* bg-gray-100 */
    padding: 1rem;
    border-radius: 0.5rem; /* rounded-lg */
    overflow-x: auto;
    margin-bottom: 1.5em;
}
.single-blog-content code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #e5e7eb; /* bg-gray-200 */
    padding: 0.1em 0.3em;
    border-radius: 0.25rem;
}
.single-blog-content pre code {
    background-color: transparent;
    padding: 0;
}
.single-blog-content img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.single-blog-content img.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.single-blog-content img.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.single-blog-content .wp-caption { max-width: 100%; margin-bottom: 1.5em; }
.single-blog-content .wp-caption-text { font-size: 0.9em; color: #6b7280; text-align: center; margin-top: 0.5em; }

.author-box {
    background-color: #f9fafb; /* bg-gray-50 */
    padding: 1.5rem;
    border-radius: 0.75rem; /* rounded-xl */
    margin-top: 2rem;
    border: 1px solid #e5e7eb;
}
.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.related-posts-grid .blog-card { /* Ensure related posts use the same card style */
    /* Styles inherited from .blog-card */
}

.comment-form textarea, .comment-form input {
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
}
.comment-form textarea:focus, .comment-form input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(244, 140, 6, 0.2);
}



/* Helo section Image adjust image size */

/* === Hero Image Height Fix === */
#image-slideshow-container {
    min-height: 400px; /* ডেস্কটপের জন্য একটি ন্যূনতম উচ্চতা সেট করুন */
    height: auto;
}

#image-slideshow-container .slideshow-image {
    object-fit: cover; /* ইমেজকে বিকৃত না করে পুরো এলাকা কভার করতে সাহায্য করবে */
}

/* মাঝারি ডিভাইসের জন্য (যেমন ট্যাবলেট) */
@media (max-width: 1024px) {
    #image-slideshow-container {
        min-height: 400px;
    }
}

/* ছোট ডিভাইসের জন্য (যেমন মোবাইল) */
@media (max-width: 767px) {
    #image-slideshow-container {
        min-height: 300px; /* মোবাইলের জন্য একটি ভিন্ন ন্যূনতম উচ্চতা */
        margin-top: 2rem; /* মোবাইলে টেক্সটের নিচে কিছুটা স্পেস তৈরি করবে */
        transform: rotate(0deg); /* মোবাইলে রোটেট ইফেক্ট বন্ধ করা হলো */
    }
    
    /* মোবাইলে রেসপন্সিভ আইকনটি অ্যাডজাস্ট করা */
    .hero-pattern .relative.will-animate > .absolute {
        top: -10px;
        right: 10px;
    }
}

















/* ==========================================================================
   Contact Form 7 Custom Styles
   ========================================================================== */

/* General form input styling to match the theme */
/* ==========================================================================
   Contact Form 7 Custom Styles
   ========================================================================== */

/* General form input styling to match the theme */
.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-radio) {
    border: 1px solid #d1d5db; /* border-gray-300 */
    border-radius: 8px;
    padding: 12px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.95rem;
    width: 100%;
}

.wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(244, 140, 6, 0.15);
}

/* Specifically for textarea */
.wpcf7-textarea {
    max-height: 120px;
    resize: vertical;
}

/* For select dropdowns to add arrow icon */
.wpcf7-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Styling for validation error messages */
.wpcf7-not-valid-tip {
    color: #ef4444; /* text-red-500 */
    font-size: 0.875rem; /* text-sm */
    margin-top: 0.25rem;
}

/* Styling for checkboxes */
.wpcf7-list-item {
    margin: 0;
}
.wpcf7-checkbox input[type="checkbox"] {
    height: 1.25rem; /* h-5 */
    width: 1.25rem; /* w-5 */
    color: var(--primary-orange);
    border-radius: 0.25rem; /* rounded */
    margin-top: 2px;
    margin-right: 0.75rem; /* space-x-3 equivalent */
}
.wpcf7-acceptance .wpcf7-list-item-label {
    display: inline-flex;
    align-items: center;
}
.wpcf7-acceptance input[type="checkbox"] {
    margin-top: 2px;
    margin-right: 0.75rem;
}

/* Styling for the submit button */
.wpcf7-submit.btn-primary-contact {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e07704 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
}
.wpcf7-submit.btn-primary-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(244, 140, 6, 0.25);
}