/* Customs Elementor Frontend Styles */

.cug-process-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
    font-family: inherit;
}

.cug-process-nav {
    flex: 0 0 250px;
    min-width: 250px;
    padding-top: 20px;
}

.cug-process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cug-process-item {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
    margin: -8px;
    border-radius: 8px;
}

.cug-process-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.cug-process-number {
    width: 32px;
    height: 32px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    color: #666;
}

.cug-process-title {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active State */
.cug-process-item.active .cug-process-number {
    background-color: transparent;
    font-weight: 700;
    border-width: 2px;
    border-color: #000;
    color: #000;
    transform: scale(1.05);
}

.cug-process-item.active .cug-process-title {
    font-weight: 700;
    color: #000;
}

/* Hover State */
.cug-process-item:not(.active):hover .cug-process-number {
    border-color: #999;
    transform: scale(1.03);
}

.cug-process-item:not(.active):hover .cug-process-title {
    color: #333;
}

/* Content Side */
.cug-process-content-container {
    flex: 1;
    background-color: #F8F8F8;
    min-height: 300px; /* Reduced from 450px */
    position: relative;
    border-radius: 4px;
}

/* Stack effect styling - MUCH smaller now */
.cug-process-content-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 15px;
    right: 15px;
    height: 300px; /* Reduced from 450px */
    background-color: #EEEEEE;
    z-index: 0;
    border-radius: 2px;
}

.cug-process-content-container::after {
    content: '';
    position: absolute;
    top: -16px;
    left: 30px;
    right: 30px;
    height: 300px; /* Reduced from 450px */
    background-color: #E0E0E0;
    z-index: -1;
    border-radius: 2px;
}

/* The actual white card sitting on top */
.cug-process-content-item {
    display: none;
    opacity: 0;
    background-color: #FFFFFF;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 300px; /* Changed from height to min-height */
    position: relative;
    z-index: 2;
    border-radius: 2px;
    color: #000;
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    overflow: hidden; /* Prevent content overflow */
}

.cug-process-content-item.active {
    display: block;
    animation: fadeInUp 0.4s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cug-process-icon {
    font-size: 40px;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    color: #000;
    animation: iconFadeIn 0.5s ease-out 0.2s both;
}

@keyframes iconFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cug-process-icon i, 
.cug-process-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.cug-content-title {
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
    letter-spacing: normal; /* Reset any letter-spacing */
    animation: titleSlideIn 0.5s ease-out 0.1s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cug-content-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    letter-spacing: normal; /* Reset any letter-spacing */
    animation: descFadeIn 0.5s ease-out 0.3s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@keyframes descFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .cug-process-wrapper {
        gap: 30px; /* Reduced gap */
        flex-wrap: nowrap; /* Force side-by-side */
    }

    .cug-process-nav {
        flex: 0 0 220px; /* Slightly narrower nav on tablet */
        min-width: 220px;
    }
    
    .cug-process-content-item {
        padding: 40px;
    }
    
    /* Adjust stack layer heights for tablet */
    .cug-process-content-container {
        min-height: 250px;
    }
    
    .cug-process-content-container::before {
        height: 250px;
    }
    
    .cug-process-content-container::after {
        height: 250px;
    }
    
    .cug-content-title {
        font-size: 28px; /* Slightly smaller title */
    }
}

@media (max-width: 900px) {
    /* Further reduce stack layers for medium screens */
    .cug-process-content-container {
        min-height: 200px;
    }
    
    .cug-process-content-container::before {
        height: 200px;
    }
    
    .cug-process-content-container::after {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .cug-process-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .cug-process-nav {
        width: 100%;
        flex: auto;
        padding-top: 0;
    }
    
    /* Vertical button layout for mobile */
    .cug-process-steps {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    /* Full width buttons stacked vertically */
    .cug-process-item {
        flex-direction: row;
        text-align: left;
        width: 100%;
        padding: 16px 20px;
        gap: 16px;
        align-items: center;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        margin: 0;
        min-height: 60px;
    }
    
    .cug-process-item:hover {
        background-color: rgba(255, 255, 255, 0.12);
    }
    
    .cug-process-item.active {
        background-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .cug-process-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
        font-weight: 600;
        flex-shrink: 0;
    }
    
    .cug-process-title {
        font-size: 15px;
        white-space: normal;
        flex: 1;
        line-height: 1.4;
    }
    
    .cug-process-content-container {
        width: 100%;
        min-height: auto;
    }
    
    .cug-process-content-item {
        padding: 30px 20px;
        /* Disable animations on mobile to prevent jumping */
        animation: none !important;
        transition: opacity 0.3s ease;
    }

    .cug-process-content-item.active {
        opacity: 1 !important; /* Force visibility on mobile */
    }
    
    .cug-content-title {
        font-size: 24px; /* Reduced from 28px */
        margin-bottom: 15px;
        letter-spacing: 0 !important; /* Force no letter spacing */
        /* Disable animations on mobile */
        animation: none !important;
    }
    
    .cug-content-desc {
        font-size: 15px;
        letter-spacing: 0 !important; /* Force no letter spacing */
        /* Disable animations on mobile */
        animation: none !important;
    }
    
    .cug-process-icon {
        font-size: 32px;
        margin-bottom: 15px;
        /* Disable animations on mobile */
        animation: none !important;
    }
    
    /* Hide stack effect on mobile for cleaner look */
    .cug-process-content-container::before,
    .cug-process-content-container::after {
        display: none;
    }
}

/* Accessibility improvements */
.cug-process-item:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.cug-process-item:focus:not(:focus-visible) {
    outline: none;
}

/* Print styles */
@media print {
    .cug-process-wrapper {
        display: block;
    }
    
    .cug-process-content-item {
        display: block !important;
        page-break-inside: avoid;
    }
    
}

/* ============================================
   Local Availability Widget Styles
   ============================================ */

.cug-local-availability {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #000000;
    padding: 40px;
    border-radius: 8px;
}

/* Heading */
.cug-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cug-heading-icon {
    font-size: 20px;
    color: #4A90E2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cug-heading-icon i,
.cug-heading-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.cug-heading-text {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

/* Location Tags */
.cug-location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cug-location-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1A1A1A;
    color: #FFFFFF;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cug-location-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

/* Status Box */
.cug-status-box {
    background-color: #1A1A1A;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cug-status-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cug-status-icon {
    font-size: 24px;
    color: #4A90E2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cug-status-icon i,
.cug-status-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.cug-status-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666666;
}

.cug-status-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cug-status-indicator {
    width: 6px;
    height: 6px;
    background-color: #4CAF50;
    border-radius: 50%;
    flex-shrink: 0;
}

.cug-status-text {
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
}

/* Description */
.cug-description {
    font-size: 14px;
    line-height: 1.6;
    color: #CCCCCC;
    margin: 0;
}

.cug-description p {
    margin: 0 0 10px 0;
}

.cug-description p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .cug-local-availability {
        padding: 24px 20px;
        gap: 16px;
    }

    .cug-heading-text {
        font-size: 16px;
    }

    .cug-location-tags {
        gap: 8px;
    }

    .cug-location-tag {
        padding: 6px 12px;
        font-size: 13px;
    }

    .cug-status-box {
        padding: 12px 16px;
    }

    .cug-status-icon {
        font-size: 20px;
    }

    .cug-description {
        font-size: 13px;
    }
}

/* ============================================
   Skills Progress Bar Widget Styles
   ============================================ */

.cug-skills-container {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.cug-skills-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.cug-skills-header-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.cug-skills-header-icon i,
.cug-skills-header-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.cug-skills-list {
	display: flex;
	flex-direction: column;
}

.cug-skill-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cug-skill-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
}

.cug-skill-name-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cug-skill-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.cug-skill-icon i,
.cug-skill-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.cug-progress-bar {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.cug-progress-bar-fill {
	height: 100%;
	width: 0;
}


.cug-skills-footer {
	text-align: left;
	font-weight: 500;
	letter-spacing: 1px;
}

/* Responsive Styles for Skills Progress */
@media (max-width: 767px) {
	.cug-skill-info {
		gap: 10px;
	}
	
	.cug-skill-name-wrapper {
		gap: 6px;
	}
}

/* ============================================
   Support CTA Widget Styles
   ============================================ */

.cug-support-cta {
	position: relative;
	overflow: hidden;
}

.cug-cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.cug-cta-icon i,
.cug-cta-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.cug-cta-heading {
	margin: 0;
	font-weight: 600;
	line-height: 1.2;
}

.cug-cta-description {
	margin: 0;
	line-height: 1.6;
}

.cug-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	font-weight: 500;
}

.cug-cta-button:hover {
	transform: translateY(-2px);
}

/* Responsive Styles for Support CTA */
@media (max-width: 767px) {
	.cug-cta-heading {
		font-size: 20px;
	}
	
	.cug-cta-description {
		font-size: 14px;
	}
	
	.cug-cta-button {
		font-size: 14px;
	}
}



.cug-cta-header {
    display: flex;
    align-items: center;
    width: 100%;
}


/* CTA Overlay Support */
.cug-support-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind content */
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.cug-support-cta > * {
    position: relative;
    z-index: 1; /* Content above overlay */
}


/* -------------------------------------------
 * Hero Animation Widget
 * ------------------------------------------- */

/* Layout */
.cug-hero-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    height: 100%;
}

.cug-hero-content {
    flex: 1;
    min-width: 300px;
}

.cug-hero-visual {
    flex: 1;
    min-width: 300px;
    height: 400px; /* Default height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Typography & Buttons */
.cug-hero-heading {
    margin-bottom: 20px;
    font-size: 3rem; /* Fallback */
    line-height: 1.2;
}

.cug-hero-description {
    margin-bottom: 30px;
}

.cug-hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cug-hero-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Visuals - Shapes */
.cug-visual-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cug-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 30px; /* Slight rounding on corners */
    box-sizing: border-box;
}

.cug-shape-outer {
    width: 100%;
    height: 100%;
    animation: cug-spin 20s linear infinite;
}

.cug-shape-inner {
    width: 60%;
    height: 60%;
    animation: cug-spin 15s linear infinite reverse;
}

.cug-hero-icon {
    font-size: 50px;
    z-index: 10;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cug-hero-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* Floating Badges */
.cug-floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: monospace;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    animation: cug-float 4s ease-in-out infinite;
    z-index: 5;
}

.cug-floating-badge:nth-child(odd) {
    animation-duration: 5s;
}

.cug-floating-badge:nth-child(even) {
    animation-duration: 6s;
    animation-delay: 1s;
}

/* Keyframes */
@keyframes cug-spin {
    from {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(405deg);
    }
}

@keyframes cug-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 767px) {
    .cug-hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .cug-hero-visual {
        min-width: 100%;
        height: 350px;
    }

    .cug-hero-buttons {
        justify-content: center;
    }
}

/* Typed Text Cursor */
.cug-typed-text::after {
    content: '|';
    margin-left: 2px;
    animation: cug-blink 0.7s infinite;
    color: inherit;
}

@keyframes cug-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


/* Button Config */
.cug-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}
.cug-btn-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

