html {
    scroll-behavior: smooth;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F0F2F5;
    color: #1A1A1A;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Wavy Background Pattern simulating Zoho's background */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-radial-gradient(circle at top center,
            transparent,
            transparent 40px,
            rgba(0, 0, 0, 0.05) 40px,
            rgba(0, 0, 0, 0.05) 41px);
    z-index: -1;
    opacity: 1;
    pointer-events: none;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.5px;
}

.logo img {
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo:hover img {
    /* static on hover */
}

.logo span {
    color: #c7140e;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    margin-left: 0;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #d97706;
}

.nav-links .login-btn {
    padding: 8px 20px;
    border: 1px solid #ffbd59;
    border-radius: 6px;
    color: #b45309;
    font-weight: 600;
    display: inline-block;
    transition: all 0.25s ease;
}

.nav-links .login-btn:hover {
    background: linear-gradient(135deg, #ffde59 0%, #ffbd59 100%);
    color: #111827;
    border-color: #ffbd59;
    box-shadow: 0 4px 12px rgba(255, 189, 89, 0.35);
}

.nav-links .btn-login-solid {
    background: #c7140e;
    color: #ffffff;
    font-weight: 700;
    border: 1px solid #c7140e;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(199, 20, 14, 0.3);
}

.nav-links .btn-login-solid:hover {
    background: #a8100b;
    border-color: #a8100b;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(199, 20, 14, 0.45);
}

.nav-links .btn-back-home {
    border: 1px solid #d1d5db;
    color: #374151;
    background-color: transparent;
    transition: all 0.2s ease;
}

.nav-links .btn-back-home:hover {
    background: linear-gradient(135deg, #ffde59 0%, #ffbd59 100%);
    border-color: #ffbd59;
    color: #111827;
}

/* Hero Section */
.hero {
    background-color: var(--dark-green);
    color: #fff;
    text-align: center;
    padding: 60px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* overflow-x: hidden; */
}

.hero-badge {
    background: #fff7ed;
    color: #c2410c;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 9999px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1.5px solid #ffbd59;
    box-shadow: 0 2px 12px rgba(255, 189, 89, 0.2);
}

.badge-icon {
    background: #c7140e;
    color: #ffffff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 800;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #111;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 1000px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffde59 0%, #ffbd59 100%);
    color: #111827;
    text-decoration: none;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 18px rgba(255, 189, 89, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffe575 0%, #ffc66e 100%);
    box-shadow: 0 8px 24px rgba(255, 189, 89, 0.6);
    color: #111827;
}

.btn-secondary {
    background-color: #ffffff;
    color: #111827;
    text-decoration: none;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    border: 1.5px solid #ffbd59;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px rgba(255, 189, 89, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background-color: #ffbd59;
    color: #111827;
    border-color: #ffbd59;
    box-shadow: 0 6px 22px rgba(255, 189, 89, 0.45);
}

.hero-image-container {
    width: 100%;
    max-width: 100%;
    padding: 0 32px;
    box-sizing: border-box;
    margin-bottom: -150px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.side-col {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 28px);
    width: 18%;
}

.left-col {
    margin-right: -3%;
}

.right-col {
    margin-left: -3%;
}

.main-dashboard-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Soft linear shadow */
    position: relative;
    z-index: 10;
    display: block;
}

.dashboard-interactive-wrapper {
    position: relative;
    width: 70%;
    max-width: none;
    z-index: 10;
    display: inline-block;
    line-height: 0;
}

.dashboard-hotspot {
    position: absolute;
    cursor: pointer;
    z-index: 15;
    text-decoration: none;
    display: block;
    background: transparent;
    border: none;
    outline: none;
}

/* Week Timelogs Dynamic Overlay */
.week-timelogs-overlay {
    position: absolute;
    top: 44.5%;
    left: 53.0%;
    width: 18.1%;
    height: 5.4%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: clamp(3px, 0.35vw, 6px);
    align-items: center;
    justify-items: center;
    z-index: 12;
    pointer-events: none;
    box-sizing: border-box;
    background: #ffffff;
    padding: 2px 4px;
}

.week-timelogs-overlay .day-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ffffff;
    color: #5a6a85;
    border: 1px solid #dbe2ea;
    box-shadow: none;
    font-size: clamp(7px, 0.74vw, 12.5px);
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1;
    box-sizing: border-box;
    user-select: none;
}

.week-timelogs-overlay .day-circle.active {
    background: #00a8ff;
    color: #ffffff;
    border-color: #00a8ff;
    box-shadow: none;
    font-weight: 600;
}

/* Dynamic Attendance/Clock Widget Overlay */
.attendance-widget {
    position: absolute;
    top: 9.0%;
    left: 82.5%;
    width: 16.0%;
    height: 8.2%;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: #f4f5f7;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    box-sizing: border-box;
    padding-right: 1.2%;
}

.attendance-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin-right: clamp(4px, 0.6vw, 10px);
    text-align: right;
    line-height: 1.15;
    user-select: none;
}

.attendance-time {
    font-size: clamp(8px, 0.8vw, 13.5px);
    font-weight: 700;
    color: #334155;
    letter-spacing: -0.2px;
}

.attendance-day {
    font-size: clamp(6.5px, 0.55vw, 9.5px);
    color: #64748b;
    font-weight: 500;
}

.attendance-log {
    font-size: clamp(6px, 0.5vw, 8.5px);
    color: #94a3b8;
    font-weight: 500;
    margin-top: 1px;
    white-space: nowrap;
}

.attendance-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    width: clamp(80px, 6.8vw, 100px);
}

.btn-clockin {
    background-color: #00a8ff;
    color: #ffffff;
    padding: clamp(7px, 0.55vw, 10px) 0;
    font-size: clamp(9px, 0.75vw, 12px);
}

.btn-clockin:hover {
    background-color: #000000;
}

.btn-clockout {
    background-color: #e4222d;
    color: #ffffff;
    padding: clamp(10px, 0.8vw, 14px) 0;
    font-size: clamp(9px, 0.75vw, 12px);
}

.btn-clockout:hover {
    background-color: #b81b24;
}

.btn-icon {
    width: clamp(9px, 0.75vw, 13px);
    height: clamp(9px, 0.75vw, 13px);
    margin-right: clamp(3px, 0.3vw, 5px);
    stroke-width: 2.2;
    flex-shrink: 0;
}

.floating-img {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Soft linear shadow */
    width: 100%;
    position: relative;
    z-index: 5;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.floating-img:hover {
    transform: scale(1.05) translateY(-10px);
    /* Pop up effect */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    /* Stronger shadow on hover */
    z-index: 20;
    /* Pop above dashboard */
}

/* Section Styles */
.feature-section {
    padding: 80px 50px;
    background-color: #fff;
}

.feature-section.light-section {
    background-color: #fff;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

/* Banner Section */
.banner-section {
    background: #171b22;
    position: relative;
    padding: 85px 50px;
    color: #fff;
    overflow: hidden;
}

.banner-container {
    max-width: 1260px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    position: relative;
    z-index: 3;
}

.banner-content {
    flex: 0 0 470px;
}

.banner-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.22;
    letter-spacing: -0.5px;
    color: #ffffff;
}

/* Explore features rectangular button */
.banner-btn {
    background: #c7140e;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(199, 20, 14, 0.45);
    font-size: 1rem;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.banner-btn:hover {
    background: #a8100b;
    box-shadow: 0 8px 24px rgba(199, 20, 14, 0.65);
    color: #ffffff;
}

.banner-btn:active {
    box-shadow: 0 4px 16px rgba(199, 20, 14, 0.45);
}

/* Banner cards 2x2 grid with subtle divider lines */
.banner-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 680px;
}

.banner-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 30px 28px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 18px;
    box-sizing: border-box;
    box-shadow: none;
    min-height: auto;
    cursor: pointer;
    transition: background 0.35s ease;
}

.banner-card:hover {
    background: radial-gradient(ellipse at 40% 50%, rgba(199, 20, 14, 0.08) 0%, rgba(199, 20, 14, 0.02) 55%, transparent 80%);
}

/* Vertical divider between column 1 and column 2 */
.banner-card:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Horizontal divider between row 1 and row 2 */
.banner-card:nth-child(1),
.banner-card:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-card-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: color 0.3s ease;
}

.banner-card-icon svg {
    display: block;
    transition: stroke 0.3s ease, fill 0.3s ease, filter 0.3s ease;
}

.banner-card:hover .banner-card-icon svg {
    stroke: #ffde59;
    filter: drop-shadow(0 0 10px rgba(255, 222, 89, 0.45));
}

.banner-card:hover .banner-card-icon svg circle[fill="#ffffff"] {
    fill: #ffde59;
}

.banner-card-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.35;
    text-align: left;
    transition: color 0.3s ease;
}

.banner-card:hover .banner-card-text {
    color: #ffde59;
}

@media (max-width: 960px) {
    .banner-container {
        flex-direction: column;
        gap: 45px;
        text-align: center;
    }
    .banner-content {
        flex: 1;
        max-width: 100%;
        text-align: center;
    }
    .banner-cards {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 620px) {
    .banner-cards {
        grid-template-columns: 1fr;
    }
    .banner-card:nth-child(odd) {
        border-right: none;
    }
    .banner-card:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .banner-card {
        padding: 22px 14px;
    }
}

/* Feature Categories */
.main-feature-category {
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-feature-category::before,
.main-feature-category::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #eaeaea;
}

.category-badge {
    padding: 10px 30px;
    background: #fff7ed;
    color: #c2410c;
    border: 1.5px solid #ffbd59;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin: 0 24px;
    box-shadow: 0 2px 10px rgba(255, 189, 89, 0.15);
}

/* Feature Rows Section */
.feature-rows-section {
    background: transparent;
    padding: 0;
    color: #111;
}

.category-block {
    width: 100%;
    padding: 80px 50px;
    box-sizing: border-box;
    position: relative;
}

.category-block .feature-row {
    margin: 0 auto 100px;
}

.category-block .feature-row:last-child {
    margin-bottom: 0;
}

.category-block .main-feature-category {
    margin-top: 0;
    margin-bottom: 50px;
}

.category-block.has-category-badge {
    padding-top: 0;
}

.category-block.has-category-badge > .main-feature-category {
    transform: translateY(-50%);
    margin-bottom: 70px;
    position: relative;
    z-index: 5;
}

.category-block .section-header {
    margin-bottom: 50px;
}

.feature-row {
    max-width: 1500px;
    margin: 0 auto 100px;
    display: flex;
    align-items: center;
    gap: 60px;
    scroll-margin-top: 100px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-row.compact {
    max-width: 1250px;
    gap: 70px;
    margin-bottom: 90px;
}

.feature-row.compact .feature-row-img {
    flex: 1.3;
}

.feature-row-text {
    flex: 1;
}

.feature-row-text h3 {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin-bottom: 24px;
    line-height: 1.2;
}

.feature-row-text p {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
}

.feature-row-img {
    flex: 2.2;
}

.feature-row-img img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Thin linear border */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    /* Little darker linear shadow */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

/* Wide Card */
.wide-section {
    background: transparent;
}

.wide-card {
    max-width: 1600px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 40px 80px 80px;
    border: 1px solid #eef5f2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.wide-card-content {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.wide-card-text {
    flex: 0 0 30%;
    /* fixed width — won't change when images swap */
    min-width: 350px;
    height: 410px;
    /* Hard lock the height to prevent the card from expanding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.wide-card-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.15;
}

.wide-card-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

.wide-card-text .link-text {
    color: #c7140e;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}

.wide-card-text .link-text:hover {
    color: #a8100b;
    transform: translateX(5px);
}

.wide-card-img {
    flex: 1 1 0%;
    /* takes remaining space */
    min-width: 0;
    /* prevent flex overflow */
}

.wide-card-img img {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

/* Exact Layout Styles */
.section-padding {
    padding: 80px 50px;
}

/* Brands Section */
.brands-section {
    text-align: center;
    background-color: #ffffff;
    padding-top: 200px;
    padding-bottom: 40px;
    /* Push brands down so they clear the overlapping images */
}

.brands-section p {
    color: #666;
    margin-bottom: 25px;
}

.brands-static-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.brand-img {
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-img:hover {
    transform: scale(1.05);
}

.brand-img-ilogitron {
    height: 42px;
    width: auto;
}

.brand-img-ismart {
    height: 165px;
    width: auto;
    margin: -38px 0;
}

.brand-img-csb {
    height: 70px;
    width: auto;
}

.brands-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.brands-track {
    display: flex;
    width: max-content;
    animation: brandsMarquee 35s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brands-set {
    display: flex;
    align-items: center;
    gap: 70px;
    padding-right: 70px;
}

@keyframes brandsMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Masonry Grid */
.masonry-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mt-40 {
    margin-top: 40px;
}

.masonry-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.masonry-card {
    background-color: #fcfcfc;
    border: 1px solid #eaeaea;
    border-radius: 24px;
    padding: 50px 50px 0 50px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    /* Take up natural height instead of forced min-heights */
}

.masonry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.card-text {
    margin-bottom: 40px;
}

.card-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
}

.card-text p {
    color: #555;
    line-height: 1.6;
    font-size: 17px;
}

.card-img {
    flex: 1;
    display: flex;
    align-items: flex-end;
    /* Anchor images to the bottom */
    justify-content: center;
    margin: 0 -50px 0 -50px;
    /* Full bleed to touch the sides and bottom */
}

.card-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: none;
}

/* Updates to dark grid */
.card-narrow-img img {
    max-width: 100%;
}

.card-wide-img img {
    max-width: 100%;
}

.app-badges {
    display: flex;
    gap: 15px;
}

/* Icon Grid */
.icon-grid-section {
    background-color: #fff;
}

.icon-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.icon-item .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 14px;
    background-color: #fff7ed;
    color: #ea580c;
    border: none;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.35s ease, box-shadow 0.35s ease;
}

.icon-item .icon svg {
    width: 32px;
    height: 32px;
    stroke: #ea580c;
    stroke-width: 1.8;
    transition: stroke 0.3s ease;
}

.icon-item:hover .icon {
    background: #ffbd59;
    color: #111827;
    border: none;
    box-shadow: 0 12px 28px -4px rgba(255, 189, 89, 0.65);
    border-radius: 14px;
}

.icon-item:hover .icon svg {
    stroke: #111827;
}

.icon-item h3,
.icon-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Testimonial */
.testimonial-section {
    background-color: #111;
    color: #fff;
    text-align: center;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.testimonial-card p {
    font-size: 24px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 30px;
}

.testimonial-card .author {
    color: #ffbd59;
    font-weight: 600;
}

/* Integration */
.integration-section {
    background-color: #f9f9f9;
}

.integration-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
}

/* Pricing */
.pricing-section {
    background-color: #fff;
}

.pricing-grid {
    max-width: 100%;
    margin: 40px auto 0;
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    border: 1px solid #eaeaea;
    border-radius: 24px;
    padding: 15px 20px;
    text-align: left;
    position: relative;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.pricing-card:hover {
    /* Card remains static on hover */
}

.pricing-card.popular {
    background-color: #111;
    color: #fff;
    border: 2px solid #c7140e;
    padding: 25px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.pricing-card.popular:hover {
    /* Card remains static on hover */
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #c7140e;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 18px rgba(199, 20, 14, 0.5);
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.pricing-card.popular .pricing-desc {
    color: #aaa;
}

.pricing-card .price {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-card .price .currency {
    font-size: 20px;
    font-weight: 600;
}

.pricing-card .price .term {
    font-size: 16px;
    color: #888;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.pricing-features li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card.popular .pricing-features li {
    color: #ddd;
}

.pricing-features .check {
    color: #c7140e;
    font-weight: bold;
}

.pricing-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    border-radius: 8px;
    display: block;
    transition: all 0.25s ease;
}

.pricing-card .btn-secondary.pricing-btn {
    border: 1.5px solid #c7140e;
    color: #c7140e;
    background-color: transparent;
    font-weight: 600;
}

.pricing-card .btn-secondary.pricing-btn:hover {
    background-color: #c7140e;
    color: #ffffff;
    border-color: #c7140e;
    box-shadow: 0 4px 14px rgba(199, 20, 14, 0.35);
}

.pricing-card.popular .pricing-btn {
    background: #c7140e;
    color: #ffffff;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(199, 20, 14, 0.45);
}

.pricing-card.popular .pricing-btn:hover {
    background: #a8100b;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(199, 20, 14, 0.65);
}

/* Assistance CTA */
.assistance-section {
    background: transparent;
}

.assistance-cta-card {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #111, #222);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.assistance-cta-card h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.assistance-cta-card p {
    font-size: 20px;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn-primary {
    background: #c7140e;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 18px rgba(199, 20, 14, 0.45);
    font-weight: 700;
}

.cta-buttons .btn-primary:hover {
    background: #a8100b;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(199, 20, 14, 0.65);
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Security */
.security-section {
    background-color: #ffffff;
    text-align: center;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.badge-card {
    background: #fff;
    border: 1px solid #eef5f2;
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    min-width: 200px;

    box-shadow: 5px 5px 25px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
}

.badge-card:hover {
    /* transform: translateY(-5px); */
    transform: scale(1.02);
box-shadow: 7px 6px 25px -4px rgba(0, 0, 0, 0.12);
border-radius: 8px;
}

.badge-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.badge-card h3,
.badge-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

/* FAQ */
.faq-section {
    background: transparent;
}

/* Alternating Section Background Helpers */
.bg-white-section {
    background-color: #ffffff !important;
}

.bg-patterned-section {
    background: transparent !important;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #eaeaea;
    margin-bottom: 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-color: #ddd;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
}

.faq-question h3,
.faq-question h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.faq-icon {
    font-size: 24px;
    color: #d97706;
    font-weight: 300;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item:hover .faq-icon {
    transform: scale(1.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1), padding 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0 30px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 30px 24px 30px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #111;
}

/* Footer */
.site-footer {
  background: #0a0a0a;
  padding: 5.5rem 5% 3rem;
  border-top: 3px solid #c7140e;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
}

.footer-logo img {
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease;
}

.footer-logo:hover img {
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.footer-logo .text-red { color: #c7140e; }
.footer-logo .text-white { color: #fff; }

.footer-brand p {
  color: #8a8a8a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  color: #8a8a8a;
  display: flex;
  transition: color 0.15s ease;
}

.footer-socials a:hover {
  color: #c7140e;
}

.footer-col h2,
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h2::after,
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: #c7140e;
}

.footer-col a {
  display: block;
  color: #8a8a8a;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-col a:hover {
  color: #c7140e;
}

.footer-bottom {
  max-width: 100%;
  margin: 4rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: #5c5c5c;
  font-size: 0.95rem;
  margin: 0;
}

.footer-top-link {
  color: #8a8a8a;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-top-link:hover {
  color: #c7140e;
}

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

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Responsive Design */
@media (max-width: 1024px) {

    .feature-row,
    .feature-row.compact {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .wide-card {
        padding: 40px;
    }

    .pricing-grid {
        gap: 20px;
    }

    .pricing-card {
        padding: 40px 20px;
    }

    .pricing-card.popular {
        padding: 50px 20px;
    }
}

@media (max-width: 768px) {
    .side-col {
        display: none;
    }

    .dashboard-interactive-wrapper {
        width: 100%;
    }

    .main-dashboard-img {
        width: 100%;
    }

    .hero-image-container {
        margin-bottom: -40px;
    }
}


@media (max-width: 768px) {
    .feature-row,
    .feature-row.reverse,
    .feature-row.compact {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .banner-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .wide-card-content {
        flex-direction: column;
        text-align: center;
    }

    .form-split-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .form-split-text {
        padding-right: 0;
    }

    .benefit-list li {
        justify-content: center;
    }

    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-page-main {
        margin-top: 0px;
        padding: 20px 10px !important;
    }
    .form-split-text {
        display: none !important;
    }
    .form-split-section {
        display: block !important;
        padding: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .form-container {
        padding: 1.5rem 1rem !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid #eaeaea !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .form-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    .form-group label {
        display: block !important;
        text-align: left !important;
        margin-bottom: 8px !important;
        font-size: 14px !important;
        width: 100% !important;
    }
    .form-group input, .form-group select {
        width: 100% !important;
    }
    .pkg-modal-content {
        padding: 1.5rem !important;
        max-width: 90vw !important;
    }
    #modal-pkg-price {
        font-size: 2.25rem !important;
    }
    #modal-pkg-name {
        font-size: 1.5rem !important;
    }
    .benefit-list li {
        justify-content: flex-start !important;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .navbar {
        padding: 10px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-links a {
        margin-left: 0;
    }

    .section-header h2 {
        font-size: 30px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .banner-features ul {
        grid-template-columns: 1fr;
    }

    .wide-card {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .icon-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Page Styles */
.form-page-main {
    margin-top: -40px;
    min-height: calc(100vh - 160px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 50px;
}

.form-split-section {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    gap: 60px;
}

.form-split-text {
    flex: 1;
    padding-right: 40px;
}

.form-split-text h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    margin-bottom: 30px;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    font-size: 18px;
    color: #444;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-list .check {
    color: #d97706;
    font-weight: bold;
    font-size: 20px;
}

.form-container {
    flex: 1;
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 600px;
    border: 1px solid #eaeaea;
}

.form-container h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    text-align: center;
}

.form-container p {
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    /* removed margin-bottom since gap handles it */
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group label::after {
    content: " *";
    color: #d97706;
}

.form-group label.optional::after,
.form-group.optional label::after,
.form-group label[data-optional="true"]::after {
    content: none !important;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.6s, box-shadow 0.6s;
    background-color: #fff;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

.form-group input,
.form-group select {
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffbd59;
    box-shadow: 0 0 0 3px rgba(255, 189, 89, 0.25);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ffde59 0%, #ffbd59 100%);
    color: #111827;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(255, 189, 89, 0.4);
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ffe575 0%, #ffc66e 100%);
    box-shadow: 0 8px 24px rgba(255, 189, 89, 0.55);
    color: #111827;
}

.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

/* Form Smooth Transitions */
.smooth-fade {
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-hidden {
    opacity: 0;
    transform: translateX(-40px);
    position: absolute;
    pointer-events: none;
}
.fade-visible {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

/* Modal Styles */
.pkg-modal-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.pkg-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.pkg-modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pkg-modal-overlay.show .pkg-modal-content {
    transform: scale(1) translateY(0);
}

@media (min-width: 769px) {
    #pkg-info-btn {
        display: none !important;
    }
}

/* Professional Sliding Carousel */
.carousel-container {
    width: 100%;
    position: relative;
    padding: 20px 0;
    /* Add padding to prevent shadow clipping */
}

.carousel-viewport {
    width: 100%;
    perspective: 1200px;
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Base state for all images */
.carousel-track>img {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 92%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 1.8s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    border: none;
}

/* 3D Stacking Classes */
.carousel-track>img.slide-active {
    opacity: 1;
    transform: translateX(0) scale(1) translateZ(0);
    z-index: 3;
    pointer-events: auto;
}

.carousel-track>img.slide-prev {
    opacity: 0.3;
    transform: translateX(-12%) scale(0.82) translateZ(-120px) rotateY(12deg);
    z-index: 2;
}

.carousel-track>img.slide-next {
    opacity: 0.3;
    transform: translateX(12%) scale(0.82) translateZ(-120px) rotateY(-12deg);
    z-index: 2;
}

.carousel-track>img.slide-hidden {
    opacity: 0;
    transform: translateX(0) scale(0.5) translateZ(-300px);
    z-index: 1;
}

/* Carousel Dots */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
    background-color: transparent;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.6s, transform 0.6s;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.6s;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dot.active {
    background: linear-gradient(135deg, #ffde59, #ffbd59);
    transform: scale(1.2);
}

/* Extra Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-viewport {
        border-radius: 8px;
    }

    .carousel-track>img {
        width: 100% !important;
        /* Make images BIG and BOLD */
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }

    .carousel-track>img.slide-prev {
        transform: translateX(-15%) scale(0.9) translateZ(-50px) rotateY(10deg);
        opacity: 0.2;
    }

    .carousel-track>img.slide-next {
        transform: translateX(15%) scale(0.9) translateZ(-50px) rotateY(-10deg);
        opacity: 0.2;
    }

    .feature-row-img {
        width: 100%;
        overflow: hidden;
    }

    .carousel-container {
        padding: 10px 0;
        width: 100%;
    }

    .category-block {
        padding: 60px 20px;
    }

    .category-block.has-category-badge {
        padding-top: 0;
    }

    .category-block.has-category-badge > .main-feature-category {
        margin-bottom: 40px;
    }

    .category-block .feature-row {
        margin: 0 auto 60px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
        padding: 0 16px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        margin: 6px 0;
        box-sizing: border-box;
    }

    .carousel-nav {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .carousel-track>img.slide-prev {
        opacity: 0;
    }

    .carousel-track>img.slide-next {
        opacity: 0;
    }
}

.hr-mock-wrapper {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
    border: 1px solid #f1f5f9;
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Offset padding so text and icons clear the dashboard overlap cleanly */
.left-col .hr-mock-wrapper {
    padding-right: calc(38px + 1.2vw);
}

.right-col .hr-mock-wrapper {
    padding-left: calc(38px + 1.2vw);
}

@media (max-width: 1366px) {
    .left-col .hr-mock-wrapper {
        padding-right: calc(24px + 1vw);
    }
    .right-col .hr-mock-wrapper {
        padding-left: calc(24px + 1vw);
    }
    .hr-fg-header-left {
        font-size: 1.2rem !important;
    }
}

.hr-mock-wrapper:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    z-index: 30 !important;
}

.hr-fg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0091ff;
}

.hr-fg-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.35rem;
}

.hr-fg-header-left svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

.hr-fg-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 40px;
}

.hr-fg-link {
    font-size: 1.12rem;
    color: #8fa0b5;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: block;
    text-align: left;
    font-weight: 500;
}

.hr-fg-link.active {
    color: #0091ff;
    font-weight: 500;
}

.hr-fg-link:hover {
    color: #0091ff;
    transform: translateX(4px);
}

@media (min-width: 769px) and (max-width: 1199px) {
    .dashboard-interactive-wrapper {
        width: 56%;
    }
    .side-col {
        width: 20%;
        gap: 2vw;
    }
    .left-col {
        margin-right: 2% !important;
    }
    .right-col {
        margin-left: 2% !important;
    }
    .left-col .hr-mock-wrapper {
        padding: 16px 12px !important;
    }
    .right-col .hr-mock-wrapper {
        padding: 16px 12px !important;
    }
    .hr-fg-header-left {
        font-size: 1.05rem !important;
        gap: 8px !important;
    }
    .hr-fg-header-left svg {
        width: 20px !important;
        height: 20px !important;
    }
    .hr-fg-links {
        padding-left: 28px !important;
        gap: 8px !important;
    }
    .hr-fg-link {
        font-size: 0.85rem !important;
    }
}

/* Attendance Modal Backdrop */
.clock-in-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(1.5px);
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1%;
    box-sizing: border-box;
}

/* Attendance Modal Box */
.clock-in-modal {
    background-color: #ffffff;
    width: 40%;
    border-radius: 6px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    animation: modalReveal 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalReveal {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Header */
.clock-in-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5% 3.5%;
    border-bottom: 1px solid #f1f5f9;
    box-sizing: border-box;
}

.clock-in-modal-header h3,
.clock-in-modal-header .clock-in-modal-title {
    font-size: clamp(11px, 1.1vw, 14px);
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.close-modal-x-btn {
    background: transparent;
    border: none;
    font-size: clamp(14px, 1.4vw, 18px);
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.15s;
}

.close-modal-x-btn:hover {
    color: #64748b;
}

/* Modal Body */
.clock-in-modal-body {
    padding: 3%;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.0vw, 14px);
    box-sizing: border-box;
}

.modal-shift-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding-bottom: 1%;
}

.modal-time-display {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(10.5px, 1.0vw, 13px);
    font-weight: 600;
    color: #1e293b;
}

.modal-clock-icon {
    width: clamp(12px, 1.1vw, 14px);
    height: clamp(12px, 1.1vw, 14px);
    color: #334155;
    stroke-width: 2.5;
}

.modal-shift-badge {
    background-color: #1a63c4;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: normal;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.modal-inputs-row {
    display: flex;
    gap: 3.5%;
    box-sizing: border-box;
}

.modal-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
}

.modal-input-group label {
    font-size: clamp(9px, 0.8vw, 11px);
    font-weight: 500;
    color: #64748b;
    line-height: 1.2;
}

.required-star {
    color: #ef4444;
}

.modal-select {
    padding: 2% 2.5%;
    font-size: clamp(10px, 0.9vw, 12px);
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #334155;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.15s;
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
}

.modal-select:focus {
    border-color: #0091ff;
}

/* Modal Footer */
.clock-in-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 2.5% 3.5%;
    border-top: 1px solid #f1f5f9;
    box-sizing: border-box;
}

.modal-cancel-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: clamp(10px, 0.9vw, 12px);
    font-weight: 500;
    cursor: pointer;
    padding: 1.5% 3%;
    border-radius: 4px;
    transition: background-color 0.15s;
}

.modal-cancel-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

.modal-confirm-btn {
    background-color: #0091ff;
    color: #ffffff;
    font-size: clamp(10px, 0.9vw, 12px);
    font-weight: 600;
    border: none;
    cursor: pointer;
    padding: 2% 4%;
    border-radius: 4px;
    transition: background-color 0.15s;
}

.modal-confirm-btn:hover {
    background-color: #000000;
}

/* Clock Out (Attendance Details) Modal */
.clock-out-modal {
    background-color: #ffffff;
    width: 62%;
    max-width: 680px;
    border-radius: 6px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    line-height: 1.5;
    animation: modalReveal 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.clock-out-modal * {
    box-sizing: border-box;
}

.clock-out-modal-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #f8fafc;
    box-sizing: border-box;
    line-height: 1.5;
}

.attendance-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    box-sizing: border-box;
    width: 100%;
}

.attendance-details-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-align: left;
    line-height: 1.4;
}

.details-card-title {
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.4;
    text-align: left;
    width: 100%;
    display: block;
}

.punch-status-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.punch-sub-box {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-align: left;
    line-height: 1.4;
}

.punch-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 2px;
    display: block;
    text-align: left;
}

.punch-time {
    font-size: 13px;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    text-align: left;
}

.punch-circle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    width: 100%;
}

.punch-circle {
    width: clamp(65px, 5.5vw, 82px);
    height: clamp(65px, 5.5vw, 82px);
    border-radius: 50%;
    border: 3px solid #0091ff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 145, 255, 0.08);
}

.punch-duration {
    font-size: clamp(11.5px, 1.0vw, 14px);
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
    text-align: center;
    display: block;
}

.punch-current-time-box {
    align-items: flex-start;
    justify-content: center;
    padding: 8px 12px;
}

.punch-current-time {
    font-size: 12px;
    color: #334155;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    text-align: left;
}

/* Activity timeline in right card */
.activity-timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 0;
    line-height: 1.4;
    width: 100%;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    width: 100%;
}

.activity-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #0091ff;
    background: #ffffff;
    margin-top: 3px;
    flex-shrink: 0;
    box-sizing: border-box;
    z-index: 2;
}

.activity-line {
    width: 2px;
    height: 28px;
    background-color: #cbd5e1;
    margin-left: 4px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.activity-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    text-align: left;
    line-height: 1.4;
}

.activity-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.activity-title {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.activity-shift-badge {
    background-color: #1a63c4;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 3px;
    line-height: 1.2;
    display: inline-block;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    font-size: 10.5px;
    color: #64748b;
    line-height: 1.4;
    margin-top: 3px;
}

.activity-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    line-height: 1.4;
}

.activity-meta-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.activity-late-badge {
    color: #d97706;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.activity-late-badge svg {
    color: #d97706;
}

.text-muted {
    color: #94a3b8;
}

/* Location & Working From bottom card */
.clock-out-inputs-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
}

.modal-input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.modal-input-group label {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.4;
    display: block;
    text-align: left;
    margin-bottom: 2px;
}

.modal-select {
    height: 38px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: normal;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #334155;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.15s;
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
}

.modal-select:focus {
    border-color: #0091ff;
}

/* Clock Out Confirm Button in modal footer */
.modal-clockout-btn {
    background-color: #e4222d;
    color: #ffffff;
    font-size: clamp(10px, 0.9vw, 12px);
    font-weight: 600;
    border: none;
    cursor: pointer;
    padding: clamp(6px, 0.65vw, 8px) clamp(12px, 1.2vw, 16px);
    border-radius: 4px;
    transition: background-color 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}

.modal-clockout-btn:hover {
    background-color: #b81b24;
}

.modal-clockout-btn .btn-icon {
    width: 13px;
    height: 13px;
    margin: 0;
}

@media (max-width: 768px) {
    .clock-out-modal {
        width: 94%;
        max-height: 88vh;
        overflow-y: auto;
    }
    .attendance-cards-row {
        grid-template-columns: 1fr;
    }
    .clock-out-inputs-card {
        grid-template-columns: 1fr;
    }
}