/* ============================================
   THIRDSAN ENTERPRISES - MAIN STYLESHEET
   Modern, Professional, Lightweight Design
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    --primary-color: #5FA8D3;
    --accent-color: #E91E8C;
    --secondary-color: #6B4423;
    --dark-color: #2C3E50;
    --light-color: #F8F9FA;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-600: #6C757D;
    --gray-800: #343A40;

    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --box-shadow-hover: 0 4px 16px rgba(0,0,0,0.15);

    /* Ticker banner height – used to offset the sticky header */
    --ticker-height: 44px;
}

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

/* === UTILITY CLASSES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.text-white { color: var(--white); }

.bg-light { background-color: var(--gray-100); }
.bg-white { background-color: var(--white); }
.bg-primary { background-color: var(--primary-color); }
.bg-accent { background-color: var(--accent-color); }

.section-padding {
    padding: 80px 0;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* === HEADER & NAVIGATION === */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: var(--ticker-height); /* sits flush below the sticky ticker banner */
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 6px;
    background: var(--gray-100);
    border-radius: 14px;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 9px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    white-space: nowrap;
    position: relative;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.nav-menu > li > a .nav-icon {
    font-size: 0.8rem;
    opacity: 0.65;
    transition: opacity 0.2s;
}

.nav-menu a::after {
    display: none; /* kill old underline — new style uses background */
}

.nav-menu > li > a:hover {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.nav-menu > li > a:hover .nav-icon { opacity: 1; }

.nav-menu > li > a.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(95,168,211,0.15);
    font-weight: 700;
}

.nav-menu > li > a.active .nav-icon { opacity: 1; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: all var(--transition-speed) ease;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

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

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* === HERO SECTION === */
.hero {
    background: #060d1f;
    color: var(--white);
    padding: 60px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6,13,31,0.7) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 12% 60%, rgba(168,85,247,0.07) 0%, transparent 45%),
                radial-gradient(circle at 88% 25%, rgba(0,212,255,0.07) 0%, transparent 45%),
                radial-gradient(circle at 50% 95%, rgba(233,30,140,0.05) 0%, transparent 35%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.15;
}

.hero .tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    gap: 0.65rem;
    flex-wrap: nowrap;
    align-items: center;
}

.hero .hero-buttons .btn {
    padding: 10px 18px;
    font-size: 0.88rem;
    white-space: nowrap;
}

/* === SECTION HEADERS === */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 1rem auto 0;
}

/* === SERVICE CARDS === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* === STATS SECTION === */
.stats-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

/* === PROJECT CARDS === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.project-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card-content {
    padding: 2rem;
}

.project-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tag {
    background: var(--gray-200);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* === VALUES SECTION === */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* === CONTACT SECTION === */
.contact-section {
    background: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* === FOOTER === */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section li {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem 20px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: var(--white);
        border-radius: 0;
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right var(--transition-speed) ease;
        align-items: flex-start;
    }

    .nav-menu > li { width: 100%; }

    .nav-menu > li > a {
        width: 100%;
        border-radius: 8px;
        padding: 11px 12px;
        font-size: 0.9rem;
        box-shadow: none;
        color: var(--dark-color);
    }

    .nav-menu > li > a:hover,
    .nav-menu > li > a.active {
        background: var(--gray-100);
        box-shadow: none;
    }

    .nav-menu.active {
        right: 0;
    }

    .hero-buttons { flex-wrap: wrap; }
    
    .hero {
        padding: 50px 0 50px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .tagline {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container,
    .container-wide {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* === LOADING STATES === */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   ENHANCED PROFESSIONAL FEATURES
   Animated Logo, Floating WhatsApp, Hero Icons
   ============================================ */

/* === ANIMATED LOGO WITH COLOR ROTATION === */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.logo-text {
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: colorRotate 3s ease-in-out infinite;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes colorRotate {
    0% {
        background-position: 0% 50%;
    }
    33% {
        background-position: 50% 50%;
    }
    66% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* === FLOATING WHATSAPP BUTTON === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: floatBounce 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.whatsapp-float i {
    position: relative;
    z-index: 2;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: pulsate 2s ease-out infinite;
    z-index: 1;
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulsate {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* === ANIMATED HERO ICONS === */
.hero-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.07);
    font-size: 3rem;
    animation: floatIcon 6s ease-in-out infinite;
}

.hero-icon:nth-child(1) { animation-duration: 7s; animation-delay: 0s; }
.hero-icon:nth-child(2) { animation-duration: 8s; animation-delay: 0.5s; }
.hero-icon:nth-child(3) { animation-duration: 6s; animation-delay: 1s; }
.hero-icon:nth-child(4) { animation-duration: 9s; animation-delay: 1.5s; }
.hero-icon:nth-child(5) { animation-duration: 7.5s; animation-delay: 2s; }
.hero-icon:nth-child(6) { animation-duration: 8.5s; animation-delay: 0.3s; }
.hero-icon:nth-child(7) { animation-duration: 6.5s; animation-delay: 0.7s; }
.hero-icon:nth-child(8) { animation-duration: 7s; animation-delay: 1.2s; }

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* === ENHANCED BUTTONS WITH ICONS === */
.btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: scale(1.2);
}

/* === SMOOTH SCROLL ANIMATIONS === */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* === ENHANCED SERVICE CARDS === */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* === MOBILE RESPONSIVE ENHANCEMENTS === */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1rem;
    }

    .logo-image {
        height: 40px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .hero-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-link {
        gap: 8px;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .hero-icon {
        font-size: 1.5rem;
    }
}

/* ============================================
   ACADEMY SECTION STYLES
   ============================================ */

/* Navigation Layout */
nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

/* Desktop Navigation - Ensure horizontal layout above 768px */
@media (min-width: 769px) {
    nav {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .nav-menu {
        flex-direction: row;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .academy-btn {
        display: inline-flex;
    }

    .mobile-toggle {
        display: none;
    }
}

/* Academy Button - Distinct from nav items */
.academy-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff6f91 100%);
    color: white !important;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.4),
                0 0 0 0 rgba(233, 30, 140, 0);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    flex-shrink: 0;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.academy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.academy-btn:hover::before {
    left: 100%;
}

.academy-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(233, 30, 140, 0.6),
                0 0 0 8px rgba(233, 30, 140, 0.1);
    background: linear-gradient(135deg, #ff6f91 0%, var(--accent-color) 100%);
}

.academy-btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.5);
}

.academy-btn i {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Academy Section Background */
.academy-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.academy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235FA8D3' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 0;
}

.academy-section > .container {
    position: relative;
    z-index: 1;
}

/* Academy Cards Hover Effect */
.academy-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.academy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.academy-card:hover::before {
    left: 100%;
}

.academy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Offering Cards Hover Effect */
.offering-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.offering-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.offering-card:hover .offering-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive Academy Section */
@media (max-width: 768px) {
    .academy-grid {
        grid-template-columns: 1fr !important;
    }

    .academy-offerings {
        grid-template-columns: 1fr !important;
    }

    .academy-card {
        padding: 2rem !important;
    }

    .offering-card {
        padding: 1.5rem !important;
    }

    .academy-btn {
        display: none; /* Hide on mobile, accessed via navigation menu instead */
    }
}

/* Large Button Variant */
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-lg:hover {
    transform: translateY(-3px);
}

/* Academy Animations */
@keyframes academyPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.academy-card {
    animation: academyPulse 3s ease-in-out infinite;
}

.academy-card:hover {
    animation: none;
}

/* ============================================================
   TICKER BANNER — Persistent Advertising Screen
   Stacks above the sticky header (z-index: 1001)
   ============================================================ */

.ticker-banner {
    background: linear-gradient(135deg, #0d1117 0%, #13192a 50%, #0d1117 100%);
    height: var(--ticker-height);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 1001;
    border-bottom: 1px solid rgba(95, 168, 211, 0.2);
    box-shadow: 0 3px 24px rgba(0, 0, 0, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-family: var(--font-primary);
}

/* === LABEL BADGE (left side) === */
.ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #c4186e 100%);
    color: #fff;
    padding: 0 22px 0 16px;
    white-space: nowrap;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    /* Chevron arrow on the right edge */
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
    padding-right: 28px;
}

/* Pulsing live-dot */
.ticker-live-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    animation: ticker-blink 1.4s ease-in-out infinite;
}

@keyframes ticker-blink {
    0%, 100% { opacity: 1;   transform: scale(1);   }
    50%       { opacity: 0.25; transform: scale(0.75); }
}

/* === SCROLLING TRACK WRAPPER === */
.ticker-track-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

/* Gradient fade on both edges for a "screen" feel */
.ticker-track-wrapper::before,
.ticker-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 48px;
    z-index: 1;
    pointer-events: none;
}
.ticker-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #0d1117 20%, transparent);
}
.ticker-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left,  #0d1117 20%, transparent);
}

/* === SCROLLING TRACK === */
.ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker-scroll 50s linear infinite;
    will-change: transform;
    padding-left: 32px;
}

/* Pause on hover — lets users read a specific advert */
.ticker-track:hover {
    animation-play-state: paused;
    cursor: default;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === INDIVIDUAL ADVERT ITEMS === */
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0 12px;
    white-space: nowrap;
    letter-spacing: 0.25px;
    transition: color 0.2s ease;
}

.ticker-item:hover {
    color: #fff;
}

/* Icon colour — brand sky-blue */
.ticker-item > i {
    color: var(--primary-color);
    font-size: 0.88rem;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.ticker-item:hover > i {
    color: var(--accent-color);
}

/* Price highlight — golden */
.ticker-item strong {
    color: #fbbf24;
    font-weight: 700;
}

/* === SEPARATOR CHEVRON === */
.ticker-sep {
    color: var(--accent-color);
    opacity: 0.45;
    font-size: 0.65rem;
    padding: 0 6px;
    flex-shrink: 0;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
    :root {
        --ticker-height: 38px;
    }

    .ticker-label {
        padding: 0 24px 0 12px;
        font-size: 0.6rem;
        letter-spacing: 1.5px;
        gap: 6px;
    }

    .ticker-live-dot {
        width: 6px;
        height: 6px;
    }

    .ticker-item {
        font-size: 0.73rem;
        padding: 0 8px;
    }

    .ticker-track {
        animation-duration: 38s;
    }
}

@media (max-width: 480px) {
    :root {
        --ticker-height: 36px;
    }

    /* On very small screens hide the label text, keep only the icon */
    .ticker-label span:last-child {
        display: none;
    }

    .ticker-label {
        padding: 0 20px 0 12px;
    }

    .ticker-item {
        font-size: 0.7rem;
    }

    .ticker-track {
        animation-duration: 32s;
    }
}

/* ============================================================
   BROWSER-FRAME CARDS — shared by Affiliated & Client sections
   ============================================================ */

.browser-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.browser-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.14);
}

/* === BROWSER CHROME (top bar with dots + URL) === */
.browser-chrome {
    background: #f0f0f0;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.browser-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

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

.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.browser-url {
    flex: 1;
    background: #e0e0e0;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.72rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    min-width: 0;
}

.browser-url i {
    color: #28c840;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.browser-url span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Gold badge shown only on affiliated cards */
.affiliated-badge {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #5a3a00;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.affiliated-badge i {
    font-size: 0.55rem;
}

/* === PREVIEW AREA (screenshot or gradient fallback) === */
.browser-preview {
    position: relative;
    height: 200px;
    background: var(--card-gradient, linear-gradient(135deg, #667eea, #764ba2));
    overflow: hidden;
    flex-shrink: 0;
}

.browser-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.browser-card:hover .browser-preview img {
    transform: scale(1.06);
}

/* Gradient + icon visible as fallback when no screenshot */
.browser-preview-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 2px 20px rgba(0,0,0,0.25);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* === CARD BOTTOM INFO === */
.browser-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.browser-info-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.browser-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-info p {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.55;
    flex: 1;
}

.platform-tag {
    background: var(--gray-200);
    color: var(--gray-800);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* "Visit Site / Visit Platform" button */
.browser-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary-color);
    color: white !important;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    align-self: flex-start;
    margin-top: auto;
}

.browser-visit-btn:hover {
    background: var(--dark-color);
    transform: translateX(4px);
}

/* ============================================================
   AFFILIATED PLATFORMS — responsive grid (not carousel)
   ============================================================ */

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

/* In the grid, cards fill their column (override carousel fixed width) */
.affiliated-grid .browser-card {
    width: 100%;
}

/* ============================================================
   CLIENT WEBSITES — horizontal drag carousel
   ============================================================ */

.showcase-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.showcase-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.75rem 0.25rem 1.25rem;
    cursor: grab;
    flex: 1;
}

.showcase-carousel::-webkit-scrollbar {
    display: none;
}

.showcase-carousel:active {
    cursor: grabbing;
}

/* Each card in the carousel has a fixed width */
.showcase-carousel .browser-card {
    width: 320px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* Prev / Next arrow buttons */
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--dark-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    z-index: 2;
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(95,168,211,0.4);
}

/* Dot indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 0.25rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* Usage hint below carousel */
.carousel-hint {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray-600);
    font-size: 0.82rem;
}

.carousel-hint i {
    color: var(--primary-color);
}

/* ============================================================
   CUSTOM SOFTWARE PRODUCTS — dark section
   ============================================================ */

.software-section {
    background: linear-gradient(135deg, #0d1117 0%, #1a1f2e 60%, #0d1117 100%);
}

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

.software-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.software-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(95,168,211,0.4);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.software-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}

.software-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.software-badge {
    display: inline-block;
    background: rgba(95,168,211,0.15);
    border: 1px solid rgba(95,168,211,0.4);
    color: var(--primary-color);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    align-self: flex-start;
}

.software-card h3 {
    color: white;
    font-size: 1.25rem;
    margin: 0;
}

.software-card p {
    color: rgba(255,255,255,0.65);
    font-size: 0.87rem;
    line-height: 1.7;
    margin: 0;
}

.software-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.software-features li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,0.72);
    font-size: 0.82rem;
}

.software-features li i {
    color: #38ef7d;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.software-price {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 0.75rem;
}

.software-price strong {
    color: #fbbf24;
    font-size: 1rem;
}

/* ============================================================
   HOMEPAGE — Our Work 3-category teaser
   ============================================================ */

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

.work-category-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--dark-color);
}

.work-category-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(95,168,211,0.15);
    color: var(--dark-color);
}

.work-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.work-category-card h3 {
    font-size: 1.15rem;
    margin: 0;
    color: var(--dark-color);
}

.work-category-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
    flex: 1;
}

.work-category-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(95,168,211,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    align-self: flex-start;
}

/* ============================================================
   RESPONSIVE OVERRIDES FOR NEW SECTIONS
   ============================================================ */

@media (max-width: 768px) {
    .affiliated-grid {
        grid-template-columns: 1fr;
    }

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

    .work-categories {
        grid-template-columns: 1fr;
    }

    /* Hide arrows on mobile — use drag/swipe instead */
    .carousel-btn {
        display: none;
    }

    .showcase-carousel .browser-card {
        width: 280px;
    }

    .browser-preview {
        height: 170px;
    }
}

@media (max-width: 480px) {
    .showcase-carousel .browser-card {
        width: 260px;
    }

    .browser-preview {
        height: 150px;
    }
}

/* ============================================================
   HOMEPAGE — WEBSITES SHOWCASE (continuous auto-scroll strip)
   ============================================================ */

.websites-showcase-section {
    background: var(--gray-100);
    padding: 3rem 0 2rem;
    overflow: hidden;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.websites-showcase-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.websites-showcase-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    white-space: nowrap;
}

.showcase-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(95,168,211,0.12);
    border: 1px solid rgba(95,168,211,0.3);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.showcase-label.client-label {
    background: rgba(233,30,140,0.08);
    border-color: rgba(233,30,140,0.25);
    color: var(--accent-color);
}

/* Track wrapper — full-width, clips the scroll */
.websites-track-wrapper {
    overflow: hidden;
    position: relative;
}

/* Fade edges */
.websites-track-wrapper::before,
.websites-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.websites-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-100), transparent);
}
.websites-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-100), transparent);
}

/* The scrolling track — duplicated set so loop is seamless */
.websites-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: websites-scroll 55s linear infinite;
    will-change: transform;
    padding: 0.25rem 0 0.5rem;
}

.websites-track:hover {
    animation-play-state: paused;
}

@keyframes websites-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== MINI BROWSER CARD ===== */
.mini-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
    width: 195px;
    flex-shrink: 0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1.5px solid var(--gray-200);
}

.mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

/* Gold border for affiliated cards */
.affiliated-card {
    border-color: #fbbf24;
}

.affiliated-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 10px 28px rgba(251,191,36,0.2);
}

/* Mini chrome bar */
.mini-chrome {
    background: #f0f0f0;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.mini-url {
    flex: 1;
    font-size: 0.62rem;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.mini-star {
    color: #fbbf24;
    font-size: 0.6rem;
    flex-shrink: 0;
}

/* Mini preview area */
.mini-preview {
    position: relative;
    height: 120px;
    background: var(--card-gradient, linear-gradient(135deg,#667eea,#764ba2));
    overflow: hidden;
    flex-shrink: 0;
}

.mini-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.mini-card:hover .mini-preview img {
    transform: scale(1.07);
}

.mini-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 2.25rem;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Mini info footer */
.mini-info {
    padding: 0.65rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    background: var(--white);
}

.mini-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dark-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.mini-info .platform-tag {
    font-size: 0.58rem;
    padding: 2px 7px;
    flex-shrink: 0;
}

/* Showcase footer — "View Full Portfolio" link */
.websites-showcase-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.showcase-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 20px;
    border: 1.5px solid var(--primary-color);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.showcase-view-all:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================================
   DEMO PAGE STYLES
   ============================================================ */

/* Demo hero badge */
.demo-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.demo-hero-badge i {
    color: #38ef7d;
}

/* How It Works steps */
.demo-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.demo-step {
    background: var(--gray-100);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    position: relative;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.demo-step:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(95,168,211,0.15);
}

.demo-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-step-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.demo-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.demo-step p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.demo-step-arrow {
    color: var(--gray-300);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ================================================================
   ABOUT — Timeline
   ================================================================ */
.about-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2.5rem;
}
.about-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}
.timeline-item {
    position: relative;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}
.timeline-dot {
    position: absolute;
    left: -2.85rem;
    top: 0.3rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--secondary-color);
    flex-shrink: 0;
}
.timeline-year {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
    white-space: nowrap;
    min-width: 3.5rem;
    padding-top: 0.2rem;
}
.timeline-content h4 {
    margin-bottom: 0.4rem;
    color: var(--dark-color);
}
.timeline-content p {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ================================================================
   ABOUT — Testimonials
   ================================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.testimonial-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.testimonial-text {
    color: rgba(255,255,255,0.85);
    font-style: italic;
    line-height: 1.7;
    flex: 1;
    margin: 0;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}
.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.testimonial-author strong {
    display: block;
    color: white;
    font-size: 0.9rem;
}
.testimonial-author span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* ================================================================
   NEWSLETTER
   ================================================================ */
.newsletter-box {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.newsletter-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.newsletter-box h2 {
    margin-bottom: 0.75rem;
}
.newsletter-box p {
    color: var(--gray-600);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}
.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}
.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 240px;
    padding: 0.8rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}
.newsletter-form input[type="email"]:focus {
    border-color: var(--primary-color);
}
.newsletter-form .btn {
    border-radius: 50px;
    padding: 0.8rem 2rem;
}
.newsletter-note {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin: 0;
}

/* ================================================================
   SERVICES PAGE — list cards
   ================================================================ */
.svc-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.svc-list-card {
    display: flex;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}
.svc-list-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.svc-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    flex-shrink: 0;
    font-size: 2rem;
    color: white;
}
.svc-list-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.svc-list-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}
.svc-list-top h3 {
    margin: 0 0 0.2rem;
    font-size: 1.2rem;
}
.svc-list-sub {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin: 0;
    font-style: italic;
}
.svc-list-body > p {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}
.svc-list-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
}
.svc-list-link:hover { gap: 0.6rem; }
.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.svc-tags span {
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.78rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--gray-200);
}

/* Services pricing row */
.svc-pricing-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
}
.svc-price-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.svc-price-card.svc-price-featured {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    transform: scale(1.03);
}
.svc-price-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.svc-price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.svc-price-amount span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.7;
}
.svc-price-label {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
}

/* ================================================================
   CONTACT PAGE — modern redesign
   ================================================================ */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: start;
}
.contact-panel-left {
    background: linear-gradient(160deg, var(--dark-color) 0%, #1a2744 100%);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    color: white;
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}
.contact-panel-left h2 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}
.contact-panel-intro {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}
.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    text-decoration: none;
    color: white;
    transition: background 0.2s;
}
.contact-detail-item:hover { background: rgba(255,255,255,0.1); }
.contact-whatsapp-item { border: 1px solid rgba(37,211,102,0.3); }
.contact-whatsapp-item .cd-icon { background: #25D366 !important; }
.cd-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-detail-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.1rem;
}
.contact-detail-item span {
    font-size: 0.92rem;
    color: white;
}
.contact-hours {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.contact-hours h4 {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: white;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hours-row:last-child { border-bottom: none; }
.contact-social-row {
    display: flex;
    gap: 0.75rem;
}
.contact-social-row a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.contact-social-row a:hover { background: var(--primary-color); color: white; }

/* Contact form card */
.contact-panel-right {}
.contact-form-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.contact-form-card h3 {
    margin-bottom: 0.3rem;
    font-size: 1.4rem;
}
.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.cf-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
}
.cf-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}
.cf-group input,
.cf-group select,
.cf-group textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--dark-color);
    background: var(--gray-50, #fafafa);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(95,168,211,0.15);
    background: white;
}

/* Contact trust row */
.contact-trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.contact-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.contact-trust-item i {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}
.contact-trust-item strong {
    font-size: 0.95rem;
    color: var(--dark-color);
}
.contact-trust-item span {
    font-size: 0.82rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ================================================================
   ABOUT PAGE — modernized sections
   ================================================================ */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-intro-text h2 { margin-bottom: 1rem; }
.about-intro-text p { color: var(--gray-600); line-height: 1.8; margin-bottom: 0.75rem; }
.about-intro-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.about-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark-color);
}

/* Why choose */
.about-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.about-why-card {
    background: var(--gray-50, #fafafa);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 2rem;
}
.about-why-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.about-why-card h4 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.about-why-card p { color: var(--gray-600); line-height: 1.7; font-size: 0.93rem; margin: 0; }

/* How we work steps */
.about-steps-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.about-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 1.5rem 1rem;
}
.about-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.about-step h4 { margin-bottom: 0.4rem; font-size: 1rem; }
.about-step p { font-size: 0.87rem; color: var(--gray-600); margin: 0; line-height: 1.6; }
.about-step-arrow {
    color: var(--gray-300);
    font-size: 1.1rem;
    padding-top: 1.5rem;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .svc-pricing-row { grid-template-columns: 1fr; }
    .svc-price-card.svc-price-featured { transform: none; }
    .contact-split { grid-template-columns: 1fr; }
    .contact-panel-left { position: static; }
    .cf-row { grid-template-columns: 1fr; }
    .contact-trust-row { grid-template-columns: 1fr 1fr; }
    .about-intro-grid { grid-template-columns: 1fr; }
    .about-why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .svc-list-card { flex-direction: column; }
    .svc-list-icon { width: 100%; height: 70px; }
    .contact-trust-row { grid-template-columns: 1fr; }
    .about-steps-row { flex-direction: column; align-items: center; }
    .about-step-arrow { transform: rotate(90deg); }
}

/* Software demo cards */
.demo-software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.demo-software-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.demo-software-card:hover {
    border-color: rgba(95,168,211,0.4);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.demo-software-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 2.5rem;
    color: white;
}

.demo-available-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.25);
    color: #38ef7d;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
}

.demo-available-badge i {
    font-size: 0.5rem;
    animation: ticker-blink 1.4s ease-in-out infinite;
}

.demo-software-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.demo-software-body h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}

.demo-software-type {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color) !important;
    margin: 0 !important;
}

.demo-software-body > p {
    color: rgba(255,255,255,0.65);
    font-size: 0.86rem;
    line-height: 1.7;
    margin: 0;
}

.demo-software-price {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 0.75rem;
}

.demo-software-price strong {
    color: #fbbf24;
    font-size: 1rem;
}

/* Demo CTA button pair */
.demo-cta-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.demo-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}

.demo-cta-whatsapp {
    background: #25D366;
    color: white !important;
}

.demo-cta-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.demo-cta-call {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85) !important;
    border: 1px solid rgba(255,255,255,0.2);
}

.demo-cta-call:hover {
    background: rgba(255,255,255,0.18);
    color: white !important;
}

/* Trust cards */
.demo-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.demo-trust-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 14px;
    background: var(--gray-100);
    border: 1.5px solid var(--gray-200);
    transition: all 0.3s ease;
}

.demo-trust-card:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(95,168,211,0.12);
}

.demo-trust-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.demo-trust-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.demo-trust-card p {
    font-size: 0.84rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* Demo hero specific override */
.demo-hero {
    text-align: center;
}

.demo-hero .hero-content {
    max-width: 820px;
    margin: 0 auto;
}

/* ============================================================
   RESPONSIVE — demo + showcase
   ============================================================ */

@media (max-width: 768px) {
    .demo-steps {
        flex-direction: column;
        align-items: stretch;
    }

    .demo-step {
        max-width: 100%;
    }

    .demo-step-arrow {
        transform: rotate(90deg);
    }

    .demo-software-grid {
        grid-template-columns: 1fr;
    }

    .demo-trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .websites-showcase-header {
        gap: 0.75rem;
    }
}

/* ============================================================
   MEGA MENU — full-width dropdown navigation panels
   ============================================================ */
:root { --header-height: 82px; }

.nav-menu > li { position: static; }
.has-mega { position: static; }
.has-mega > a {
    display: flex;
    align-items: center;
    gap: 5px;
}
.mega-chevron {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
    opacity: 0.55;
}
.has-mega:hover > a .mega-chevron { transform: rotate(180deg); opacity: 1; }

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #080c14;
    border-top: 2px solid var(--primary-color);
    z-index: 997;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 28px 56px rgba(0,0,0,0.55);
}
.has-mega:hover .mega-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mega-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.25rem 20px 2rem;
}

/* Services mega layout */
.mega-services {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: start;
}
.mega-featured {
    border-right: 1px solid rgba(255,255,255,0.07);
    padding-right: 2.5rem;
}
.mega-label {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}
.mega-featured h3 {
    color: white;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    line-height: 1.25;
}
.mega-featured > p {
    color: rgba(255,255,255,0.42);
    font-size: 0.84rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
}
.mega-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.6rem;
}
.mega-stat strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}
.mega-stat span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.38);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mega-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.52rem 1.1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 0.81rem;
    font-weight: 600;
    transition: background 0.2s;
    text-decoration: none;
}
.mega-cta-link:hover { background: var(--accent-color); color: white; }

.mega-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}
.mega-tile {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.85rem 0.9rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.033);
    border: 1px solid rgba(255,255,255,0.05);
    color: white;
    transition: all 0.18s ease;
    text-decoration: none;
}
.mega-tile:hover {
    background: rgba(95,168,211,0.1);
    border-color: rgba(95,168,211,0.22);
    transform: translateY(-2px);
    color: white;
}
.mega-tile-icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.mega-tile h5 {
    font-size: 0.8rem;
    color: white;
    margin: 0 0 2px;
    font-weight: 600;
}
.mega-tile p {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.38);
    margin: 0;
    line-height: 1.4;
}

/* Projects mega layout */
.mega-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.mega-col-label {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mega-link-list { list-style: none; }
.mega-link-list li { margin-bottom: 0; }
.mega-link-list a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0.42rem 0.55rem;
    border-radius: 6px;
    color: rgba(255,255,255,0.58);
    font-size: 0.84rem;
    transition: all 0.18s;
    text-decoration: none;
}
.mega-link-list a:hover { color: white; background: rgba(255,255,255,0.06); }
.mega-link-list a i {
    font-size: 0.68rem;
    color: var(--primary-color);
    width: 12px;
    text-align: center;
}

.mega-footer {
    margin-top: 1.75rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.055);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.mega-footer p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

@media (max-width: 960px) {
    .mega-menu { display: none !important; }
    .mega-chevron { display: none; }
    .has-mega > a { display: inline; }
}

/* ============================================================
   SERVICES SPOTLIGHT CAROUSEL
   ============================================================ */
.services-spotlight {
    position: relative;
    background: #07090f;
    overflow: hidden;
}

.svc-hdr {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.75rem 20px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.svc-hdr-label {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}
.svc-hdr h2 {
    color: white;
    font-size: 1.9rem;
    margin: 0;
    font-weight: 800;
}
.svc-hdr-link {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.42);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.svc-hdr-link:hover { color: var(--primary-color); }

.svc-slides-wrapper {
    display: grid; /* CSS grid stack — all slides in one cell, content defines height */
    overflow: hidden;
}

.svc-slide {
    grid-area: 1 / 1;     /* all slides occupy the same grid cell */
    position: relative;   /* so svc-slide-bg / svc-mesh can use position:absolute */
    display: grid;
    grid-template-columns: 56% 44%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(32px);
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0s 0.55s;
    pointer-events: none;
    z-index: 0;
}
.svc-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: all;
    z-index: 1;
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0s;
}
.svc-slide.svc-exit {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-32px);
    z-index: 0;
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0s 0.55s;
}

.svc-slide-bg {
    position: absolute;
    inset: 0;
    background: var(--svc-gradient, linear-gradient(135deg,#5FA8D3,#4facfe));
    opacity: 0.065;
}
.svc-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 48px 48px;
}

.svc-left {
    position: relative;
    z-index: 2;
    padding: 3rem 3rem 3rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.svc-idx {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1.1rem;
}
.svc-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0.5rem 1.1rem;
    border-radius: 40px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.11);
    margin-bottom: 1.4rem;
    width: fit-content;
}
.svc-pill i { font-size: 1rem; color: var(--svc-color, #5FA8D3); }
.svc-pill span {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.2px;
}
.svc-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.svc-desc {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.8;
    margin-bottom: 1.6rem;
    max-width: 450px;
}
.svc-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 2rem;
}
.svc-feats li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.87rem;
    color: rgba(255,255,255,0.68);
}
.svc-feats li i {
    font-size: 0.72rem;
    color: var(--svc-color, #5FA8D3);
    width: 14px;
    text-align: center;
}
.svc-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0.82rem 1.85rem;
    border-radius: 8px;
    background: var(--svc-gradient, linear-gradient(135deg,#5FA8D3,#4facfe));
    color: white;
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    width: fit-content;
    text-decoration: none;
}
.svc-btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    color: white;
}

/* Right visual */
.svc-right {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}
.svc-visual {
    position: relative;
    width: 280px;
    height: 280px;
}
.svc-vis-glow {
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    background: var(--svc-gradient, linear-gradient(135deg,#5FA8D3,#4facfe));
    opacity: 0.18;
    filter: blur(28px);
}
.svc-vis-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.07);
    animation: svc-spin 25s linear infinite;
}
.svc-vis-ring2 {
    inset: 28px;
    border-color: rgba(255,255,255,0.04);
    animation-duration: 18s;
    animation-direction: reverse;
}
@keyframes svc-spin { to { transform: rotate(360deg); } }
.svc-vis-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6.5rem;
    color: rgba(255,255,255,0.07);
}
.svc-float {
    position: absolute;
    background: rgba(10,14,26,0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9px;
    padding: 0.5rem 0.85rem;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.78);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: svc-float-bob 3s ease-in-out infinite alternate;
}
.svc-float.f2 { animation-delay: 1s; }
.svc-float.f3 { animation-delay: 2s; }
@keyframes svc-float-bob {
    from { transform: translateY(0); }
    to   { transform: translateY(-6px); }
}
.svc-float i { color: var(--svc-color, #5FA8D3); font-size: 0.78rem; }
.svc-float.f1 { top:    5%; right: -12%; }
.svc-float.f2 { bottom: 18%; left: -18%; }
.svc-float.f3 { top:    52%; right: -18%; }

/* Tab bar + arrows */
.svc-controls {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: stretch;
    background: rgba(255,255,255,0.025);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.svc-tabs-row {
    flex: 1;
    display: flex;
}
.svc-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 1.05rem 0.6rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: rgba(255,255,255,0.38);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s;
    font-family: inherit;
}
.svc-tab-btn i { font-size: 0.92rem; }
.svc-tab-btn:hover { color: rgba(255,255,255,0.68); background: rgba(255,255,255,0.03); }
.svc-tab-btn.active {
    color: white;
    background: rgba(255,255,255,0.04);
    border-bottom-color: var(--svc-active-color, var(--primary-color));
}
.svc-arrows-group {
    display: flex;
    border-left: 1px solid rgba(255,255,255,0.055);
}
.svc-arr {
    width: 54px;
    background: none;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.055);
    color: rgba(255,255,255,0.42);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
}
.svc-arr:first-child { border-left: none; }
.svc-arr:hover { background: rgba(255,255,255,0.06); color: white; }

/* ============================================================
   HOMEPAGE ENHANCEMENTS
   ============================================================ */

/* About section — two-column */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.about-text p {
    font-size: 0.98rem;
    line-height: 1.85;
    color: var(--gray-600);
    margin-bottom: 1.2rem;
}
.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2rem;
}
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.38rem 0.85rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark-color);
}
.about-badge i { color: var(--primary-color); font-size: 0.72rem; }

.about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.about-stat-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem 1.1rem;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-stat-card:hover { transform: translateY(-5px); box-shadow: 0 8px 28px rgba(0,0,0,0.11); }
.about-stat-card:nth-child(2) { margin-top: 1.75rem; }
.about-stat-card:nth-child(4) { margin-top: -1.75rem; }
.asc-icon { font-size: 1.5rem; margin-bottom: 0.7rem; }
.about-stat-num {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.about-stat-card p { font-size: 0.78rem; color: var(--gray-600); margin: 0; }

/* Stats section — enhanced dark grid */
.stats-section {
    background: linear-gradient(135deg, #080c14 0%, #101827 50%, #080c14 100%) !important;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(95,168,211,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95,168,211,0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.stats-grid { position: relative; z-index: 1; }
.stat-item { border-right: 1px solid rgba(255,255,255,0.06); padding: 0 2rem; }
.stat-item:last-child { border-right: none; }
.stat-item h3 {
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
}
.stat-item p {
    font-size: 0.82rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5) !important;
}

/* Hero terminal (desktop only) */
.hero-terminal {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: 330px;
    background: rgba(8,12,20,0.78);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
    display: none;
}
@media (min-width: 1100px) {
    .hero-terminal { display: block; }
    .hero-content { max-width: 600px; }
}
.term-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.t-dot.r { background: #ff5f57; }
.t-dot.y { background: #ffbd2e; }
.t-dot.g { background: #28ca41; }
.term-title {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.35);
    margin-left: auto;
    font-family: 'Courier New', monospace;
}
.term-body {
    padding: 1rem 1.2rem;
    font-family: 'Courier New', monospace;
    font-size: 0.74rem;
    line-height: 1.75;
}
.tl { display: block; }
.tp { color: #5FA8D3; }
.tc { color: rgba(255,255,255,0.8); }
.tk { color: rgba(255,255,255,0.28); }
.tok { color: #28ca41; }
.twn { color: #fbbf24; }
.tac { color: #E91E8C; }
.tbl { color: rgba(255,255,255,0.5); display: inline-block; width: 8px; height: 1em; background: rgba(255,255,255,0.7); animation: tb-blink 0.9s step-end infinite; vertical-align: text-bottom; }
@keyframes tb-blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* Responsive */
@media (max-width: 768px) {
    .svc-slide { grid-template-columns: 1fr; }
    .svc-right { display: none; }
    .svc-left { padding: 3rem 1.5rem; }
    .svc-title { font-size: 1.9rem; }
    .svc-tab-btn span { display: none; }
    .svc-tab-btn { padding: 1rem 0.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-stat-card:nth-child(2),
    .about-stat-card:nth-child(4) { margin-top: 0; }
    .stat-item { border-right: none; }
    .svc-float.f1, .svc-float.f2, .svc-float.f3 { display: none; }
    .faq-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ SECTION ===== */
.faq-section { background: #f8fafc; }
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    max-width: 1040px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item.open {
    box-shadow: 0 4px 24px rgba(95,168,211,0.12);
    border-color: var(--primary-color);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.4;
}
.faq-question:hover { color: var(--primary-color); }
.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #f0f7fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--primary-color);
    transition: transform 0.25s ease, background 0.2s;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: white;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-answer p {
    padding: 0 1.4rem 1.2rem;
    font-size: 0.88rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.75;
    margin: 0;
}

/* ===== MEGA MENU HOVER FIX — invisible bridge keeps hover alive ===== */
.has-mega {
    position: static; /* so mega-menu positions relative to header */
}
.has-mega::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    pointer-events: all;
}
.has-mega.mega-open .mega-menu,
.has-mega:hover .mega-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.mega-menu {
    transition: opacity 0.22s ease 0.12s, transform 0.22s ease 0.12s;
}
.has-mega.mega-open .mega-menu,
.has-mega:hover .mega-menu {
    transition: opacity 0.22s ease, transform 0.22s ease;
}

/* ===== ABOUT MEGA MENU ===== */
.mega-about {
    display: grid;
    grid-template-columns: 280px 1fr 220px;
    gap: 0;
}
.mega-about-featured {
    background: linear-gradient(160deg, #0d1525 0%, #0a1020 100%);
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 2rem 1.75rem;
}
.maf-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(95,168,211,0.12);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.mega-about-featured h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}
.mega-about-featured p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}
.mega-about-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.mega-about-card {
    padding: 1rem 1rem;
    border-radius: 10px;
    transition: background 0.2s;
    flex: 1;
}
.mega-about-card:first-child {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 1.25rem;
    margin-bottom: 0.25rem;
}
.mega-about-card:hover { background: rgba(255,255,255,0.04); }
.mac-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.7rem;
}
.mega-about-card h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.4rem;
}
.mega-about-card p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin: 0;
}
.mega-about-values {
    padding: 1.5rem 1.4rem;
}
.mega-values-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.mega-values-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}
.mvl-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    margin-top: 1px;
}
.mega-values-list li strong {
    display: block;
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    line-height: 1.2;
}
.mega-values-list li p {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    line-height: 1.4;
}
.mega-link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    padding: 0.3rem 0;
    text-decoration: none;
    transition: color 0.15s;
}
.mega-link-item i { color: var(--primary-color); width: 14px; }
.mega-link-item:hover { color: white; }

/* ===== BLOG — Listing Page ===== */
.blog-hero {
    position: relative;
    padding: 2.5rem 0 2.5rem;
    background: #060b17;
    overflow: hidden;
}
.blog-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 0%, rgba(95,168,211,0.18) 0%, transparent 70%),
                radial-gradient(ellipse 50% 40% at 0% 100%, rgba(233,30,140,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.blog-hero-content { max-width: 760px; position: relative; }
.blog-hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.9rem;
}
.blog-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.blog-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 1.75rem;
}
.blog-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.blog-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    transition: all 0.2s;
}
.blog-cat-pill:hover,
.blog-cat-pill.active {
    background: var(--pill-color, var(--primary-color));
    color: white;
    border-color: transparent;
}
.pill-count {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 0.7rem;
}

/* Featured post */
.blog-featured-section { padding: 3rem 0 1rem; background: white; }
.blog-featured-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}
.blog-featured-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 340px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.15);
}
.bfc-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bfc-image-icon {
    font-size: 5rem;
    color: rgba(255,255,255,0.25);
}
.bfc-category {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.bfc-body {
    padding: 2.5rem;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bfc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}
.bfc-meta i { margin-right: 4px; }
.bfc-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 0.9rem;
}
.bfc-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.bfc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.blog-tag {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
}
.blog-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: gap 0.2s;
}
.blog-featured-card:hover .blog-read-btn { gap: 0.7rem; }

/* Blog grid */
.blog-grid-section { background: #f8fafc; }
.blog-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.blog-grid-header h2 { font-size: 1.6rem; margin: 0; }
.blog-back-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.blog-grid-2 { grid-template-columns: repeat(2, 1fr); }
.blog-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.blog-card-image {
    height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-icon {
    font-size: 3.2rem;
    color: rgba(255,255,255,0.25);
}
.blog-card-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-card-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.4;
    margin-bottom: 0.6rem;
}
.blog-card-excerpt {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 0.9rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-meta {
    display: flex;
    gap: 0.9rem;
    font-size: 0.74rem;
    color: #94a3b8;
    margin-bottom: 0.9rem;
}
.blog-card-meta i { margin-right: 3px; }
.blog-card-cta {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s;
}
.blog-card:hover .blog-card-cta { gap: 0.6rem; }

/* Blog CTA section */
.blog-cta-section { background: linear-gradient(135deg, #080c14 0%, #101827 100%); }
.blog-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.blog-cta-text h3 { font-size: 1.6rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.blog-cta-text p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.6; margin: 0; }
.blog-cta-actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }

/* ===== BLOG POST PAGE ===== */
.post-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 3rem;
    padding-top: calc(var(--header-height) + var(--ticker-height) + 2rem);
    overflow: hidden;
}
.post-hero--photo { min-height: 480px; }
.post-hero-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.55);
}
.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.78) 100%);
}
.post-hero-icon-bg {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18rem;
    color: rgba(255,255,255,0.04);
    pointer-events: none;
}
.post-hero-content { position: relative; max-width: 800px; }
.post-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.post-hero-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.post-hero-breadcrumb a:hover { color: white; }
.post-hero-breadcrumb i { font-size: 0.65rem; }
.post-hero-cat {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.9rem;
}
.post-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    line-height: 1.25;
    margin-bottom: 1rem;
}
.post-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
}
.post-hero-meta i { margin-right: 5px; }

/* Post body layout */
.post-body-section { padding: 3.5rem 0 4rem; background: white; }
.post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}
.post-article { min-width: 0; }
.post-content {
    font-size: 1rem;
    line-height: 1.85;
    color: #334155;
}
.post-content .lead {
    font-size: 1.12rem;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}
.post-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}
.post-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}
.post-content p { margin-bottom: 1.2rem; }
.post-content ul, .post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}
.post-content li { margin-bottom: 0.4rem; }
.post-content strong { color: var(--dark-color); }
.post-content a { color: var(--primary-color); text-decoration: underline; }

/* Post tags & share */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}
.post-tags-label { font-size: 0.82rem; font-weight: 600; color: #64748b; margin-right: 0.2rem; }
.post-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.88; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.twitter  { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }

/* Sidebar */
.post-sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: calc(var(--header-height) + var(--ticker-height) + 1rem); }
.sidebar-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.4rem;
}
.sidebar-heading {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary-color);
}
.author-card { display: flex; flex-direction: column; gap: 0; }
.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.75rem;
}
.author-info { margin-bottom: 0.6rem; }
.author-info strong { display: block; font-size: 0.9rem; color: var(--dark-color); }
.author-info span { font-size: 0.76rem; color: #64748b; }
.author-card p { font-size: 0.8rem; color: #64748b; line-height: 1.6; margin: 0; }
.cta-card { background: linear-gradient(135deg, #080c14, #101827); border-color: rgba(95,168,211,0.2); }
.cta-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(95,168,211,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}
.cta-card h4 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.cta-card p { font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.sidebar-post {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e2e8f0;
    text-decoration: none;
    transition: opacity 0.2s;
}
.sidebar-post:last-of-type { border-bottom: none; }
.sidebar-post:hover { opacity: 0.75; }
.sidebar-post-dot {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.sidebar-post-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.35;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-post-meta { display: block; font-size: 0.7rem; color: #94a3b8; }
.related-posts-section h2 { font-size: 1.6rem; }

/* ===== BLOG RESPONSIVE ===== */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .post-layout { grid-template-columns: 1fr; }
    .post-sidebar { position: static; }
    .mega-about { grid-template-columns: 1fr 1fr; }
    .mega-about-values { display: none; }
}
@media (max-width: 768px) {
    .blog-hero h1 { font-size: 2rem; }
    .blog-featured-card { grid-template-columns: 1fr; }
    .bfc-image { height: 200px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-grid-2 { grid-template-columns: 1fr; }
    .blog-cta-box { flex-direction: column; align-items: flex-start; }
    .post-hero-title { font-size: 1.6rem; }
    .mega-about { grid-template-columns: 1fr; }
    .mega-about-cards { display: none; }
}

/* ===== SERVICE DETAIL PAGES ===== */
.svc-page-hero {
    position: relative;
    padding: calc(var(--header-height) + var(--ticker-height) + 3.5rem) 0 4rem;
    overflow: hidden;
}
.svc-page-hero-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0,0,0,0) 30%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}
.svc-page-hero-inner {
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    gap: 3rem;
    position: relative;
}
.svc-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}
.svc-page-hero-text h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.svc-page-hero-text p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}
.svc-page-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}
.svc-page-hero-icon {
    font-size: 9rem;
    color: rgba(255,255,255,0.12);
}
.svc-page-float-badge {
    position: absolute;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.78rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}
.svc-page-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.svc-page-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.svc-page-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1.5px solid #e2e8f0;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.svc-page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--card-accent, var(--primary-color));
}
.svc-page-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.9rem;
}
.svc-page-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.4rem;
}
.svc-page-card p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}
.svc-page-usecase {
    background: white;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}
.svc-page-usecase:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }
.svc-page-usecase i { font-size: 2rem; margin-bottom: 0.75rem; display: block; color: var(--primary-color); }
.svc-page-usecase h5 { font-size: 0.9rem; font-weight: 700; color: var(--dark-color); margin-bottom: 0.4rem; }
.svc-page-usecase p { font-size: 0.8rem; color: #64748b; line-height: 1.65; margin: 0; }
.svc-page-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    position: relative;
}
.svc-page-steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    z-index: 0;
}
.svc-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1rem 0.75rem;
}
.svc-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark-color);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    border: 2px solid var(--primary-color);
}
.svc-step h5 { font-size: 0.88rem; font-weight: 700; color: var(--dark-color); margin-bottom: 0.4rem; }
.svc-step p { font-size: 0.78rem; color: #64748b; line-height: 1.55; margin: 0; }

/* Footer legal links */
.footer-legal-links {
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.footer-legal-links a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.15s; }
.footer-legal-links a:hover { color: var(--primary-color); }
.footer-legal-links span { opacity: 0.4; }

/* Service page responsive */
@media (max-width: 1024px) {
    .svc-page-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .svc-page-steps { grid-template-columns: repeat(3, 1fr); }
    .svc-page-steps::before { display: none; }
}
@media (max-width: 768px) {
    .svc-page-hero-inner { grid-template-columns: 1fr; }
    .svc-page-hero-visual { display: none; }
    .svc-page-hero-text h1 { font-size: 1.9rem; }
    .svc-page-grid-4 { grid-template-columns: 1fr; }
    .svc-page-grid-3 { grid-template-columns: 1fr; }
    .svc-page-steps { grid-template-columns: 1fr; }
}

/* ===== BLOG MEGA MENU ===== */
.mega-blog {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
}
.mega-blog-featured {
    background: linear-gradient(160deg, #0d1525 0%, #0a1020 100%);
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 2rem 1.75rem;
}
.mega-blog-featured h3 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    line-height: 1.4;
    margin: 0.6rem 0 0.7rem;
}
.mega-blog-featured p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    margin-bottom: 1rem;
}
.blog-mega-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}
.blog-mega-cat {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--cat-color, var(--primary-color));
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.blog-mega-cat:hover {
    background: var(--cat-color, var(--primary-color));
    color: white;
    border-color: transparent;
}
.mega-blog-posts {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mega-blog-post {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mega-blog-post:last-of-type { border-bottom: none; }
.mega-blog-post:hover { background: rgba(255,255,255,0.04); }
.mbp-dot {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.mbp-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.mbp-cat {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mbp-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: white;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mega-blog-post:hover .mbp-title { color: var(--primary-color); }
.mbp-meta {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
}

/* ===== DEMO MEGA MENU ===== */
.mega-demo {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
}
.mega-demo-featured {
    background: linear-gradient(160deg, #0d1525 0%, #0a1020 100%);
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
}
.mega-demo-featured h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    line-height: 1.4;
    margin: 0.6rem 0 0.75rem;
}
.mega-demo-featured p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.mega-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.mega-cta-btn:hover { background: rgba(255,255,255,0.14); color: white; }
.mega-cta-btn.whatsapp-btn { background: rgba(37,211,102,0.2); color: #25D366; }
.mega-cta-btn.whatsapp-btn:hover { background: rgba(37,211,102,0.32); }
.mega-demo-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 1.75rem 1.5rem;
}
.mega-demo-col {
    padding: 0 1rem;
    border-right: 1px solid rgba(255,255,255,0.05);
}
.mega-demo-col:last-child { border-right: none; }

/* ================================================================
   HOMEPAGE BLOG SECTION
   ================================================================ */
.hp-blog-section {
    background: #0d1321;
    color: white;
}

/* Header row */
.hp-blog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.hp-blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}
.hp-blog-h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
}
.hp-blog-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid rgba(99,102,241,0.35);
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.hp-blog-all-link:hover {
    background: rgba(99,102,241,0.15);
    border-color: var(--primary-color);
}
.hp-blog-all-link i { font-size: 0.75rem; transition: transform 0.2s; }
.hp-blog-all-link:hover i { transform: translateX(3px); }

/* ---- Main grid: featured left + secondary right ---- */
.hp-blog-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Featured large card */
.hp-blog-featured {
    position: relative;
    display: block;
    min-height: 440px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: white;
}
.hp-blog-featured-bg {
    position: absolute;
    inset: 0;
}
.hp-blog-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.10) 0%,
        rgba(0,0,0,0.30) 40%,
        rgba(0,0,0,0.80) 100%
    );
}
.hp-blog-featured-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 5rem;
    color: rgba(255,255,255,0.12);
    pointer-events: none;
}
.hp-blog-featured-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
}
.hp-blog-featured-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    margin: 0.5rem 0 0.6rem;
    line-height: 1.3;
}
.hp-blog-featured-body p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin: 0 0 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hp-blog-featured:hover .hp-blog-featured-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15) 0%,
        rgba(0,0,0,0.40) 40%,
        rgba(0,0,0,0.88) 100%
    );
}

/* Category badge */
.hp-post-cat {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: white;
}
.hp-post-cat--sm {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
}
.hp-post-cat--xs {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: none !important;
    padding: 0;
    display: block;
    margin-bottom: 0.2rem;
}

/* Post meta row */
.hp-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    flex-wrap: wrap;
}
.hp-post-meta i { margin-right: 4px; }
.hp-post-meta--sm {
    font-size: 0.75rem;
    gap: 0.75rem;
    color: rgba(255,255,255,0.5);
}
.hp-read-more {
    margin-left: auto;
    color: white;
    font-weight: 600;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.35);
    padding-bottom: 1px;
    transition: border-color 0.2s;
}
.hp-blog-featured:hover .hp-read-more { border-color: white; }

/* ---- Secondary column: two stacked cards ---- */
.hp-blog-secondary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.hp-blog-card {
    display: flex;
    flex-direction: row;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    flex: 1;
    transition: border-color 0.2s, background 0.2s;
}
.hp-blog-card:hover {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.07);
}
.hp-blog-card-thumb {
    width: 130px;
    min-width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255,255,255,0.45);
    flex-shrink: 0;
}
.hp-blog-card-body {
    padding: 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
}
.hp-blog-card-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Mini row: three compact posts ---- */
.hp-blog-mini-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.hp-blog-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s, border-color 0.2s;
}
.hp-blog-mini:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
}
.hp-blog-mini-dot {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    flex-shrink: 0;
}
.hp-blog-mini-body {
    flex: 1;
    min-width: 0;
}
.hp-blog-mini-body h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin: 0.15rem 0 0.3rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hp-blog-mini-date {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
}
.hp-blog-mini-arrow {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}
.hp-blog-mini:hover .hp-blog-mini-arrow {
    color: var(--primary-color);
    transform: translateX(3px);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hp-blog-grid { grid-template-columns: 1fr 360px; }
}
@media (max-width: 768px) {
    .hp-blog-header { align-items: flex-start; flex-wrap: wrap; }
    .hp-blog-grid { grid-template-columns: 1fr; }
    .hp-blog-featured { min-height: 340px; }
    .hp-blog-secondary { flex-direction: row; }
    .hp-blog-card { flex-direction: column; }
    .hp-blog-card-thumb { width: 100%; min-width: unset; height: 120px; }
    .hp-blog-mini-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hp-blog-secondary { flex-direction: column; }
    .hp-blog-h2 { font-size: 1.5rem; }
}


/* ============================================================
   THIRDSAN V2 — Civic-Tech & Cybersecurity Era
   Building the Next Gen Digital Africa
   ============================================================ */

:root {
    --cyber-dark:    #0d1b2a;
    --cyber-navy:    #1e3a5f;
    --cyber-accent:  #00d4ff;
    --govt-green:    #1a472a;
    --govt-accent:   #2ecc71;
    --civic-purple:  #a855f7;
}

/* === HERO BADGE ROW === */
.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.6rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.hero-badge--civic {
    background: rgba(168,85,247,0.18);
    border: 1px solid rgba(168,85,247,0.45);
    color: #c4b5fd;
}
.hero-badge--security {
    background: rgba(0,212,255,0.13);
    border: 1px solid rgba(0,212,255,0.4);
    color: #67e8f9;
}
.hero-badge--govt {
    background: rgba(46,204,113,0.13);
    border: 1px solid rgba(46,204,113,0.4);
    color: #86efac;
}

/* === HERO HEADLINE ACCENT === */
.hero-headline-accent {
    background: linear-gradient(135deg, #E91E8C 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === HERO CYCLING IDENTITY === */
.hero-cycle-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}
.hero-cycle-text {
    color: #E91E8C;
    font-weight: 700;
    display: inline-block;
    transition: opacity 0.36s ease, transform 0.36s ease;
}
.hero-cycle-text.cycling-out {
    opacity: 0;
    transform: translateY(-8px);
}
@keyframes cycleIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-cycle-text.cycling-in {
    animation: cycleIn 0.45s ease forwards;
}

/* === HERO STATS ROW === */
.hero-stats-row {
    display: flex;
    align-items: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem;
}
.hero-stat-item:first-child { padding-left: 0; }
.hero-stat-item strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stat-item span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}
.hero-stat-div {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}
@media (max-width: 480px) {
    .hero-stat-item { padding: 0 0.75rem; }
    .hero-stat-item strong { font-size: 1.25rem; }
}

/* === BTN-GOVT === */
.btn-govt {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #1a472a, #2ecc71);
    color: #fff;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid rgba(46,204,113,0.4);
    transition: all 0.3s ease;
}
.btn-govt:hover {
    background: linear-gradient(135deg, #27ae60, #1a472a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46,204,113,0.3);
    color: #fff;
}

/* === IDENTITY STRIP === */
.identity-strip {
    background: linear-gradient(135deg, #0d1b2a 0%, #1e3a5f 100%);
    padding: 3.5rem 0;
    border-top: 1px solid rgba(0,212,255,0.1);
    border-bottom: 1px solid rgba(0,212,255,0.08);
}
.identity-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.identity-strip-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cyber-accent);
    margin-bottom: 0.8rem;
}
.identity-strip-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.85;
    margin: 0;
}
.identity-roles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}
.identity-role {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,212,255,0.13);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.identity-role:hover {
    background: rgba(0,212,255,0.07);
    border-color: rgba(0,212,255,0.28);
}
.identity-role i {
    font-size: 1rem;
    color: var(--cyber-accent);
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}
.identity-role span {
    font-size: 0.87rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
@media (max-width: 900px) {
    .identity-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
    .identity-roles { grid-template-columns: 1fr; }
}

/* === CYBERSECURITY SERVICE CARD HIGHLIGHT === */
.svc-list-card.svc-cyber {
    background: linear-gradient(135deg, rgba(13,27,42,0.025) 0%, rgba(30,58,95,0.055) 100%);
    border: 1px solid rgba(0,212,255,0.18);
    position: relative;
    overflow: hidden;
}
.svc-list-card.svc-cyber::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}
.svc-list-card.svc-cyber .svc-list-link { color: #0ea5e9; }
.svc-list-card.svc-cyber .svc-list-link:hover { color: var(--primary-color); }
.svc-national-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.65rem;
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.25);
    border-radius: 50px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-top: 0.8rem;
    width: fit-content;
}

/* === NATIONAL INITIATIVES SECTION === */
.national-initiatives-section {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a0a2e 50%, #0d1b2a 100%);
    position: relative;
    overflow: hidden;
}
.national-initiatives-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -25%;
    width: 150%; height: 200%;
    background: radial-gradient(ellipse at 50% 50%, rgba(0,212,255,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.ni-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: rgba(46,204,113,0.1);
    border: 1px solid rgba(46,204,113,0.32);
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #86efac;
    margin-bottom: 1.25rem;
}
.ni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.ni-card--wide { grid-column: 1 / -1; }
.ni-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s ease;
    position: relative;
}
.ni-card:hover {
    background: rgba(255,255,255,0.055);
    border-color: rgba(0,212,255,0.22);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.ni-card-inner { padding: 2rem; }
.ni-coming-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.72rem;
    border-radius: 50px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0,212,255,0.09);
    border: 1px solid rgba(0,212,255,0.28);
    color: #67e8f9;
    margin-bottom: 1.25rem;
}
.ni-coming-badge--active {
    background: rgba(46,204,113,0.1);
    border-color: rgba(46,204,113,0.32);
    color: #86efac;
}
.ni-coming-badge--progress {
    background: rgba(251,191,36,0.1);
    border-color: rgba(251,191,36,0.32);
    color: #fde68a;
}
.ni-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #67e8f9;
    flex-shrink: 0;
}
.ni-card--wide .ni-icon {
    background: rgba(46,204,113,0.1);
    border-color: rgba(46,204,113,0.18);
    color: #86efac;
}
.ni-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0,212,255,0.65);
    margin-bottom: 0.6rem;
}
.ni-card--wide .ni-tag { color: rgba(46,204,113,0.65); }
.ni-card h3 {
    font-size: 1.12rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}
.ni-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.78;
    margin-bottom: 1.25rem;
}
.ni-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}
.ni-roles span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.82rem;
    background: rgba(46,204,113,0.07);
    border: 1px solid rgba(46,204,113,0.18);
    border-radius: 50px;
    font-size: 0.73rem;
    font-weight: 600;
    color: #86efac;
}
.ni-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.73rem;
    font-weight: 600;
    color: rgba(255,255,255,0.32);
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.ni-footer i { color: rgba(0,212,255,0.45); }
.ni-card--wide .ni-footer i { color: rgba(46,204,113,0.45); }
@media (max-width: 1024px) {
    .ni-grid { grid-template-columns: 1fr 1fr; }
    .ni-card--wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .ni-grid { grid-template-columns: 1fr; }
}

/* === ABOUT PAGE — Roles Section === */
.about-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.about-role-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}
.about-role-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(95,168,211,0.12);
    transform: translateY(-2px);
}
.about-role-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.about-role-card h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}
.about-role-card p {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* === BADGE GOVT === */
.badge-govt {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.82rem;
    background: rgba(46,204,113,0.07);
    border: 1px solid rgba(46,204,113,0.22);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #15803d;
}

/* === PROJECTS — Night outline button === */
.btn-outline-night {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(0,212,255,0.45);
    color: #67e8f9;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(0,212,255,0.05);
    transition: all 0.3s ease;
}
.btn-outline-night:hover {
    background: rgba(0,212,255,0.12);
    border-color: #00d4ff;
    color: #fff;
}
