/*===================================== 
YOU CAN WRIGHT CUSTOME CSS 
======================================*/

/* Modern Blog Grid Styles */
.bg-gray-50 {
    background-color: #f9fafb;
}

.blog-card-modern {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.blog-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card-modern:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card-modern:hover .blog-overlay {
    opacity: 1;
}

.blog-overlay-content i {
    color: #ffffff;
    font-size: 24px;
}

.blog-card-content {
    padding: 25px;
}

.blog-meta-modern {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6b7280;
}

.blog-date-modern,
.blog-author-modern {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-date-modern i,
.blog-author-modern i {
    color: #ef4444;
}

.blog-title-modern {
    margin-bottom: 15px;
}

.blog-title-modern a {
    color: #1f2937;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-title-modern a:hover {
    color: #ef4444;
}

.blog-excerpt-modern {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-read-more-modern {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-read-more-modern:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.blog-stats-modern {
    color: #6b7280;
    font-size: 14px;
}

.blog-stats-modern i {
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-title-modern a {
        font-size: 18px;
    }
    
    .blog-meta-modern {
        flex-direction: column;
        gap: 8px;
    }
    
    .blog-footer-modern {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* ===================================== 
   MODERN SLIDER STYLES
   ===================================== */

/* Main slider container - full screen height */
.modern-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* Slider wrapper - contains all slides */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Track that holds all slides - uses flexbox for horizontal layout */
.slider-track {
    display: flex;
    width: 300%; /* 3 slides = 300% width */
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

/* Individual slide container */
.slide {
    position: relative;
    width: 33.333%; /* Each slide takes 1/3 of track width */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background image container */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Background image styling */
.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay on top of image */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Content container - text and buttons */
.slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Text content wrapper */
.slide-text {
    text-align: left;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

/* Main slide title */
.slide-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    color: #1ABC9C;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease-out 0.5s forwards;
}

/* Slide description text */
.slide-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.8s forwards;
}

/* Button container */
.slide-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 1.1s forwards;
}

/* Base button styling */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 14px;
}


/* Navigation arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Previous arrow positioning */
.slider-prev {
    left: 30px;
}

/* Next arrow positioning */
.slider-next {
    right: 30px;
}

/* Dots navigation container */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

/* Individual dot styling */
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Active dot and hover state */
.dot.active,
.dot:hover {
    background: #fff;
    transform: scale(1.2);
}

/* Slide in animation keyframes */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .slide-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 12px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .slider-prev {
        left: 15px;
    }
    
    .slider-next {
        right: 15px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-text {
        padding: 0 15px;
    }
}

/* ===================================== 
   BOOTSTRAP COLOR OVERRIDES
   ===================================== */

/* ===================================== 
   VERTICAL CENTERING UTILITIES
   ===================================== */

/* Flexbox vertical centering */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Vertical centering for button containers */
.btn-center {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

/* Override template's table-cell display for call-estimate */
.call-estimate.btn-center {
    display: flex !important;
    vertical-align: unset;
    padding: 20px;
    text-align: center;
}

/* Remove bottom margin from btn-effect buttons */
.site-button.btn-effect,
.site-button-secondry.btn-effect {
    margin-bottom: 0 !important;
}

/* Remove bottom margin from upload button */
.call-for-quote-outer .call-estimate .site-button-secondry.btn-effect {
    margin-bottom: 0 !important;
}

/* Mobile override */
@media only screen and (max-width: 640px) {
    .call-estimate.btn-center {
        display: flex !important;
    }
}

/* ===================================== 
   BANNER STYLING IMPROVEMENTS
   ===================================== */

/* Remove decorative bracket pseudo-elements from banner title */
.mt-bnr-inr-entry .banner-title-outer:after,
.mt-bnr-inr-entry .banner-title-outer:before,
.mt-bnr-inr-entry .banner-title-outer .banner-title-name:after,
.mt-bnr-inr-entry .banner-title-outer .banner-title-name:before {
    display: none !important;
}

/* Remove the left and right border lines */
.mt-bnr-inr-entry .banner-title-outer {
    border-left: none !important;
    border-right: none !important;
}

/* Add semi-transparent background behind the text */
.mt-bnr-inr-entry .banner-title-outer .banner-title-name {
    background-color: rgba(0, 0, 0, 0.4) !important;
    padding: 20px 30px !important;
    border-radius: 8px !important;
    display: inline-block !important;
}

/* ===================================== 
   RESPONSIVE FONT SIZES
   ===================================== */

/* Responsive font size - good for paragraphs */
.font-responsive {
    font-size: 16px; /* Mobile first */
    line-height: 1.5;
}

/* Medium screens and up */
@media (min-width: 768px) {
    .font-responsive {
        font-size: 18px;
    }
}

/* Large screens and up */
@media (min-width: 992px) {
    .font-responsive {
        font-size: 20px;
    }
}

/* ===================================== 
   BLOG POST STYLES
   ===================================== */

/* Blog post content styling */
.mt-post-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.mt-post-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1ABC9C;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.mt-post-text h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 25px 0 12px 0;
}

.mt-post-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.mt-post-text p:last-child {
    margin-bottom: 0;
}

/* Responsive text sizing for blog content */
@media (max-width: 768px) {
    .mt-post-text {
        font-size: 15px;
    }
    
    .mt-post-text h3 {
        font-size: 22px;
    }
    
    .mt-post-text h4 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .mt-post-text {
        font-size: 14px;
    }
    
    .mt-post-text h3 {
        font-size: 20px;
    }
    
    .mt-post-text h4 {
        font-size: 16px;
    }
}

/* ===================================== 
   BLOG SIDEBAR STYLES
   ===================================== */

.sidebar .widget {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar .widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #1ABC9C;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

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

.sidebar .widget ul li {
    margin-bottom: 10px;
}

.sidebar .widget ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar .widget ul li a:hover {
    color: #1ABC9C;
}

.sidebar .widget ul li .post-date {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: 5px;
}

.sidebar .search-form .input-group {
    margin-bottom: 0;
}

.sidebar .search-form .btn {
    border-radius: 0 4px 4px 0;
}

/* ===================================== 
   FORM VALIDATION STYLES
   ===================================== */

/* Invalid field styling */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Error message styling */
.field-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Form group spacing for error messages */
.form-group {
    margin-bottom: 1rem;
}

/* ===================================== 
   BOOTSTRAP COLOR OVERRIDES
   ===================================== */

/* Override Bootstrap primary color to match skin-4 teal */
.btn-primary {
    background-color: #1ABC9C;
    border-color: #1ABC9C;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #16a085;
    border-color: #16a085;
    color: #fff;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(26, 188, 156, 0.25);
}

/* ===================================== 
   MODERN LOADING SPINNER
   ===================================== */

/* Modern spinner container */
.modern-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Spinning circle animation */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #1ABC9C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spinning animation keyframes */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alternative spinner styles - uncomment to use different styles */

/* Pulsing dots spinner */
/*
.spinner {
    width: 50px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spinner::before,
.spinner::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #1ABC9C;
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite both;
}

.spinner::after {
    animation-delay: -0.16s;
}

@keyframes pulse {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
*/

/* Bouncing dots spinner */
/*
.spinner {
    width: 60px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spinner::before,
.spinner::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #1ABC9C;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.spinner::after {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
*/

/* ===================================== 
   GET QUOTE OPTIONS LAYOUT
   ===================================== */

.get-quote-options .mt-icon-box-wraper {
    min-height: 220px;
}

/* Teal full-width heading inside container */
.get-quote-options .get-quote-heading {
    background: #1ABC9C;
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.get-quote-options .get-quote-heading h2 {
    color: #ffffff;
    margin: 0;
    font-weight: 600;
}

/* Color styling for headings */
.get-quote-options .mt-tilte {
    color: #1ABC9C;
}

/* Hover effects for icon boxes */
.get-quote-options .mt-icon-box-wraper:hover .mt-tilte {
    color: #333;
}

/* Blog Category Filtering */
.category-filter {
    transition: all 0.3s ease;
    text-decoration: none;
    color: #666;
}

.category-filter:hover {
    color: #1ABC9C;
    text-decoration: none;
}

.category-filter.active {
    color: #1ABC9C;
    font-weight: bold;
}

.blog-post-item {
    transition: opacity 0.3s ease;
}

/* Blog Article Content Styling */
.blog-detail ul {
    padding-left: 20px;
    margin-left: 0;
}

.blog-detail ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Blog Preview Meta Styling */
.post-meta-item {
    margin-bottom: 2px;
    font-size: 14px;
    color: #666;
}

.wt-post-title {
    padding-top: 12px;
}

/* Fix image overlay link issue */
.mt-img-overlay7 a {
    position: relative;
    z-index: 1;
    display: block;
}

.mt-img-overlay7:before,
.mt-img-overlay7:after {
    z-index: 0;
    pointer-events: none;
}

.get-quote-options .mt-icon-box-wraper:hover p {
    color: #1ABC9C;
}

@media (max-width: 480px) {
    /* Reduce paddings/margins to keep both boxes in first viewport */
    .get-quote-options .p-a30 { padding: 18px; }
    .get-quote-options .m-b20 { margin-bottom: 12px; }
    .get-quote-options .mt-icon-box-sm { margin-bottom: 12px; }
    .get-quote-options .mt-tilte { font-size: 18px; }
    .get-quote-options p { font-size: 13px; margin-bottom: 0; }
}

/* Simple logo size increase */
.logo-header {
    width: auto !important;
    max-width: none !important;
}

.logo-header img {
    width: auto !important;
    height: 80px !important;
    max-width: none !important;
}

/* Slider button hover state */
.slide-buttons .btn-primary:hover {
    background-color: #B2BEB5 !important;
    border-color: #B2BEB5 !important;
}

/* Footer logo styling */
.footer-logo {
    height: 80px;
    width: auto;
    max-width: 100%;
    margin-top: 0;  
    padding-top: 0  ;
    margin-bottom: 0;
    padding-bottom: 0;
}

.help-block.error{
    color: #ff2323;
    font-size: 12px;
}

/* employment page styles */
.emp-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    font-family: Arial, sans-serif;
    color: #333;
  }
  
  .emp-title {
    color: #00A887; /* brand green */
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .emp-subtitle {
    color: #00A887;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }
  
  .emp-bullets {
    margin: 1rem 0;
    padding-left: 1.2rem;
  }
  
  .emp-bullets li {
    margin-bottom: 0.5rem;
  }
  
  .emp-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
  }
  
  .emp-table th {
    background: #00A887;
    color: #fff;
    padding: 0.75rem;
    text-align: center;
  }
  
  .emp-table td {
    padding: 0.75rem;
    border: 1px solid #ccc;
    text-align: center;
  }
  
  .emp-table tr:nth-child(even) {
    background: #f9f9f9;
  }
  
  .emp-closing {
    font-weight: bold;
    margin: 1.5rem 0;
    color: #333;
  }
  
  .emp-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .emp-form label {
    font-weight: bold;
    margin-bottom: 0;
  }
  
  .emp-form input,
  .emp-form textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .emp-button {
    background-color: #00A887;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.2s ease-in-out;
  }
  
  .emp-button:hover {
    background-color: #00866c;
  }
