/* ==============================================
   IT Skills & Talent Page Styles
   ============================================== */

:root {
    --shore-green: #7abd30;
    --shore-green-dark: #5a9a1f;
    --charcoal: #1A1A1A;
    --gray: #4A4A4A;
    --light-gray: #F8F9FA;
}

/* ==============================================
   Transparent Header Override
   ============================================== */
.itskills-page #sticky-header {
    background: transparent !important;
    position: absolute;
    width: 100%;
    z-index: 999;
}

.itskills-page #sticky-header .techno_menu ul li a {
    color: #fff !important;
}

.itskills-page #sticky-header .techno_menu ul li a:hover {
    color: var(--shore-green) !important;
}

.itskills-page #sticky-header .techno_menu ul li ul.sub-menu {
    background: #fff;
    border: none;
}

.itskills-page #sticky-header .techno_menu ul li ul.sub-menu li a {
    color: #232323 !important;
}

.itskills-page #sticky-header .techno_menu ul li ul.sub-menu li a:hover {
    color: #fff !important;
    background: #70ba32 !important;
}

.itskills-page #sticky-header.sticky .techno_menu ul li ul.sub-menu {
    background: #fff;
    border: none;
}

.itskills-page #sticky-header.sticky .techno_menu ul li ul.sub-menu li a {
    color: #232323 !important;
}

.itskills-page #sticky-header.sticky .techno_menu ul li ul.sub-menu li a:hover {
    color: #fff !important;
    background: #70ba32 !important;
}

.itskills-page #sticky-header.sticky {
    background: #fff !important;
    position: fixed;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.itskills-page #sticky-header.sticky .techno_menu ul li a {
    color: #232323 !important;
}

.itskills-page #sticky-header.sticky .techno_menu ul li a:hover {
    color: var(--shore-green) !important;
}

/* Mobile menu */
.itskills-page .mobile-menu-area {
    background: transparent;
    position: absolute;
    width: 100%;
    z-index: 999;
}

.itskills-page .mobile-menu-area .techno_menu ul li a {
    color: #fff !important;
}

/* ==============================================
   Floating Side Navigation
   ============================================== */
.itskills-sidenav {
    position: fixed;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.itskills-sidenav.visible {
    opacity: 1;
    visibility: visible;
}

.sidenav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 32px;
    height: 32px;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.sidenav-item:hover {
    width: auto;
    padding: 0 14px;
    background: rgba(26, 26, 26, 0.9);
    border-color: rgba(122, 189, 48, 0.4);
}

.sidenav-item.active {
    border-color: rgba(122, 189, 48, 0.5);
}

.sidenav-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sidenav-item:hover .sidenav-dot {
    background: var(--shore-green);
}

.sidenav-item.active .sidenav-dot {
    background: var(--shore-green);
    box-shadow: 0 0 8px rgba(122, 189, 48, 0.6);
}

.sidenav-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    display: none;
}

.sidenav-item:hover .sidenav-label {
    display: block;
}

/* Hide on smaller screens */
@media (max-width: 1200px) {
    .itskills-sidenav {
        left: 15px;
    }
}

@media (max-width: 992px) {
    .itskills-sidenav {
        display: none;
    }
}

/* ==============================================
   Hero Section
   ============================================== */
.itskills-hero {
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663295466757/ZShMHyS6yaNAaEZppwE56T/hero_talent-aRnAL9raFPahq6Gd53eeBz.webp');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itskills-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.65), rgba(0,0,0,0.8));
}

.itskills-hero .container {
    position: relative;
    z-index: 2;
}

.itskills-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 25px;
}

.itskills-hero h1 .hero-typewriter-text {
    color: var(--shore-green);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

.itskills-hero h1 .hero-typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background-color: var(--shore-green);
    margin-left: 4px;
    vertical-align: middle;
    animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.itskills-hero h1 .text-green {
    color: var(--shore-green);
}

.itskills-hero .lead {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.itskills-hero .lead.hero-carousel-desc {
    transition: opacity 0.4s ease, transform 0.4s ease;
    min-height: 2em;
}

.itskills-hero .lead.hero-carousel-desc.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.itskills-hero .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.itskills-hero .btn-primary-hero {
    padding: 16px 32px;
    background: var(--shore-green);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}

.itskills-hero .btn-primary-hero:hover {
    background: var(--shore-green-dark);
    box-shadow: 0 8px 30px rgba(111,186,51,0.3);
    color: #fff;
}

.itskills-hero .btn-secondary-hero {
    padding: 16px 32px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}

.itskills-hero .btn-secondary-hero:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
    text-align: center;
}

.scroll-down a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.scroll-down a i {
    display: block;
}

.scroll-down a:hover {
    color: var(--shore-green);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
}

@media (max-width: 992px) {
    .itskills-hero h1 { font-size: 2.5rem; }
    .itskills-hero .lead { font-size: 1.1rem; }
    .itskills-hero .lead.hero-carousel-desc { min-height: 2.5em; }
    .itskills-hero h1 .hero-typewriter-cursor { height: 0.85em; width: 2px; }
    .itskills-hero h1 .hero-typewriter-text { text-underline-offset: 4px; text-decoration-thickness: 2px; }
}

@media (max-width: 576px) {
    .itskills-hero h1 { font-size: 1.8rem; }
    .itskills-hero .lead { font-size: 1rem; }
    .itskills-hero .lead.hero-carousel-desc { min-height: 3em; }
    .itskills-hero h1 .hero-typewriter-cursor { height: 0.8em; width: 2px; margin-left: 2px; }
    .itskills-hero h1 .hero-typewriter-text { text-underline-offset: 3px; text-decoration-thickness: 2px; }
}

/* ==============================================
   Section Titles
   ============================================== */
.section-green-tag {
    display: inline-block;
    color: var(--shore-green);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-title-modern .text-green {
    color: var(--shore-green);
}

.section-desc {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .section-title-modern { font-size: 1.8rem; }
}

/* ==============================================
   Services Section
   ============================================== */
.services-section {
    background: var(--light-gray);
}

.services-section .container {
    max-width: 1400px;
}

.services-featured-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .services-featured-row {
        grid-template-columns: 1fr;
    }
}

.services-featured-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
}

.services-featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.services-featured-card:hover img {
    transform: scale(1.05);
}

.services-featured-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2), transparent);
}

.services-featured-card .card-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 2;
}

.services-featured-card h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.services-featured-card p {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin: 0;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #E5E5E5;
    transition: all 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--shore-green);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    border-color: rgba(122,189,48,0.4);
    box-shadow: 0 8px 30px rgba(122,189,48,0.08);
}

.service-card .service-icon {
    width: 48px;
    height: 48px;
    background: #F0FDF4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--shore-green);
}

.service-card .service-icon i {
    font-size: 22px;
    color: var(--shore-green);
    transition: all 0.3s;
}

.service-card:hover .service-icon i {
    color: #fff;
}

.service-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.service-tag {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--shore-green);
    background: #F0FDF4;
    border-radius: 6px;
    margin: 3px;
}

/* ==============================================
   Engagement Models Section
   ============================================== */
.engagement-section {
    background: #fff;
}

.engagement-section .container {
    max-width: 1400px;
}

.engagement-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    border: 2px solid #E5E5E5;
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

.engagement-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: rgba(122,189,48,0.4);
}

.engagement-card.featured {
    background: #F0FDF4;
    border-color: var(--shore-green);
    box-shadow: 0 4px 20px rgba(122,189,48,0.1);
}

.engagement-card .featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    background: var(--shore-green);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
}

.engagement-card .eng-icon {
    width: 60px;
    height: 60px;
    background: #F0FDF4;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.engagement-card.featured .eng-icon {
    background: var(--shore-green);
}

.engagement-card .eng-icon i {
    font-size: 28px;
    color: var(--shore-green);
}

.engagement-card.featured .eng-icon i {
    color: #fff;
}

.engagement-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.engagement-card .eng-subtitle {
    color: var(--shore-green);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.engagement-card .eng-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.engagement-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.engagement-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.engagement-card ul li .check-circle {
    width: 22px;
    height: 22px;
    background: rgba(122,189,48,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.engagement-card ul li .check-circle i {
    font-size: 10px;
    color: var(--shore-green);
}

.engagement-card ul li span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ==============================================
   Team Roles Section
   ============================================== */
.team-section {
    background: var(--light-gray);
}

.team-section .container {
    max-width: 1400px;
}

/* Horizontal Category Tabs */
.category-tabs-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0 20px;
}

.category-tab-h {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    white-space: nowrap;
}

.category-tab-h i {
    font-size: 16px;
    color: var(--shore-green);
    transition: color 0.25s;
}

.category-tab-h:hover {
    border-color: var(--shore-green);
    color: var(--shore-green);
    box-shadow: 0 4px 15px rgba(122,189,48,0.1);
}

.category-tab-h.active {
    background: var(--shore-green);
    border-color: var(--shore-green);
    color: #fff;
    box-shadow: 0 4px 20px rgba(122,189,48,0.3);
}

.category-tab-h.active i {
    color: #fff;
}

@media (max-width: 992px) {
    .category-tabs-horizontal {
        gap: 6px;
        padding: 0;
    }
    .category-tab-h {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
    .category-tab-h span {
        display: none;
    }
    .category-tab-h i {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .category-tabs-horizontal {
        gap: 4px;
    }
    .category-tab-h {
        padding: 6px 10px;
    }
    .category-tab-h i {
        font-size: 14px;
    }
}

/* Category Content */
.category-content-full {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category Header Banner - Compact Layout */
.category-header-banner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #FAFFFE 0%, #F0FDF4 100%);
    border: 1px solid rgba(122, 189, 48, 0.2);
    border-radius: 16px;
    padding: 24px 28px;
}

.category-header-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--shore-green), #84CC16);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(122, 189, 48, 0.25);
}

.category-header-icon i {
    font-size: 26px;
    color: #fff;
}

.category-header-info {
    flex: 1;
}

.category-header-top {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.category-header-banner h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: var(--shore-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.category-header-desc {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Modern Role Cards */
.role-card-modern {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #E5E5E5;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.role-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--shore-green), #84CC16);
    opacity: 0;
    transition: opacity 0.3s;
}

.role-card-modern:hover::before {
    opacity: 1;
}

.role-card-modern:hover {
    border-color: rgba(122,189,48,0.4);
    box-shadow: 0 12px 35px rgba(122,189,48,0.1);
    transform: translateY(-4px);
}

.role-card-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(122,189,48,0.1);
    line-height: 1;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.role-card-modern:hover .role-card-number {
    color: rgba(122,189,48,0.25);
}

.role-card-modern h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 15px;
}

.role-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.role-skill-tag {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray);
    background: var(--light-gray);
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    transition: all 0.3s;
}

.role-card-modern:hover .role-skill-tag {
    border-color: rgba(122,189,48,0.3);
    color: var(--shore-green);
}

/* Profile CTA Modern */
.profile-cta-modern {
    background: linear-gradient(135deg, #fff, #F0FDF4);
    border-radius: 16px;
    padding: 30px 40px;
    border: 2px solid rgba(122,189,48,0.2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.profile-cta-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 8px;
}

.profile-cta-content p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

.btn-cta-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--shore-green);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-cta-modern:hover {
    background: var(--shore-green-dark);
    box-shadow: 0 8px 25px rgba(122,189,48,0.3);
    color: #fff;
}

.btn-cta-modern i {
    transition: transform 0.3s;
}

.btn-cta-modern:hover i {
    transform: translateX(4px);
}

/* ==============================================
   Success Stories Section
   ============================================== */
.stories-section {
    background: #fff;
}

.stories-section .container {
    max-width: 1400px;
}

.story-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #E5E5E5;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

.story-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    border-color: rgba(122,189,48,0.3);
}

.story-card .story-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--shore-green), #84CC16);
}

.story-card .story-body {
    padding: 28px;
}

.story-card .story-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.story-card .story-icon {
    width: 45px;
    height: 45px;
    background: #F0FDF4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.story-card:hover .story-icon {
    background: var(--shore-green);
}

.story-card .story-icon i {
    font-size: 20px;
    color: var(--shore-green);
    transition: all 0.3s;
}

.story-card:hover .story-icon i {
    color: #fff;
}

.story-card .story-industry {
    font-size: 0.7rem;
    font-weight: 600;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.story-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
    line-height: 1.4;
}

.story-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-card .story-footer {
    padding-top: 18px;
    border-top: 1px solid #EAEAEA;
}

.story-card .story-impact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-card .story-impact .impact-dot {
    width: 8px;
    height: 8px;
    background: var(--shore-green);
    border-radius: 50%;
}

.story-card .story-impact span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--shore-green);
}

/* ==============================================
   Utility Classes
   ============================================== */
.btn-green {
    background: var(--shore-green);
    color: #fff;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    transition: all 0.3s;
}

.btn-green:hover {
    background: var(--shore-green-dark);
    box-shadow: 0 8px 30px rgba(122,189,48,0.3);
    color: #fff;
}

.text-green {
    color: var(--shore-green) !important;
}

/* ==============================================
   Responsive Adjustments
   ============================================== */

/* Large screens */
@media (max-width: 1200px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    /* Global spacing */
    .pt-80 { padding-top: 45px !important; }
    .pb-80 { padding-bottom: 45px !important; }
    .pt-50 { padding-top: 30px !important; }
    .pb-50 { padding-bottom: 30px !important; }
    .mb-60 { margin-bottom: 25px !important; }
    .mb-40 { margin-bottom: 20px !important; }
    .mb-30 { margin-bottom: 15px !important; }
    .mt-40 { margin-top: 20px !important; }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Section headers */
    .section-title-modern {
        font-size: 1.7rem;
        margin-bottom: 12px;
    }

    .section-desc {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .section-green-tag {
        font-size: 0.65rem;
        margin-bottom: 10px;
    }

    /* Services */
    .service-card {
        padding: 18px;
    }
    .service-card h4 {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }
    .service-card p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    /* Engagement */
    .engagement-card {
        padding: 22px;
    }
    .engagement-card h4 {
        font-size: 1.15rem;
    }
    .engagement-card ul li {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    /* Team section */
    .category-header-banner {
        padding: 18px 20px;
    }
    .category-header-banner h3 {
        font-size: 1.15rem;
    }
    .role-card-modern {
        padding: 16px;
    }
    .role-card-modern h5 {
        font-size: 0.9rem;
    }
    .role-skill-tag {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    /* Stories */
    .story-card .story-body {
        padding: 20px;
    }
    .story-card h4 {
        font-size: 1.05rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Global spacing - more aggressive */
    .pt-80 { padding-top: 30px !important; }
    .pb-80 { padding-bottom: 30px !important; }
    .pt-50 { padding-top: 22px !important; }
    .pb-50 { padding-bottom: 22px !important; }
    .mb-60 { margin-bottom: 18px !important; }
    .mb-40 { margin-bottom: 14px !important; }
    .mb-30 { margin-bottom: 10px !important; }
    .mt-40 { margin-top: 14px !important; }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .row {
        margin-left: -6px;
        margin-right: -6px;
    }

    .row > [class*="col-"] {
        padding-left: 6px;
        padding-right: 6px;
    }

    /* Section headers - compact */
    .section-title-modern {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .section-desc {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .section-green-tag {
        font-size: 0.6rem;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    /* Hero */
    .itskills-hero {
        min-height: 100vh;
        min-height: 100svh;
        padding: 80px 12px 40px;
    }

    .itskills-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .itskills-hero .lead {
        font-size: 0.9rem;
    }

    /* Services - compact cards */
    .service-card {
        padding: 14px;
        margin-bottom: 10px;
    }
    .service-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    .service-icon i {
        font-size: 22px;
    }
    .service-card h4 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    .service-card p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    .service-tag {
        font-size: 0.6rem;
        padding: 3px 6px;
    }

    /* Engagement - compact */
    .engagement-card {
        padding: 16px;
        margin-bottom: 12px;
    }
    .eng-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    .eng-icon i {
        font-size: 22px;
    }
    .engagement-card h4 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    .eng-subtitle {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    .eng-desc {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    .engagement-card ul {
        margin: 0;
    }
    .engagement-card ul li {
        font-size: 0.8rem;
        margin-bottom: 4px;
        padding-left: 0;
    }
    .check-circle {
        width: 16px;
        height: 16px;
        min-width: 16px;
    }
    .check-circle i {
        font-size: 8px;
    }

    /* Team section - compact */
    .category-tabs-horizontal {
        gap: 6px;
        margin-bottom: 15px;
    }
    .category-tab-h {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
    .category-header-banner {
        flex-direction: column;
        padding: 14px 16px;
        gap: 10px;
        margin-bottom: 15px;
        text-align: center;
    }
    .category-header-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        margin: 0 auto;
    }
    .category-header-icon i {
        font-size: 20px;
    }
    .category-header-top {
        justify-content: center;
    }
    .category-header-banner h3 {
        font-size: 1rem;
    }
    .category-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
    .category-header-desc {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    .role-card-modern {
        padding: 12px;
        margin-bottom: 8px;
    }
    .role-card-number {
        font-size: 1.8rem;
    }
    .role-card-modern h5 {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    .role-skill-tag {
        font-size: 0.6rem;
        padding: 2px 6px;
        margin: 2px 2px 2px 0;
    }
    .profile-cta-modern {
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .profile-cta-modern h4 {
        font-size: 1rem;
    }
    .profile-cta-modern p {
        font-size: 0.8rem;
    }
    .btn-cta-modern {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Stories - compact */
    .story-card .story-body {
        padding: 14px;
    }
    .story-card .story-icon {
        width: 38px;
        height: 38px;
    }
    .story-card .story-icon i {
        font-size: 18px;
    }
    .story-card h4 {
        font-size: 0.95rem;
    }
    .story-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    .story-metrics {
        gap: 15px;
    }
    .story-metric .metric-value {
        font-size: 1.3rem;
    }
    .story-metric .metric-label {
        font-size: 0.65rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    /* Even smaller spacing */
    .pt-80 { padding-top: 24px !important; }
    .pb-80 { padding-bottom: 24px !important; }
    .mb-60 { margin-bottom: 14px !important; }
    .mb-30 { margin-bottom: 8px !important; }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Section headers */
    .section-title-modern {
        font-size: 1.25rem;
    }

    .section-desc {
        font-size: 0.8rem;
    }

    /* Hero */
    .itskills-hero h1 {
        font-size: 1.3rem;
    }

    .itskills-hero .lead {
        font-size: 0.85rem;
    }

    /* Cards */
    .service-card {
        padding: 12px;
    }
    .service-card h4 {
        font-size: 0.9rem;
    }

    .engagement-card {
        padding: 14px;
    }

    .role-card-modern {
        padding: 10px;
    }
    .role-card-number {
        font-size: 1.5rem;
    }

    .story-card .story-body {
        padding: 12px;
    }
}

/* ==============================================
   Profile Request Modal
   ============================================== */
.profile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.profile-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.profile-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.profile-modal-overlay.active .profile-modal {
    transform: translateY(0) scale(1);
}

.profile-modal-header {
    background: linear-gradient(135deg, var(--charcoal) 0%, #2d2d2d 100%);
    padding: 28px 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.profile-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(122, 189, 48, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.profile-modal-title {
    position: relative;
    z-index: 1;
}

.profile-modal-title .modal-tag {
    display: inline-block;
    background: rgba(122, 189, 48, 0.15);
    color: var(--shore-green);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.profile-modal-title h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.profile-modal-close {
    background: rgba(0, 0, 0, 0.08);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    flex-shrink: 0;
}

.profile-modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #333;
    transform: rotate(90deg);
}

.profile-modal-body {
    padding: 0;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

/* HubSpot Form Styling Override */
.profile-modal-body .hs-form-frame {
    min-height: 300px;
    margin-bottom: -40px;
}

.profile-modal-body input[type="text"],
.profile-modal-body input[type="email"],
.profile-modal-body input[type="tel"],
.profile-modal-body textarea,
.profile-modal-body select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.profile-modal-body input:focus,
.profile-modal-body textarea:focus,
.profile-modal-body select:focus {
    border-color: var(--shore-green);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(122, 189, 48, 0.1);
}

.profile-modal-body label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.9rem;
}

.profile-modal-body button[type="submit"],
.profile-modal-body input[type="submit"] {
    background: linear-gradient(135deg, var(--shore-green) 0%, var(--shore-green-dark) 100%);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.profile-modal-body button[type="submit"]:hover,
.profile-modal-body input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122, 189, 48, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
    .profile-modal {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .profile-modal-close {
        width: 32px;
        height: 32px;
        font-size: 14px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .profile-modal-overlay {
        padding: 10px;
    }

    .profile-modal-close {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
}
