:root {
    --primary: #165153;
    --secondary: #F6C302;
    --dark: #0f172a;
    --gray: #626D75;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --muted: #64748b;
    --border: #e2e8f0;
    --ared-blue: #0066ff;
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', 'Rubik', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section, section {
    padding: 5rem 0;
}

section.light {
    background-color: var(--light);
}

header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

nav, .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 50px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brandMark {
    background: var(--primary);
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 4px;
}

.nav-links, .links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a, .navlink {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.hamburger {
    display: none;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0;
    padding-top: 10px;
    border-top: 15px solid transparent;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 25px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btnPrimary, .btn-primary {
    background: var(--secondary);
    color: var(--dark);
}

.btnPrimary:hover, .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(246, 195, 2, 0.3);
}

.btnDark, .btn-dark {
    background: var(--ared-blue);
    color: var(--white);
}

.btnDark:hover, .btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.btnGhost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btnGhost:hover {
    background: rgba(255,255,255,0.1);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.pill {
    background: rgba(255,255,255,0.1);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    display: inline-block;
}

/* ================= HERO & SLIDER - FIXED ================= */
.hero {
    background: var(--dark);
    color: white;
    padding: 4rem 0;
    min-height: 600px;
}

.heroGrid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.slider {
    position: relative;
}

.slides {
    position: relative;
    min-height: 400px;
}

/* CRITICAL FIX: Make slides visible by default, JS will hide them */
.slide {
    display: block;
    opacity: 1;
}

.slideTop {
    margin-bottom: 2rem;
}

.slideH {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 1.5rem 0;
    font-weight: 700;
}

.slideP {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.pillRow {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.miniList {
    list-style: none;
    margin-bottom: 2rem;
    color: #cbd5e1;
}

.miniList li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.miniList li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.slideActions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.slideNav {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dots {
    display: flex;
    gap: 0.5rem;
}

.dotBtn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.dotBtn.active {
    background: var(--secondary);
    width: 30px;
    border-radius: 5px;
}

.arrows {
    display: flex;
    gap: 0.5rem;
}

.arrowBtn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrowBtn:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--secondary);
}

.quickCard {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.quickCard h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.quickCard p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stackItem {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.stackIcon {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.ctaStrip {
    background: var(--primary);
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.ctaStrip .left strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.ctaStrip .left span {
    color: rgba(255,255,255,0.9);
}

.ctaStrip .right {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.kicker {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 800px;
    line-height: 1.7;
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.twoCol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.darkBlock {
    background: var(--dark);
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius);
}

.darkBlock h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.darkBlock p {
    color: #cbd5e1;
    line-height: 1.7;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.card p {
    color: var(--muted);
    line-height: 1.7;
}

.card ul {
    margin-top: 1.5rem;
}

.tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: inline-block;
}

.tech-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-bottom: 2px solid #eee;
    margin-bottom: 50px;
}

.tab-trigger {
    padding: 20px;
    cursor: pointer;
    position: relative;
}

.tab-trigger h3 {
    font-size: 1.5rem;
    color: var(--gray);
    margin: 0;
}

.tab-trigger.active h3 {
    color: var(--primary);
    font-weight: 700;
}

.tab-trigger::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary);
    transition: 0.4s ease;
}

.tab-trigger.active::after {
    width: 100%;
}

.tab-content-container {
    position: relative;
    min-height: 550px;
}

.tab-pane {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.tab-pane.active {
    display: grid;
}

.tab-text h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.tab-text p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.tab-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
}

.tabs-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    background: white;
    border: 2px solid var(--border);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: var(--dark);
    border-radius: var(--radius);
    transition: 0.3s;
}

.tab-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.profile-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.process-step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.step-num {
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.team-card {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: var(--radius);
    background: #f1f5f9;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card h4 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.team-card h6 {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.awards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.award-item img {
    max-height: 80px;
    transition: 0.3s;
}

.award-item img:hover {
    transform: scale(1.1);
}

.latest-posts-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
}

.posts-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 40px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.post-card {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease;
}

.post-card:hover {
    transform: translateY(-10px);
}

.post-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 30px;
    color: white;
}

.post-category {
    background: var(--primary);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.post-overlay h3 a {
    color: white;
    text-decoration: none;
}




/* Enhanced kicker styling with icons */
.kicker {
  font-size: 1.1rem; /* Bigger than before, smaller than main headings */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Add icons before kickers */
.kicker::before {
  content: "→"; /* You can change this to any icon/emoji */
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary);
}

/* Specific icons for different sections */
#how .kicker::before { content: "⚙️"; }
#pillars .kicker::before { content: "📦"; }
#sme .kicker::before { content: "🏢"; }
#cloud .kicker::before { content: "☁️"; }
#marketplace .kicker::before { content: "🛒"; }
#usecases .kicker::before { content: "💡"; }
#why .kicker::before { content: "✨"; }
#partners .kicker::before { content: "🤝"; }
#insights .kicker::before { content: "📊"; }



/* Enhanced Card Styles with Hover Effects */
.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* Subtle background effect on hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: var(--primary);
}

.card p {
    color: var(--muted);
    line-height: 1.7;
}

.card ul {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem; /* Space before button */
    list-style: none;
    padding: 0;
}

.card ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.2rem;
    position: relative;
}

.card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Button inside card - force single line */
.card .btn {
    margin-top: 1rem;
    width: 100%; /* Full width for consistency */
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping */
}

/* If there are multiple buttons in a card */
.card .btn-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.card .btn-group .btn {
    flex: 1;
    width: auto;
}

/* Tag hover effect */
.tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.card:hover .tag {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        padding: 2rem;
    }
    
    .card:hover {
        transform: translateY(-5px); /* Less dramatic on mobile */
    }
    
    .card .btn {
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
    }
}




































/* ================= COMPLETE RESPONSIVE FIXES ================= */

@media (max-width: 992px) {
    .heroGrid { grid-template-columns: 1fr; }
    .twoCol { grid-template-columns: 1fr; }
    .ctaStrip { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    /* 1. Mobile Navigation */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1100;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--dark);
        transition: 0.3s;
    }

    /* Transform hamburger to 'X' when active */
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links {
        display: none; /* Controlled by JS .active */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        gap: 2rem;
    }

    .nav-links.active { display: flex; }

    /* 2. Horizontal Scrolling Tabs (Better than stacking for UI) */
    .tabs-nav, .tech-tabs-nav {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
    }
    
    .tab-btn, .tab-trigger {
        flex: 0 0 auto; /* Prevents tabs from shrinking */
    }

    /* 3. Stacking Grid Layouts */
    .grid3, .profile-grid, .posts-grid, .tab-pane {
        grid-template-columns: 1fr !important;
    }

    .tab-image img {
        width: 100%;
        height: auto;
    }

    /* 4. Typography Adjustments */
    .slideH { font-size: 2rem; }
    .title { font-size: 1.8rem; }
    
    /* 5. Slider Mobile height */
    .slides { min-height: 500px; }
}




/* ================= DYNAMIC DARK BLOCKS ================= */

.darkBlock {
    transition: all 0.3s ease; /* Smooth the movement */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle starting border */
    position: relative;
    overflow: hidden;
}

/* 1. Lift and Glow Effect on Hover */
.darkBlock:hover {
    transform: translateY(-10px);
    background: #1a2436; /* Slightly lighter than --dark to show depth */
    border-color: var(--secondary); /* Uses your yellow brand color for the border */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 2. The Animated Top Border (like the white cards) */
.darkBlock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary); /* Using yellow for contrast on dark */
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.darkBlock:hover::before {
    transform: scaleX(1);
}

/* 3. Make the list items nudge slightly on hover */
.darkBlock:hover .miniList li {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* 4. Make the Heading change color to attract the eye */
.darkBlock:hover h3 {
    color: var(--secondary);
}





/* Force all cards to equal height and align buttons at bottom */
.grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch; /* This ensures all cards stretch to same height */
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Make card fill the grid cell */
}

.card ul {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.card .btn {
    margin-top: auto;
}