/* Modernization Enhancements for Corporate Resources Website */
/* Minimal, subtle modernization preserving existing design */

/* ============================================
   NAVBAR TRANSPARENCY (ADJUST HERE)
   ============================================ */
:root {
    /*
      Navbar background color is computed as:
      rgba(var(--crpl-navbar-bg-rgb), var(--crpl-navbar-alpha))

      Tweak just this value any time later:
      - 0   = fully transparent
      - 0.3 = 30% white
      - 1   = solid white
    */
    --crpl-navbar-bg-rgb: 255, 255, 255;
    --crpl-navbar-alpha: 0;

    /* Optional: shadow strength when you want a floating header look */
    --crpl-navbar-shadow-alpha: 0.08;
}

/* Force the sticky header wrapper to use the variable-based background */
#sticky-header.tg-header__area {
    background: rgba(var(--crpl-navbar-bg-rgb), var(--crpl-navbar-alpha)) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, var(--crpl-navbar-shadow-alpha)) !important;
}

/* ============================================
   SECTION BACKGROUNDS (THEME-BASED, ALTERNATING)
   ============================================ */
:root {
    /* Use theme colors for professional, industry-grade appearance */
    --crpl-section-bg-1: var(--tg-color-white-default); /* #ffffff - Pure white */
    --crpl-section-bg-2: var(--tg-color-yellow-light-2); /* #FFFBF3 - Warm cream */
    --crpl-section-bg-3: var(--tg-color-gray-3); /* #ECF6FA - Cool light blue-gray */
    --crpl-section-bg-4: var(--tg-color-yellow-light); /* #FEF6E6 - Soft yellow tint */
}

.bg-section-1 { background-color: var(--crpl-section-bg-1) !important; }
.bg-section-2 { background-color: var(--crpl-section-bg-2) !important; }
.bg-section-3 { background-color: var(--crpl-section-bg-3) !important; }
.bg-section-4 { background-color: var(--crpl-section-bg-4) !important; }

/* ============================================
   SECTION SPACING UTILITIES
   ============================================ */
.section-spacing {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-spacing-sm {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-spacing-lg {
    padding-top: 120px;
    padding-bottom: 120px;
}

.section-spacing-xl {
    padding-top: 140px;
    padding-bottom: 140px;
}

/* Consistent spacing between sections */
section + section {
    margin-top: 0;
}

/* Vision/Mission page specific spacing */
.vision-about5-change {
    padding-top: 100px;
    padding-bottom: 100px;
}

.services__area-four.services__bg-four {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Vision/Mission page alignment fixes */
.vision-about5-change .about__content-seven {
    padding-left: 0;
}

.vision-about5-change .choose__box {
    margin-bottom: 20px;
    padding: 20px;
    background: var(--tg-color-white-default);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.vision-about5-change .choose__box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vision-about5-change .choose__box .content h4.title {
    color: var(--tg-heading-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.vision-about5-change .choose__box .content p {
    color: var(--tg-body-color);
    margin-bottom: 0;
    line-height: 1.6;
}

.vision-about5-change .about__list-box-three ul.list-wrap li {
    padding: 10px 0;
    color: var(--tg-body-color);
    font-size: 15px;
}

.vision-about5-change .about__list-box-three ul.list-wrap li i {
    color: var(--tg-theme-primary);
    margin-right: 10px;
}

/* Services cards alignment */
.services__area-four .services__item-three {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services__area-four .services__content-three {
    flex-grow: 1;
}

/* Responsive spacing adjustments */
@media (max-width: 991.98px) {
    .section-spacing {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .section-spacing-sm {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .vision-about5-change {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

@media (max-width: 767.98px) {
    .section-spacing {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .section-spacing-sm {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .vision-about5-change {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* ============================================
   CTA STRIP (GENERIC)
   ============================================ */
.cta-strip {
    padding: 60px 0;
    text-align: center;
}
.cta-strip .cta-title {
    font-size: 28px;
    line-height: 1.3;
    margin: 0 0 12px 0;
    font-weight: 700;
    color: var(--tg-heading-color, #111827);
}
.cta-strip .cta-subtitle {
    font-size: 16px;
    color: var(--tg-body-color, #4b5563);
    margin: 0 0 20px 0;
}
.cta-strip .btn,
.cta-strip .btn-two {
    margin: 6px 8px 0 8px;
}

/* ============================================
   GLOBAL MODERNIZATION
   ============================================ */

/* Increase base font size slightly for better readability */
body {
    font-size: 17px !important;
    line-height: 1.65;
}

/* Increase line-height for paragraphs for better readability */
p {
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Slightly increase heading sizes for better hierarchy */
.section-title .title {
    font-size: 42px;
}

.section-title .sub-title {
    font-size: 14px;
    letter-spacing: 0.05em;
}

.card-services-type-01 .card-info h5 {
    font-size: 20px;
    line-height: 1.4;
}

/* Softer shadows and borders */
.card-services-type-01 {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(207, 221, 226, 0.5);
}

.card-services-type-01:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(255, 160, 33, 0.3);
}

/* Standardize border-radius across the site */
.card-services-type-01,
.counter-item,
.card-number-star,
.btn,
.btn-two {
    border-radius: 12px;
}

/* Improve button hover states */
.btn,
.btn-two {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover,
.btn-two:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Normalize icon styles */
.card-services-type-01 .card-icon i {
    font-size: 48px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-services-type-01:hover .card-icon i {
    transform: translateY(-4px);
}



.section-title {
    margin-bottom: 1.75rem;
}

/* ============================================
   HIRING PHILOSOPHY SECTION STYLES
   ============================================ */

.hiring-philosophy-list {
    background: var(--tg-color-yellow-light-2);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--tg-border-4);
}

.hiring-philosophy-list ul.list-wrap {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hiring-philosophy-list ul.list-wrap li {
    padding: 18px 0;
    border-bottom: 1px solid var(--tg-border-4);
    font-size: 16px;
    font-weight: 500;
    color: var(--tg-body-color);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.hiring-philosophy-list ul.list-wrap li:last-child {
    border-bottom: none;
}

.hiring-philosophy-list ul.list-wrap li i {
    font-size: 20px;
    color: var(--tg-theme-primary);
    margin-right: 15px;
    flex-shrink: 0;
}

.hiring-philosophy-list ul.list-wrap li:hover {
    padding-left: 8px;
    color: var(--tg-heading-color);
}

/* ============================================
   INDUSTRIES WE SERVE SECTION
   ============================================ */

.about5-change .card-services-type-01 .card-info h5 {
    color: var(--tg-heading-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.about5-change .card-services-type-01 .card-info p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tg-body-color);
    margin-bottom: 0;
}

.about5-change .card-services-type-01 .card-icon {
    margin-bottom: 20px;
}

.about5-change .card-services-type-01 .card-icon i {
    color: var(--tg-theme-primary);
}

/* ============================================
   WHY CLIENTS CHOOSE US SECTION
   ============================================ */

.about-counter-modern {
    background: linear-gradient(135deg, #f5fafc 0%, #fef6e6 100%);
    padding: 100px 0;
    margin-bottom: 20px;
}

.about-counter-modern .section-title .title {
    font-size: 40px;
    margin-bottom: 8px;
}

.about-counter-modern .counter-item {
    background: var(--tg-color-white-default);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--tg-border-4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    flex-direction: column;
    gap: 15px;
}

.about-counter-modern .counter-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 160, 33, 0.3);
}

.about-counter-modern .counter-item .icon {
    font-size: 48px;
    color: var(--tg-theme-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.about-counter-modern .counter-item .content .count {
    font-size: 48px;
    font-weight: 700;
    color: var(--tg-heading-color);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -1px;
}

.about-counter-modern .counter-item .content p {
    font-size: 15px;
    font-weight: 500;
    color: var(--tg-body-color);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 991.98px) {
    .section-title .title {
        font-size: 38px;
    }

    .hiring-philosophy-list {
        padding: 30px;
    }

    .about-counter-modern .counter-item {
        padding: 25px;
    }

    .about-counter-modern .counter-item .icon {
        font-size: 42px;
    }

    .about-counter-modern .counter-item .content .count {
        font-size: 42px;
    }
}

@media (max-width: 767.98px) {
    .section-title .title {
        font-size: 34px;
    }

    body {
        font-size: 16px;
    }

    .about__area-five,
    .about__area-eight {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hiring-philosophy-list ul.list-wrap li {
        font-size: 15px;
        padding: 15px 0;
    }

    .about-counter-modern {
        padding: 60px 0;
    }

    .about-counter-modern .counter-item {
        padding: 20px;
        margin-bottom: 20px;
    }

    .about-counter-modern .counter-item .icon {
        font-size: 36px;
    }

    .about-counter-modern .counter-item .content .count {
        font-size: 36px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .section-title .title {
        font-size: 36px;
    }
}

/* ============================================
   UTILITY ENHANCEMENTS
   ============================================ */

/* Improved transitions for better feel */
* {
    transition-property: color, background-color, border-color;
    transition-duration: 0.2s;
}

/* Better focus states for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--tg-theme-primary);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Better spacing for cards */
.card-services-type-01 {
    margin-bottom: 24px;
}

/* ============================================
   ICON CONSISTENCY
   ============================================ */

/* Ensure all icons have consistent styling */
i.fas,
i.far,
i.fab {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
