/* 
    August75 Modern Stylesheet
    Consolidated from inline blocks for better performance and maintainability.
*/

:root {
    --primary: #d9232d; /* Corporate Brand Red - Aligned with Logo */
    --primary-dark: #b21e26;
    --secondary: #0f172a; /* Premium Slate Dark */
    --accent: #f59e0b;   /* Vibrant Amber/Gold */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* GLOBAL REFINEMENTS */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-family: 'Rubik', sans-serif;
    letter-spacing: -0.02em;
}

.text-muted {
    color: #555555 !important; /* Higher contrast than default */
}

.lead {
    color: #444444;
}

@media (max-width: 991px) {
    .navbar-brand {
        padding-left: 15px !important;
        background: transparent !important; /* Fix logo on red background issue */
    }
    .navbar {
        padding-right: 15px !important;
    }
}

/* Fix for Legacy Navbar-Brand Red Background */
.navbar .navbar-brand {
    background: transparent !important;
    padding-right: 0 !important;
}
.navbar .navbar-brand::after {
    display: none !important; /* Remove the skewed red shape */
}

/* 1. HERO CAROUSEL */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s ease-in-out, transform 8s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* 2. ABOUT SECTION V3 */
.about-v3 .img-stack {
    position: relative;
    width: 100%;
    height: 380px;
    perspective: 1100px;
}
.about-v3 .img-stack img {
    width: 65%;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
    transition: transform 0.6s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}
.about-v3 .img-1 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}
.about-v3 .img-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}
.about-v3 .img-stack:hover img {
    transform: rotateY(7deg) rotateX(6deg) scale(1.06);
    box-shadow: 0 25px 55px rgba(106, 90, 205, 0.4);
}
.parallax-img {
    transform: translateY(0);
    transition: transform 0.3s ease-out;
}
.about-v3 .experience-box {
    background: rgba(106, 90, 205, 0.15);
    border-radius: 18px;
    padding: 35px 25px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 25px rgba(106, 90, 205, 0.15);
}
.about-v3 .experience-box h1 {
    font-size: 58px;
    font-weight: 800;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}
.about-v3 .icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), #333);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 22px;
}
.floating-particle {
    position: absolute;
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: floatAnim 6s infinite ease-in-out;
    opacity: 0.6;
}
@keyframes floatAnim {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-18px) translateX(10px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* 3. SISTER INITIATIVES */
#sister-companies-v3 {
    padding: 80px 0;
    background: radial-gradient(circle at top, #ffffff, #f3f2ff, #eceaff);
    position: relative;
    overflow: hidden;
}
.sis-particle {
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.4;
    animation: floatSis 6s infinite ease-in-out;
}
@keyframes floatSis {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-18px) translateX(12px); }
    100% { transform: translateY(0) translateX(0); }
}
.sis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Increased for better visibility */
    gap: 40px;
}
.sis-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}
.sis-card img {
    height: 120px; /* Fixed height for better visibility */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
    transition: transform 0.5s ease;
}
.sis-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
}
.sis-card h4 span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* 4. ISO CERTIFICATIONS - PROFESSIONAL REDESIGN */
.iso-section {
    padding: 120px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.iso-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.iso-header {
    text-align: center;
    margin-bottom: 70px;
}

.iso-eyebrow {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 15px;
}

.iso-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 25px;
}

.iso-sub {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.iso-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.iso-card {
    background: #fff;
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.iso-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
    border-color: var(--primary);
}

.iso-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(217, 35, 45, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--primary);
    font-size: 32px;
    transition: 0.3s;
}

.iso-card:hover .iso-icon-wrap {
    background: var(--primary);
    color: #fff;
    transform: rotateY(180deg);
}

.iso-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
}

.iso-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.iso-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-view-cert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f8fafc;
    color: var(--secondary);
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-view-cert:hover {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

.iso-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    padding: 40px;
}

.iso-modal-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    animation: zoomIn 0.4s ease;
}

.iso-modal img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    border: 10px solid #fff;
}

.iso-modal-close {
    position: absolute;
    top: -50px;
    right: -20px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.iso-modal-close:hover {
    transform: rotate(90deg);
    color: var(--primary);
}

@media (max-width: 991px) {
    .iso-grid { grid-template-columns: repeat(2, 1fr); }
    .iso-title { font-size: 2.4rem; }
}

@media (max-width: 767px) {
    .iso-grid { grid-template-columns: 1fr; }
    .iso-section { padding: 80px 0; }
}


/* 5. WHY CHOOSE US */
.features-v3 {
    position: relative;
    padding: 80px 20px;
    background: radial-gradient(circle at top left, #ffffff, #f8f7ff);
}
.feat-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: featFloat 6s infinite ease-in-out;
}
@keyframes featFloat {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(14px); }
    100% { transform: translateY(0) translateX(0); }
}
.feat-icon {
    width: 80px; /* Increased from 60px */
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), #1e293b);
    border-radius: 20px; /* More modern rounded-square look */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent); /* High contrast Gold on Dark */
    font-size: 28px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.feat-item i {
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* 6. SERVICES SECTION - UPGRADED */
.service-item {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}
.service-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary), #1e293b);
    border-radius: 24px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}
.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}
.service-item:hover::before {
    opacity: 1;
}
.service-item:hover h4, 
.service-item:hover p {
    color: #fff !important;
}
.service-item:hover img {
    transform: scale(1.05);
    border: 4px solid var(--accent);
}
.service-item h4 {
    font-weight: 800;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}
.service-item p {
    color: var(--text-muted);
    transition: color 0.4s ease;
}
.services-v4 .read-more-btn {
    margin-top: 15px;
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    color: var(--primary);
    background: rgba(255, 0, 43, 0.05);
    font-weight: 600;
    transition: 0.3s ease;
}
.services-v4 .read-more-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* 7. PROJECTS & ACTIVITIES (Auto-Scroll) - UPGRADED */
.projects-v6, .activities-v6 {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--secondary) 0%, #020617 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.projects-v6::before, .activities-v6::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(221, 37, 5, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.auto-scroll {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollAuto 40s linear infinite;
    padding: 20px 0;
}
.auto-scroll:hover {
    animation-play-state: paused;
}
@keyframes scrollAuto {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.project-card {
    width: 380px; /* Larger cards */
    height: 480px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover {
    transform: scale(1.03) translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.8);
}
.project-card:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}
.project-card .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.4), transparent);
    backdrop-filter: blur(5px);
    text-align: center;
}
.project-card .caption h5 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* 8. WORKFORCE SHOWCASE (Premium Split) - FIXED */
.workforce-showcase {
    background: #020617;
    padding: 0 !important;
}
.workforce-row {
    display: flex;
    flex-wrap: wrap;
    min-height: 700px;
}
.split-panel {
    flex: 1;
    min-width: 50%;
    position: relative;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    display: flex;
    align-items: center;
}
.split-panel.white-collar {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('../img/blog/Uae manpower august75 team.jpg') center center no-repeat;
    background-size: cover;
}
.split-panel.blue-collar {
    background: linear-gradient(rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.9)), url('../img/oil and gas august75 blue collar.webp') center center no-repeat;
    background-size: cover;
}
.split-content {
    position: relative;
    z-index: 10;
    padding: 100px 80px;
    width: 100%;
}
.split-panel:hover {
    flex: 1.4; /* Accordion effect */
}
.split-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}
.split-panel:hover::after {
    opacity: 0.15;
}
.split-panel h2 {
    font-size: 4rem;
    font-weight: 950;
    color: #fff !important;
    margin-bottom: 20px;
    line-height: 1;
    text-transform: uppercase;
}
.split-panel .accent-line {
    width: 80px;
    height: 6px;
    background: var(--accent);
    margin-bottom: 40px;
    transition: width 0.5s ease;
}
.split-panel:hover .accent-line {
    width: 150px;
}
.split-panel p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 45px;
    max-width: 600px;
}
.split-panel .btn {
    border-radius: 0; /* Boxy premium look */
    padding: 22px 50px;
    font-weight: 900;
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .workforce-row { flex-direction: column; min-height: auto; }
    .split-panel { min-width: 100%; flex: none; min-height: 500px; }
    .split-panel:hover { flex: none; }
    .split-panel h2 { font-size: 2.8rem; }
    .split-content { padding: 60px 40px; }
}
.split-panel ul li {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.split-panel ul li i {
    color: var(--accent);
    margin-right: 15px;
    font-size: 1.2rem;
}
@media (max-width: 991px) {
    .split-panel { min-height: 500px; }
    .split-panel h2 { font-size: 2.2rem; }
    .split-content { padding: 50px 30px; }
}

/* 8. MANAGER MESSAGE SECTIONS (Unified) */
.manager-message-section {
    padding: 100px 0;
    background: linear-gradient(140deg, rgba(255,255,255,0.95), rgba(245,245,245,0.8));
    position: relative;
    overflow: hidden;
}
.manager-message-section:nth-child(even) {
    background: linear-gradient(140deg, rgba(245,245,245,0.9), rgba(255,255,255,0.95));
}
.manager-image {
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 12px solid white;
    width: 100%;
    max-width: 480px; /* Prevent 'tiny' appearance */
    height: auto;
}
.manager-image:hover {
    transform: scale(1.04) translateY(-5px);
    box-shadow: 0 20px 55px rgba(0,0,0,0.18);
}
.manager-heading-tag {
    color: var(--primary);
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}
.manager-title {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(90deg, #111, #444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 25px;
}
.manager-description {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 30px;
}
.manager-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 10px;
}
.manager-designation {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}
.manager-accent-text {
    color: #d4af37;
    font-weight: 700;
}
@media(max-width: 991px) {
    .manager-message-section { padding: 60px 0; }
    .manager-title { font-size: 32px; }
    .manager-description { font-size: 1rem; }
}

/* 9. STICKY MOBILE CTA */
.mobile-cta-bar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
    background: var(--white);
    padding: 12px;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
}
.cta-btn {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.cta-btn.whatsapp { color: #25D366; }
.cta-btn.call { color: var(--primary); }

/* 10. COOKIE CONSENT */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: white;
    padding: 20px;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: bottom 0.5s ease;
}
.cookie-banner.show { bottom: 0; }
.cookie-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

/* 11. MARQUEE */
.marquee-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 12. FOOTER CUSTOMIZATIONS */
.site-footer {
    padding-top: 28px;
    padding-bottom: 20px;
}
.site-footer .newsletter-wrap .btn {
    top: 8px;
    right: 6px;
    padding: 8px 10px;
}
.site-footer .social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    margin-right: 10px;
    transition: 0.3s;
}
.site-footer .social-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

@media (max-width: 575px) {
    .site-footer h5 { font-size: 15px; }
    .site-footer p, .site-footer a { font-size: 14px; }
    .site-footer .social-btn { width: 36px; height: 36px; font-size: 14px; }
    .site-footer .footer-news-input { padding-right: 70px; }
}

/* 13. ADDITIONAL MANAGER SECTIONS - DEPRECATED (Moved to Section 8) */

/* 14. IMAGE UTILITIES & FIXES */
.img-aspect-ratio {
    width: 100%;
    height: 250px; /* Default height for grid items */
    object-fit: cover;
    border-radius: 12px;
}

.img-about-stack {
    height: 400px;
    object-fit: cover;
}


/* 15. CONTRAST & ACCESSIBILITY FIXES - UPGRADED */
.page-header {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url(../img/blog/Uae\ manpower\ august75\ team.jpg) center center no-repeat !important;
    background-size: cover !important;
}
.page-header h1 {
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    font-weight: 800;
}

/* Force high contrast on light backgrounds */
.bg-white i, 
.bg-light i,
.section-light i,
.bg-white .text-white,
.bg-light .text-white {
    color: var(--secondary) !important;
}

/* BUT icons inside Primary/Secondary containers stay white/accent */
.btn-primary i,
.bg-primary i,
.btn-square.bg-primary i,
.btn-secondary i,
.bg-secondary i {
    color: var(--accent) !important; /* Gold icons on Primary backgrounds for PREMIUM look */
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

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

/* Global focus states for accessibility */
a:focus, button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* 16. GLOBAL FOOTER & COPYRIGHT CONSISTENCY */
.site-footer {
    background: #0f172a !important; /* var(--secondary) */
    color: #cbd5e1;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.site-copyright {
    background: #020617 !important; /* Deepest Navy for contrast */
    color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
}
.site-copyright a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}
.site-copyright a:hover {
    color: var(--white);
}

/* 17. PREMIUM ENQUIRY POPUP */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.popup-overlay.show {
    opacity: 1;
}

.popup-card {
    background: #ffffff;
    width: 95%;
    max-width: 440px;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(40px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0,0,0,0.05);
    max-height: 90vh;
    overflow-y: auto;
}

.popup-overlay.show .popup-card {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--secondary);
    transition: 0.3s;
    border: none;
    z-index: 10;
}

.popup-close:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg);
}

.popup-header {
    text-align: center;
    margin-bottom: 20px;
}

.popup-header h2 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.popup-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.popup-form .form-group {
    margin-bottom: 15px;
}

.popup-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 6px;
}

.popup-form .form-control {
    width: 100%;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 14px;
    transition: 0.3s;
    color: var(--secondary);
}

.popup-form .form-control:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(217, 35, 45, 0.1);
    outline: none;
}

.popup-form textarea.form-control {
    height: 80px;
    resize: none;
}

.popup-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 8px 16px rgba(217, 35, 45, 0.2);
    margin-top: 5px;
}

.popup-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(217, 35, 45, 0.3);
}

.popup-submit:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success State */
.popup-success {
    text-align: center;
    padding: 20px 0;
}

.popup-success i {
    font-size: 60px;
    color: #22c55e;
    margin-bottom: 20px;
    display: block;
}

.popup-success h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
}

/* 18. LANGUAGE SWITCHER V2 */
.lang-switcher-v2 {
    background: #f1f5f9;
    padding: 4px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    transition: 0.3s;
    cursor: pointer;
}

.lang-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(217, 35, 45, 0.2);
}

.lang-btn:hover:not(.active) {
    background: rgba(217, 35, 45, 0.05);
    color: var(--primary);
}

/* 19. WHITE COLLAR TALENT SHOWCASE */
.talent-showcase {
    padding: 100px 0;
    background: #f8fafc;
}

.talent-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.talent-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.talent-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #22c55e;
    color: #fff;
    padding: 5px 40px;
    font-size: 11px;
    font-weight: 700;
    transform: rotate(45deg);
    text-transform: uppercase;
    z-index: 2;
}

.talent-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
    transition: 0.3s;
}

.talent-card:hover .talent-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.talent-card h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--secondary);
}

.talent-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-hire {
    display: inline-block;
    padding: 10px 30px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    transition: 0.3s;
    text-decoration: none;
}

.talent-card:hover .btn-hire {
    background: var(--primary);
    color: #fff;
}

/* 20. TALENT CATEGORIES V2 */
.talent-categories {
    padding: 100px 0;
    background: #fff;
}

.category-card {
    background: var(--secondary);
    border-radius: 24px;
    padding: 45px;
    color: #fff;
    height: 100%;
    transition: 0.4s;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0;
    transition: 0.4s;
    z-index: -1;
}

.category-card:hover::before {
    opacity: 0.15;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-card h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-card h3 i {
    color: var(--accent);
}

.category-list {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.category-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
}

.category-list li::before {
    content: '•';
    color: var(--primary);
    font-weight: 900;
}

.btn-category {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
}

.btn-category:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}




/* 17. WHATSAPP CHAT */
#whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(37, 211, 102, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: float 3s ease-in-out infinite;
}

#whatsapp-chat:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.9), 0 0 50px rgba(37, 211, 102, 0.4);
}

#whatsapp-chat img {
    width: 30px;
    height: 30px;
}

#chat-tooltip {
    position: absolute;
    right: 70px;
    bottom: 10px;
    background: white;
    color: #333;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}


/* 18. BACK TO TOP */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 100px;
    z-index: 99;
    border: none;
    outline: none;
    background: var(--primary);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(255,0,43,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    align-items: center;
    justify-content: center;
}
.back-to-top.active {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255,0,43,0.4);
}

/* 19. ENQUIRY FORM POLISH */
.a75-card {
    border: none !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12) !important;
    background: rgba(255,255,255,0.9) !important;
    backdrop-filter: blur(10px);
}
.a75-btn {
    transition: all 0.3s ease;
}
.a75-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212,175,55,0.4);
}

/* 20. PREMIUM LANGUAGE SWITCHER (v2) */
.lang-switcher-v2 {
    background: #f1f5f9;
    border-radius: 50px;
    padding: 3px;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.lang-btn {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
}
.lang-btn.active {
    background: var(--primary);
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(217, 35, 45, 0.3);
}
.lang-btn:hover:not(.active) {
    color: var(--primary);
    background: rgba(217, 35, 45, 0.05);
}

@media (max-width: 991px) {
    .lang-switcher-v2 {
        margin-right: 10px !important;
        padding: 2px;
    }
    .lang-btn {
        padding: 5px 10px;
        font-size: 10px;
    }
}

/* Hide Google's own UI artifacts */
iframe.goog-te-banner-frame {
    display: none !important;
}
body {
    top: 0px !important;
}
.goog-te-gadget {
    font-size: 0 !important;
}

/* 21. PREMIUM ENQUIRY FORM V2 */
.a75-container {
    padding: 100px 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}
.a75-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.08);
}
.a75-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.a75-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 18px;
}
.a75-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}
@media (max-width: 768px) {
    .a75-row { grid-template-columns: 1fr; }
    .a75-card { padding: 30px 20px; }
}
.a75-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.a75-label {
    font-weight: 700;
    font-size: 13px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding-left: 5px;
}
.a75-input, .a75-textarea {
    width: 100%;
    background: #fff;
    border: 2px solid #e2e8f0;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    color: var(--secondary);
}
.a75-input:focus, .a75-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(217, 35, 45, 0.1);
    outline: none;
}
.a75-textarea { height: 140px; resize: none; }

.a75-checkbox-group, .a75-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}
@media (max-width: 576px) {
    .a75-checkbox-group, .a75-radio-group { grid-template-columns: 1fr; }
}
.a75-checkbox-group label, .a75-radio-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.a75-checkbox-group input, .a75-radio-group input {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.a75-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 15px 30px rgba(217, 35, 45, 0.25);
}
.a75-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(217, 35, 45, 0.35);
}

/* SUCCESS STATE */
#a75-success {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
.a75-modal-box {
    background: #fff;
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.a75-check {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: #fff;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}
/* 11. PREMIUM SERVICES SHOWCASE */
#services-showcase {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
}

.service-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card-v2 {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 480px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.service-card-v2:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
}

.service-img-v2 {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.service-img-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card-v2:hover .service-img-v2 img {
    transform: scale(1.1);
}

.service-overlay-v2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 10%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    z-index: 2;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.5s ease;
}

.service-card-v2:hover .service-overlay-v2 {
    background: linear-gradient(to top, rgba(217, 35, 45, 0.95) 10%, rgba(15, 23, 42, 0.6) 60%, transparent 100%);
}

.service-content-v2 {
    position: relative;
    z-index: 3;
}

.service-icon-v2 {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.service-card-v2:hover .service-icon-v2 {
    background: #ffffff;
    color: var(--primary);
    transform: rotateY(180deg);
}

.service-title-v2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: 'Rubik', sans-serif;
}

.service-desc-v2 {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
    line-height: 1.6;
    opacity: 0.9;
    transition: all 0.5s ease;
}

.service-btn-v2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    padding: 12px 24px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
}

.service-btn-v2:hover {
    background: #ffffff;
    color: var(--primary) !important;
    border-color: #ffffff;
}

@media (max-width: 1199px) {
    .service-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .service-grid-v2 { grid-template-columns: 1fr; }
    #services-showcase { padding: 80px 0; }
    .service-card-v2 { height: 420px; }
}

/* 12. PREMIUM CONTACT HUB */
.contact-hub-section {
    position: relative;
    background: #ffffff;
}

.contact-info-wrap {
    padding-right: 40px;
}

.hub-eyebrow {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 15px;
    display: inline-block;
}

.hub-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--secondary);
    font-family: 'Rubik', sans-serif;
}

.hub-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.contact-method-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.method-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
}

.method-card:hover {
    background: #fff;
    border-color: var(--primary);
    transform: translateX(12px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.method-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(217, 35, 45, 0.2);
}

.method-detail h5 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--secondary);
}

.method-detail p {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.method-detail a {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 2px solid rgba(217, 35, 45, 0.15);
    transition: 0.3s;
}

.method-detail a:hover {
    border-bottom-color: var(--primary);
    padding-left: 5px;
}

.social-circle {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    color: var(--secondary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    font-size: 18px;
}

.social-circle:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-8px) rotate(8deg);
}

.contact-form-box {
    padding: 60px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.08);
}

.contact-map-wrap {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 10px solid #fff;
    background: #fff;
}

@media (max-width: 991px) {
    .hub-title { font-size: 2.5rem; }
    .contact-info-wrap { padding-right: 0; margin-bottom: 50px; }
    .contact-form-box { padding: 40px 25px; }
}

@media (max-width: 575px) {
    .hub-title { font-size: 2rem; }
    .method-card { padding: 20px; flex-direction: column; align-items: center; text-align: center; }
    .method-card:hover { transform: translateY(-5px); }
}

