/* HR SOLUTION DESIGN SYSTEM */
:root {
    --primary-blue: #0A2540;
    /* Professional Navy */
    --accent-gold: #C9A14A;
    /* Golden Orange */
    --accent-gold-light: #E5C07B;
    --text-main: #1F2937;
    --text-muted: #4B5563;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

::selection {
    background: var(--accent-gold);
    color: var(--white);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-blue);
    font-weight: 700;
}

/* Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo span {
    font-weight: 800;
    font-size: 1.8rem;
    .logo img {
    height: 60px;
}
    color: var(--primary-blue);
    letter-spacing: -1px;
}

.logo span b {
    color: var(--accent-gold);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    margin-top: 80px;
    background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.15)),
        url('./assets/bg-hero.png');
    /* Placeholder, updated later */
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent-gold);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--accent-gold);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.cta-button:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.2);
}

/* Section Common */
section {
    padding: 6rem 10%;
}

.section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.section-head h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-head .underline {
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 0 auto;
    border-radius: 2px;
}

/* Approach Pillars - Forced to 1 line on desktop */
.pillars {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.pillar-card {
    flex: 1;
    min-width: 220px;
    background: var(--white);
    padding: 2.5rem 1.2rem;
    border-radius: 20px;
    border: 1px solid #edf2f7;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.pillar-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--accent-gold);
}

.pillar-card h3 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

/* Services Grid - Forced to 1 line on desktop */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    overflow-x: auto;
    padding: 1.5rem 0;
}

.service-card {
    flex: 1;
    min-width: 200px;
    background: var(--white);
    padding: 2.5rem 1.2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-blue);
    transition: width 0.3s;
}

.service-card:hover::after {
    width: 8px;
    background: var(--accent-gold);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 650px;
    padding: 4rem;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--accent-gold);
    color: var(--white);
}

.modal-body h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal-body p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.modal-features {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.modal-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.modal-features li i {
    color: var(--accent-gold);
}

/* Commitment Section */
.commitment {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.commitment-text {
    flex: 1;
}

.commitment-visual {
    flex: 1;
    background: var(--primary-blue);
    padding: 4rem;
    border-radius: 30px;
    color: var(--white);
}

.commitment-visual h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.commitment-visual p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 4rem 10% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo span {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
}

.footer-logo b {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations & Fallback */
.reveal {
    opacity: 1;
    /* Visible by default */
    transform: none;
    transition: all 0.8s ease-out;
}

body.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(30px);
}

body.reveal-ready .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness & Carousels */
@media (max-width: 1024px) {

    .pillars,
    .services-grid {
        justify-content: flex-start;
        padding-left: 5%;
        padding-right: 5%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .pillars::-webkit-scrollbar,
    .services-grid::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .pillar-card,
    .service-card {
        min-width: 280px;
        flex: 0 0 280px;
    }

    section {
        padding: 4rem 5%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    .nav-toggle {
        display: block;
        cursor: pointer;
        color: var(--primary-blue);
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        transition: var(--transition);
        z-index: 1000;
        padding: 2rem;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .commitment {
        flex-direction: column;
        gap: 2rem;
    }

    .modal-content {
        padding: 2.5rem 1.5rem;
        width: 95%;
    }

    .modal-body h2 {
        font-size: 1.5rem;
    }
}

/* Scroll Indicators for Mobile */
.scroll-hint {
    display: none;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (max-width: 1024px) {
    .scroll-hint {
        display: flex;
    }
}

/* WhatsApp Floating Button Responsiveness */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.5);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}