﻿:root {
  --primary: #0f172a;
  --accent: #2563eb;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --radius: 18px;
  --shadow: 0 20px 40px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

.grid { display: grid; gap: 40px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

@media (max-width: 900px) {
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .nav { display: none; }
}

.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
    transition: transform 0.45s ease;
}

.card:hover img {
    transform: scale(1.5);
}

@media (hover: none) {
    .card:hover img {
        transform: none;
    }
}


.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.header .logo {
    padding: 6px 10px;
}

.logo {
    height: 56px; /* was 42px */
    max-height: none;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.header-inner {
    gap: 40px;
}

.nav a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.hero {
  padding: 100px 0;
  background: linear-gradient(180deg,#fff,#f1f5f9);
}

.hero-actions { margin-top: 28px; }

/* =========================
   GLOBAL IMAGE SAFETY
========================= */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   HERO IMAGE
========================= */
.hero-visual img {
    max-width: 350px;
    margin: auto;
    transition: transform 0.45s ease;
}

.hero-visual:hover img {
    transform: scale(1.05);
}

/* =========================
   CARD ICONS (SOLUTIONS)
========================= */
.icon-img {
    width: 48px;
    margin-top: 16px;
    margin-inline: auto;
    opacity: 0.9;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.card:hover .icon-img {
    transform: scale(1.15);
    opacity: 1;
}

/* =========================
   CLIENT LOGOS
========================= */
.trust-grid .card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.trust-grid img {
    max-height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

    .trust-grid img:hover {
        filter: none;
        opacity: 1;
        transform: scale(1.08);
    }

/* =========================
   PROFILE IMAGE
========================= */
.profile {
    max-width: 240px;
    border-radius: 50%;
    transition: transform 0.35s ease;
}

    .profile:hover {
        transform: scale(1.05);
    }

/* =========================
   CONTACT IMAGE
========================= */
#contact .hero-visual img {
    max-width: 420px;
    margin: auto;
    opacity: 0.95;
}
/* =========================
   SOLUTIONS SECTION
========================= */

.solutions {
    background: #ffffff;
}

.solutions-header {
    max-width: 640px;
    margin-bottom: 64px;
}

    .solutions-header p {
        font-size: 1.05rem;
        color: var(--muted);
    }

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

/* =========================
   OUR SERVICES (IMPROVED)
========================= */

.services {
    background: #f8fafc;
}

.services-header {
    max-width: 680px;
    margin-bottom: 64px;
}

    .services-header p {
        color: var(--muted);
        font-size: 1.05rem;
    }

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 36px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 25px 50px rgba(0,0,0,.08);
    }

.service-icon {
    width: 44px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    padding-left: 22px;
    margin-bottom: 10px;
    position: relative;
    font-size: 0.9rem;
}

    .service-card li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--accent);
        font-weight: 600;
    }


.solution-item {
    background: #f8fafc;
    border-radius: 20px;
    padding: 36px 32px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .solution-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 25px 50px rgba(0,0,0,.08);
    }

.solution-icon {
    width: 42px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.solution-item h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.solution-item p {
    font-size: 0.95rem;
    color: var(--muted);
}


.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.linkedin-link {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 500;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  border: 2px solid var(--accent);
  color: var(--accent);
  margin-left: 16px;
}

.trust {
  padding: 40px 0;
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
  align-items: center;
  gap: 32px;
}

section { padding: 90px 0; }

.section-soft { background: #fff; }

.card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card ul { padding-left: 18px; }

.profile {
  border-radius: 50%;
  max-width: 220px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.footer {
  background: #020617;
  color: #cbd5f5;
  padding: 40px 0;
}

.footer a { color: #93c5fd; }

/* =========================
   SUCCESS STORIES – LOGOS
========================= */

.trust {
    background: #f8fafc;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.trust .card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .trust .card:hover img {
        filter: grayscale(0%);
    }

    .trust .card img {
        max-width: 160px;
        max-height: 80px;
        width: auto;
        height: auto;
        object-fit: contain;
        filter: grayscale(0%);
        opacity: 0.95;
        transition: transform 0.3s ease;
    }

    .trust .card img {
        filter: grayscale(100%);
    }

@media (max-width: 768px) {
    .trust .card img {
        max-width: 140px;
        max-height: 70px;
    }
}
    @media (max-width: 1200px) {
        .trust-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (max-width: 992px) {
        .trust-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 768px) {
        .trust-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 480px) {
        .trust-grid {
            grid-template-columns: 1fr;
        }
    }

/* =========================
   FORCE 5 LOGOS PER ROW
========================= */

#sstories .container {
    max-width: 1400px;
}

#sstories .trust-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
}
/* =========================
   CONTACT SECTION – IMAGE BG
========================= */

.contact-section {
    position: relative;
    background-image: url("images/Contact_Us.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
}

.contact-overlay {
    background: rgba(0, 0, 0, 0.55);
    padding: 80px 0;
}

.contact-card {
    max-width: 560px;
    background: #ffffff;
    border-radius: 22px;
    padding: 48px 44px;
    box-shadow: 0 30px 70px rgba(0,0,0,.25);
}

    .contact-card h2 {
        margin-bottom: 12px;
    }

    .contact-card p {
        margin-bottom: 28px;
        color: var(--muted);
    }
.contact-card {
    max-width: 560px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    padding: 48px 44px;
    box-shadow: 0 30px 70px rgba(0,0,0,.25);
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }

    .contact-card {
        margin: 0 16px;
        padding: 36px 28px;
    }
}

@media (max-width: 768px) {
    .card img {
        transform: none !important;
    }

    .card:hover img {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .card img {
        transform: none !important;
    }

    .card:hover img {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    #sstories .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    #sstories .card img {
        max-width: 120px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    #sstories .trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }

    .hero {
        padding: 72px 0;
    }
}

/* =========================
   MOBILE NAVIGATION
========================= */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #0f172a;
}

/* Desktop */
.main-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

    .main-nav a {
        text-decoration: none;
        font-weight: 500;
        color: var(--text);
    }

/* Mobile toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* Mobile menu */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        display: none;
        box-shadow: 0 20px 40px rgba(0,0,0,.15);
        z-index: 1000;
    }

        .main-nav.active {
            display: flex;
        }

        .main-nav a {
            padding: 12px 0;
            font-size: 1rem;
        }
}
/* =========================
   MOBILE HEADER SPACING FIX
========================= */

@media (max-width: 768px) {

    header {
        padding: 12px 0;
    }

    .header-inner {
        height: auto;
        padding: 12px 0;
    }

    .logo {
        height: 40px;
    }

    .menu-toggle {
        font-size: 26px;
        padding: 6px 10px;
        line-height: 1;
    }
}

@media (max-width: 768px) {
    .main-nav {
        top: calc(100% + 8px);
    }
}

@media (max-width: 768px) {
    .main-nav a {
        padding: 12px 0;
        font-size: 1rem;
    }
}

/* =========================
   ANIMATED HAMBURGER
========================= */

.menu-toggle {
    width: 40px;
    height: 40px;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    display: none;
}

    .menu-toggle span {
        position: absolute;
        left: 6px;
        right: 6px;
        height: 2px;
        background: #0f172a;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

        .menu-toggle span:nth-child(1) {
            top: 11px;
        }

        .menu-toggle span:nth-child(2) {
            top: 19px;
        }

        .menu-toggle span:nth-child(3) {
            top: 27px;
        }

    /* ACTIVE (X STATE) */
    .menu-toggle.active span:nth-child(1) {
        top: 19px;
        transform: rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        top: 19px;
        transform: rotate(-45deg);
    }

/* Mobile only */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .main-nav {
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

        .main-nav.active {
            transform: translateY(0);
            opacity: 1;
        }
}

/* =========================
   CONTACT FORM STYLES
========================= */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .form-group label {
        font-size: 0.9rem;
        font-weight: 500;
        color: #334155;
    }

.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    margin-top: 12px;
    padding: 14px 20px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

    .btn-primary:hover {
        background: #1e40af;
        transform: translateY(-1px);
    }

@media (max-width: 768px) {
    .contact-form {
        gap: 16px;
    }

    .btn-primary {
        width: 100%;
    }
}

/* =========================
   CONTACT FORM — MOBILE FIX
========================= */

@media (max-width: 768px) {

    /* Ensure form container fits screen */
    .contact-card,
    .contact-form {
        width: 100%;
        max-width: 100%;
    }

    /* Stack and space form groups properly */
    .contact-form {
        gap: 18px;
    }

    .form-group {
        width: 100%;
    }

    /* Inputs & textarea full width */
    .contact-form input,
    .contact-form textarea {
        width: 100%;
        box-sizing: border-box;
        font-size: 1rem;
        padding: 14px 16px;
    }

    /* Labels readable on mobile */
    .form-group label {
        font-size: 0.95rem;
    }

    /* Button full width & touch friendly */
    .contact-form .btn-primary {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }
}



















