/* ============================================
   GrandTeck Payroll - Landing Page Custom Styles
   ============================================ */

/* --- Mega Menu Navigation --- */
.gt-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gt-nav > li {
    position: relative;
}

.gt-nav > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.gt-nav > li > a:hover {
    color: #6FD943;
}

.gt-nav > li > a .dropdown-arrow {
    width: 10px;
    height: 10px;
    border: none;
    transition: transform 0.3s ease;
}

.gt-nav > li:hover > a .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mega dropdown panel */
.gt-mega-dropdown {
    position: absolute;
    top: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    padding: 0;
    min-width: 850px;
    max-width: calc(100vw - 40px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

/* Default: center align for first 3 items (Products, Solutions, Resources) */
.gt-nav > li:nth-child(1) .gt-mega-dropdown,
.gt-nav > li:nth-child(2) .gt-mega-dropdown,
.gt-nav > li:nth-child(3) .gt-mega-dropdown {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}

.gt-nav > li:nth-child(1):hover .gt-mega-dropdown,
.gt-nav > li:nth-child(2):hover .gt-mega-dropdown,
.gt-nav > li:nth-child(3):hover .gt-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Right align for Company and any items after (4th position onwards) */
.gt-nav > li:nth-child(n+4) .gt-mega-dropdown {
    left: auto;
    right: 0;
    transform: translateY(10px);
}

.gt-nav > li:nth-child(n+4):hover .gt-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gt-mega-dropdown-inner {
    display: flex;
}

.gt-mega-left {
    flex: 0 0 240px;
    background: #f8f9fa;
    padding: 32px 28px;
    border-right: 1px solid #eee;
}

.gt-mega-left h3 {
    font-size: 22px;
    font-weight: 700;
    color: #002332;
    margin: 0 0 12px 0;
}

.gt-mega-left p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.gt-mega-right {
    flex: 1;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.gt-mega-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.gt-mega-item:hover {
    background: #f0faf0;
}

.gt-mega-item .mega-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.gt-mega-item .mega-icon.green { background: #e8f5e2; color: #4caf50; }
.gt-mega-item .mega-icon.blue { background: #e3f2fd; color: #2196f3; }
.gt-mega-item .mega-icon.purple { background: #f3e5f5; color: #9c27b0; }
.gt-mega-item .mega-icon.orange { background: #fff3e0; color: #ff9800; }
.gt-mega-item .mega-icon.teal { background: #e0f2f1; color: #009688; }
.gt-mega-item .mega-icon.red { background: #fce4ec; color: #e91e63; }
.gt-mega-item .mega-icon.indigo { background: #e8eaf6; color: #3f51b5; }

.gt-mega-item .mega-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: #002332;
    margin: 0 0 4px 0;
}

.gt-mega-item .mega-text p {
    font-size: 12px;
    color: #888;
    margin: 0;
    line-height: 1.4;
}

/* Small dropdown (non-mega) */
.gt-small-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    transform: translateY(10px);
}

.gt-nav > li:hover .gt-small-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gt-small-dropdown a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.gt-small-dropdown a:hover {
    background: #f0faf0;
    color: #4caf50;
}

/* Nav CTA button */
.gt-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px !important;
    background: #4caf50;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: background 0.2s !important;
    margin-left: 8px;
}

.gt-nav-cta:hover {
    background: #43a047 !important;
    color: #fff !important;
}

/* Sign In link */
.gt-nav-signin {
    color: #fff !important;
    font-weight: 500;
}

/* --- Header spacing fix --- */
.site-header {
    margin-bottom: 0 !important;
}

/* --- Hero Section (Workpay-inspired) --- */
.gt-hero {
    background: #002332;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

/* Hero slide badge pill */
.gt-hero-badge {
    display: inline-block;
    background: rgba(99,102,241,.18);
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: .04em;
    margin-bottom: 16px;
    border: 1px solid rgba(99,102,241,.3);
}

/* Slide transition */
.gt-hero-slide { animation: heroFadeIn .5s ease; }
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Slide dot nav */
.gt-slide-dot { transition: background .3s, transform .2s; }
.gt-slide-dot:hover { transform: scale(1.4); }
.gt-slide-dot.active { background: #6366f1 !important; }

@media (max-width: 991px) {
    .gt-hero {
        padding-top: 70px;
        margin-top: 0;
    }
}

.gt-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(111,217,67,0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

.gt-hero-content {
    max-width: 560px;
}

.gt-hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 20px 0;
}

.gt-hero-content h1 .gt-highlight {
    color: #6FD943;
    position: relative;
    display: inline-block;
}

.gt-hero-content h1 .gt-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #6FD943;
    border-radius: 2px;
}

.gt-hero-content p {
    font-size: 17px;
    line-height: 1.6;
    color: #b0bec5;
    margin: 0 0 14px 0;
}

.gt-hero-content .gt-tagline {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 32px 0;
}

.gt-hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gt-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #4caf50;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.gt-btn-primary:hover {
    background: #43a047;
    color: #fff;
    text-decoration: none;
}

.gt-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    border: none;
    cursor: pointer;
}

.gt-btn-secondary:hover {
    color: #6FD943;
    text-decoration: none;
}

.gt-btn-secondary svg {
    width: 20px;
    height: 20px;
}

.gt-hero-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gt-hero-images .gt-hero-mockup {
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

/* ── Laptop Screen Mockup ────────────────────────────────── */
.gt-laptop-mockup {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 520px;
}
.gt-laptop-mockup .gt-laptop-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    display: block;
    pointer-events: none;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.gt-laptop-mockup .gt-laptop-screen-img {
    position: absolute;
    top: 11.5%;
    left: 11.8%;
    width: 76.8%;
    height: 67%;
    object-fit: fill !important;
    z-index: 1;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: none !important;
    background: #1e293b;
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.gt-laptop-mockup .gt-laptop-screen-img:hover {
    transform: scale(1.02);
}
.gt-hero-images .gt-laptop-mockup {
    max-width: 520px;
}
.gt-service-panel .gt-service-image .gt-laptop-mockup {
    max-width: 500px;
}

.gt-hero-float {
    position: absolute;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.gt-hero-float img {
    width: 100%;
    display: block;
}

.gt-hero-float-1 { top: 10%; right: -10%; width: 180px; }
.gt-hero-float-2 { bottom: 5%; left: -8%; width: 200px; }

/* Dot decorations */
.gt-dots {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(6, 8px);
    gap: 8px;
}

.gt-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4a843;
    opacity: 0.5;
}

.gt-dots-1 { right: 30%; top: 15%; }
.gt-dots-2 { left: 48%; bottom: 5%; }

/* --- Trusted By Section --- */
.gt-trusted {
    padding: 50px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.gt-trusted-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

.gt-trusted-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.gt-trusted-logos .gt-logo-item {
    flex: 0 0 auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s;
    max-height: 40px;
}

.gt-trusted-logos .gt-logo-item:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* --- Services Tabs Section (Workpay-inspired) --- */
.gt-services {
    padding: 80px 0;
    background: #fff;
}

.gt-services-title {
    text-align: center;
    margin-bottom: 40px;
}

.gt-services-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #002332;
    margin: 0 0 16px 0;
}

.gt-services-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
    flex-wrap: wrap;
    border-bottom: 2px solid #eee;
}

.gt-services-tab {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.gt-services-tab:hover {
    color: #002332;
}

.gt-services-tab.active {
    color: #fff;
    background: #4caf50;
    border-radius: 30px;
    margin: -1px 4px;
}

.gt-service-panel {
    display: none;
}

.gt-service-panel.active {
    display: block;
    animation: fadeInPanel 0.4s ease;
}

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

.gt-service-panel h3 {
    font-size: 30px;
    font-weight: 700;
    color: #002332;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.gt-service-panel p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 30px 0;
}

.gt-service-panel .gt-service-image {
    text-align: center;
}

.gt-service-panel .gt-service-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.gt-service-panel .gt-service-image .gt-laptop-mockup .gt-laptop-frame {
    border-radius: 0 !important;
    box-shadow: none !important;
}
.gt-service-panel .gt-service-image .gt-laptop-mockup .gt-laptop-screen-img {
    position: absolute;
    top: 11.5%;
    left: 11.8%;
    width: 76.8%;
    height: 67%;
    object-fit: fill !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: none !important;
    display: block;
}

/* --- Header Layout Fix --- */
.site-header,
.main-navigationbar,
.navigationbar-row,
.menu-items-col,
.main-nav.gt-nav {
    overflow: visible !important;
}

.main-navigationbar {
    padding: 2px 0 !important;
}

/* Override main-style1.css nav item padding that inflates header height */
.header-style-one .main-navigationbar .menu-items-col .main-nav > li {
    padding: 3px 0 !important;
}

.navigationbar-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

.logo-col {
    flex: 0 0 auto !important;
    margin-right: 2px !important;
    padding-left: 8px;
}

/* Override original 30px margin on nav items */
.header-style-one .main-navigationbar .menu-items-col .main-nav > li:not(:last-of-type) {
    margin-right: 0 !important;
}

.menu-items-col {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-right: 24px;
    overflow: visible !important;
}

.gt-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 16px;
    flex-shrink: 0;
}

.gt-nav-signin-btn {
    padding: 8px 18px;
    border-radius: 6px;
    border: 1.5px solid #002332;
    color: #002332;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-block;
}

.gt-nav-signin-btn:hover {
    background: #002332;
    color: #fff;
}

.gt-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 6px;
    background: #4caf50;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.gt-nav-cta:hover {
    background: #2e7d32;
}

/* --- Footer (Workpay-inspired layout with dark background) --- */
.gt-footer {
    padding: 60px 0 0;
    background: #1a1f2e;
}

.gt-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 32px;
    padding-bottom: 50px;
}

.gt-footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
}

.gt-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gt-footer-col ul li {
    margin-bottom: 10px;
}

.gt-footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.gt-footer-col ul li a:hover {
    color: #6FD943;
}

.gt-footer-social {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.gt-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 16px;
}

.gt-footer-social a:hover {
    background: #6FD943;
}

.gt-footer-social a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.gt-footer-contact p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 6px 0;
}

.gt-footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.gt-footer-contact a:hover {
    color: #6FD943;
}

.gt-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.gt-footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.gt-footer-logo img {
    height: 40px;
}

.gt-footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.gt-footer-bottom-right a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.gt-footer-bottom-right a:hover {
    color: #fff;
}

.gt-footer-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* --- Knowledge Base / Blog / Resource Pages --- */
.gt-page-hero {
    background: #002332;
    padding: 70px 0 50px;
}

.gt-page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
}

.gt-page-hero p {
    font-size: 17px;
    color: #b0bec5;
    margin: 0;
}

.gt-page-content {
    padding: 60px 0;
    background: #f9fafb;
    min-height: 50vh;
}

.gt-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gt-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
    text-decoration: none;
    display: block;
}

.gt-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    text-decoration: none;
}

.gt-card .gt-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
}

.gt-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #002332;
    margin: 0 0 8px 0;
}

.gt-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.gt-search-bar {
    max-width: 500px;
    margin: 20px 0 0 0;
    position: relative;
}

.gt-search-bar input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.gt-search-bar input::placeholder {
    color: rgba(255,255,255,0.5);
}

.gt-search-bar input:focus {
    border-color: #6FD943;
}

.gt-search-bar svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
}

/* --- Blog list --- */
.gt-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
}

.gt-blog-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.gt-blog-card-img {
    width: 100%;
    height: 200px;
    background: #e8f5e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.gt-blog-card-body {
    padding: 24px;
}

.gt-blog-card-body .gt-blog-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f5e2;
    color: #4caf50;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 10px;
}

.gt-blog-card-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: #002332;
    margin: 0 0 8px 0;
}

.gt-blog-card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.gt-blog-card-body .gt-read-more {
    font-size: 14px;
    font-weight: 600;
    color: #4caf50;
    text-decoration: none;
}

.gt-blog-card-body .gt-read-more:hover {
    color: #388e3c;
}

/* --- Responsive --- */
@media (max-width: 1400px) {
    .gt-nav > li > a {
        padding: 12px 8px;
        font-size: 13px;
    }
    .gt-nav-actions {
        margin-left: 10px;
        gap: 8px;
    }
    .gt-nav-signin-btn {
        padding: 7px 14px;
        font-size: 13px;
    }
    .gt-nav-cta {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    .gt-nav > li > a {
        padding: 12px 6px;
        font-size: 12.5px;
    }
    .gt-nav-actions {
        margin-left: 6px;
        gap: 6px;
    }
    .gt-nav-signin-btn {
        padding: 6px 12px;
        font-size: 12.5px;
    }
    .gt-nav-cta {
        padding: 7px 12px;
        font-size: 12.5px;
    }
    .logo-col img {
        max-height: 40px !important;
    }
}

@media (max-width: 1100px) {
    .gt-mega-dropdown {
        min-width: 580px;
    }
    .gt-mega-left {
        flex: 0 0 200px;
        padding: 24px 20px;
    }
    .gt-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .gt-nav {
        display: none;
    }
    .gt-hero-content h1 {
        font-size: 32px;
    }
    .gt-hero {
        padding: 60px 0 40px;
    }
    .gt-hero-images {
        margin-top: 40px;
    }
    .gt-services-title h2 {
        font-size: 28px;
    }
    .gt-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .gt-hero-content h1 {
        font-size: 28px;
    }
    .gt-services-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .gt-services-tab {
        padding: 10px 18px;
        font-size: 13px;
    }
    .gt-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gt-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .gt-footer-bottom-right {
        justify-content: center;
    }
}

/* Mobile nav overlay */
.gt-mobile-nav {
    display: none;
}

@media (max-width: 991px) {
    .gt-mobile-nav {
        display: block;
    }
}

.gt-mobile-nav-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gt-mobile-nav-items > li > a {
    display: block;
    padding: 12px 0;
    color: #002332;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.gt-mobile-nav-items .gt-mobile-sub {
    list-style: none;
    padding: 0 0 0 20px;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.gt-mobile-dropdown.open .gt-mobile-sub {
    display: block;
    max-height: 500px;
}

.gt-mobile-dropdown.open .gt-mobile-toggle svg {
    transform: rotate(180deg);
}

.gt-mobile-nav-items .gt-mobile-sub li a {
    display: block;
    padding: 8px 0;
    color: #555;
    font-size: 14px;
    text-decoration: none;
}

.gt-mobile-nav-items .gt-mobile-sub li a:hover {
    color: #4caf50;
}

/* --- Footer CTA Banner --- */
.gt-footer-cta {
    padding: 0 0 50px;
}

.gt-footer-cta-inner {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    border-radius: 16px;
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.gt-footer-cta-inner h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.gt-footer-cta-inner p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.gt-footer-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.gt-footer-cta-buttons .gt-btn-primary {
    background: #fff;
    color: #2e7d32;
}

.gt-footer-cta-buttons .gt-btn-primary:hover {
    background: #f0f0f0;
    color: #2e7d32;
}

.gt-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.gt-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

/* --- Footer Brand Column --- */
.gt-footer-brand {
    grid-column: span 1;
}

.gt-footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 16px 0 20px;
}

/* --- Footer Newsletter --- */
.gt-footer-newsletter {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.gt-footer-newsletter h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
}

.gt-footer-newsletter p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.gt-newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gt-newsletter-form input {
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 14px;
    outline: none;
    min-width: 260px;
    transition: border-color 0.2s;
}

.gt-newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.gt-newsletter-form input:focus {
    border-color: #6FD943;
}

.gt-newsletter-form .gt-btn-primary {
    padding: 12px 24px;
    font-size: 14px;
}

/* --- Footer Bottom --- */
.gt-footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.gt-footer-bottom p a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.gt-footer-bottom p a:hover {
    color: #6FD943;
}

.gt-footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.gt-footer-bottom-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.gt-footer-bottom-links a:hover {
    color: #fff;
}

/* --- Responsive Footer Additions --- */
@media (max-width: 991px) {
    .gt-footer-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
    }
    .gt-footer-cta-inner h3 {
        font-size: 24px;
    }
    .gt-footer-newsletter {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .gt-footer-cta-buttons {
        justify-content: center;
    }
    .gt-newsletter-form {
        width: 100%;
        flex-direction: column;
    }
    .gt-newsletter-form input {
        min-width: auto;
        width: 100%;
    }
    .gt-footer-bottom-links {
        justify-content: center;
    }
}

/* ===== Trusted By Strip ===== */
.gt-trusted-by {
    background: #f9fafb;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 40px 0;
}
.gt-trusted-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    text-align: center;
}
.gt-trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.gt-trusted-logo-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    max-width: 160px;
    height: 60px;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.gt-trusted-logo-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #d1d5db;
    transform: translateY(-2px);
}
.gt-trusted-logo-item img {
    max-height: 32px;
    max-width: 100px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: opacity 0.2s, filter 0.2s;
}
.gt-trusted-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 767px) {
    .gt-trusted-logos {
        gap: 12px;
    }
    .gt-trusted-logo-item {
        min-width: 100px;
        max-width: 130px;
        height: 50px;
        padding: 10px 14px;
    }
    .gt-trusted-logo-item img {
        max-height: 26px;
        max-width: 80px;
    }
}

/* ===== Section Header ===== */
.gt-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.gt-section-header h2 {
    font-size: 34px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}
.gt-section-header p {
    font-size: 17px;
    color: #6b7280;
    max-width: 580px;
    margin: 0 auto;
}

/* ===== Why GrandHRM Section ===== */
.gt-why-section {
    padding: 80px 0;
    background: #f8fafc;
}
.gt-why-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 28px;
    margin-bottom: 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.gt-why-card:hover {
    box-shadow: 0 8px 32px rgba(16,185,129,0.10);
    transform: translateY(-3px);
}
.gt-why-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    margin-bottom: 18px;
}
.gt-why-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 10px;
}
.gt-why-card p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* ===== HR Resources Section ===== */
.gt-resources-section {
    padding: 80px 0;
    background: #fff;
}
.gt-resource-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: box-shadow 0.2s, transform 0.2s;
    color: inherit;
}
.gt-resource-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}
.gt-resource-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gt-resource-icon.green  { background: #f0fdf4; color: #10b981; }
.gt-resource-icon.blue   { background: #eff6ff; color: #3b82f6; }
.gt-resource-icon.orange { background: #fff7ed; color: #f97316; }
.gt-resource-icon.purple { background: #faf5ff; color: #8b5cf6; }
.gt-resource-icon.teal   { background: #f0fdfa; color: #14b8a6; }
.gt-resource-icon.red    { background: #fff1f2; color: #f43f5e; }
.gt-resource-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #10b981;
    background: #f0fdf4;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.gt-resource-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}
.gt-resource-body p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .gt-trusted-logos { gap: 16px; }
    .gt-section-header h2 { font-size: 26px; }
    .gt-why-section, .gt-resources-section { padding: 50px 0; }
}

/* ===== Stats / Social Proof Section ===== */
.gt-stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #002332 0%, #003d5c 100%);
}
.gt-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.gt-stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.gt-stat-item:last-child { border-right: none; }
.gt-stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #6FD943;
    line-height: 1.1;
    margin-bottom: 8px;
}
.gt-stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}
@media (max-width: 767px) {
    .gt-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gt-stat-item {
        border-bottom: 1px solid rgba(255,255,255,0.15);
        border-right: none;
    }
    .gt-stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
    .gt-stat-item:nth-last-child(-n+2) { border-bottom: none; }
    .gt-stat-number { font-size: 32px; }
}

/* ===== Biometrics Section ===== */
.gt-biometrics-section {
    padding: 80px 0;
    background: #f8fafc;
}
.gt-bio-badge {
    display: inline-block;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gt-biometrics-section h2 {
    font-size: 34px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.25;
}
.gt-biometrics-section > .container > .row > div > p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.gt-bio-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.gt-bio-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #374151;
    font-size: 15px;
    border-bottom: 1px solid #f3f4f6;
}
.gt-bio-list li svg { color: #16a34a; flex-shrink: 0; }
.gt-bio-visual {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin-top: 30px;
}
.gt-bio-device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.gt-bio-brand {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 10px;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
}
.gt-bio-center-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #16a34a;
}
.gt-bio-center-icon p {
    font-weight: 700;
    font-size: 18px;
    color: #111827;
    margin: 0;
}
@media (max-width: 991px) {
    .gt-biometrics-section h2 { font-size: 26px; }
    .gt-bio-visual { margin-top: 40px; }
}
@media (max-width: 767px) {
    .gt-biometrics-section { padding: 50px 0; }
    .gt-bio-device-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Fix mobile footer social links ===== */
.gt-footer-social {
    flex-wrap: wrap;
}
.gt-footer-social-section {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 24px;
}
@media (max-width: 767px) {
    .gt-footer-brand {
        width: 100%;
    }
    .gt-footer-social {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 16px;
    }
    .gt-footer-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .gt-footer-col {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 16px 0;
    }
    .gt-footer-col:last-child {
        border-bottom: none;
    }
    .gt-footer-col h4 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        margin: 0;
        padding: 0;
    }
    .gt-footer-col h4::after {
        content: '+';
        font-size: 20px;
        font-weight: 400;
        transition: transform 0.3s;
    }
    .gt-footer-col.active h4::after {
        content: '−';
    }
    .gt-footer-col ul {
        display: none;
        margin-top: 12px;
    }
    .gt-footer-col.active ul {
        display: block;
    }
    .gt-footer-cta-inner {
        padding: 24px 16px;
    }
    .gt-footer-cta-inner h3 { font-size: 20px; }
    .gt-footer-social-section {
        width: 100%;
        text-align: center;
    }
    .gt-footer-social-section .gt-footer-social {
        justify-content: center;
    }
}

/* ===== Mobile page improvements ===== */
@media (max-width: 767px) {
    /* Hero */
    .gt-hero { padding: 100px 0 50px; }
    .gt-hero-content h1 { font-size: 26px; line-height: 1.3; }
    .gt-hero-content p { font-size: 15px; }
    .gt-hero-actions { flex-direction: column; gap: 10px; }
    .gt-hero-actions a { width: 100%; text-align: center; }
    .gt-hero-badges { flex-wrap: wrap; gap: 8px; }

    /* Trusted by */
    .gt-trusted-by { padding: 30px 0; }
    .gt-trusted-logos { flex-wrap: wrap; gap: 16px; justify-content: center; }
    .gt-trusted-logo-item img { max-height: 32px; }

    /* Services tabs */
    .gt-services { padding: 50px 0; }
    .gt-services-title h2 { font-size: 22px; }
    .gt-service-panel .row { flex-direction: column-reverse; }
    .gt-service-image { margin-bottom: 24px; }
    .gt-service-panel h3 { font-size: 20px; }

    /* Resource cards */
    .gt-resource-card { padding: 20px; margin-bottom: 16px; }
    .gt-resource-body h4 { font-size: 16px; }

    /* Page hero */
    .gt-page-hero { padding: 100px 0 50px; }
    .gt-page-hero h1 { font-size: 26px; }
    .gt-page-hero p { font-size: 15px; }

    /* Solution pages */
    .gt-feature-card { padding: 20px; margin-bottom: 16px; }

    /* Testimonials */
    .gt-testimonial-card { padding: 24px 16px; }
    .gt-testimonial-text { font-size: 15px; }

    /* Why tabs */
    .gt-why-tabs .gt-services-tabs { overflow-x: auto; white-space: nowrap; }

    /* Navigation header */
    .main-navigationbar { padding: 2px 0 !important; }
    .logo-col img { max-height: 40px !important; }
}

@media (max-width: 480px) {
    .gt-hero-content h1 { font-size: 22px; }
    .gt-stat-number { font-size: 28px; }
    .gt-section-header h2 { font-size: 22px; }
    .gt-biometrics-section h2 { font-size: 22px; }
    .gt-testimonial-author { flex-direction: column; text-align: center; }
}

/* ===== Testimonials Slider ===== */
.gt-testimonials {
    padding: 80px 0;
    background: #f8fafc;
}
.gt-testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}
.gt-testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}
.gt-testimonial-slide:first-child {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.gt-testimonial-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.gt-testimonial-stars {
    color: #f59e0b;
    font-size: 20px;
    margin-bottom: 16px;
    letter-spacing: 4px;
}
.gt-testimonial-text {
    font-size: 18px;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.gt-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.gt-testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}
.gt-testimonial-author strong {
    display: block;
    color: #111827;
    font-size: 15px;
}
.gt-testimonial-author span {
    color: #6b7280;
    font-size: 13px;
}

/* ===== Why GrandHRM Tabs ===== */
.gt-why-tabs {
    padding: 80px 0;
    background: #fff;
}
.gt-why-tabs .gt-services-title h2 {
    font-size: 34px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 32px;
}
