/* --- Index-Specific Styles --- */

body {
    background: url("../images/header-img.jpg") 0 0/100% 13.5% hsla(0, 0%, 0%, 0);
}

/* Hero Section */
.hero {
    padding: 2rem 0 6rem 0;
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
}

.hero .container {
    width: 100%;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 16px rgb(255 255 255);
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

/* Hero Tech Icons Grid */
.hero-techs-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-techs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 0;
}

@keyframes heroIconIn {
    from {
        opacity: 0;
        transform: translateX(40px) translateY(0) scale(0.45);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes heroIconFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

.hero-techs-panel .tech-icon-float-wrapper {
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-techs-panel.revealed .tech-icon-float-wrapper {
    animation: heroIconIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
        heroIconFloat 3.5s ease-in-out infinite;
}

.hero-techs-panel.revealed .tech-icon-float-wrapper:nth-child(1) {
    animation-delay: 0.05s, 0.9s;
}

.hero-techs-panel.revealed .tech-icon-float-wrapper:nth-child(2) {
    animation-delay: 0.12s, 1.1s;
}

.hero-techs-panel.revealed .tech-icon-float-wrapper:nth-child(3) {
    animation-delay: 0.19s, 1.3s;
}

.hero-techs-panel.revealed .tech-icon-float-wrapper:nth-child(4) {
    animation-delay: 0.26s, 1.5s;
}

.hero-techs-panel.revealed .tech-icon-float-wrapper:nth-child(5) {
    animation-delay: 0.33s, 1.7s;
}

.hero-techs-panel.revealed .tech-icon-float-wrapper:nth-child(6) {
    animation-delay: 0.40s, 1.9s;
}

.hero-techs-panel.revealed .tech-icon-float-wrapper:nth-child(7) {
    animation-delay: 0.47s, 2.1s;
}

.hero-techs-panel.revealed .tech-icon-float-wrapper:nth-child(8) {
    animation-delay: 0.54s, 2.3s;
}

.hero-techs-panel.revealed .tech-icon-float-wrapper:nth-child(9) {
    animation-delay: 0.61s, 2.5s;
}

.hero-techs-panel.revealed .tech-icon-float-wrapper:nth-child(10) {
    animation-delay: 0.68s, 2.7s;
}

.tech-icon-wrapper {
    width: 52px;
    height: 52px;
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    font-size: 1.4rem;
    transition: var(--transition);
}

.hero-techs-panel .tech-icon-wrapper {
    width: 80px;
    height: 80px;
    border: 3.5px solid var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.hero-techs-panel .tech-icon-wrapper img {
    width: 52%;
    height: 52%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hero-techs-panel .tech-icon-wrapper:hover {
    transform: translateY(-16px) scale(1.15);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
    border-color: var(--white);
    cursor: pointer;
}

.tech-icon-wrapper.html5 {
    color: #e34f26;
}

.tech-icon-wrapper.php {
    color: #777bb4;
}

.tech-icon-wrapper.angular {
    color: #dd0031;
    background-color: #bd002e;
}

.tech-icon-wrapper.react {
    color: #61dafb;
    background-color: #00bcff;
}

.tech-icon-wrapper.vue {
    color: #4fc08d;
    background-color: #2c5f4d;
}

.tech-icon-wrapper.wordpress {
    color: #21759b;
    background-color: #0073aa;
}

.tech-icon-wrapper.android {
    color: #3ddc84;
}

.tech-icon-wrapper.apple {
    color: #a2aaad;
}

.tech-icon-wrapper.laravel {
    color: #ff2d20;
    background-color: #f02c1f;
}

.tech-icon-wrapper.codeigniter {
    color: #ee4326;
    background-color: #ee4326;
}

.tech-icon-wrapper.python {
    background-color: #1e425f;
}

.tech-icon-wrapper.nodejs {
    background-color: #2f6b3e;
}

.tech-icon-wrapper.shopify {
    background-color: #7ab55c;
}

.tech-icon-wrapper.flutter {
    background-color: #02569b;
}

/* Our Success Stories */
.success-stories {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 4.5rem 0;
    color: var(--white);
}

.success-stories-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.success-stories-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.success-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 220px;
    margin: 0 auto;
}

.success-divider::before,
.success-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.45);
}

.success-divider span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--white);
    margin: 0 0.65rem;
    flex-shrink: 0;
}

.success-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.75rem 2rem;
}

.success-stat-item {
    text-align: center;
}

.success-stat-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.success-stat-item:hover .success-stat-icon {
    transform: translateY(-6px) scale(1.05);
    background: rgba(255, 255, 255, 0.16);
}

.success-stat-icon.orange {
    color: #f97316;
    background: rgba(249, 115, 22, 0.15);
}

.success-stat-icon.gold {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
}

.success-stat-icon.blue {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
}

.success-stat-icon.red {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
}

.success-stat-icon.green {
    color: var(--secondary);
    background: rgba(var(--secondary-rgb), 0.18);
}

.success-stat-icon.teal {
    color: var(--primary-soft);
    background: rgba(255, 255, 255, 0.12);
}

.success-stat-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.45;
    text-align: center !important;
}

.success-stat-item p strong {
    font-weight: 800;
    color: var(--white) !important;
}

/* Our Services Section */
.our-services-banner {
    background-color: var(--white);
    color: var(--text-main);
    padding: 2rem 0;
}

.our-services-banner .section-header h2 {
    color: var(--text-dark);
}

.our-services-banner .section-header h2::after {
    background-color: var(--primary);
}

.our-services-banner .section-header p {
    color: var(--text-muted);
}

.our-ser-banner-a{
    text-decoration: none;
    display: flex;
    gap: 1.25rem;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.banner-card {
    background-color: var(--gray-light);
    border: 1px solid var(--gray-border);
    border-radius: 16px;
    padding: 2.25rem;
    transition: var(--transition);
    display: flex;
    gap: 1.25rem;
}

.banner-card:hover {
    background-color: var(--white);
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.banner-icon {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.banner-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.banner-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* AI Services Section */
.ai-services {
    padding: 3rem 0;
    background-color: var(--ai-section-bg);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.ai-card {
    background-color: var(--white);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.ai-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.ai-card i {
    font-size: 1.75rem;
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.08);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* WhatsApp Chatbot Section */
.whatsapp-promo {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--mint-bg) 0%, var(--mint-light) 100%);
    border-top: 1px solid rgba(var(--secondary-rgb), 0.15);
    border-bottom: 1px solid rgba(var(--secondary-rgb), 0.15);
}

.whatsapp-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.whatsapp-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.whatsapp-mockup .phone {
    width: 100%;
    max-width: 320px;
    height: 560px;
    background-color: var(--white);
    border: 12px solid #2d3748;
    border-radius: 36px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.whatsapp-mockup .phone-header {
    background-color: #075e54;
    color: var(--white);
    padding: 0.6rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
}

.phone-header-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 1;
}

.phone-header-back {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1;
}

.phone-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.phone-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.phone-avatar-badge {
    position: absolute;
    bottom: -1px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: #25D366;
    border-radius: 50%;
    border: 1.5px solid #075e54;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.45rem;
    color: white;
}

.phone-header-info {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    line-height: 1.2;
}

.phone-header-name {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.phone-header-sub {
    font-size: 0.62rem;
    opacity: 0.78;
}

.phone-header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    opacity: 0.9;
}

.phone-header-actions i {
    font-size: 0.95rem;
    cursor: pointer;
}

.phone-chat {
    flex-grow: 1;
    background: url("../images/HD-wallpaper-whatsapp-ma-doodle-pattern.jpg");
    background-size: cover;
    background-position: center;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
    overflow: hidden;
}

.phone-chat::-webkit-scrollbar {
    display: none;
}

.chat-msg {
    max-width: 82%;
    padding: 0.55rem 0.8rem 0.35rem 0.8rem;
    border-radius: 12px;
    line-height: 1.4;
    font-size: 0.83rem;
    position: relative;
}

.chat-msg .msg-text {
    display: block;
    margin-bottom: 0.2rem;
}

.chat-msg .msg-time {
    display: block;
    font-size: 0.62rem;
    color: rgba(0,0,0,0.4);
    text-align: right;
    margin-top: 1px;
    line-height: 1;
}

.chat-msg.bot {
    background-color: #ffffff;
    align-self: flex-start;
    border-top-left-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.chat-msg.bot .msg-time {
    color: rgba(0,0,0,0.38);
}

.chat-msg.user {
    background-color: #d9fdd3;
    align-self: flex-end;
    border-top-right-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.chat-msg.user .msg-time {
    color: rgba(0,0,0,0.4);
}

.phone-input {
    padding: 0.75rem;
    background-color: #f0f0f0;
    border-top: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-input-box {
    flex-grow: 1;
    background-color: var(--white);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.phone-input i {
    color: #075e54;
    font-size: 1.1rem;
}

.whatsapp-content h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.whatsapp-content h2 span {
    color: var(--primary);
    border-bottom: 3px solid var(--secondary);
}

.whatsapp-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.whatsapp-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

.whatsapp-feature-item i {
    color: var(--secondary-dark);
    font-size: 1.15rem;
}

.whatsapp-ctas {
    display: flex;
    gap: 1rem;
}

/* Get Dedicated Developers in 48 Hours section */
.hire-intro {
    padding: 3rem 0;
    background-color: var(--white);
}

.hire-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hire-intro-content h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hire-intro-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.hire-intro-img {
    display: flex;
    justify-content: center;
}

.hire-intro-img img {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Tech Stack Hiring Section */
.hire-experts {
    padding: 3rem 0;
    background-color: var(--gray-light);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
}

/* Hiring modes panel + tech grid layout */
.hire-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.hiring-modes-panel {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 2.5rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.35);
    position: relative;
    overflow: hidden;
    min-height: 460px;
    align-content: stretch;
}

.hiring-modes-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.hiring-mode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hiring-mode-item:hover {
    color: #fff;
    transform: translateY(-5px) scale(1.04);
}

.hiring-mode-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, border-color 0.3s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
}

.hiring-mode-item:hover .hiring-mode-icon {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.75);
    transform: scale(1.15) rotate(-4deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

/* Tech grid (right side) */
.tech-grid-right {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 2rem;
}

@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
    }

    .hire-layout {
        grid-template-columns: 1fr;
    }

    .hiring-modes-panel {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        min-height: auto;
        padding: 2rem 1.5rem;
        gap: 1.5rem 1rem;
    }

    .tech-grid-right {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 820px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hire-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hiring-modes-panel {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        min-height: auto;
        padding: 2rem;
        gap: 1.5rem 1rem;
    }

    .tech-grid-right {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hire-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hiring-modes-panel {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        padding: 1.5rem 1rem;
        gap: 1.25rem 0.75rem;
    }

    .hiring-mode-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }

    .hiring-mode-item {
        font-size: 0.78rem;
        gap: 0.5rem;
    }

    .tech-grid-right {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.65rem;
    }

    .tech-card {
        padding: 1rem 0.5rem;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .tech-card i {
        font-size: 1.75rem;
    }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.tech-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.tech-card i {
    font-size: 2.25rem;
}

/* Steps Section */
.steps-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-card::after {
    content: '';
    position: absolute;
    left: calc(100% - 27px);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 1;
    filter: hue-rotate(30deg) saturate(0.8) brightness(0.85);
}

.step-card:nth-child(1)::after {
    width: 170px;
    height: 47px;
    top: -16%;
    background-image: url("../images/arrow-right-top.png");
    left: 74%;
}

.step-card:nth-child(2)::after {
    width: 174px;
    height: 47px;
    bottom: -6%;
    background-image: url("../images/arrow-right-bottom.png");
    left: 72%;
}

.step-card:nth-child(3)::after {
    width: 170px;
    height: 47px;
    top: -16%;
    background-image: url("../images/arrow-right-top.png");
    left: 74%;
}

.step-card:last-child::after {
    display: none;
}

.step-icon {
    width: 180px;
    height: 180px;
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 20px;
    box-sizing: border-box;
}

.step-icon i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.step-icon h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.step-icon::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    font-family: var(--font-heading);
    z-index: -1;
    transition: var(--transition);
    user-select: none;
    pointer-events: none;
}

.step-card:nth-child(1) .step-icon::before { content: '1'; }
.step-card:nth-child(2) .step-icon::before { content: '2'; }
.step-card:nth-child(3) .step-icon::before { content: '3'; }
.step-card:nth-child(4) .step-icon::before { content: '4'; }

.step-card:hover .step-icon {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(42, 130, 153, 0.15);
}

.step-card:hover .step-icon::before {
    color: rgba(42, 130, 153, 0.08);
}

/* Our Work Section */
.our-work {
    background-attachment: fixed !important;
    background-clip: border-box;
    background-image: url("../images/bg.jpg");
    background-origin: padding-box;
    background-repeat: repeat !important;
    background-size: auto 100%;
    clear: both;
    text-align: center;
    width: 100%;
    padding: 3rem 0;
    border-top: 1px solid var(--gray-border);
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-name: animatedBackground;
    animation-timing-function: linear;
    -webkit-animation-duration: 15s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-name: animatedBackground;
    -webkit-animation-timing-function: linear;
}

@keyframes animatedBackground {
    from { background-position: 0 0; }
    to { background-position: -100% 0; }
}

@-webkit-keyframes animatedBackground {
    from { background-position: 0 0; }
    to { background-position: -100% 0; }
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.work-card {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    height: 380px;
    cursor: pointer;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.work-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.work-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 102, 120, 0.95) 0%, rgba(42, 130, 153, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    box-sizing: border-box;
}

.work-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}

.work-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.5;
    padding: 0;
    background: none;
    border-radius: 0;
    display: block;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, opacity 0.4s ease 0.1s;
    opacity: 0;
    margin: 0;
}

.work-card:hover .work-img-placeholder img {
    transform: scale(1.08);
}

.work-card:hover .work-info {
    opacity: 1;
}

.work-card:hover .work-info h3,
.work-card:hover .work-info p {
    transform: translateY(0);
    opacity: 1;
}

.work-btn-container {
    text-align: center;
    margin-top: 4rem;
}

/* Testimonials */
.testimonials {
    padding: 3rem 0;
    background-color: var(--gray-light);
    overflow: hidden;
}

.testimonial-slider-outer {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3.5rem;
}

.testimonial-track-wrap {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 50%;
    min-width: 50%;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 24px 0 0 24px;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.testimonial-stars i {
    color: #f59e0b;
    font-size: 1rem;
    animation: starPop 0.4s ease both;
}

@keyframes starPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.testimonial-stars i:nth-child(1) { animation-delay: 0.05s; }
.testimonial-stars i:nth-child(2) { animation-delay: 0.10s; }
.testimonial-stars i:nth-child(3) { animation-delay: 0.15s; }
.testimonial-stars i:nth-child(4) { animation-delay: 0.20s; }
.testimonial-stars i:nth-child(5) { animation-delay: 0.25s; }

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 1.75rem;
    line-height: 1.75;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--gray-border);
    padding-top: 1.5rem;
}

.user-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
    flex-shrink: 0;
}

.user-details h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.user-details span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

@keyframes arrowBounce {
    0% { transform: translateY(-50%) scale(1); }
    30% { transform: translateY(-50%) scale(0.85); }
    60% { transform: translateY(-50%) scale(1.15); }
    80% { transform: translateY(-50%) scale(0.96); }
    100% { transform: translateY(-50%) scale(1); }
}

@keyframes arrowRipple {
    0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.45); }
    70% { box-shadow: 0 0 0 14px rgba(var(--primary-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--gray-border);
    color: var(--primary);
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    z-index: 10;
    outline: none;
}

.slider-arrow:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.slider-arrow:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 3px;
}

.slider-arrow.clicked {
    animation: arrowBounce 0.45s ease, arrowRipple 0.55s ease;
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.slider-arrow i {
    transition: transform 0.2s ease;
}

.slider-arrow.prev:hover i { transform: translateX(-2px); }
.slider-arrow.next:hover i { transform: translateX(2px); }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background-color: var(--gray-border);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.slider-dot.active {
    background-color: var(--primary);
    width: 28px;
}

.slider-progress {
    height: 3px;
    background-color: var(--gray-border);
    border-radius: 9999px;
    margin-top: 1.5rem;
    overflow: hidden;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 9999px;
    width: 0%;
    transition: width linear;
}

@media (max-width: 768px) {
    .testimonial-slider-outer {
        max-width: 100%;
        padding: 0; /* arrows are hidden on mobile, no reserved side padding needed */
    }
    .testimonial-slide {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 0 0.25rem;
    }
    .testimonial-card { padding: 2rem 1.5rem; }
    .testimonial-card p { font-size: 1.05rem; }
}

/* Our Big Project Development Section */
.bigp-section {
    padding: 3rem 0;
    background-color: var(--white);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
}

.bigp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 2rem;
}

.bigp-card {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.bigp-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.bigp-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

img.bigp-img {
    width: 60px;
}

/* Our ERP Development Section */
.erp-section {
    padding: 3rem 0;
    background-color: var(--gray-light);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
}

.erp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 2rem;
}

.erp-card {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    padding: 32px 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.erp-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.erp-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

img.erp-img {
    width: 60px;
}

/* Redesigned Ready to Use Section */
.ready-use-redesign {
    background-image: url("https://www.i-quall.com/assets/front/images/op-banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    width: 100% !important;
    color: var(--white);
}

.ready-use-redesign .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.ready-left-col {
    display: flex;
    flex-direction: column;
}

.ready-title h2 {
    font-family: dosis, var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 1.5rem 0;
    text-transform: none;
    line-height: 1.2;
}

.ready-desc {
    color: var(--white);
    font-family: "Open Sans", var(--font-body);
    font-size: 15px;
    font-weight: normal;
    line-height: 22px;
    margin-bottom: 1rem;
}

.ready-points-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.ready-point {
    display: flex;
    align-items: flex-start;
}

.ready-point-text {
    background-image: url("https://www.i-quall.com/assets/front/images/download.png");
    background-position: left 2px;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-left: 28px;
    font-family: "Open Sans", var(--font-body);
    font-size: 14px;
    font-weight: normal;
    color: var(--white);
    line-height: 20px;
}

.ready-right-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.demo-preview-card {
    background-color: #ffffff;
    border: 1px solid rgb(66, 152, 187);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: rgb(66, 152, 187);
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.demo-preview-card:hover {
    background-color: rgb(66, 152, 187);
    border-color: rgb(66, 152, 187);
    color: #ffffff;
    transform: translateX(5px);
}

.demo-preview-card span {
    font-weight: 700;
    font-size: 1.05rem;
    font-family: var(--font-body);
}

.demo-preview-card i {
    color: rgb(66, 152, 187);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.demo-preview-card:hover i {
    color: #ffffff;
}

/* About Us Section */
.about-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-trial-box {
    background-color: rgba(var(--secondary-rgb), 0.12);
    border: 1px solid rgba(var(--secondary-rgb), 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2.5rem;
}

.about-trial-box h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 0.5rem;
}

.about-trial-box p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.about-img {
    display: flex;
    justify-content: center;
}

.about-img img {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Contact Us Form Page element */
.contact-section {
    padding: 3rem 0;
    background-color: var(--gray-light);
    border-top: 1px solid var(--gray-border);
}

.contact-container {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input {
    background-color: var(--gray-light);
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary-light);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.form-status {
    display: none;
    padding: 1rem;
    border-radius: 8px;
    background-color: rgba(var(--secondary-rgb), 0.15);
    border: 1px solid rgba(var(--secondary-rgb), 0.3);
    color: var(--secondary-dark);
    font-weight: 600;
    text-align: center;
}

/* --- Index Responsive Styles --- */
@media (max-width: 992px) {
    .hero-grid,
    .whatsapp-grid,
    .hire-intro-grid,
    .about-grid,
    .ready-use-redesign .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hire-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hiring-modes-panel {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        min-height: auto;
    }

    .hero-content,
    .whatsapp-content,
    .hire-intro-content,
    .about-content,
    .ready-left-col {
        text-align: center;
    }

    .hero-content p,
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-techs,
    .whatsapp-ctas {
        justify-content: center;
    }

    .hero-techs {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .step-card::after {
        display: none;
    }
}

@media (max-width: 600px) {
    body {
        background-size: 100% 4% !important;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-techs {
        gap: 0.85rem;
    }

    .hero-techs-panel .tech-icon-wrapper {
        width: 62px;
        height: 62px;
        font-size: 1.65rem;
    }

    .success-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

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

    .ready-right-col {
        flex-direction: column;
        gap: 1.5rem;
    }

    .ready-point-text {
        background-position: center 3px;
        padding-left: 0;
        padding-top: 25px;
        text-align: center;
        width: 100%;
    }

    .ready-point {
        justify-content: center;
    }

    /* Hide prev/next arrows in testimonials on mobile — dot indicators remain */
    .slider-arrow {
        display: none;
    }
}
