:root {
    --primary-color: #6366f1;
    /* Indigo */
    --secondary-color: #8b5cf6;
    /* Violet */
    --accent-color: #ec4899;
    /* Pink */
    --bg-dark: #0f172a;
    /* Slate 900 */
    --bg-card: #1e293b;
    /* Slate 800 */
    --text-light: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-speed: 0.3s;
    --nav-height: 90px;
    --nav-height-scrolled: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.gradient-text {
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    height: var(--nav-height-scrolled);
    background: rgba(15, 23, 42, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.nav-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* Portfolio/Product Icons */
.icon-container {
    height: 220px;
    /* Significantly increased height */
    width: 100%;
    /* Full width of container */
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* Add some padding so it breathes */
}

.icon-container img {
    max-width: 80%;
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition-speed);
}


.sub-highlight {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* About Text - Centered */
.about-text-full {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.highlight-text {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Services List */
.section-title-left {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
    transition: transform var(--transition-speed);
    position: relative;
    padding-bottom: 70px;
    /* Space for button */
}

.service-item:hover {
    transform: translateX(10px);
}

.service-heading {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-intro {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.service-bullets {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.service-bullets li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.service-bullets li::before {
    content: '➔';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.btn-small {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.9rem;
    /* Position bottom right */
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.btn-small:hover {
    background-color: var(--secondary-color);
}

/* Mobile Responsive Adjustments for Logo */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .nav-logo {
        height: 30px;
    }
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 60px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-color);
    transition: width var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
    /* Fallback if image not loaded, but we will add image dynamically or via style */
    background: var(--bg-dark);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 60%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
    padding-bottom: 60px;
    margin: auto;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
    animation: float 6s ease-in-out infinite;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Header Typography Swap */
.hero-title-small {
    font-size: 2rem;
    /* Was 4.5rem */
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
    order: 2;
    /* If we used flex column, but we swapped in HTML */
    color: var(--text-muted);
}

.hero-subtitle-large {
    font-size: 3.5rem;
    /* Was 1.5rem */
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-subtitle-large {
        font-size: 2.5rem;
    }

    .hero-title-small {
        font-size: 1.5rem;
    }
}

/* Height-based media queries for high-scaling / small vertical space */
@media (max-height: 800px) {
    .hero-subtitle-large {
        font-size: 2.5rem;
    }

    .hero-logo {
        width: 140px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-height: 650px) {
    .hero-subtitle-large {
        font-size: 2rem;
    }

    .hero-logo {
        width: 100px;
        margin-bottom: 15px;
    }

    .hero-title-small {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
}

.alt-bg {
    background-color: #162032;
    /* Slightly lighter than bg-dark */
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
    /* Ensure cards are same height */
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);

    /* Flex alignment */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    /* Active scale effect */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.icon-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* ... gradient classes ... */

.card-header-area {
    min-height: 130px;
    /* Safe height for up to 3 lines of text + sub-highlight */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align text to top of area for better flow */
    margin-bottom: 15px;
}

.product-card h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
    min-height: 0;
    /* Override previous fixed height */
    display: block;
}

.product-card p.product-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin: 0;
}

.mt-15 {
    margin-top: 15px;
}

/* About Section Branding Upgrade */
#about {
    position: relative;
    background: url('assets/hero_bg.png') center center / cover no-repeat;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(22, 32, 50, 0.9) 100%);
    z-index: 0;
}

.about-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Removed unused about-image styles since we switched to text-only center */


/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.detail-item {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Contact Form Highlight Animation */
@keyframes formHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.6);
    }

    50% {
        box-shadow: 0 0 25px 5px rgba(236, 72, 153, 0.4);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.contact-form.highlight {
    animation: formHighlight 1.5s ease-out;
    border-color: var(--accent-color);
}

/* Footer Legal Links */
.footer-legal a {
    color: transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    text-decoration: none;
    font-weight: 500;
    transition: opacity var(--transition-speed);
}

.footer-legal a:hover {
    opacity: 0.8;
}

/* Footer & Socials */
footer {
    background: black;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    transition: transform var(--transition-speed);
}

.social-icon img {
    width: 32px;
    height: 32px;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        /* Below navbar */
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        height: 300px;
    }

    /* Stack Service Cards on Mobile */
    .service-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-icon-large {
        margin-bottom: 20px;
        align-self: flex-start;
    }
}

/* Hover Reveal Button */
.btn-hover-reveal {
    /* Box Model & Layout */
    width: 50%;
    max-width: 50%;
    /* Strictly enforce max width */
    box-sizing: border-box;
    /* Ensure padding includes in width */
    align-self: center;
    text-align: center;
    white-space: normal;
    /* Allow wrap */

    /* Animation Initial State: Hidden */
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;

    /* Transition */
    transition: all 0.4s ease-out;
}

/* Hover State: Reveal */
.service-card:hover .btn-hover-reveal {
    opacity: 1;
    max-height: 200px;
    margin-top: 30px;
    padding: 12px 24px;
    /* Restore padding matching btn-small roughly */
}



/* Button override for Services */
/* Modal Styles */

/* ... existing modal styles ... */

/* Services Grid (Wide Layout) */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column for wide rows */
    gap: 40px;
    align-items: stretch;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: transform var(--transition-speed);
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    align-items: center;
    /* Vertically center image and text */
    text-align: left;
    gap: 30px;
    /* Space between image and content */
}

.service-card:hover {
    transform: translateX(5px);
    /* Slight slide right instead of up */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.service-icon-large {
    width: 120px;
    /* Larger icon for wide layout */
    height: 120px;
    flex-shrink: 0;
    /* Prevent squishing */
    margin-bottom: 0;
    /* Remove bottom margin */
    align-self: center;
}

.service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    /* Stack text and button */
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 1.5rem;
    text-align: left;
    /* Keep title left */
}

.service-intro {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-style: italic;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-card .btn-small {
    align-self: center;
    margin-top: auto;
    width: 80%;
    /* Ensure standard width */
    text-align: center;
    display: block;
    /* Ensure block behavior inside flex */
}

/* About Us Optimization */
.about-text-full {
    max-width: 100%;
    /* Spans full grid width */
    margin: 0 auto;
    text-align: left;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text-full p,
.about-list li {
    font-size: 1.2rem;
    /* Matching hero description */
    line-height: 1.8;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-card);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid var(--glass-border);
    width: 80%;
    max-width: 800px;
    border-radius: 20px;
    color: var(--text-light);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
}

.close-modal {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

.modal-body h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-body h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.modal-body p,
.modal-body ul {
    margin-bottom: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Text Link Style for Products */
.text-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed);
    display: inline-block;
    position: relative;
}

.text-link:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

.text-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
}

.text-link:hover::after {
    width: 100%;
}

/* Wide Product Card for Portfolio */
.product-card-wide {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    /* Ensure it takes full width if grid dictates, but max-width comes from container */
    width: 100%;
}

.product-card-wide:hover {
    transform: translateY(-10px) scale(1.02);
    /* Stronger lift like other cards */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.product-card-wide .icon-container {
    flex: 0 0 250px;
    /* Wider container for two logos */
    height: 120px;
    /* Adjusted height */
    margin: 0 30px 0 0;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 20px;
    /* Space between logos */
}


.product-logo-item {
    max-width: 45%;
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition-speed);
}

.product-logo-item:hover {
    transform: scale(1.1);
}

.product-card-wide .content-container {
    flex: 1;
    text-align: left;
}

.product-card-wide h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    /* Slightly larger for emphasis */
    color: var(--text-light);
}

.product-card-wide p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .product-card-wide {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .product-card-wide .icon-container {
        margin: 0 0 30px 0;
        flex: 0 0 auto;
        height: 150px;
        width: 150px;
    }

    .product-card-wide .content-container {
        text-align: center;
    }
}

/* ========================================
   RESTRUCTURING UPGRADES v5
   ======================================== */

/* Hero Background Image */
.hero {
    background: url('assets/hero_bg.png') center center / cover no-repeat;
}

/* Hero CTA Button */
.btn-hero {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
    transition: all 0.4s ease;
    animation: heroPulse 3s ease-in-out infinite;
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 35px rgba(236, 72, 153, 0.6);
}

@keyframes heroPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(236, 72, 153, 0.5);
    }
}

/* Hero Particles (CSS-only floating dots) */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: particleFloat 15s ease-in-out infinite;
}

.hero-particles::before {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.hero-particles::after {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    bottom: 15%;
    left: -3%;
    animation-delay: -7s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -40px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(15px, 30px) scale(1.05);
    }
}

/* Trust / Social Proof Section */
.trust-section {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-label {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 500;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    border-radius: 12px;
    transition: all var(--transition-speed);
    cursor: default;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.15);
}

.trust-badge-icon {
    font-size: 2rem;
    line-height: 1;
}

.trust-badge span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
}

/* Extracted Inline Styles */
.highlight-text-center {
    text-align: center;
}

.about-list {
    list-style-type: disc;
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.about-list li {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-email-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity var(--transition-speed);
}

.contact-email-link:hover {
    opacity: 0.8;
}

/* Staggered Card Animations */
.product-card,
.service-card,
.product-card-wide {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.product-card.fade-in,
.service-card.fade-in,
.product-card-wide.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for portfolio cards */
.product-card:nth-child(1) {
    transition-delay: 0s;
}

.product-card:nth-child(2) {
    transition-delay: 0.15s;
}

.product-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Stagger delays for service cards */
.service-card:nth-child(1) {
    transition-delay: 0s;
}

.service-card:nth-child(2) {
    transition-delay: 0.15s;
}

.service-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Mobile trust section */
@media (max-width: 768px) {
    .trust-badges {
        gap: 20px;
    }

    .trust-badge {
        padding: 10px 15px;
    }

    .trust-badge-icon {
        font-size: 1.5rem;
    }

    .trust-badge span {
        font-size: 0.75rem;
    }

    .btn-hero {
        padding: 14px 35px;
        font-size: 1rem;
    }
}