/*
Theme Name: BioIntellica
Theme URI: http://localhost/
Author: Antigravity
Author URI: http://localhost/
Description: Premium theme for BioIntellica Data Consultancy.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: biointellica
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #0b3574;
    --primary-rgb: 11, 53, 116;
    --primary-dark: #061e47;
    --secondary: #2bd63a;
    --secondary-rgb: 43, 214, 58;
    --accent: #0ea8e5;
    --accent-rgb: 14, 168, 229;
    --dark: #061833;
    --light: #f8fafc;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Box Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(11, 53, 116, 0.1), 0 4px 6px -4px rgba(11, 53, 116, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(11, 53, 116, 0.15), 0 8px 10px -6px rgba(11, 53, 116, 0.15);
    --shadow-glow: 0 0 15px rgba(14, 168, 229, 0.4);
    
    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--gray-800);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-bg-dark {
    background-color: var(--dark);
    color: var(--white);
}

.section-bg-dark h2, .section-bg-dark h3 {
    color: var(--white);
}

.section-bg-gray {
    background-color: var(--gray-100);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.section-bg-dark .section-header p {
    color: var(--gray-300);
}

/* Grid & Flex Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 53, 116, 0.25);
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #1fb82c 100%);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 214, 58, 0.3);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Header & Navigation */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    background: var(--header-bg, #ffffff);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

header.site-header.scrolled {
    background: var(--header-bg, #ffffff);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-normal);
}

header.site-header.scrolled .nav-container {
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span.logo-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--header-text, #8c9ba5); /* Customizable header text */
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap; /* Prevent menu items wrapping */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; /* Positioned right below the text */
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    transition: all 0.25s ease;
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--header-hover, var(--primary)); /* Customizable header hover */
    font-weight: 600;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    padding: 0.5rem;
    z-index: 1100;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: var(--transition-normal);
    border-radius: 2px;
}

/* Main Layout Spacer */
main.site-content {
    margin-top: 80px; /* Offset fixed header */
    flex-grow: 1;
}

main.site-content:has(.hero) {
    margin-top: 0; /* Let hero sections flow under the fixed header */
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-lg);
    border-radius: 1rem;
    padding: 2.25rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(14, 168, 229, 0.2);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Hero Section Styling */
.hero {
    background: linear-gradient(135deg, rgba(11, 53, 116, 0.95) 0%, rgba(6, 30, 71, 0.98) 100%), 
                radial-gradient(circle at top right, rgba(14, 168, 229, 0.3) 0%, transparent 60%),
                radial-gradient(circle at bottom left, rgba(43, 214, 58, 0.2) 0%, transparent 50%);
    color: var(--white);
    padding: 3.5rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    top: 50%;
    left: -50%;
    background: radial-gradient(circle, rgba(14, 168, 229, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.highlight {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--gray-300);
    margin-bottom: 2.25rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Floating abstract shapes for hero */
.dna-molecule {
    width: 100%;
    max-width: 420px;
    height: 320px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.chart-vector {
    width: 70%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(14, 168, 229, 0.5));
    animation: float 6s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Services Page & Grid Component */
.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(11, 53, 116, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.glass-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.service-desc {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-bullets {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.service-bullets li {
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.service-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.card-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.card-link span {
    transition: var(--transition-fast);
}

.glass-card:hover .card-link span {
    transform: translateX(4px);
}

/* Quick Intro Styling */
.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.intro-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.intro-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(6, 24, 51, 0.4));
}

.intro-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.intro-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.intro-feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(43, 214, 58, 0.15);
    color: #1fb82c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

.intro-feature-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.intro-feature-text p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Specializations section styling */
.spec-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--primary); /* BioIntellica Blue */
    padding: 8px;
    border-radius: 50px;
    margin-bottom: 3.5rem;
    box-shadow: 0 10px 25px rgba(11, 53, 116, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.spec-tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    text-align: center;
    border-radius: 40px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: #e2e8f0; /* Light slate/silver for visibility on blue */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.spec-tab-btn:hover {
    color: #f8fafc;
}

.spec-tab-btn.active {
    background: linear-gradient(135deg, #0b57d0 0%, #002e73 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(11, 87, 208, 0.35) !important;
    transform: scale(1.02);
}

.spec-content {
    background: var(--white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    min-height: 250px;
}

.spec-pane {
    display: none;
    animation: specPaneFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.spec-pane.active {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.spec-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.spec-details p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.spec-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.spec-points li {
    font-size: 0.9rem;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-points li::before {
    content: '•';
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 0;
}

.spec-graphic {
    display: flex;
    justify-content: center;
}

.spec-svg-wrapper {
    width: 100%;
    max-width: 300px;
    height: auto;
}

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

/* About Us Layout elements */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

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

.value-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(14, 168, 229, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    font-weight: bold;
    font-size: 1.25rem;
}

.founder-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 1.5rem;
    padding: 3.5rem;
    margin-top: 4rem;
    border: 1px solid var(--gray-200);
}

.founder-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
}

.founder-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--primary);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 2rem;
}

.founder-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.founder-name {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.founder-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.founder-story {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-800);
}

.founder-story p {
    margin-bottom: 1.25rem;
}

.founder-creds {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.founder-cred-badge {
    background: var(--white);
    border: 1px solid var(--gray-300);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-800);
}

/* Our Approach timeline */
.approach-timeline {
    position: relative;
    max-width: 800px;
    margin: 3.5rem auto 0 auto;
}

.approach-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--gray-200);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 1rem 2.5rem;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--accent);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-normal);
}

.timeline-item-left {
    left: 0;
    text-align: right;
}

.timeline-item-right {
    left: 50%;
}

.timeline-item-right::after {
    left: -10px;
}

.timeline-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.timeline-step {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.timeline-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.timeline-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Training page components */
.pricing-matrix {
    border-collapse: collapse;
    width: 100%;
    margin-top: 2rem;
    background: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.pricing-matrix th, .pricing-matrix td {
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.pricing-matrix th {
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
}

.pricing-matrix tr {
    border-bottom: 1px solid var(--gray-200);
}

.pricing-matrix tr:last-child {
    border-bottom: none;
}

.pricing-matrix tr:nth-child(even) {
    background-color: var(--gray-50);
}

.pricing-price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.15rem;
}

/* Tool showcase styling */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.tool-card {
    background: var(--white);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.tool-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.tool-logo-placeholder.r-lang {
    background: linear-gradient(135deg, #1f65b7 0%, #10407a 100%);
}

.tool-logo-placeholder.spss {
    background: linear-gradient(135deg, #da1e28 0%, #a2191f 100%);
}

.tool-logo-placeholder.mysql {
    background: linear-gradient(135deg, #00758f 0%, #f29111 100%);
}

.tool-logo-placeholder.powerbi {
    background: linear-gradient(135deg, #f2c811 0%, #d89614 100%);
}

.tool-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Portfolio elements */
.portfolio-placeholder {
    background: var(--white);
    border-radius: 1.5rem;
    border: 2px dashed var(--gray-300);
    padding: 5rem 2rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.portfolio-placeholder-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.portfolio-placeholder h3 {
    margin-bottom: 0.5rem;
}

.portfolio-placeholder p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.dashboard-mockup {
    margin-top: 3.5rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.dashboard-mockup-header {
    background-color: var(--gray-100);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red { background-color: #ff5f56; }
.mockup-dot.yellow { background-color: #ffbd2e; }
.mockup-dot.green { background-color: #27c93f; }

.dashboard-mockup-body {
    padding: 2rem;
    background-color: #f8fafc;
}

.mockup-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.mockup-widget {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.mockup-widget-title {
    font-size: 0.8rem;
    color: var(--gray-600);
    text-transform: uppercase;
    font-weight: 600;
}

.mockup-widget-val {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.25rem 0;
}

.mockup-widget-change {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
}

.mockup-chart-large {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    height: 250px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 3rem;
    position: relative;
}

.mockup-chart-title {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.mockup-chart-bar {
    width: 100%;
    background: linear-gradient(to top, var(--primary) 0%, var(--accent) 100%);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    transition: var(--transition-slow);
}

/* Contact page styles */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.contact-info-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 53, 116, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-details h4 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.contact-info-details p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.form-wrapper {
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(14, 168, 229, 0.15);
}

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

.form-feedback {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-feedback.error {
    color: #da1e28;
    display: block;
}

.form-feedback.success {
    color: #198038;
    display: block;
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* Call to Action Banner styles */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 1.5rem;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(43, 214, 58, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-banner p {
    font-size: 1.15rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog page layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 3.5rem;
    align-items: start;
}

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

.blog-card {
    background: var(--white);
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.blog-card-image {
    aspect-ratio: 16/9;
    background-color: var(--primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.blog-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
    display: flex;
    gap: 1rem;
}

.blog-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* Sidebar styles */
.sidebar-widget {
    background: var(--white);
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.blog-search-form {
    position: relative;
}

.blog-search-input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
    outline: none;
    font-family: var(--font-body);
}

.blog-search-input:focus {
    border-color: var(--accent);
}

.blog-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.blog-categories-list li {
    margin-bottom: 0.75rem;
}

.blog-categories-list a {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.blog-categories-list a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 0.25rem;
    background-color: var(--primary-dark);
    flex-shrink: 0;
}

.recent-post-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recent-post-details h4 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.recent-post-details span {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Footer Styling */
footer.site-footer {
    background-color: var(--footer-bg, var(--dark));
    color: var(--footer-text, var(--gray-300));
    padding: 4.5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col h3, .footer-widget h3, .footer-widget .widgettitle, .footer-widget .widget-title {
    color: var(--footer-heading, var(--white));
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after, .footer-widget h3::after, .footer-widget .widgettitle::after, .footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

/* Footer Widgets Custom Styling */
.footer-widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-widget ul li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-400);
}

.footer-widget ul li a {
    color: var(--footer-text, var(--gray-400));
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: var(--footer-hover, var(--secondary));
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--footer-text, var(--gray-400));
}

.footer-col ul li a {
    color: var(--footer-text, var(--gray-400));
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--footer-hover, var(--secondary));
}

.footer-widget .search-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-widget .search-field {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 0.6rem 1rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.9rem !important;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
}

.footer-widget .search-field:focus {
    border-color: var(--secondary) !important;
}

.footer-widget .search-submit {
    background: var(--primary) !important;
    color: #fff !important;
    border: 1px solid var(--primary) !important;
    padding: 0.6rem 1.25rem !important;
    border-radius: 0.5rem !important;
    cursor: pointer;
    font-size: 0.9rem !important;
    font-weight: 500;
    transition: background 0.3s ease, border-color 0.3s ease !important;
}

.footer-widget .search-submit:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.footer-desc {
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-list icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.footer-social-icon:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray-400);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Responsiveness adjustments */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .founder-image-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        transition: var(--transition-normal);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-visual {
        margin-top: 2rem;
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .spec-tabs {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #002e73 !important;
        border-radius: 20px !important;
        padding: 0.75rem !important;
        gap: 0.65rem !important;
        box-shadow: 0 12px 30px rgba(0, 46, 115, 0.15) !important;
        box-sizing: border-box !important;
    }
    .spec-tab-btn {
        display: block !important;
        width: 100% !important;
        padding: 0.85rem 1.15rem !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        text-align: center !important;
        white-space: normal !important;
        word-break: break-word !important;
        color: rgba(255, 255, 255, 0.85) !important;
        border-radius: 14px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-sizing: border-box !important;
    }
    .spec-tab-btn.active {
        background: linear-gradient(135deg, #0b57d0 0%, #002e73 100%) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        border-color: rgba(43, 214, 58, 0.4) !important;
        box-shadow: 0 6px 20px rgba(11, 87, 208, 0.4) !important;
    }
    .spec-pane.active {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
        padding-bottom: 3.5rem !important;
    }
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    .approach-timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 45px;
        padding-right: 0;
        text-align: left;
    }
    .timeline-item::after {
        left: 10px;
    }
    .timeline-item-right {
        left: 0%;
    }
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-matrix {
        display: block;
        overflow-x: auto;
    }
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
    .cta-banner {
        padding: 3rem 1.5rem;
    }
    .cta-banner h2 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

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

/* ==========================================
   SaaS-Style Administrative Backend Styles
   ========================================== */
body.saas-admin {
    background-color: #f8fafc;
    color: #1e293b;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: block; /* Overrides site column-flex */
}

/* 1. Left Sidebar */
#saas-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    background: rgba(6, 24, 51, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    padding: 1.5rem 1.25rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.25rem;
}

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text .title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
}

.brand-text .badge {
    font-size: 0.62rem;
    color: #0ea8e5;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.15rem;
    letter-spacing: 0.05em;
}

.sidebar-nav {
    flex-grow: 1;
    overflow-y: auto;
}

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

.nav-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.08em;
    margin: 1.5rem 0 0.5rem 0.5rem;
    display: block;
}

.nav-item {
    margin-bottom: 0.25rem;
}

#saas-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

#saas-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

#saas-sidebar .nav-item.active .nav-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(14, 168, 229, 0.15);
}

.sidebar-user-card {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    font-family: 'Outfit', sans-serif;
}

.status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: 2px solid #061833;
}

.user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.user-details .username {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.user-details .role {
    font-size: 0.7rem;
    color: #64748b;
}

.logout-btn {
    color: #94a3b8;
    font-size: 1.1rem;
    padding: 0.4rem;
    border-radius: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* 2. Content Layout */
#saas-content {
    margin-left: 260px;
    padding: 2.5rem;
    min-height: 100vh;
    background-color: #f8fafc;
}

#saas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.25rem;
}

.header-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
}

.header-breadcrumb .separator {
    color: #cbd5e1;
}

.header-breadcrumb .active-node {
    color: var(--primary);
    font-weight: 600;
}

/* Alerts System */
#saas-alerts-container {
    margin-bottom: 1.5rem;
}

.saas-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease;
}

.saas-alert.success {
    background-color: #f0fdf4;
    border-left: 4px solid var(--secondary);
    color: #166534;
}

.saas-alert.error {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.alert-dismiss {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.alert-dismiss:hover {
    opacity: 1;
}

/* Workspace Views */
.saas-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.saas-panel.active {
    display: block;
}

/* Premium Welcome Banner */
.saas-welcome-banner {
    background: linear-gradient(135deg, rgba(11, 53, 116, 0.98) 0%, rgba(6, 24, 51, 0.99) 100%),
                radial-gradient(circle at top right, rgba(14, 168, 229, 0.2) 0%, transparent 60%);
    color: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(11, 53, 116, 0.15);
    position: relative;
    overflow: hidden;
}

.saas-welcome-banner h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.saas-welcome-banner p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 580px;
}

.banner-buttons {
    display: flex;
    gap: 1rem;
}

/* SaaS Metrics Cards */
.saas-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.metric-icon.blue { background-color: rgba(11, 53, 116, 0.08); color: var(--primary); }
.metric-icon.green { background-color: rgba(43, 214, 58, 0.08); color: #16a34a; }
.metric-icon.cyan { background-color: rgba(14, 168, 229, 0.08); color: var(--accent); }

.metric-details {
    display: flex;
    flex-direction: column;
}

.metric-details .label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-details .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

/* Dashboard Bottom Grid */
.saas-dashboard-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
}

.saas-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    margin-bottom: 1.5rem;
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b3574;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.card-header .subtitle {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.card-body {
    padding: 1.5rem;
}

/* Activity logs widget */
.saas-log-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.saas-log-list li {
    padding: 0.75rem 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.85rem;
    color: #334155;
    display: flex;
    gap: 0.5rem;
}

.saas-log-list li:last-child {
    border-bottom: none;
}

.saas-log-list .time {
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
}

/* SaaS list tables */
.saas-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.saas-table th {
    background: #f8fafc;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.saas-table td {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #334155;
    vertical-align: middle;
}

.saas-table tr:last-child td {
    border-bottom: none;
}

.saas-table tr:hover {
    background-color: #f8fafc;
}

.saas-table .link-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    text-decoration: none;
}

.saas-table .link-name:hover {
    color: var(--accent);
}

.saas-table .row-actions {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    display: flex;
    gap: 0.5rem;
}

.saas-table .row-actions a {
    color: #64748b;
    text-decoration: none;
}

.saas-table .row-actions a:hover {
    color: var(--primary);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 2rem;
}

.badge-front {
    background-color: rgba(14, 168, 229, 0.1);
    color: var(--accent);
    border: 1px solid rgba(14, 168, 229, 0.2);
    margin-left: 0.5rem;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.35rem;
}

.status-dot.green {
    background-color: var(--secondary);
}

/* Two column editor layout */
.editor-header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.25rem;
}

.editor-titles {
    display: flex;
    flex-direction: column;
}

.editor-titles h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.editor-titles .subtitle {
    font-size: 0.85rem;
    color: #64748b;
}

.saas-editor-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
}

@media (max-width: 960px) {
    .saas-editor-layout {
        grid-template-columns: 1fr;
    }
}

/* Form Styles */
.saas-form-group {
    margin-bottom: 1.25rem;
}

.saas-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.saas-input {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    outline: none;
    font-size: 0.9rem;
    background-color: #fff;
    color: #334155;
    transition: all 0.2s ease;
}

.saas-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 168, 229, 0.1);
}

.saas-textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.75rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    outline: none;
    font-size: 0.9rem;
    background-color: #fff;
    color: #334155;
    resize: vertical;
    transition: all 0.2s ease;
}

.saas-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 168, 229, 0.1);
}

.saas-form-row {
    display: flex;
    gap: 1rem;
}

.help-text {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    #saas-sidebar {
        display: none; /* Hide sidebar on small mobile views */
    }
    #saas-content {
        margin-left: 0 !important;
        padding: 1.5rem !important;
    }
    .saas-metrics-grid {
        grid-template-columns: 1fr;
    }
    .saas-dashboard-layout {
        grid-template-columns: 1fr;
    }
}

/* Hero Slider Engine Styling */
#section-hero.hero {
    position: relative;
    padding: 0 !important; /* Let slides handle padding */
    overflow: hidden;
    min-height: 550px;
}
.hero-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 7.5rem 0 6.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}
.hero-slide.active {
    position: relative; /* Let it define the height */
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slider Transition Animations styling */
.hero-transition-slide .hero-slide {
    transform: translateX(50px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, visibility 0.8s ease;
}
.hero-transition-slide .hero-slide.active {
    transform: translateX(0);
}

.hero-transition-zoom .hero-slide {
    transform: scale(0.95);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, visibility 0.8s ease;
}
.hero-transition-zoom .hero-slide.active {
    transform: scale(1);
}

.hero-transition-blur .hero-slide {
    filter: blur(15px);
    transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, visibility 0.8s ease;
}
.hero-transition-blur .hero-slide.active {
    filter: blur(0px);
}
.hero-slider-dots {
    position: absolute;
    bottom: 2rem !important; /* Position cleanly at the bottom */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 25 !important;
}

@media (max-width: 768px) {
    .hero-slider-dots {
        bottom: 1.5rem !important;
    }
}
.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.hero-slider-dot.active {
    background: var(--secondary);
    transform: scale(1.25);
}

/* Premium Dark Theme Styles */
body.dark-theme {
    background-color: #0b1329;
    color: #f1f5f9;
}
body.dark-theme .site-header {
    background-color: rgba(11, 19, 41, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.dark-theme .nav-link {
    color: #e2e8f0;
}
body.dark-theme .nav-link:hover, body.dark-theme .nav-link.active {
    color: var(--secondary);
}
body.dark-theme .section-bg-gray {
    background-color: #0f1a36;
}
body.dark-theme .glass-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}
body.dark-theme .glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(14, 168, 229, 0.3);
}
body.dark-theme .spec-tab-btn {
    color: #cbd5e1;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
body.dark-theme .spec-tab-btn.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}
body.dark-theme .spec-pane {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}
body.dark-theme .site-footer {
    background: #060b18;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
body.dark-theme h2, body.dark-theme h3, body.dark-theme h4 {
    color: #ffffff;
}
body.dark-theme p, body.dark-theme span {
    color: #cbd5e1;
}
body.dark-theme #theme-toggle-btn {
    color: #ffffff !important;
}

/* Unified Inner Page Hero spacing & layout */
.inner-hero,
.page-banner-section {
    background: linear-gradient(135deg, rgba(11, 53, 116, 0.98) 0%, rgba(6, 30, 71, 0.99) 100%), 
                radial-gradient(circle at top right, rgba(14, 168, 229, 0.25) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(43, 214, 58, 0.15) 0%, transparent 40%) !important;
    color: var(--white);
    padding: 5.5rem 0 4.5rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-title .highlight,
.inner-hero .highlight,
.page-banner-section .highlight,
.hero-title span.highlight,
.inner-hero span.highlight,
.inner-hero h1 span {
    background: linear-gradient(90deg, #2bd63a 0%, #0ea8e5 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline-block;
}

/* Contact Form Container card */
.contact-form-container {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

/* Blog Cards styling */
.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2.25rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

/* Dark Mode extensions for cards, inputs, and forms */
body.dark-theme .inner-hero {
    background: linear-gradient(135deg, #0b1329 0%, #060b18 100%), 
                radial-gradient(circle at top right, rgba(14, 168, 229, 0.15) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(43, 214, 58, 0.1) 0%, transparent 40%);
}
body.dark-theme .blog-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
body.dark-theme .blog-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(14, 168, 229, 0.3);
}
body.dark-theme .contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
body.dark-theme .saas-input, 
body.dark-theme .saas-textarea {
    background-color: #0f1a36;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}
body.dark-theme .saas-input::placeholder,
body.dark-theme .saas-textarea::placeholder {
    color: #94a3b8;
}
body.dark-theme .saas-input:focus,
body.dark-theme .saas-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 168, 229, 0.2);
}



/* WordPress Admin Bar Overlap Fix */
body.admin-bar header.site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar header.site-header {
        top: 46px;
    }
    body.admin-bar .nav-menu {
        top: calc(80px + 46px) !important;
    }
}

/* ==========================================================================
   Flexible Header Layout Builder Styles
   ========================================================================== */

/* 1. Static Layout (Non-sticky option) */
header.site-header.header-static {
    position: absolute !important;
}

/* 2. Centered Layout (Logo Top, Menu Center Below) */
@media screen and (min-width: 769px) {
    header.site-header.header-layout-centered .nav-container {
        flex-direction: column;
        height: auto;
        padding: 1.25rem 0;
        gap: 1rem;
    }
    header.site-header.header-layout-centered .logo-link {
        margin: 0 auto;
    }
    header.site-header.header-layout-centered .nav-menu {
        margin: 0 auto;
        justify-content: center;
        width: 100%;
        gap: 2rem;
    }
    /* Offset main content wrapper for taller centered header on inner pages */
    body:not(.home) main.site-content:not(:has(.hero)) {
        margin-top: 145px;
    }
}

/* 3. Minimalist Layout (Always Hamburger on Desktop) */
@media screen and (min-width: 769px) {
    header.site-header.header-layout-minimal .hamburger {
        display: block !important;
    }
    header.site-header.header-layout-minimal .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 320px;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 2rem;
        gap: 1.5rem;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        border-right: 1px solid rgba(226, 232, 240, 0.8);
        z-index: 999;
    }
    body.dark-theme header.site-header.header-layout-minimal .nav-menu {
        background: #0f172a;
        border-right-color: rgba(255,255,255,0.08);
    }
    header.site-header.header-layout-minimal .nav-menu.active {
        left: 0;
    }
    header.site-header.header-layout-minimal .nav-link {
        width: 100%;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 0.75rem;
    }
    body.dark-theme header.site-header.header-layout-minimal .nav-link {
        border-bottom-color: rgba(255,255,255,0.05);
    }
}

/* Intro Section Hover Cards */
.intro-card-row {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.intro-card-row:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 10px 25px rgba(11, 53, 116, 0.08) !important;
}

/* Capabilities Section Grid Cards styling */
.service-card-base {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem 2rem 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(11, 53, 116, 0.03);
    border: 1px solid rgba(11, 53, 116, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

/* Blue Card */
.service-card-blue {
    border-bottom: 4px solid #3b82f6;
}
.service-card-blue:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.2);
}

/* Purple Card */
.service-card-purple {
    border-bottom: 4px solid #8b5cf6;
}
.service-card-purple:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1) !important;
    border-color: rgba(139, 92, 246, 0.2);
}

/* Green (Research Support / Highlighted) Card */
.service-card-green {
    border: 2px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(135deg, #2bd63a 0%, #3b82f6 100%) border-box;
    box-shadow: 0 15px 35px rgba(11, 53, 116, 0.07);
    transform: translateY(-4px);
}
.service-card-green:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(43, 214, 58, 0.12) !important;
}

/* Bullet list elements */
.service-bullet-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.service-bullet-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.service-bullet-text {
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.5;
}
.service-bullet-text strong {
    color: #0f172a;
    font-weight: 700;
}

.btn-services-breakdown:hover {
    background: linear-gradient(135deg, #2bf03d 0%, #1b6ef5 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(43, 214, 58, 0.3) !important;
    color: #ffffff !important;
}

/* Strengths Cards styling */
.strength-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 2.75rem 2.25rem;
    box-shadow: 0 10px 30px rgba(11, 53, 116, 0.02);
    border: 1px solid rgba(11, 53, 116, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    overflow: hidden;
}
.strength-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}
.strength-card:hover::before {
    transform: scaleX(1);
}
.strength-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 53, 116, 0.07);
    border-color: rgba(11, 53, 116, 0.08);
}
.strength-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent-color);
    transition: transform 0.3s ease;
}
.strength-card:hover .strength-icon-box {
    transform: scale(1.08) rotate(3deg);
}

/* Header Button & WhatsApp Circle */
.nav-link.nav-contact-btn {
    background: #002e73 !important; /* Branded Solid Blue */
    color: #ffffff !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 8px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(11, 34, 71, 0.1);
    text-decoration: none;
    margin-left: 0.5rem;
}
.nav-link.nav-contact-btn::after {
    display: none !important; /* Hide underline for button */
}
.nav-link.nav-contact-btn:hover {
    background: #0b57d0 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(11, 87, 208, 0.2);
}

/* Active Nav Underline Solid Green */
.nav-link::after {
    background: #2bd63a !important; /* Solid brand green */
    height: 3px !important;
    bottom: -6px !important;
}

/* WhatsApp Header Circle */
.header-whatsapp-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #002e73;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(11, 34, 71, 0.1);
    text-decoration: none;
    font-size: 1.25rem;
    margin-left: 0.75rem;
    border: 2px solid #ffffff;
    box-sizing: border-box;
}
.header-whatsapp-circle:hover {
    background: #2bd63a !important; /* Green on hover! */
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(43, 214, 58, 0.25);
    border-color: #2bd63a;
}

/* Core Values Section styling */
.value-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 2.75rem 2.25rem;
    box-shadow: 0 10px 30px rgba(11, 53, 116, 0.02);
    border: 1px solid rgba(11, 53, 116, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    overflow: hidden;
    text-align: left;
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 53, 116, 0.07);
    border-color: rgba(11, 53, 116, 0.08);
}
.value-card-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(11, 53, 116, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(11, 53, 116, 0.03);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}
.value-card:hover .value-card-icon-box {
    transform: scale(1.08) rotate(3deg);
}
.value-card-corner-arc {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 52px;
    height: 52px;
    border-radius: 52px 0 0 0;
    background: rgba(var(--accent-rgb), 0.05);
    border-top: 1.2px solid rgba(var(--accent-rgb), 0.15);
    border-left: 1.2px solid rgba(var(--accent-rgb), 0.15);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.value-card:hover .value-card-corner-arc {
    width: 64px;
    height: 64px;
    border-radius: 64px 0 0 0;
    background: rgba(var(--accent-rgb), 0.07);
}

/* About Page Mission & Vision Cards */
.about-mv-card {
    background: #ffffff;
    border: 1px solid rgba(11, 53, 116, 0.04);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(11, 53, 116, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.about-mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 53, 116, 0.07);
    border-color: rgba(11, 53, 116, 0.08);
}

/* Our Approach Section Styling */
.approach-card {
    position: relative;
    background: #ffffff;
    padding: 2.75rem 2rem 2.25rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(11, 53, 116, 0.04);
    box-shadow: 0 10px 30px rgba(11, 53, 116, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    text-align: left;
}
.approach-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 53, 116, 0.07);
    border-color: rgba(11, 53, 116, 0.08);
}
.approach-badge {
    position: absolute;
    top: -1.35rem;
    left: 1.75rem;
    background: #002e73;
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 5px 15px rgba(11, 53, 116, 0.18);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Outfit', sans-serif;
}
.approach-card:hover .approach-badge {
    background: #2bd63a; /* Brands to green on hover! */
    box-shadow: 0 5px 15px rgba(43, 214, 58, 0.25);
    transform: scale(1.08);
}

/* Workflow Dotted Connectors & Arrowheads */
@media (min-width: 1024px) {
    .approach-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -1.75rem;
        width: 1.85rem;
        height: 2px;
        border-top: 2.5px dotted #3b82f6;
        transform: translateY(-50%);
        opacity: 0.65;
        z-index: 5;
    }
    .approach-card:not(:last-child)::before {
        content: '';
        position: absolute;
        top: 50%;
        right: -1.85rem;
        width: 6px;
        height: 6px;
        border-top: 2px solid #3b82f6;
        border-right: 2px solid #3b82f6;
        transform: translateY(-50%) rotate(45deg);
        opacity: 0.8;
        z-index: 5;
    }
}
/* Center numbering badge on card */
.approach-badge {
    left: 50% !important;
    transform: translateX(-50%) !important;
}
.approach-card:hover .approach-badge {
    transform: translateX(-50%) scale(1.08) !important;
}

/* Our Approach Feature Bar (Horizontal on desktop) */
.approach-feature-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid rgba(11, 53, 116, 0.08);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-top: 3.5rem;
    box-shadow: 0 10px 30px rgba(11, 53, 116, 0.03);
    gap: 1.5rem;
}

.approach-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.approach-feature-divider {
    width: 1px;
    height: 40px;
    background: rgba(11, 53, 116, 0.08);
    flex-shrink: 0;
}

/* ==========================================================================
   Mobile Responsiveness Overrides
   ========================================================================== */
@media (max-width: 768px) {
    /* Enforce strict mobile viewport boundaries to prevent horizontal scroll */
    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* Hero Slider mobile enhancements */
    .hero {
        min-height: auto !important;
        height: auto !important;
    }

    .hero-badge {
        display: none !important;
    }
    
    .hero-slide {
        padding: 5.5rem 0 3.5rem 0 !important;
        height: auto !important;
        min-height: 480px !important;
    }
    
    .hero-title {
        margin-top: 1.25rem !important;
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
    }
    
    .hero-desc {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
        padding: 0 1rem !important;
    }
    
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        text-align: center !important;
    }
    
    .hero-visual {
        display: none !important;
    }
    
    /* Hide intro visual dashboard card on mobile */
    .intro-visual-card {
        display: none !important;
    }

    /* Header layout */
    header.site-header {
        padding: 0.25rem 0 !important;
    }
    
    .nav-container {
        padding: 0 1rem !important;
        height: 65px !important;
    }
    
    .logo-img {
        height: 36px !important;
    }
    
    .logo-text {
        font-size: 1.15rem !important;
    }
    
    .logo-text span.logo-tagline {
        font-size: 0.52rem !important;
        letter-spacing: 0.02em !important;
    }
    
    /* Dark mode toggle placement */
    #theme-toggle-btn {
        margin-left: auto !important;
        margin-right: 0.5rem !important;
        font-size: 1.15rem !important;
    }
    
    /* Mobile Hamburger Menu button */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        padding: 0 !important;
        margin-left: 0.5rem !important;
        border: none;
        background: transparent;
        cursor: pointer;
    }
    
    .hamburger-line {
        width: 100% !important;
        height: 3px !important;
        background-color: var(--primary) !important;
        margin: 0 !important;
        transition: all 0.3s ease !important;
    }
    
    /* Toggle active animation */
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0 !important;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }
    
    /* Mobile Drawer */
    .nav-menu {
        position: fixed !important;
        top: 65px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 65px) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 2.5rem 1.5rem !important;
        gap: 1rem !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
        z-index: 1000 !important;
        overflow-y: auto !important;
        display: flex !important;
    }
    
    body.admin-bar .nav-menu {
        top: calc(65px + 46px) !important;
        height: calc(100vh - 65px - 46px) !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    /* Links inside mobile drawer */
    .nav-menu .nav-link {
        font-size: 1.15rem !important;
        font-weight: 600 !important;
        color: var(--primary) !important;
        width: 100% !important;
        text-align: center !important;
        padding: 0.85rem 0 !important;
        border-bottom: 1px solid rgba(11, 53, 116, 0.06) !important;
        display: block !important;
    }
    
    .nav-menu .nav-link::after {
        display: none !important; /* Hide slide underlines on mobile */
    }
    
    /* Contact button in mobile drawer */
    .nav-menu .nav-link.nav-contact-btn {
        background: linear-gradient(135deg, #0b3574 0%, #002e73 100%) !important;
        color: #ffffff !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 1.5rem auto 0 auto !important;
        width: 85% !important;
        max-width: 280px !important;
        border-bottom: none !important;
        padding: 0.9rem 1.5rem !important;
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        display: inline-flex !important;
        box-shadow: 0 6px 18px rgba(11, 53, 116, 0.25) !important;
    }
    
    /* WhatsApp inside drawer */
    .nav-menu .header-whatsapp-circle {
        margin-top: 1rem !important;
        display: inline-flex !important;
    }
    
    /* Why Choose Us page strengths card spans fix */
    .strength-card {
        grid-column: span 1 !important;
    }
}

/* ==========================================================================
   Premium Responsive Hero Slider Styles
   ========================================================================== */

/* Typography & Layout overrides */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-family: 'Outfit', sans-serif;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background-color: #2bd63a;
    border-radius: 50%;
    box-shadow: 0 0 8px #2bd63a;
}

.hero-title {
    font-size: 3.25rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin-bottom: 1.5rem !important;
    color: var(--white);
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: linear-gradient(90deg, #2bd63a 0%, #0ea8e5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 1.125rem !important;
    color: var(--gray-300) !important;
    line-height: 1.65 !important;
    margin-bottom: 2.25rem !important;
    max-width: 620px !important;
}

.hero-content .hero-desc {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

/* Hero Button layout & styling */
.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #2bd63a 0%, #1c9e29 100%);
    color: var(--white) !important;
    padding: 0.95rem 2.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(43, 214, 58, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(43, 214, 58, 0.4);
    filter: brightness(1.1);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: var(--white) !important;
    padding: 0.95rem 2.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Trust Line */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2.5rem;
}

.hero-trust-icon {
    font-size: 1.25rem;
}

.hero-trust-text {
    font-size: 0.95rem;
    color: var(--gray-300);
}

/* Glassmorphic Stats Section */
.hero-stats-card {
    background: rgba(11, 34, 71, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    max-width: 650px;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stat-icon {
    font-size: 1.75rem;
    background: rgba(255,255,255,0.06);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-info {
    text-align: left;
}

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.08);
}

/* Right column premium illustration & tags */
.hero-visual-premium {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
    width: 100%;
}

.illustration-container {
    animation: floatIllust 6s ease-in-out infinite;
    width: 100%;
    max-width: 100% !important;
}

.main-illustration-svg, .main-illustration {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25));
    transform: scale(1.35) translateX(4%) translateY(2%);
    transform-origin: center center;
}

/* Floating Language Tags */
.floating-tag {
    position: absolute;
    background: rgba(11, 34, 71, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.45rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    animation: floatTag 5s ease-in-out infinite;
    z-index: 10;
    cursor: default;
    transition: transform 0.3s, border-color 0.3s;
}

.floating-tag:hover {
    transform: scale(1.1) translateY(-3px);
    border-color: var(--accent);
}

.tag-r { top: 15%; left: 10%; border-left: 3px solid #1f65b7; animation-delay: 0s; }
.tag-python { top: 25%; right: 5%; border-left: 3px solid #3776ab; animation-delay: 1.5s; }
.tag-spss { bottom: 35%; left: 5%; border-left: 3px solid #e51c23; animation-delay: 0.8s; }
.tag-powerbi { bottom: 20%; right: 8%; border-left: 3px solid #f2c811; animation-delay: 2.2s; }
.tag-sql { top: 50%; left: 80%; border-left: 3px solid #00bcff; animation-delay: 1.8s; }

/* Premium Inline Technology Stack */
.hero-tech-stack {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.tech-stack-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
}

.tech-stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.tech-stack-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: help; /* Tooltip indicator */
}

.tech-stack-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tech-stack-img {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.tech-stack-icon-char {
    font-size: 0.95rem;
}

.tech-stack-name {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.1px;
}

/* Mobile responsive tech stack */
@media (max-width: 768px) {
    .hero-tech-stack {
        margin-top: 1.75rem;
        align-items: center;
    }
    
    .tech-stack-list {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .tech-stack-item {
        padding: 0.4rem 0.85rem;
        gap: 0.5rem;
    }
    
    .tech-stack-img {
        height: 18px;
    }
    
    .tech-stack-name {
        font-size: 0.8rem;
    }
}

/* Hero Trust Bar Inline Row (for Consultancy Slide) */
.hero-trust-row {
    display: flex;
    gap: 1.75rem;
    margin-top: 2.5rem;
    flex-wrap: nowrap;
    align-items: center;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
}

.hero-trust-icon-circle {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.hero-trust:hover .hero-trust-icon-circle {
    border-color: #2bd63a !important; /* Green highlight color match */
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.hero-trust-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: 0.1px;
}

@media (max-width: 1024px) {
    .hero-trust-row {
        flex-wrap: wrap;
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-trust-row {
        justify-content: center;
        gap: 1.25rem;
        margin-top: 1.75rem;
        flex-wrap: wrap;
    }
}

/* Sub Cards Grid Section directly below slider content */
.hero-sub-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    margin-bottom: 0 !important;
    transform: none !important;
    position: relative;
    z-index: 10;
}

.hero-sub-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 2.25rem 1.75rem !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s !important;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-sub-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08) !important;
}

.sub-card-header {
    display: flex;
    flex-direction: column !important; /* Stacked layout */
    align-items: center !important;
    gap: 0.85rem !important;
    margin-bottom: 0.85rem !important;
    width: 100%;
}

.sub-card-logo-placeholder {
    width: 72px;
    height: 72px;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon-img {
    width: auto;
    height: 52px;
    max-width: 100%;
    object-fit: contain;
}

.hero-sub-card h4 {
    color: #0b2247 !important; /* Dark slate blue title */
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.2px;
}

.hero-sub-card p {
    color: #475569 !important; /* Gray description text */
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* Push intro section content down if slider has cards using negative margin overlap */
#section-hero:has(.hero-sub-cards-row) + #section-intro {
    margin-top: -6rem !important;
    padding-top: 8.5rem !important;
    position: relative !important;
    z-index: 5 !important;
    background: #ffffff !important;
}

/* Keyframe Animations */
@keyframes floatIllust {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatTag {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Responsive Media Query Breakpoints */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem !important;
    }
    .hero-sub-cards-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        margin-bottom: 0 !important;
        transform: none !important;
    }
    #section-hero:has(.hero-sub-cards-row) + #section-intro {
        margin-top: -5rem !important;
        padding-top: 7.5rem !important;
        position: relative !important;
        z-index: 5 !important;
        background: #ffffff !important;
    }
    .main-illustration-svg, .main-illustration {
        transform: scale(1.1) translateX(0) translateY(0) !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.15rem !important;
        text-align: center;
    }
    .hero-badge {
        margin: 0 auto 1.5rem auto;
        display: inline-flex;
    }
    .hero-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem !important;
    }
    .hero-buttons {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    .hero-visual-premium {
        display: none !important; /* Hide Illustration on mobile */
    }
    .hero-sub-cards-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.75rem;
        margin-bottom: 0 !important;
        transform: none !important;
    }
    #section-hero:has(.hero-sub-cards-row) + #section-intro {
        margin-top: -3.5rem !important;
        padding-top: 6rem !important;
        position: relative !important;
        z-index: 5 !important;
        background: #ffffff !important;
    }
}

/* Custom layout spacing overrides to remove extra white space */
.hero-slide {
    padding: 7rem 0 5rem 0 !important;
    height: auto !important;
    min-height: unset !important;
}

@media (max-width: 768px) {
    .hero-slide {
        padding: 4.5rem 0 3.5rem 0 !important;
        height: auto !important;
        min-height: unset !important;
    }
}

/* Center layout when there is no user-uploaded slide image */
.hero-grid-no-image {
    grid-template-columns: 1fr !important;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.hero-grid-no-image .hero-content {
    align-items: center !important;
    text-align: center !important;
}
.hero-grid-no-image .hero-badge {
    margin-left: auto;
    margin-right: auto;
}
.hero-grid-no-image .hero-buttons {
    justify-content: center !important;
}
.hero-grid-no-image .hero-tech-stack {
    align-items: center !important;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    justify-content: center !important;
}
.hero-grid-no-image .tech-stack-list {
    justify-content: center !important;
}

/* Green utility highlight text color */
.text-green {
    color: #2bd63a !important;
}

/* Site Top Bar */
.site-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 42px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    z-index: 1010;
    font-size: 0.825rem;
    color: #475569;
    display: flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-right {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.top-bar-link {
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.2s ease;
}

.top-bar-link:hover {
    color: var(--primary, #0b3574);
}

.top-bar-social-link {
    color: #64748b;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.top-bar-social-link:hover {
    color: var(--primary, #0b3574);
    transform: translateY(-1px);
}

/* Scroll Toggling interaction & Pixel-Perfect Alignment */
body.has-top-bar header.site-header {
    top: 42px;
}

body.has-top-bar header.site-header.scrolled {
    top: 0 !important;
}

body.has-top-bar:has(header.scrolled) .site-top-bar {
    transform: translateY(-42px);
}

@media (min-width: 769px) {
    body.has-top-bar {
        padding-top: 122px !important; /* 42px Top Bar + 80px Header */
    }
    body:not(.has-top-bar) {
        padding-top: 80px !important; /* 80px Header */
    }
}

@media (max-width: 768px) {
    .site-top-bar {
        display: none !important;
    }
    body.has-top-bar header.site-header {
        top: 0 !important;
    }
    body.has-top-bar,
    body:not(.has-top-bar) {
        padding-top: 80px !important;
    }
}

/* WordPress Admin Bar offsets */
body.admin-bar.has-top-bar .site-top-bar {
    top: 32px;
}
body.admin-bar.has-top-bar header.site-header {
    top: 74px; /* 32px admin bar + 42px top bar */
}
body.admin-bar.has-top-bar header.site-header.scrolled {
    top: 32px !important;
}
body.admin-bar.has-top-bar {
    padding-top: 154px !important; /* 32px Admin + 42px Top Bar + 80px Header */
}
body.admin-bar:not(.has-top-bar) {
    padding-top: 112px !important; /* 32px Admin + 80px Header */
}

@media screen and (max-width: 782px) {
    body.admin-bar.has-top-bar header.site-header {
        top: 46px !important;
    }
    body.admin-bar.has-top-bar {
        padding-top: 126px !important; /* 46px Mobile Admin Bar + 80px Header */
    }
    body.admin-bar:not(.has-top-bar) {
        padding-top: 126px !important;
    }
}

/* Responsive Navigation Layout Adjustments (Prevent text wrapping) */
@media (max-width: 1350px) {
    .nav-menu {
        gap: 1.15rem !important; /* Reduce spacing between menu items */
    }
    .nav-link {
        font-size: 0.88rem !important; /* Slightly smaller font size */
    }
    .nav-link.nav-contact-btn {
        padding: 0.6rem 1.15rem !important; /* Adapt contact button size */
    }
    .header-socials {
        gap: 0.75rem !important; /* Slightly smaller gap for social icons */
        margin-left: 1rem !important;
    }
}

@media (max-width: 1250px) {
    .header-socials {
        display: none !important; /* Hide header socials to make room for menu */
    }
}

@media (max-width: 1024px) {
    /* Trigger Mobile Hamburger Navigation Drawer at 1024px */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        padding: 0 !important;
        margin-left: 0.5rem !important;
        border: none;
        background: transparent;
        z-index: 1100;
    }
    
    .hamburger-line {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--primary);
        transition: all 0.3s ease;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 80px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 80px) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 2.5rem 1.5rem !important;
        gap: 1rem !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
        z-index: 1000 !important;
        overflow-y: auto !important;
        display: flex !important;
    }
    
    body.admin-bar .nav-menu {
        top: calc(80px + 32px) !important;
        height: calc(100vh - 80px - 32px) !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-menu .nav-link {
        font-size: 1.15rem !important;
        font-weight: 600 !important;
        color: var(--primary) !important;
        width: 100% !important;
        text-align: center !important;
        padding: 0.85rem 0 !important;
        border-bottom: 1px solid rgba(11, 53, 116, 0.06) !important;
        display: block !important;
        white-space: nowrap !important;
    }
    
    .nav-menu .nav-link::after {
        display: none !important;
    }
    
    .nav-menu .nav-link.nav-contact-btn {
        background: linear-gradient(135deg, #0b3574 0%, #002e73 100%) !important;
        color: #ffffff !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 1.5rem auto 0 auto !important;
        width: 85% !important;
        max-width: 280px !important;
        border-bottom: none !important;
        padding: 0.9rem 1.5rem !important;
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        display: inline-flex !important;
        box-shadow: 0 6px 18px rgba(11, 53, 116, 0.25) !important;
    }
    
    .nav-menu .header-whatsapp-circle {
        margin-top: 1rem !important;
        display: inline-flex !important;
    }

    #theme-toggle-btn {
        margin-left: auto !important;
        margin-right: 0.5rem !important;
    }
}

/* ==========================================================================
   Founder / Leadership Profile Grid Base Styles
   ========================================================================== */
.profile-grid-item {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}
.profile-grid-item.profile-odd {
    grid-template-columns: 0.9fr 1.1fr;
}

/* ==========================================================================
   Tablet & Mobile Viewport Overrides
   ========================================================================== */

/* Tablet (max-width: 960px) */
@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2.5rem 1.5rem !important;
    }

    .profile-grid-item,
    .profile-grid-item.profile-even,
    .profile-grid-item.profile-odd {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        margin-bottom: 3.5rem !important;
    }

    .profile-grid-item .profile-image-col {
        order: -1 !important; /* Always display photo on top */
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .profile-grid-item .profile-info-col {
        order: 1 !important;
        width: 100% !important;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Strict viewport containment to prevent horizontal scroll */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hide hero tag badge pill on mobile devices */
    .hero-badge {
        display: none !important;
    }

    /* Add top breathing space for hero title on mobile */
    .hero-title {
        margin-top: 1.25rem !important;
    }

    /* Our Approach Feature Bar mobile layout */
    .approach-feature-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.25rem !important;
        padding: 1.25rem !important;
    }
    .approach-feature-divider {
        display: none !important;
    }

    /* Prevent PHP/builder inline styles from overriding mobile column layouts */
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* Footer Grid 1-Column Mobile Collapse */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 2.5rem !important;
    }
    .footer-col {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Correct mobile menu top gap when header height shrinks to 65px */
    .nav-menu {
        top: 65px !important;
        height: calc(100vh - 65px) !important;
    }
    body.admin-bar .nav-menu {
        top: calc(65px + 46px) !important;
        height: calc(100vh - 65px - 46px) !important;
    }

    /* Leadership Profiles Mobile Tuning */
    .profile-grid-item {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .profile-grid-item .profile-image-col {
        order: -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 0.5rem !important;
    }

    /* Scale down inner photo card on mobile to fit inside any screen */
    .profile-grid-item .profile-image-col > div[style*="background: #ffffff"] {
        padding: 1.25rem !important;
        max-width: 310px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 18px !important;
    }

    .profile-grid-item .profile-info-col {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Responsive Headings */
    .profile-grid-item .profile-info-col h3 {
        font-size: 1.65rem !important;
        line-height: 1.25 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Responsive Designation Badge (Allow text wrapping onto 2 lines if needed) */
    .profile-grid-item .profile-info-col div[style*="border-radius: 30px"] {
        display: inline-block !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
        padding: 0.45rem 1.15rem !important;
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
        box-sizing: border-box !important;
    }

    /* Responsive Profile Subtitle / Academic Credentials */
    .profile-grid-item .profile-info-col span {
        word-break: break-word !important;
        font-size: 0.88rem !important;
    }

    /* Responsive Profile Metrics Row (Stack vertically on narrow screens) */
    .profile-grid-item .profile-info-col div[style*="background: #fafbfc"] {
        flex-direction: column !important;
        padding: 1rem 1.25rem !important;
        gap: 1rem !important;
        align-items: flex-start !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hide vertical line dividers in metrics row when stacked */
    .profile-grid-item .profile-info-col div[style*="background: #fafbfc"] > div[style*="width: 1px"] {
        display: none !important;
    }

    /* Specialization Tabs active pane text & padding for mobile */
    .spec-details h3 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        margin-bottom: 0.75rem !important;
    }
    .spec-details p {
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
    }
    .spec-pane {
        padding-bottom: 4.5rem !important; /* Prevents floating WhatsApp button overlap */
    }
}

