/* Import Google Fonts for premium typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: white;
    color: white;
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #2c3e50;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: right;
}

.logo {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.2);
    }
    to {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.5), 0 0 45px rgba(255, 255, 255, 0.3);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.nav-links li {
    margin: 0;
    padding: 0;
}


.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #34495e;
    transform: translateX(5px);
}



/* Hero Section */
.hero {
    color: white;
    padding: 140px 0 160px;
    margin-top: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    z-index: -1;
}

.hero .container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.3) 0%, transparent 50%);
    animation: float 10s ease-in-out infinite;
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 2s ease-out;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    animation: slideInUp 1s ease-out 0.5s both;
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
    background: linear-gradient(45deg, #218838, #17a2b8);
}

/* About Section */
.about {
    padding: 120px 0;
    margin-top: 50px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.about .container {
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    color: #666;
    font-size: 0.9rem;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 20px;
    z-index: -1;
}

/* Services Section */
.services {
    padding: 120px 0;
    margin-top: 50px;
    background: white;
}

.services h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-item p {
    color: #666;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    margin-top: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact .container {
    background: rgba(255, 255, 255, 0.1);
    padding: 4rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    max-width: 1000px;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
}

.contact p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 1.12rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input:focus, textarea:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

textarea {
    height: 150px;
    resize: vertical;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-item:hover::before {
    transform: scaleX(1);
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2c3e50;
}

.author-info h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info p {
    margin: 0.5rem 0 0;
    color: #666;
    font-size: 0.9rem;
}

/* Certifications Section */
.certifications {
    padding: 120px 0;
    background: white;
}

.certifications h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
}

.certifications h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.certification-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
}

.certification-image {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 10px;
    object-fit: cover;
}

.certification-item h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.certification-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Case Studies Section */
.case-studies {
    padding: 120px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.case-studies h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
}

.case-studies h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-study-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case-study-item:hover {
    transform: translateY(-10px);
}

.case-study-image {
    height: 250px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-item:hover .project-image {
    transform: scale(1.05);
}

.case-study-content {
    padding: 2rem;
}

.case-study-content h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

.case-study-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric {
    text-align: center;
    padding: 0.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
}

.metric h4 {
    margin: 0;
    font-size: 1.12rem;
    color: #2c3e50;
    font-weight: 800;
}

.metric p {
    margin: 0.3rem 0 0;
    color: #666;
    font-size: 0.9rem;
}

/* Team Section */
.team {
    padding: 120px 0;
    background: white;
}

.team h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
}

.team h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.member-info {
    padding: 2rem;
}

.member-info h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

.member-info p:first-of-type {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-info p:last-of-type {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.member-social {
    margin-top: 1.5rem;
}

.member-social a {
    display: inline-block;
    margin: 0 0.5rem;
    color: #2c3e50;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.member-social a:hover {
    color: #34495e;
}

/* Trust Badges Section */
.trust-badges {
    padding: 120px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.trust-badges h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
}

.trust-badges h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.badge-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-5px);
}

.badge-image {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    border-radius: 10px;
    object-fit: cover;
}

.badge-item h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.badge-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Clients Section */
.clients {
    padding: 120px 0;
    background: white;
}

.clients h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
}

.clients h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.client-logo {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
}

.logo-image {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover .logo-image {
    filter: grayscale(0%);
}

/* Live Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chat-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(44, 62, 80, 0.4);
}

.chat-widget i {
    color: white;
    font-size: 1.5rem;
}

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chat-header {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 1rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f8f9fa;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.chat-input button {
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: row;
        gap: 1rem;
    }

    .nav-links li {
        margin: 0;
        padding: 0;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 120px 0 100px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .about .container, .contact .container {
        margin: 0 1rem;
        padding: 2rem;
    }

    .about h2, .services h2, .contact h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding-right: 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .case-studies-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .case-study-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .badges-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .trust-badges .container, .clients .container, .case-studies .container {
        margin: 0 1rem;
        padding: 2rem;
    }

    .trust-badges h2, .clients h2, .case-studies h2 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .about, .services, .contact {
    animation: fadeInUp 1s ease-out;
}

/* Service Modal */
.service-modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.service-modal {
    background: white;
    margin: 10% auto;
    padding: 1rem;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    font-size: 0.9rem;
}

.service-modal-content {
    background: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.service-modal-close {
    position: sticky; 
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    z-index: 9999;  
    cursor: pointer;
    color: #2c3e50;
    transition: color 0.3s ease;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.service-modal-close:hover {
    color: #34495e;
}

.service-modal h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-modal h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 0.6rem;
    font-weight: 600;
}

.service-modal p {
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
}
/* Homepage redesign inspired by modern agency layout */
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #667eea;
    border-radius: 2px;
}

.hero-home {
    padding: 130px 0 80px;
    margin-top: 70px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.hero-copy h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-intro {
    font-size: 1.08rem;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.9);
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #c7d2fe;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    color: #2c3e50;
    font-size: 2.3rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.btn {
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    box-shadow: 0 10px 28px rgba(44, 62, 80, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(44, 62, 80, 0.42);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #2c3e50;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-badges span {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.hero-badges i {
    margin-right: 0.4rem;
}

.hero-media img {
    width: 100%;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.proof-strip {
    margin-top: -30px;
    padding-bottom: 40px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.proof-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.09);
}

.proof-card h3 {
    color: #2c3e50;
    font-size: 2rem;
}

.home-services {
    padding: 80px 0 100px;
    background: #fff;
}

.home-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.our-presence {
    padding: 90px 0;
    background: linear-gradient(140deg, #f7fbff 0%, #edf4ff 100%);
}

.our-presence .section-heading h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.85rem;
}

.our-presence .section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}
.presence-subtext {
    max-width: 760px;
    margin: 0.65rem auto 0;
    color: #425466;
}

.presence-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.4rem;
    align-items: stretch;
}

.presence-highlight {
    background: linear-gradient(165deg, #11456a 0%, #1d658f 100%);
    color: #fff;
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: 0 14px 30px rgba(16, 69, 106, 0.24);
}

.presence-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.36rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.34);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.presence-highlight h3 {
    margin-top: 0.95rem;
    margin-bottom: 0.65rem;
    font-size: 1.45rem;
    line-height: 1.3;
}

.presence-highlight p {
    margin: 0;
    opacity: 0.94;
}

.presence-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
    margin: 0;
    padding: 0;
}

.presence-list li {
    padding: 0.75rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #d8e5f5;
    color: #173f5f;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 8px 16px rgba(15, 57, 86, 0.08);
}

@media (max-width: 992px) {
    .presence-layout {
        grid-template-columns: 1fr;
    }

    .presence-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .our-presence {
        padding: 78px 0;
    }

    .presence-highlight {
        padding: 1.35rem;
    }

    .presence-highlight h3 {
        font-size: 1.2rem;
    }

    .presence-list {
        grid-template-columns: 1fr;
    }
}
.industry-focus {
    padding: 90px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ebff 100%);
}

.industry-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.4rem;
    align-items: center;
}

.industry-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.industry-content h2 {
    color: #2c3e50;
    font-size: 2.1rem;
    margin-bottom: 1rem;
}

.industry-content p {
    color: #445;
    margin-bottom: 1rem;
}

.industry-list {
    list-style: none;
    margin-bottom: 1.8rem;
}

.industry-list li {
    margin: 0.55rem 0;
    font-weight: 500;
    color: #334155;
}

.industry-list i {
    color: #2c3e50;
    margin-right: 0.55rem;
}

.delivery-process {
    padding: 90px 0;
    background: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.process-card {
    background: linear-gradient(160deg, #f8faff 0%, #eef2ff 100%);
    border: 1px solid #dbe3ff;
    border-radius: 14px;
    padding: 1.4rem;
}

.process-card span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.process-card h3 {
    color: #1f2937;
    margin-bottom: 0.55rem;
}

.process-card p {
    color: #4b5563;
    font-size: 0.95rem;
}

.home-cta {
    padding: 80px 0;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    text-align: center;
}

.home-cta h2 {
    font-size: 2.3rem;
    margin-bottom: 0.8rem;
}

.home-cta p {
    margin-bottom: 2rem;
    opacity: 0.92;
}

.home-cta .btn-primary {
    background: #fff;
    color: #2c3e50;
}

.home-cta .btn-primary:hover {
    color: #5a67d8;
}

@media (max-width: 1024px) {
    .hero-layout,
    .industry-layout {
        grid-template-columns: 1fr;
    }

    .proof-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .home-service-grid {
        grid-template-columns: 1fr;
    }

    .hero-home {
        padding-bottom: 70px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 68px;
        right: 16px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 1rem;
        width: min(250px, calc(100% - 32px));
        display: none;
        flex-direction: column;
        gap: 0.7rem;
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-copy h1 {
        font-size: 2.15rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .proof-grid,
    .home-service-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .industry-content h2,
    .home-cta h2 {
        font-size: 1.75rem;
    }
}
.section-heading .eyebrow,
.industry-content .eyebrow {
    color: #2c3e50;
}

.hero-copy .eyebrow {
    color: #c7d2fe;
}
/* Hero style refinement: inspired by provided reference, but custom */
.hero-home {
    position: relative;
    padding: 140px 0 95px;
    margin-top: 66px;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 8% 8%, rgba(149, 76, 233, 0.7) 0%, rgba(149, 76, 233, 0) 35%),
                radial-gradient(circle at 88% 92%, rgba(129, 75, 229, 0.55) 0%, rgba(129, 75, 229, 0) 30%),
                linear-gradient(135deg, #06060c 0%, #0b0b14 45%, #090713 100%);
    z-index: -2;
}

.hero-home::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 45%, rgba(255, 255, 255, 0.13), transparent 45%);
    z-index: -1;
}

.hero-layout {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 2rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 5.5vw, 4.15rem);
    line-height: 0.98;
    margin-bottom: 1.3rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-copy h1 span {
    display: inline-block;
    color: #a78bfa;
}

.hero-copy .eyebrow {
    color: #f2f2ff;
    letter-spacing: 0.8px;
    margin-bottom: 1.2rem;
}

.hero-intro {
    max-width: 620px;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.87);
    margin-bottom: 1.5rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.45rem 0 1.85rem;
}

.hero-pills span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(90deg, #d1b8ff 0%, #b79bff 100%);
    color: #2d1b52;
    border-radius: 999px;
    padding: 0.56rem 1.02rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-pills i {
    font-size: 0.56rem;
    color: #ffffff;
    background: #7c3aed;
    border-radius: 50%;
}

.hero-actions {
    margin: 0;
}

.hero-actions .btn-primary {
    background: linear-gradient(45deg, #8b5cf6, #6d4ee9);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.35);
}

.hero-actions .btn-outline {
    border-color: rgba(207, 190, 255, 0.75);
    color: #ffffff;
}

.device-stack {
    position: relative;
    min-height: 460px;
}

.laptop-frame {
    position: absolute;
    right: 0;
    top: 22px;
    width: min(100%, 500px);
    background: #0f0f16;
    border: 2px solid rgba(255, 255, 255, 0.26);
    border-radius: 18px;
    overflow: hidden;
    transform: rotate(-7deg);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
}

.laptop-frame img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
}

.phone-frame {
    position: absolute;
    left: 18%;
    top: 0;
    width: 210px;
    background: #050505;
    border: 7px solid #161616;
    border-radius: 38px;
    padding: 14px 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    width: 88px;
    height: 14px;
    border-radius: 8px;
    background: #1b1b1b;
    transform: translateX(-50%);
}

.phone-frame img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

@media (max-width: 1024px) {
    .hero-home {
        padding-top: 128px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .device-stack {
        min-height: 420px;
        margin-top: 1rem;
    }

    .phone-frame {
        left: 10%;
    }
}

@media (max-width: 768px) {
    .hero-home {
        padding: 118px 0 70px;
    }

    .hero-intro {
        font-size: 1.12rem;
    }

    .hero-pills {
        gap: 0.65rem;
    }

    .hero-pills span {
        width: 100%;
        justify-content: center;
    }

    .device-stack {
        min-height: 335px;
    }

    .laptop-frame {
        position: relative;
        transform: none;
        top: auto;
    }

    .laptop-frame img {
        height: 220px;
    }

    .phone-frame {
        width: 138px;
        left: auto;
        right: 10px;
        top: -16px;
        border-radius: 28px;
        padding: 9px 6px;
    }

    .phone-frame::before {
        width: 58px;
        height: 10px;
    }

    .phone-frame img {
        height: 220px;
        border-radius: 18px;
    }
}
/* Light-theme hero override: keeps existing hero text/content unchanged */
.hero-home {
    position: relative;
    padding: 140px 0 95px;
    margin-top: 66px;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 7% 12%, rgba(139, 92, 246, 0.26) 0%, rgba(139, 92, 246, 0) 35%),
        radial-gradient(circle at 85% 85%, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0) 33%),
        linear-gradient(120deg, #eef1ff 0%, #f6f4ff 48%, #f4f8ff 48.2%, #eef7ff 100%);
    z-index: -3;
}

.hero-home::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -25deg,
            rgba(116, 126, 181, 0.08) 0,
            rgba(116, 126, 181, 0.08) 3px,
            transparent 3px,
            transparent 13px
        );
    clip-path: polygon(53% 0, 100% 0, 100% 100%, 44% 100%);
    z-index: -2;
}

.hero-layout {
    position: relative;
}

.hero-layout::before {
    content: '';
    position: absolute;
    left: -2%;
    top: 16%;
    width: 58%;
    height: 56%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(168, 85, 247, 0.24) 0%, rgba(168, 85, 247, 0) 65%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 68%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.22) 0%, rgba(139, 92, 246, 0) 67%);
    filter: blur(0.4px);
    pointer-events: none;
    z-index: 0;
}

.hero-copy,
.hero-media {
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    color: #1f2544;
    text-shadow: none;
}

.hero-copy h1 span {
    color: #7c3aed;
}

.hero-copy .eyebrow {
    color: #4f46e5;
}

.hero-intro {
    color: #374151;
}

.hero-pills span {
    background: linear-gradient(90deg, #ddd6fe 0%, #c4b5fd 100%);
    color: #312e81;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.hero-pills i {
    background: #8b5cf6;
}

.hero-actions .btn-outline {
    border-color: #8b5cf6;
    color: #6d28d9;
    background: rgba(255, 255, 255, 0.7);
}

.hero-actions .btn-outline:hover {
    background: #8b5cf6;
    color: #ffffff;
}

.device-stack {
    min-height: 460px;
}

.laptop-frame {
    background: #f8fafc;
    border: 2px solid rgba(109, 40, 217, 0.28);
    box-shadow: 0 20px 45px rgba(76, 29, 149, 0.2);
}

.phone-frame {
    background: #f3f4f6;
    border: 7px solid #e5e7eb;
    box-shadow: 0 22px 45px rgba(55, 65, 81, 0.22);
}

.phone-frame::before {
    background: #cbd5e1;
}

@media (max-width: 768px) {
    .hero-home::after {
        clip-path: polygon(58% 0, 100% 0, 100% 100%, 45% 100%);
    }

    .hero-layout::before {
        width: 100%;
        left: 0;
        top: 8%;
        height: 40%;
    }
}
/* Footer two-column layout */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0rem;
    text-align: center;
    margin-bottom: 0rem;
}

.footer-section h3 {
    margin-bottom: 0rem;
    font-size: 1.12rem;
    color: #ffffff;
}

.footer-section p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.88);
}

.footer-contact i {
    width: 18px;
    margin-right: 0.5rem;
    color: #a5b4fc;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 0rem;
}

.social-links {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.social-links a[aria-label="LinkedIn"] {
    color: #0A66C2;
}

.social-links a[aria-label="Facebook"] {
    color: #1877F2;
}

.social-links a[aria-label="Instagram"] {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links a[aria-label="Twitter"] {
    color: #1DA1F2;
}

.social-links a[aria-label="YouTube"] {
    color: #FF0000;
}

.social-links a:hover {
    transform: translateY(-2px) scale(1.05);
    text-decoration: none;
}
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact i {
        margin-right: 0.35rem;
    }

    .social-links {
        gap: 0.7rem;
    }

    .social-links a {
        font-size: 1.1rem;
    }
}
/* Center and boost visibility for hero action buttons */
.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.9rem;
    margin: 1.2rem auto 0;
    width: 100%;
}

.hero-actions .btn {
    min-width: 210px;
    text-align: center;
}

.hero-actions .btn-primary {
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(109, 40, 217, 0.32);
}

.hero-actions .btn-outline {
    background: #ffffff;
    color: #6d28d9;
    border-color: #6d28d9;
}

.hero-actions .btn-outline:hover {
    background: #6d28d9;
    color: #ffffff;
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        justify-content: center;
    }

    .hero-actions .btn {
        min-width: 0;
        width: min(100%, 320px);
    }
}
/* Only Book a Consultation button is green */
.hero-actions .consult-btn {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    color: #ffffff;
    border-color: #16a34a;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.28);
}

.hero-actions .consult-btn:hover {
    background: linear-gradient(45deg, #16a34a, #15803d);
    color: #ffffff;
}
/* Premium 5D/6D animated stats cards */
.proof-grid {
    perspective: 1200px;
}

.proof-card {
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --rx: 0deg;
    --ry: 0deg;
    --scale: 1;
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(124, 58, 237, 0.2);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.75) 0%, rgba(245, 247, 255, 0.62) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 24px 40px rgba(99, 102, 241, 0.12),
        0 8px 16px rgba(76, 29, 149, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.95);
    transition:
        transform 900ms var(--ease-premium),
        opacity 900ms var(--ease-premium),
        box-shadow 500ms ease,
        border-color 500ms ease;
    transition-delay: var(--delay, 0ms);
    will-change: transform, opacity;
}

.proof-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(130deg, rgba(168, 85, 247, 0.45), rgba(59, 130, 246, 0.2), rgba(236, 72, 153, 0.25));
    z-index: -2;
    opacity: 0.35;
    filter: blur(16px);
    animation: statGlowPulse 5s ease-in-out infinite;
}

.proof-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.8) 0, rgba(255, 255, 255, 0) 35%),
        linear-gradient(145deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.04) 45%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.proof-card.is-visible {
    opacity: 1;
    transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, 0, 0) scale(var(--scale));
}

.proof-card-content {
    animation: statFloat 6.4s ease-in-out infinite;
    animation-delay: calc(var(--delay, 0ms) + 450ms);
}

.proof-card .stat-value {
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(124, 58, 237, 0.25);
}

.proof-card p {
    font-weight: 600;
    color: #384152;
}

.proof-card:hover {
    border-color: rgba(124, 58, 237, 0.42);
    box-shadow:
        0 30px 52px rgba(99, 102, 241, 0.2),
        0 14px 26px rgba(76, 29, 149, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.proof-card:hover::before {
    opacity: 0.62;
}

@keyframes statGlowPulse {
    0%,
    100% { opacity: 0.28; transform: scale(1); }
    50% { opacity: 0.52; transform: scale(1.03); }
}

@keyframes statFloat {
    0%,
    100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
}

@media (max-width: 768px) {
    .proof-card {
        transform: translate3d(0, 24px, 0) scale(0.97);
    }

    .proof-card-content {
        animation-duration: 5.8s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .proof-card,
    .proof-card-content,
    .proof-card::before {
        animation: none !important;
        transition: none !important;
    }
}

/* Navbar refresh: wider, cleaner, no underline */
header {
    border-bottom: none;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.12);
    padding: 0.95rem 0;
}

header .container,
nav .container {
    width: min(96vw, 1360px);
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 2.05rem;
    font-weight: 800;
}

.nav-links {
    gap: 2.25rem;
}

.nav-links a {
    padding: 0.45rem 0.15rem;
    border-radius: 8px;
    transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.nav-links a:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    header .container,
    nav .container {
        width: min(96vw, 1360px);
    }
}
/* Slightly taller navbar */
header {
    padding: 0.95rem 0;
}
/* Nav link animation + hover effect */
.nav-links a {
    position: relative;
    overflow: hidden;
    transition: color 0.35s ease, transform 0.35s ease, letter-spacing 0.35s ease, background-color 0.35s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.nav-links a:hover {
    color: #5b21b6;
    transform: translateY(-2px);
    letter-spacing: 0.2px;
    background: rgba(118, 75, 162, 0.1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a:active {
    transform: translateY(0);
}
/* Enhanced premium nav animations */
.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0;
    color: #5b4fc7;
    transition:
        color 420ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, rgba(102, 126, 234, 0.18), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 420ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #667eea 0%, #8b5cf6 50%, #764ba2 100%);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

.nav-links a:hover {
    color: #4c1d95;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 22px rgba(52, 73, 94, 0.2);
}

.nav-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    opacity: 1;
    animation: navShimmer 1.15s linear infinite;
}

.nav-links a:active {
    transform: translateY(-1px) scale(1.01);
}

@keyframes navShimmer {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

@media (prefers-reduced-motion: reduce) {
    .nav-links a,
    .nav-links a::before,
    .nav-links a::after {
        animation: none !important;
        transition: none !important;
    }
}
/* Remove nav link glow background layer */
.nav-links a::before {
    display: none !important;
}
/* Force-remove navbar hover glow/background */
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a:active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.nav-links a::before {
    content: none !important;
    display: none !important;
}
/* Global cinematic motion system */
:root {
    --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Slightly darker Techfont logo */
.logo {
    background: linear-gradient(45deg, #4f46e5, #5b21b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.motion-ready section.site-section {
    opacity: 0;
    transform: translate3d(0, 42px, 0);
    transition: opacity 900ms var(--motion-ease), transform 900ms var(--motion-ease);
}

body.motion-ready section.site-section.in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

body.motion-ready .motion-card {
    --mx: 0deg;
    --my: 0deg;
    --ms: 1;
    opacity: 0;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translate3d(0, 26px, 0) scale(0.96);
    transition:
        opacity 820ms var(--motion-ease),
        transform 820ms var(--motion-ease),
        box-shadow 420ms var(--motion-ease),
        border-color 420ms var(--motion-ease);
    transition-delay: var(--stagger, 0ms);
    will-change: transform, opacity;
}

body.motion-ready .motion-card:nth-child(3n + 1) {
    transform: perspective(1000px) translate3d(-20px, 34px, 0) scale(0.95);
}

body.motion-ready .motion-card:nth-child(3n + 2) {
    transform: perspective(1000px) translate3d(0, 34px, 0) scale(0.95);
}

body.motion-ready .motion-card:nth-child(3n + 3) {
    transform: perspective(1000px) translate3d(20px, 34px, 0) scale(0.95);
}

body.motion-ready .motion-card.in-view {
    opacity: 1;
    transform: perspective(1100px) rotateX(var(--mx)) rotateY(var(--my)) translate3d(0, 0, 0) scale(var(--ms));
}

.motion-card {
    position: relative;
    overflow: hidden;
}

.motion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -140%;
    width: 68%;
    height: 100%;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.38) 48%, transparent 100%);
    transform: skewX(-18deg);
    pointer-events: none;
}

.motion-card.in-view::before {
    animation: cardSweep 4.8s ease-in-out infinite;
    animation-delay: calc(var(--stagger, 0ms) + 300ms);
}

.motion-card.in-view {
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: calc(var(--stagger, 0ms) + 500ms);
}

.motion-card:hover {
    --ms: 1.03;
    box-shadow: 0 18px 36px rgba(79, 70, 229, 0.16), 0 8px 18px rgba(91, 33, 182, 0.11);
}

@keyframes cardSweep {
    0% { left: -140%; opacity: 0; }
    14% { opacity: 0.9; }
    40% { left: 170%; opacity: 0; }
    100% { left: 170%; opacity: 0; }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (max-width: 768px) {
    body.motion-ready section.site-section {
        transform: translate3d(0, 24px, 0);
    }

    body.motion-ready .motion-card,
    body.motion-ready .motion-card:nth-child(3n + 1),
    body.motion-ready .motion-card:nth-child(3n + 2),
    body.motion-ready .motion-card:nth-child(3n + 3) {
        transform: translate3d(0, 20px, 0) scale(0.98);
    }

    .motion-card.in-view::before {
        animation-duration: 5.6s;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.motion-ready section.site-section,
    body.motion-ready .motion-card,
    .motion-card::before,
    .motion-card.in-view {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
/* Darker logo tone */
.logo {
    background: linear-gradient(45deg, #312e81, #4c1d95);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Varied section + card motion upgrades */
body.motion-ready section.site-section.motion-up {
    transform: translate3d(0, 46px, 0) scale(0.99);
}

body.motion-ready section.site-section.motion-left {
    transform: translate3d(-48px, 30px, 0) scale(0.985);
}

body.motion-ready section.site-section.motion-right {
    transform: translate3d(48px, 30px, 0) scale(0.985);
}

body.motion-ready section.site-section.motion-zoom {
    transform: translate3d(0, 24px, 0) scale(0.94);
    filter: blur(1px);
}

body.motion-ready section.site-section.in-view.motion-zoom {
    filter: none;
}

.motion-card.motion-card--lift.in-view {
    animation: cardFloat 5.8s ease-in-out infinite;
}

.motion-card.motion-card--orbit.in-view {
    animation: cardOrbit 7.4s ease-in-out infinite;
}

.motion-card.motion-card--drift.in-view {
    animation: cardDrift 6.8s ease-in-out infinite;
}

.motion-card.motion-card--pulse.in-view {
    animation: cardPulseDepth 6.2s ease-in-out infinite;
}

.motion-card.motion-card--orbit::before {
    background: linear-gradient(112deg, transparent 0%, rgba(139, 92, 246, 0.26) 48%, transparent 100%);
}

.motion-card.motion-card--drift::before {
    background: linear-gradient(112deg, transparent 0%, rgba(59, 130, 246, 0.24) 48%, transparent 100%);
}

.motion-card.motion-card--pulse::before {
    background: linear-gradient(112deg, transparent 0%, rgba(236, 72, 153, 0.2) 48%, transparent 100%);
}

@keyframes cardOrbit {
    0%, 100% { transform: translate3d(0, 0, 0) rotateZ(0deg); }
    25% { transform: translate3d(2px, -5px, 0) rotateZ(0.35deg); }
    50% { transform: translate3d(0, -7px, 0) rotateZ(0deg); }
    75% { transform: translate3d(-2px, -4px, 0) rotateZ(-0.35deg); }
}

@keyframes cardDrift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    33% { transform: translate3d(3px, -5px, 0); }
    66% { transform: translate3d(-2px, -6px, 0); }
}

@keyframes cardPulseDepth {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -5px, 0) scale(1.015); }
}

@media (max-width: 768px) {
    body.motion-ready section.site-section.motion-left,
    body.motion-ready section.site-section.motion-right,
    body.motion-ready section.site-section.motion-zoom,
    body.motion-ready section.site-section.motion-up {
        transform: translate3d(0, 24px, 0) scale(0.99);
        filter: none;
    }
}
/* Motion correction: keep layout balanced, animation-only */
body.motion-ready section.site-section,
body.motion-ready section.site-section.motion-up,
body.motion-ready section.site-section.motion-left,
body.motion-ready section.site-section.motion-right,
body.motion-ready section.site-section.motion-zoom {
    transform: translate3d(0, 24px, 0) !important;
    filter: none !important;
    scale: 1 !important;
}

body.motion-ready section.site-section.in-view,
body.motion-ready section.site-section.in-view.motion-up,
body.motion-ready section.site-section.in-view.motion-left,
body.motion-ready section.site-section.in-view.motion-right,
body.motion-ready section.site-section.in-view.motion-zoom {
    transform: translate3d(0, 0, 0) !important;
    filter: none !important;
}

/* Disable continuous heavy card motion that affects visual balance */
.motion-card.in-view,
.motion-card.motion-card--lift.in-view,
.motion-card.motion-card--orbit.in-view,
.motion-card.motion-card--drift.in-view,
.motion-card.motion-card--pulse.in-view {
    animation: none !important;
}

/* Keep cards attractive with smooth entrance + hover only */
body.motion-ready .motion-card {
    transform: translate3d(0, 18px, 0) scale(0.985) !important;
}

body.motion-ready .motion-card.in-view {
    transform: perspective(1100px) rotateX(var(--mx)) rotateY(var(--my)) translate3d(0, 0, 0) scale(var(--ms)) !important;
}

/* Smooth text transitions */
.hero-copy h1,
.hero-intro,
.section-heading h2,
.section-heading .eyebrow,
.service-item h3,
.service-item p,
.testimonial-content p,
.process-card h3,
.process-card p,
.industry-content h2,
.industry-content p,
.home-cta h2,
.home-cta p {
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
                opacity 500ms cubic-bezier(0.22, 1, 0.36, 1),
                color 300ms ease;
}

body.motion-ready section.site-section:not(.in-view) .hero-copy h1,
body.motion-ready section.site-section:not(.in-view) .hero-intro,
body.motion-ready section.site-section:not(.in-view) .section-heading h2,
body.motion-ready section.site-section:not(.in-view) .section-heading .eyebrow,
body.motion-ready section.site-section:not(.in-view) .industry-content h2,
body.motion-ready section.site-section:not(.in-view) .industry-content p,
body.motion-ready section.site-section:not(.in-view) .home-cta h2,
body.motion-ready section.site-section:not(.in-view) .home-cta p {
    opacity: 0;
    transform: translateY(10px);
}

body.motion-ready section.site-section.in-view .hero-copy h1,
body.motion-ready section.site-section.in-view .hero-intro,
body.motion-ready section.site-section.in-view .section-heading h2,
body.motion-ready section.site-section.in-view .section-heading .eyebrow,
body.motion-ready section.site-section.in-view .industry-content h2,
body.motion-ready section.site-section.in-view .industry-content p,
body.motion-ready section.site-section.in-view .home-cta h2,
body.motion-ready section.site-section.in-view .home-cta p {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle interactive text motion */
.service-item:hover h3,
.process-card:hover h3,
.testimonial-item:hover .author-info h4 {
    transform: translateY(-2px);
    color: #4c1d95;
}
/* Stronger visible text animation + transition */
:root {
    --text-ease: cubic-bezier(0.2, 0.9, 0.2, 1);
}

.text-animated,
.hero-copy h1,
.hero-intro,
.hero-pills span,
.section-heading .eyebrow,
.section-heading h2,
.section-heading p,
.industry-content h2,
.industry-content p,
.industry-list li,
.process-card h3,
.process-card p,
.service-item h3,
.service-item p,
.testimonial-content p,
.author-info h4,
.author-info p,
.home-cta h2,
.home-cta p,
.footer-section h3,
.footer-section p {
    transition:
        opacity 760ms var(--text-ease),
        transform 760ms var(--text-ease),
        filter 760ms var(--text-ease),
        color 320ms ease;
    will-change: opacity, transform, filter;
}

body.motion-ready section.site-section:not(.in-view) .hero-copy h1,
body.motion-ready section.site-section:not(.in-view) .hero-intro,
body.motion-ready section.site-section:not(.in-view) .hero-pills span,
body.motion-ready section.site-section:not(.in-view) .section-heading .eyebrow,
body.motion-ready section.site-section:not(.in-view) .section-heading h2,
body.motion-ready section.site-section:not(.in-view) .section-heading p,
body.motion-ready section.site-section:not(.in-view) .industry-content h2,
body.motion-ready section.site-section:not(.in-view) .industry-content p,
body.motion-ready section.site-section:not(.in-view) .industry-list li,
body.motion-ready section.site-section:not(.in-view) .process-card h3,
body.motion-ready section.site-section:not(.in-view) .process-card p,
body.motion-ready section.site-section:not(.in-view) .service-item h3,
body.motion-ready section.site-section:not(.in-view) .service-item p,
body.motion-ready section.site-section:not(.in-view) .testimonial-content p,
body.motion-ready section.site-section:not(.in-view) .author-info h4,
body.motion-ready section.site-section:not(.in-view) .author-info p,
body.motion-ready section.site-section:not(.in-view) .home-cta h2,
body.motion-ready section.site-section:not(.in-view) .home-cta p,
body.motion-ready section.site-section:not(.in-view) .footer-section h3,
body.motion-ready section.site-section:not(.in-view) .footer-section p {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    filter: blur(3px);
}

body.motion-ready section.site-section.in-view .hero-copy h1,
body.motion-ready section.site-section.in-view .hero-intro,
body.motion-ready section.site-section.in-view .hero-pills span,
body.motion-ready section.site-section.in-view .section-heading .eyebrow,
body.motion-ready section.site-section.in-view .section-heading h2,
body.motion-ready section.site-section.in-view .section-heading p,
body.motion-ready section.site-section.in-view .industry-content h2,
body.motion-ready section.site-section.in-view .industry-content p,
body.motion-ready section.site-section.in-view .industry-list li,
body.motion-ready section.site-section.in-view .process-card h3,
body.motion-ready section.site-section.in-view .process-card p,
body.motion-ready section.site-section.in-view .service-item h3,
body.motion-ready section.site-section.in-view .service-item p,
body.motion-ready section.site-section.in-view .testimonial-content p,
body.motion-ready section.site-section.in-view .author-info h4,
body.motion-ready section.site-section.in-view .author-info p,
body.motion-ready section.site-section.in-view .home-cta h2,
body.motion-ready section.site-section.in-view .home-cta p,
body.motion-ready section.site-section.in-view .footer-section h3,
body.motion-ready section.site-section.in-view .footer-section p {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
}

/* Text stagger to make motion more visible */
body.motion-ready section.site-section.in-view .section-heading .eyebrow { transition-delay: 120ms; }
body.motion-ready section.site-section.in-view .section-heading h2 { transition-delay: 220ms; }
body.motion-ready section.site-section.in-view .section-heading p { transition-delay: 320ms; }
body.motion-ready section.site-section.in-view .hero-copy h1 { transition-delay: 140ms; }
body.motion-ready section.site-section.in-view .hero-intro { transition-delay: 260ms; }
body.motion-ready section.site-section.in-view .hero-pills span:nth-child(1) { transition-delay: 340ms; }
body.motion-ready section.site-section.in-view .hero-pills span:nth-child(2) { transition-delay: 420ms; }
body.motion-ready section.site-section.in-view .industry-list li:nth-child(1) { transition-delay: 220ms; }
body.motion-ready section.site-section.in-view .industry-list li:nth-child(2) { transition-delay: 290ms; }
body.motion-ready section.site-section.in-view .industry-list li:nth-child(3) { transition-delay: 360ms; }
body.motion-ready section.site-section.in-view .industry-list li:nth-child(4) { transition-delay: 430ms; }

/* Stronger text hover transitions */
.service-item:hover h3,
.process-card:hover h3,
.testimonial-item:hover .author-info h4,
.industry-list li:hover,
.footer-section p:hover {
    transform: translateY(-3px) scale(1.01);
    color: #4338ca;
}

@media (prefers-reduced-motion: reduce) {
    .text-animated,
    .hero-copy h1,
    .hero-intro,
    .hero-pills span,
    .section-heading .eyebrow,
    .section-heading h2,
    .section-heading p,
    .industry-content h2,
    .industry-content p,
    .industry-list li,
    .process-card h3,
    .process-card p,
    .service-item h3,
    .service-item p,
    .testimonial-content p,
    .author-info h4,
    .author-info p,
    .home-cta h2,
    .home-cta p,
    .footer-section h3,
    .footer-section p {
        transition: none !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
    }
}
/* Slower, more visible scroll animations */
:root {
    --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --text-ease: cubic-bezier(0.2, 0.9, 0.2, 1);
}

body.motion-ready section.site-section {
    transition: opacity 1400ms var(--motion-ease), transform 1400ms var(--motion-ease) !important;
}

body.motion-ready .motion-card {
    transition:
        opacity 1300ms var(--motion-ease),
        transform 1300ms var(--motion-ease),
        box-shadow 520ms var(--motion-ease),
        border-color 520ms var(--motion-ease) !important;
}

.hero-copy h1,
.hero-intro,
.hero-pills span,
.section-heading .eyebrow,
.section-heading h2,
.section-heading p,
.industry-content h2,
.industry-content p,
.industry-list li,
.process-card h3,
.process-card p,
.service-item h3,
.service-item p,
.testimonial-content p,
.author-info h4,
.author-info p,
.home-cta h2,
.home-cta p,
.footer-section h3,
.footer-section p {
    transition:
        opacity 1200ms var(--text-ease),
        transform 1200ms var(--text-ease),
        filter 1200ms var(--text-ease),
        color 340ms ease !important;
}

/* Slightly longer stagger pacing */
body.motion-ready section.site-section.in-view .section-heading .eyebrow { transition-delay: 180ms; }
body.motion-ready section.site-section.in-view .section-heading h2 { transition-delay: 320ms; }
body.motion-ready section.site-section.in-view .section-heading p { transition-delay: 460ms; }
body.motion-ready section.site-section.in-view .hero-copy h1 { transition-delay: 220ms; }
body.motion-ready section.site-section.in-view .hero-intro { transition-delay: 380ms; }
body.motion-ready section.site-section.in-view .hero-pills span:nth-child(1) { transition-delay: 520ms; }
body.motion-ready section.site-section.in-view .hero-pills span:nth-child(2) { transition-delay: 650ms; }
/* Client Feedback sequential slide-in + enhanced hover */
#testimonials .testimonials-grid {
    overflow: hidden;
}

body.motion-ready #testimonials.site-section .testimonial-item {
    opacity: 0;
    transform: translate3d(70px, 0, 0);
}

body.motion-ready #testimonials.site-section.in-view .testimonial-item {
    animation: testimonialSlideIn 850ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.motion-ready #testimonials.site-section.in-view .testimonial-item:nth-child(1) { animation-delay: 120ms; }
body.motion-ready #testimonials.site-section.in-view .testimonial-item:nth-child(2) { animation-delay: 260ms; }
body.motion-ready #testimonials.site-section.in-view .testimonial-item:nth-child(3) { animation-delay: 400ms; }
body.motion-ready #testimonials.site-section.in-view .testimonial-item:nth-child(4) { animation-delay: 540ms; }
body.motion-ready #testimonials.site-section.in-view .testimonial-item:nth-child(5) { animation-delay: 680ms; }
body.motion-ready #testimonials.site-section.in-view .testimonial-item:nth-child(6) { animation-delay: 820ms; }

#testimonials .testimonial-item {
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms ease, border-color 320ms ease;
    border: 1px solid rgba(52, 73, 94, 0.12);
}

#testimonials .testimonial-item:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 22px 45px rgba(79, 70, 229, 0.18), 0 10px 20px rgba(76, 29, 149, 0.12);
    border-color: rgba(52, 73, 94, 0.32);
}

@keyframes testimonialSlideIn {
    0% {
        opacity: 0;
        transform: translate3d(70px, 0, 0);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 768px) {
    body.motion-ready #testimonials.site-section .testimonial-item {
        transform: translate3d(40px, 0, 0);
    }

    #testimonials .testimonial-item:hover {
        transform: translateY(-8px) scale(1.01) !important;
    }
}
/* Fix: testimonials visibility should not depend only on section-level in-view */
body.motion-ready #testimonials.site-section:not(.in-view) .testimonial-item {
    opacity: 0;
    transform: translate3d(70px, 0, 0);
}

body.motion-ready #testimonials.site-section.in-view .testimonial-item,
body.motion-ready #testimonials .testimonial-item.motion-card.in-view {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    animation: testimonialSlideIn 850ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media (max-width: 768px) {
    body.motion-ready #testimonials.site-section:not(.in-view) .testimonial-item {
        transform: translate3d(40px, 0, 0);
    }
}
/* Testimonials: left-to-right staggered slide with circular arc feel */
body.motion-ready #testimonials.site-section:not(.in-view) .testimonial-item,
body.motion-ready #testimonials .testimonial-item.motion-card:not(.in-view) {
    opacity: 0;
    transform: translate3d(-110px, 26px, 0) rotate(-7deg) scale(0.94);
}

body.motion-ready #testimonials.site-section.in-view .testimonial-item,
body.motion-ready #testimonials .testimonial-item.motion-card.in-view {
    opacity: 1 !important;
    animation: testimonialCircularIn 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.motion-ready #testimonials.site-section.in-view .testimonial-item:nth-child(1),
body.motion-ready #testimonials .testimonial-item.motion-card.in-view:nth-child(1) { animation-delay: 120ms; }
body.motion-ready #testimonials.site-section.in-view .testimonial-item:nth-child(2),
body.motion-ready #testimonials .testimonial-item.motion-card.in-view:nth-child(2) { animation-delay: 270ms; }
body.motion-ready #testimonials.site-section.in-view .testimonial-item:nth-child(3),
body.motion-ready #testimonials .testimonial-item.motion-card.in-view:nth-child(3) { animation-delay: 420ms; }
body.motion-ready #testimonials.site-section.in-view .testimonial-item:nth-child(4),
body.motion-ready #testimonials .testimonial-item.motion-card.in-view:nth-child(4) { animation-delay: 570ms; }
body.motion-ready #testimonials.site-section.in-view .testimonial-item:nth-child(5),
body.motion-ready #testimonials .testimonial-item.motion-card.in-view:nth-child(5) { animation-delay: 720ms; }
body.motion-ready #testimonials.site-section.in-view .testimonial-item:nth-child(6),
body.motion-ready #testimonials .testimonial-item.motion-card.in-view:nth-child(6) { animation-delay: 870ms; }

#testimonials .testimonial-item {
    transform-origin: center;
    transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 450ms ease, border-color 320ms ease;
}

#testimonials .testimonial-item:hover {
    transform: translateY(-12px) scale(1.03) rotate(0.4deg) !important;
    box-shadow: 0 24px 48px rgba(79, 70, 229, 0.2), 0 10px 20px rgba(76, 29, 149, 0.14);
    border-color: rgba(52, 73, 94, 0.42);
}

@keyframes testimonialCircularIn {
    0% {
        opacity: 0;
        transform: translate3d(-110px, 26px, 0) rotate(-7deg) scale(0.94);
    }
    45% {
        opacity: 1;
        transform: translate3d(-36px, -12px, 0) rotate(3deg) scale(1.01);
    }
    72% {
        transform: translate3d(-10px, 2px, 0) rotate(-1.2deg) scale(0.995);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
}

@media (max-width: 768px) {
    body.motion-ready #testimonials.site-section:not(.in-view) .testimonial-item,
    body.motion-ready #testimonials .testimonial-item.motion-card:not(.in-view) {
        transform: translate3d(-60px, 16px, 0) rotate(-4deg) scale(0.96);
    }

    #testimonials .testimonial-item:hover {
        transform: translateY(-8px) scale(1.015) rotate(0.2deg) !important;
    }
}
/* Testimonials automatic series slider */
#testimonials .testimonials-grid.auto-series {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

#testimonials .testimonials-grid.auto-series .testimonial-item {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: opacity 500ms ease, transform 500ms ease, box-shadow 350ms ease;
}

#testimonials .testimonials-grid.auto-series .testimonial-item.is-active {
    opacity: 1;
    transform: scale(1);
}

/* Override prior motion rules for slider mode */
body.motion-ready #testimonials.site-section .testimonials-grid.auto-series .testimonial-item,
body.motion-ready #testimonials .testimonials-grid.auto-series .testimonial-item.motion-card,
body.motion-ready #testimonials.site-section.in-view .testimonials-grid.auto-series .testimonial-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

@media (max-width: 768px) {
    #testimonials .testimonials-grid.auto-series .testimonial-item {
        padding-left: 2px;
        padding-right: 2px;
    }
}
/* Global cards: circular entry + left-to-right one-by-one + hover */
body.motion-ready .motion-card {
    opacity: 0;
    transform: translate3d(-90px, 26px, 0) rotate(-8deg) scale(0.95) !important;
    transform-origin: center;
    transition: none !important;
}

body.motion-ready .motion-card.in-view {
    opacity: 1 !important;
    animation: globalCardCircularIn 1150ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
    animation-delay: var(--stagger, 0ms) !important;
}

body.motion-ready .motion-card.in-view:nth-child(4n + 1) { animation-delay: calc(var(--stagger, 0ms) + 80ms) !important; }
body.motion-ready .motion-card.in-view:nth-child(4n + 2) { animation-delay: calc(var(--stagger, 0ms) + 180ms) !important; }
body.motion-ready .motion-card.in-view:nth-child(4n + 3) { animation-delay: calc(var(--stagger, 0ms) + 280ms) !important; }
body.motion-ready .motion-card.in-view:nth-child(4n + 4) { animation-delay: calc(var(--stagger, 0ms) + 380ms) !important; }

.motion-card:hover {
    transform: translateY(-10px) scale(1.03) rotate(0.6deg) !important;
    box-shadow: 0 22px 46px rgba(79, 70, 229, 0.2), 0 10px 22px rgba(76, 29, 149, 0.14) !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
}

@keyframes globalCardCircularIn {
    0% {
        opacity: 0;
        transform: translate3d(-90px, 26px, 0) rotate(-8deg) scale(0.95);
    }
    45% {
        opacity: 1;
        transform: translate3d(-30px, -16px, 0) rotate(3.5deg) scale(1.01);
    }
    72% {
        transform: translate3d(-8px, 4px, 0) rotate(-1.4deg) scale(0.995);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
}

@media (max-width: 768px) {
    body.motion-ready .motion-card {
        transform: translate3d(-45px, 14px, 0) rotate(-4deg) scale(0.97) !important;
    }

    .motion-card:hover {
        transform: translateY(-6px) scale(1.015) rotate(0.3deg) !important;
    }
}
/* Testimonials 3D Coverflow style */
#testimonials .testimonials-grid.coverflow {
    position: relative;
    display: block !important;
    width: 100%;
    height: 440px;
    perspective: 1500px;
    transform-style: preserve-3d;
    overflow: hidden;
    margin-top: 12px;
}

#testimonials .testimonials-grid.coverflow .testimonial-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(34vw, 420px);
    min-height: 260px;
    margin: 0;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    opacity: 1 !important;
    animation: none !important;
    transition:
        transform 820ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 820ms ease,
        box-shadow 420ms ease,
        border-color 320ms ease;
}

#testimonials .testimonials-grid.coverflow .testimonial-item.is-active {
    border-color: rgba(52, 73, 94, 0.4);
    box-shadow: 0 26px 54px rgba(79, 70, 229, 0.24), 0 12px 24px rgba(76, 29, 149, 0.16);
}

/* Override previous testimonial motion rules in coverflow mode */
body.motion-ready #testimonials.site-section .testimonials-grid.coverflow .testimonial-item,
body.motion-ready #testimonials .testimonials-grid.coverflow .testimonial-item.motion-card,
body.motion-ready #testimonials.site-section.in-view .testimonials-grid.coverflow .testimonial-item,
body.motion-ready #testimonials.site-section:not(.in-view) .testimonials-grid.coverflow .testimonial-item {
    opacity: 1 !important;
    animation: none !important;
}

@media (max-width: 1100px) {
    #testimonials .testimonials-grid.coverflow {
        height: 420px;
    }

    #testimonials .testimonials-grid.coverflow .testimonial-item {
        width: min(42vw, 430px);
    }
}

@media (max-width: 768px) {
    #testimonials .testimonials-grid.coverflow {
        height: 390px;
        perspective: 1100px;
    }

    #testimonials .testimonials-grid.coverflow .testimonial-item {
        width: min(84vw, 420px);
        min-height: 220px;
    }
}

/* ============================================
   3D Coverflow Carousel Styles
   ============================================ */

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-track-container {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1500px;
    overflow: visible;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.testimonial-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(44, 62, 80, 0.15);
    width: min(100%, 520px);
    transition: all 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card .testimonial-content p {
    font-size: 1.03rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.8rem;
    font-style: italic;
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .author-info h4 {
    margin: 0;
    color: #1a202c;
    font-size: 1.02rem;
    font-weight: 600;
}

.testimonial-card .author-info p {
    margin: 0.3rem 0 0;
    color: #2c3e50;
    font-size: 0.86rem;
    font-style: normal;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
    transition: all 300ms ease;
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(44, 62, 80, 0.5);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow-left {
    left: 0;
}

.carousel-arrow-right {
    right: 0;
}

/* Carousel Navigation Dots */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.25);
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    padding: 0;
}

.carousel-indicator:hover {
    background: rgba(102, 126, 234, 0.5);
    transform: scale(1.2);
}

.carousel-indicator.current-slide {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scale(1.3);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.4);
}

/* Responsive carousel */
@media (max-width: 900px) {
    .carousel-container {
        padding: 0 50px;
    }
    
    .carousel-track-container {
        height: 360px;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card .testimonial-content p {
        font-size: 0.98rem;
    }
}

@media (max-width: 600px) {
    .carousel-container {
        padding: 0 40px;
    }
    
    .carousel-track-container {
        height: 340px;
    }
    
    .carousel-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.12rem;
    }
    
    .testimonial-card {
        padding: 1.8rem 1.2rem;
        border-radius: 16px;
    }
    
    .testimonial-card .testimonial-content p {
        font-size: 1.12rem;
        margin-bottom: 1.4rem;
    }
    
    .testimonial-card .author-info h4 {
        font-size: 0.98rem;
    }
    
    .testimonial-card .author-info p {
        font-size: 0.8rem;
    }
    
    .carousel-nav {
        gap: 10px;
        margin-top: 1.5rem;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}
/* Testimonials horizontal card slider */
#testimonials .testimonials-grid.h-slider {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: 100%;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

#testimonials .testimonials-grid.h-slider .testimonial-item {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    opacity: 0.82;
    transform: scale(0.985) !important;
    animation: none !important;
    transition: opacity 450ms ease, transform 450ms ease, box-shadow 350ms ease;
}

#testimonials .testimonials-grid.h-slider .testimonial-item.is-active {
    opacity: 1;
    transform: scale(1) !important;
}

#testimonials .testimonials-grid.h-slider .testimonial-item:hover {
    transform: scale(1.01) !important;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.16), 0 8px 18px rgba(76, 29, 149, 0.1);
}

/* Neutralize previous testimonial animation systems in slider mode */
body.motion-ready #testimonials.site-section .testimonials-grid.h-slider .testimonial-item,
body.motion-ready #testimonials.site-section.in-view .testimonials-grid.h-slider .testimonial-item,
body.motion-ready #testimonials .testimonials-grid.h-slider .testimonial-item.motion-card,
body.motion-ready #testimonials.site-section:not(.in-view) .testimonials-grid.h-slider .testimonial-item {
    opacity: 1 !important;
    animation: none !important;
}

/* Testimonials: Apple-style coverflow state rules */
#testimonials .carousel-track-container {
    height: 540px;
    perspective: 1850px;
    overflow: hidden;
}

#testimonials .carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    transform-style: preserve-3d;
}

#testimonials .carousel-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(44vw, 420px);
    height: auto;
    opacity: 0;
    pointer-events: none;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition:
        transform 860ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 620ms ease,
        filter 620ms ease;
}

#testimonials .carousel-slide.is-center,
#testimonials .carousel-slide.is-left,
#testimonials .carousel-slide.is-right {
    opacity: 1;
    pointer-events: auto;
}

#testimonials .carousel-slide.is-center {
    filter: blur(0px);
}

#testimonials .carousel-slide.is-left,
#testimonials .carousel-slide.is-right {
    filter: blur(1.6px);
    opacity: 0.7;
}

#testimonials .carousel-slide.is-hidden-edge {
    opacity: 0.22;
    filter: blur(3.5px);
    pointer-events: none;
}

#testimonials .carousel-slide .testimonial-card {
    width: 100%;
    max-width: 420px;
    min-height: 420px;
    transition: box-shadow 520ms ease, border-color 360ms ease;
}

#testimonials .carousel-slide.is-center .testimonial-card {
    border-color: rgba(52, 73, 94, 0.4);
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.24), 0 14px 26px rgba(76, 29, 149, 0.16);
}

#testimonials .carousel-slide.is-left .testimonial-card,
#testimonials .carousel-slide.is-right .testimonial-card {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

#testimonials .carousel-indicator {
    width: 11px;
    height: 11px;
}

#testimonials .carousel-indicator.current-slide {
    transform: scale(1.35);
}

@media (max-width: 900px) {
    #testimonials .carousel-track-container {
        height: 500px;
    }

    #testimonials .carousel-slide {
        width: min(56vw, 400px);
    }
}

@media (max-width: 600px) {
    #testimonials .carousel-track-container {
        height: 460px;
        perspective: 1200px;
    }

    #testimonials .carousel-slide {
        width: min(80vw, 360px);
    }

    #testimonials .carousel-slide.is-left,
    #testimonials .carousel-slide.is-right {
        opacity: 0.52;
        filter: blur(1.2px);
    }
}



/* Responsive refinements for testimonial coverflow */
#testimonials .carousel-track-container {
    height: clamp(430px, 58vw, 560px);
    overflow: visible;
}

#testimonials .carousel-slide {
    width: clamp(250px, 40vw, 400px);
}

#testimonials .carousel-slide .testimonial-card {
    max-width: 100%;
    min-height: clamp(330px, 44vw, 420px);
    padding: clamp(1.35rem, 2.8vw, 2.2rem) clamp(1rem, 2.2vw, 1.8rem);
}

@media (max-width: 1024px) {
    #testimonials .carousel-container {
        padding: 0 48px;
    }

    #testimonials .carousel-track-container {
        height: clamp(390px, 64vw, 500px);
    }

    #testimonials .carousel-slide {
        width: clamp(250px, 56vw, 390px);
    }

    #testimonials .carousel-slide .testimonial-card {
        min-height: clamp(320px, 52vw, 390px);
    }
}

@media (max-width: 768px) {
    #testimonials .carousel-container {
        padding: 0 38px;
    }

    #testimonials .carousel-track-container {
        height: clamp(340px, 88vw, 460px);
        perspective: 1250px;
    }

    #testimonials .carousel-slide {
        width: clamp(220px, 72vw, 320px);
    }

    #testimonials .carousel-slide .testimonial-card {
        min-height: clamp(300px, 78vw, 360px);
    }

    #testimonials .carousel-slide.is-left,
    #testimonials .carousel-slide.is-right {
        opacity: 0.45;
        filter: blur(1px);
    }
}

@media (max-width: 480px) {
    #testimonials .carousel-container {
        padding: 0 30px;
    }

    #testimonials .carousel-track-container {
        height: clamp(320px, 96vw, 420px);
        perspective: 1000px;
    }

    #testimonials .carousel-slide {
        width: min(84vw, 320px);
    }

    #testimonials .carousel-slide .testimonial-card {
        min-height: 290px;
        padding: 1.2rem 0.9rem;
        border-radius: 14px;
    }

    #testimonials .carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

/* Mobile desktop-parity overrides for testimonial coverflow */
@media (max-width: 768px) {
    #testimonials .carousel-track-container {
        perspective: 1700px;
    }

    #testimonials .carousel-slide.is-left,
    #testimonials .carousel-slide.is-right {
        opacity: 0.7;
        filter: blur(1.6px);
    }
}

@media (max-width: 480px) {
    #testimonials .carousel-track-container {
        perspective: 1600px;
        height: clamp(340px, 96vw, 430px);
    }

    #testimonials .carousel-slide {
        width: min(70vw, 280px);
    }

    #testimonials .carousel-slide .testimonial-card {
        min-height: 300px;
        border-radius: 16px;
    }

    #testimonials .carousel-slide.is-left,
    #testimonials .carousel-slide.is-right {
        opacity: 0.68;
        filter: blur(1.5px);
    }
}


/* Final responsive lock for coverflow: keep side cards visible without horizontal overflow */
#testimonials .carousel-container {
    overflow: hidden;
}

#testimonials .carousel-track-container {
    overflow: hidden;
}

#testimonials .carousel-slide {
    width: clamp(230px, 36vw, 380px);
}

#testimonials .carousel-slide .testimonial-card {
    min-height: clamp(300px, 38vw, 420px);
}

@media (max-width: 1024px) {
    #testimonials .carousel-container {
        padding: 0 28px;
    }

    #testimonials .carousel-slide {
        width: clamp(220px, 43vw, 330px);
    }
}

@media (max-width: 768px) {
    #testimonials .carousel-container {
        padding: 0 18px;
    }

    #testimonials .carousel-track-container {
        height: clamp(330px, 84vw, 430px);
        perspective: 1500px;
    }

    #testimonials .carousel-slide {
        width: clamp(205px, 54vw, 280px);
    }

    #testimonials .carousel-slide .testimonial-card {
        min-height: clamp(270px, 66vw, 330px);
        padding: 1.1rem 0.9rem;
    }

    #testimonials .carousel-slide.is-left,
    #testimonials .carousel-slide.is-right {
        opacity: 0.62;
        filter: blur(1.2px);
    }
}

@media (max-width: 480px) {
    #testimonials .carousel-container {
        padding: 0 10px;
    }

    #testimonials .carousel-track-container {
        height: clamp(300px, 88vw, 390px);
        perspective: 1380px;
    }

    #testimonials .carousel-slide {
        width: clamp(190px, 56vw, 245px);
    }

    #testimonials .carousel-slide .testimonial-card {
        min-height: 250px;
        padding: 1rem 0.8rem;
    }

    #testimonials .carousel-slide.is-left,
    #testimonials .carousel-slide.is-right {
        opacity: 0.58;
        filter: blur(1.1px);
    }

    #testimonials .carousel-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.82rem;
    }
}

/* About + Case Studies + Trust + Clients: section-specific reveal animations */
:root {
    --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* About + Case Studies text fade-up */
body.motion-ready #about.site-section h2,
body.motion-ready #about.site-section .about-text p,
body.motion-ready #case-studies.site-section h2,
body.motion-ready #case-studies.site-section .case-study-content h3,
body.motion-ready #case-studies.site-section .case-study-content > p,
body.motion-ready #trust-badges.site-section h2,
body.motion-ready #clients.site-section h2 {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 900ms var(--reveal-ease), transform 900ms var(--reveal-ease);
}

body.motion-ready #about.site-section.in-view h2,
body.motion-ready #about.site-section.in-view .about-text p,
body.motion-ready #case-studies.site-section.in-view h2,
body.motion-ready #case-studies.site-section.in-view .case-study-content h3,
body.motion-ready #case-studies.site-section.in-view .case-study-content > p,
body.motion-ready #trust-badges.site-section.in-view h2,
body.motion-ready #clients.site-section.in-view h2 {
    opacity: 1;
    transform: translateY(0);
}

body.motion-ready #about.site-section.in-view h2 { transition-delay: 80ms; }
body.motion-ready #about.site-section.in-view .about-text p:nth-of-type(1) { transition-delay: 180ms; }
body.motion-ready #about.site-section.in-view .about-text p:nth-of-type(2) { transition-delay: 300ms; }
body.motion-ready #case-studies.site-section.in-view h2 { transition-delay: 100ms; }

/* Soft zoom image reveal */
body.motion-ready #about.site-section .about-image a,
body.motion-ready #case-studies.site-section .case-study-image .project-image {
    opacity: 0;
    transform: scale(1.08);
    filter: none;
    transition: opacity 1000ms var(--reveal-ease), transform 1200ms var(--reveal-ease);
}

body.motion-ready #about.site-section.in-view .about-image a,
body.motion-ready #case-studies.site-section.in-view .case-study-image .project-image {
    opacity: 1;
    transform: scale(1);
    filter: none;
}

body.motion-ready #about.site-section.in-view .about-image a { transition-delay: 220ms; }
body.motion-ready #case-studies.site-section.in-view .case-study-item:nth-child(1) .project-image { transition-delay: 140ms; }
body.motion-ready #case-studies.site-section.in-view .case-study-item:nth-child(2) .project-image { transition-delay: 260ms; }
body.motion-ready #case-studies.site-section.in-view .case-study-item:nth-child(3) .project-image { transition-delay: 380ms; }

/* Feature icon pop-in */
body.motion-ready #about.site-section .about-features .feature i {
    opacity: 0;
    transform: scale(0.55);
}

body.motion-ready #about.site-section.in-view .about-features .feature i {
    animation: featureIconPop 700ms var(--reveal-ease) both;
}

body.motion-ready #about.site-section.in-view .about-features .feature:nth-child(1) i { animation-delay: 280ms; }
body.motion-ready #about.site-section.in-view .about-features .feature:nth-child(2) i { animation-delay: 420ms; }
body.motion-ready #about.site-section.in-view .about-features .feature:nth-child(3) i { animation-delay: 560ms; }

@keyframes featureIconPop {
    0% {
        opacity: 0;
        transform: scale(0.55);
    }
    62% {
        opacity: 1;
        transform: scale(1.16);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Security & Trust + Trusted by Industry Leaders item reveal */
body.motion-ready #trust-badges.site-section .badge-item,
body.motion-ready #clients.site-section .client-logo {
    opacity: 0;
    transform: translateY(26px) scale(0.94);
    transition: opacity 760ms var(--reveal-ease), transform 760ms var(--reveal-ease);
}

body.motion-ready #trust-badges.site-section.in-view .badge-item,
body.motion-ready #clients.site-section.in-view .client-logo {
    opacity: 1;
    transform: translateY(0) scale(1);
}

body.motion-ready #trust-badges.site-section.in-view .badge-item:nth-child(1),
body.motion-ready #clients.site-section.in-view .client-logo:nth-child(1) { transition-delay: 120ms; }
body.motion-ready #trust-badges.site-section.in-view .badge-item:nth-child(2),
body.motion-ready #clients.site-section.in-view .client-logo:nth-child(2) { transition-delay: 210ms; }
body.motion-ready #trust-badges.site-section.in-view .badge-item:nth-child(3),
body.motion-ready #clients.site-section.in-view .client-logo:nth-child(3) { transition-delay: 300ms; }
body.motion-ready #trust-badges.site-section.in-view .badge-item:nth-child(4),
body.motion-ready #clients.site-section.in-view .client-logo:nth-child(4) { transition-delay: 390ms; }
body.motion-ready #clients.site-section.in-view .client-logo:nth-child(5) { transition-delay: 480ms; }
body.motion-ready #clients.site-section.in-view .client-logo:nth-child(6) { transition-delay: 570ms; }

@media (prefers-reduced-motion: reduce) {
    body.motion-ready #about.site-section h2,
    body.motion-ready #about.site-section .about-text p,
    body.motion-ready #case-studies.site-section h2,
    body.motion-ready #case-studies.site-section .case-study-content h3,
    body.motion-ready #case-studies.site-section .case-study-content > p,
    body.motion-ready #trust-badges.site-section h2,
    body.motion-ready #clients.site-section h2,
    body.motion-ready #about.site-section .about-image a,
    body.motion-ready #case-studies.site-section .case-study-image .project-image,
    body.motion-ready #about.site-section .about-features .feature i,
    body.motion-ready #trust-badges.site-section .badge-item,
    body.motion-ready #clients.site-section .client-logo {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
        transition: none !important;
    }
}



/* Creative Neo Hero (custom, inspired but not copied) */
.neo-hero {
    position: relative;
    padding: 138px 0 98px;
    margin-top: 66px;
    overflow: hidden;
}

.neo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1100px 520px at 8% 12%, rgba(0, 194, 255, 0.18), transparent 58%),
        radial-gradient(900px 430px at 92% 88%, rgba(0, 223, 157, 0.14), transparent 60%),
        linear-gradient(118deg, #eef8ff 0%, #e6f4ff 46%, #f3fbff 100%);
    animation: heroBgShift 12s ease-in-out infinite alternate;
    z-index: -3;
}

.neo-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(108deg, transparent 46%, rgba(54, 240, 255, 0.16) 49%, transparent 52%);
    opacity: 0.7;
    z-index: -2;
    pointer-events: none;
}

.neo-hero .hero-panel {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 1.6rem;
    min-height: 520px;
}

.neo-hero .hero-panel-left {
    color: #0c2b44;
    z-index: 2;
}

.neo-hero .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 800;
    color: #0d5e84;
    margin-bottom: 1rem;
}

.neo-hero .hero-kicker::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0ea5c9;
    box-shadow: 0 0 0 8px rgba(54, 240, 255, 0.15);
}

.neo-hero .hero-panel-left h1 {
    font-size: clamp(2.3rem, 5.7vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.neo-hero .hero-panel-left h1 span {
    color: #0f9ec4;
    text-shadow: 0 0 22px rgba(54, 240, 255, 0.35);
}

.neo-hero .hero-intro {
    max-width: 640px;
    color: #34546c;
    font-size: 1.06rem;
    margin-bottom: 1.55rem;
}

.neo-hero .hero-actions {
    margin: 0 0 1.2rem;
}

.neo-hero .btn-primary {
    background: linear-gradient(45deg, #0ea5c9, #16b67f);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(14, 165, 201, 0.28);
}

.neo-hero .btn-primary:hover {
    box-shadow: 0 14px 36px rgba(14, 165, 201, 0.34);
}

.neo-hero .btn-outline {
    background: linear-gradient(45deg, #1f3d8a, #0d2f6d);
    border-color: #1f3d8a;
    color: #ffffff;
}

.neo-hero .btn-outline:hover {
    background: linear-gradient(45deg, #274a9f, #124082);
    border-color: #274a9f;
    color: #ffffff;
}

.neo-hero .hero-signal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.neo-hero .hero-signal-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(15, 158, 196, 0.25);
    background: rgba(255, 255, 255, 0.7);
    color: #23506b;
    padding: 0.47rem 0.76rem;
    border-radius: 999px;
    font-size: 0.83rem;
    backdrop-filter: blur(5px);
}

.neo-hero .hero-signal-row i {
    color: #0ea5c9;
}

.neo-hero .hero-panel-right {
    position: relative;
    min-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(241, 251, 255, 0.95), rgba(226, 245, 255, 0.9));
    border: 1px solid rgba(15, 158, 196, 0.22);
    box-shadow: 0 20px 46px rgba(20, 63, 92, 0.18);
    transform-style: preserve-3d;
}

.neo-hero .hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(126, 220, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(126, 220, 255, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at center, black 38%, transparent 86%);
    pointer-events: none;
}

.neo-hero .hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
}

.neo-hero .orb-a {
    width: 220px;
    height: 220px;
    top: -50px;
    right: -35px;
    background: rgba(0, 194, 255, 0.32);
    animation: orbFloat 7s ease-in-out infinite;
}

.neo-hero .orb-b {
    width: 170px;
    height: 170px;
    bottom: 12px;
    left: -30px;
    background: rgba(0, 223, 157, 0.28);
    animation: orbFloat 9s ease-in-out infinite reverse;
}

.neo-hero .hero-device-card {
    position: absolute;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(84, 171, 206, 0.36);
    box-shadow: 0 16px 44px rgba(4, 37, 61, 0.28);
    background: #dbf4ff;
}

.neo-hero .hero-device-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.neo-hero .hero-device-main {
    width: clamp(270px, 68%, 430px);
    height: clamp(230px, 66%, 355px);
    left: 8%;
    top: 13%;
    animation: panelFloat 8s ease-in-out infinite;
}

.neo-hero .hero-device-float {
    width: clamp(150px, 34%, 210px);
    height: clamp(205px, 50%, 295px);
    right: 9%;
    bottom: 8%;
    animation: panelFloat 6.6s ease-in-out infinite reverse;
}

.neo-hero .hero-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 158, 196, 0.28);
    background: rgba(255, 255, 255, 0.88);
    color: #1e4d69;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    box-shadow: 0 9px 20px rgba(27, 77, 109, 0.16);
    animation: chipDrift 6s ease-in-out infinite;
}

.neo-hero .chip-one { top: 8%; left: 10%; }
.neo-hero .chip-two { top: 16%; right: 8%; animation-delay: 1.1s; }
.neo-hero .chip-three { bottom: 10%; left: 16%; animation-delay: 2.1s; }

@keyframes heroBgShift {
    from { filter: saturate(0.95) hue-rotate(0deg); }
    to { filter: saturate(1.08) hue-rotate(10deg); }
}

@keyframes panelFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-0.6deg); }
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-18px) translateX(8px); }
}

@keyframes chipDrift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 1024px) {
    .neo-hero .hero-panel {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .neo-hero .hero-panel-right {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .neo-hero {
        padding: 126px 0 78px;
    }

    .neo-hero .hero-panel-left h1 {
        line-height: 1.02;
    }

    .neo-hero .hero-actions {
        flex-direction: column;
    }

    .neo-hero .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .neo-hero .hero-panel-right {
        min-height: 360px;
    }

    .neo-hero .hero-device-main {
        left: 6%;
        top: 14%;
        width: 74%;
        height: 58%;
    }

    .neo-hero .hero-device-float {
        width: 36%;
        height: 50%;
        right: 6%;
        bottom: 8%;
    }

    .neo-hero .hero-chip {
        font-size: 0.72rem;
        padding: 0.38rem 0.58rem;
    }
}

@media (max-width: 520px) {
    .neo-hero .hero-signal-row span {
        font-size: 0.76rem;
        padding: 0.42rem 0.62rem;
    }

    .neo-hero .hero-panel-right {
        min-height: 320px;
    }

    .neo-hero .chip-two {
        right: 4%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .neo-hero::before,
    .neo-hero .hero-glow-orb,
    .neo-hero .hero-device-main,
    .neo-hero .hero-device-float,
    .neo-hero .hero-chip {
        animation: none !important;
    }
}
/* Global professional scroll-trigger animations */
.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    filter: none;
    transition:
        opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 640ms ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: transform, opacity, filter;
}

.scroll-reveal.reveal-text {
    transform: translate3d(0, 24px, 0);
    filter: none;
}

.scroll-reveal.reveal-image {
    transform: translate3d(0, 32px, 0) scale(1.028);
    filter: blur(6px);
}

.scroll-reveal.reveal-card {
    transform: translate3d(0, 22px, 0) scale(0.975);
    filter: blur(2.5px);
}

.scroll-reveal.reveal-pop {
    transform: translate3d(0, 14px, 0) scale(0.93);
    filter: none;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
}

/* Keep testimonial slider functional while using reveal system */
.carousel-slide.scroll-reveal,
.carousel-slide .testimonial-card.scroll-reveal,
.carousel-indicator.scroll-reveal {
    opacity: 1 !important;
    filter: none !important;
}

/* Make Home CTA (Ready to Scale...) more premium */
.home-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.2), transparent 38%),
        radial-gradient(circle at 86% 88%, rgba(255, 255, 255, 0.17), transparent 40%),
        linear-gradient(130deg, #1a6aa0 0%, #0f7d73 45%, #1d4f90 100%);
}

.home-cta::before {
    content: '';
    position: absolute;
    inset: -20% -10%;
    background: linear-gradient(105deg, transparent 44%, rgba(255, 255, 255, 0.26) 50%, transparent 56%);
    animation: ctaSweep 9s ease-in-out infinite;
    pointer-events: none;
}

.home-cta h2 {
    color: #ffffff;
    text-shadow: 0 8px 30px rgba(8, 35, 67, 0.42);
}

.home-cta p {
    color: rgba(245, 255, 255, 0.92);
}

.home-cta .btn-primary {
    background: #ffffff;
    color: #11507d;
    border-color: #ffffff;
}

.home-cta .btn-primary:hover {
    background: #ecfbff;
    color: #0c466f;
}

.home-cta .btn-outline {
    border-color: #ffffff;
    background: #ffffff;
    color: #11507d;
}

.home-cta .btn-outline:hover {
    background: #ecfbff;
    border-color: #ecfbff;
    color: #0c466f;
}

@keyframes ctaSweep {
    0%, 100% { transform: translateX(-14%) skewX(-8deg); opacity: 0.35; }
    50% { transform: translateX(14%) skewX(-8deg); opacity: 0.72; }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal.reveal-text,
    .scroll-reveal.reveal-image,
    .scroll-reveal.reveal-card,
    .scroll-reveal.reveal-pop {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    .home-cta::before {
        animation: none !important;
    }
}

/* Softer animation tuning: Case Study metrics + Trust/Clients cards */
#case-studies .metric h4.scroll-reveal,
#case-studies .metric p.scroll-reveal {
    transform: translate3d(0, 10px, 0);
    filter: none;
    transition-duration: 520ms;
}

#case-studies .metric h4.scroll-reveal.is-visible,
#case-studies .metric p.scroll-reveal.is-visible {
    transform: translate3d(0, 0, 0);
}

#trust-badges .badge-item.scroll-reveal,
#clients .client-logo.scroll-reveal {
    transform: translate3d(0, 14px, 0) scale(0.99);
    filter: blur(0.8px);
    transition-duration: 560ms;
}

#trust-badges .badge-item.scroll-reveal.is-visible,
#clients .client-logo.scroll-reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
}

#trust-badges .badge-item h4.scroll-reveal,
#trust-badges .badge-item p.scroll-reveal,
#clients .client-logo h4.scroll-reveal,
#clients .client-logo p.scroll-reveal,
#clients .client-logo img.scroll-reveal {
    transform: translate3d(0, 8px, 0);
    filter: none;
    transition-duration: 500ms;
}

#trust-badges .badge-item h4.scroll-reveal.is-visible,
#trust-badges .badge-item p.scroll-reveal.is-visible,
#clients .client-logo h4.scroll-reveal.is-visible,
#clients .client-logo p.scroll-reveal.is-visible,
#clients .client-logo img.scroll-reveal.is-visible {
    transform: translate3d(0, 0, 0);
}

/* Final override: no animation on Case Study metrics */
#case-studies .metric.scroll-reveal,
#case-studies .metric h4.scroll-reveal,
#case-studies .metric p.scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
}

/* Final override: Security & Trust minimal blur, no text effect */
#trust-badges .badge-item.scroll-reveal {
    transform: translate3d(0, 8px, 0) scale(0.995);
    filter: blur(0.35px);
    transition-duration: 460ms;
}

#trust-badges .badge-item.scroll-reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
}

#trust-badges .badge-item h4.scroll-reveal,
#trust-badges .badge-item p.scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
}

/* Premium Navbar + Logo redesign */
header {
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.22) !important;
    box-shadow: 0 14px 32px rgba(9, 30, 66, 0.12) !important;
}

header::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #22d3ee 0%, #4f46e5 35%, #14b8a6 70%, #22d3ee 100%);
    background-size: 220% 100%;
    animation: navGlowRail 8s linear infinite;
    opacity: 0.9;
    pointer-events: none;
}

nav .container,
header .container {
    min-height: 64px;
    align-items: center !important;
}

.logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.62rem !important;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(92deg, #0f3f66, #4f46e5 45%, #0ea5a2 88%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGradientDrift 7s ease-in-out infinite;
    text-shadow: none !important;
}

.logo::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 28% 28%, #67e8f9, #4f46e5 62%, #0f172a 100%);
    box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.12), 0 0 18px rgba(34, 211, 238, 0.45);
    animation: logoPulseDot 2.6s ease-in-out infinite;
}

.logo::after {
    content: 'Studio';
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #0f4c73;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.18);
    border-radius: 999px;
    padding: 0.18rem 0.42rem;
    -webkit-text-fill-color: #0f4c73;
}

.nav-links {
    gap: 0.65rem !important;
}

.nav-links a {
    position: relative;
    color: #1d4b71 !important;
    font-weight: 600;
    padding: 0.52rem 0.9rem !important;
    border-radius: 999px;
    transform: none !important;
    transition:
        color 240ms ease,
        background-color 240ms ease,
        box-shadow 240ms ease,
        transform 240ms ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(34, 211, 238, 0.16), rgba(79, 70, 229, 0.13));
    opacity: 0;
    transition: opacity 240ms ease;
    z-index: -1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #14b8a6, #4f46e5, #22d3ee);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #0b2f4b !important;
    box-shadow: 0 6px 16px rgba(15, 76, 115, 0.16);
    transform: translateY(-1px) !important;
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before {
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.hamburger span {
    background: linear-gradient(90deg, #0ea5c9, #4f46e5) !important;
}

@keyframes navGlowRail {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

@keyframes logoGradientDrift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes logoPulseDot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}

@media (max-width: 768px) {
    header {
        background: rgba(255, 255, 255, 0.92) !important;
    }

    .logo {
        font-size: 1.38rem !important;
        gap: 0.45rem;
    }

    .logo::after {
        display: none;
    }

    .nav-links {
        background: rgba(255, 255, 255, 0.96) !important;
        border: 1px solid rgba(99, 102, 241, 0.18) !important;
        border-radius: 14px;
        box-shadow: 0 16px 34px rgba(9, 30, 66, 0.18);
        padding: 0.9rem !important;
    }

    .nav-links a {
        width: 100%;
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    header::before,
    .logo,
    .logo::before {
        animation: none !important;
    }
}

/* Logo cleanup: remove icon + studio tag */
.logo::before,
.logo::after {
    content: none !important;
    display: none !important;
}


/* Navbar line removed + stronger logo */
header::before {
    content: none !important;
    display: none !important;
}

.logo {
    font-size: 2.05rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.8px !important;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.62rem !important;
        font-weight: 900 !important;
    }
}


/* Partners support section */
.partners-support {
    position: relative;
    padding: 92px 0;
    background: linear-gradient(135deg, #f7fbff 0%, #ebf5ff 100%);
    overflow: hidden;
}

.partners-support::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(56, 189, 248, 0.12), transparent 38%),
        radial-gradient(circle at 88% 86%, rgba(99, 102, 241, 0.1), transparent 42%);
    pointer-events: none;
}

.partners-support .container {
    position: relative;
    z-index: 1;
}

.partners-support .section-heading {
    max-width: 980px;
    margin: 0 auto 2.2rem;
}

.partners-support .section-heading h2 {
    color: #11456a;
}

.partners-intro {
    margin: 0.55rem auto 0;
    max-width: 760px;
    color: #3b5e78;
    font-size: 1.12rem;
    line-height: 1.7;
}

.partners-marquee-wrap {
    position: relative;
    border: 1px solid rgba(17, 69, 106, 0.11);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 30px rgba(8, 44, 72, 0.08);
    overflow: hidden;
    margin-top: 1rem;
}

.partners-marquee-wrap::before,
.partners-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 84px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee-wrap::before {
    left: 0;
    background: linear-gradient(90deg, rgba(247, 251, 255, 0.95), rgba(247, 251, 255, 0));
}

.partners-marquee-wrap::after {
    right: 0;
    background: linear-gradient(270deg, rgba(247, 251, 255, 0.95), rgba(247, 251, 255, 0));
}

.partners-marquee {
    display: flex;
    width: max-content;
    animation: partnersSlide 36s linear infinite;
}

.partners-marquee-wrap.reverse .partners-marquee {
    animation-name: partnersSlideReverse;
    animation-duration: 42s;
}

.partners-track {
    display: flex;
    gap: 0.9rem;
    padding: 0.95rem;
}

.partners-track span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0.56rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 69, 106, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #f2f9ff 100%);
    color: #184f75;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1px;
}


@keyframes partnersSlide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes partnersSlideReverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

@media (max-width: 768px) {
    .partners-support {
        padding: 80px 0;
    }

    .partner-chip {
        font-size: 0.9rem;
        padding: 0.58rem 0.9rem;
        gap: 0.52rem;
    }

    .partner-chip i {
        font-size: 0.83rem;
    }
}

/* Partners logos: real icon styling */
.partner-chip {
    display: inline-flex !important;
    align-items: center;
    gap: 0.66rem;
    white-space: nowrap;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 69, 106, 0.15);
    background: linear-gradient(180deg, #ffffff 0%, #f2f9ff 100%);
    color: #184f75;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.1px;
}

.partner-chip i {
    display: none !important;
}

.partner-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: inline-block;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .partner-logo {
        width: 22px;
        height: 22px;
    }
}


/* Partners section: re-enable sliding */
.partners-support .partners-marquee {
    animation: partnersSlide 34s linear infinite !important;
}

.partners-support .partners-marquee-wrap.reverse .partners-marquee {
    animation: partnersSlideReverse 40s linear infinite !important;
}


/* STOP partner logo animation */
.partner-chip,
.partner-chip *,
.partner-chip img,
.partner-chip svg {
  animation: none !important;
  transform: none !important;
  transition: none !important;
}

/* Nav links premium polish */
.nav-links {
    gap: 0.85rem !important;
}

.nav-links a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.58rem 1rem !important;
    border-radius: 999px;
    color: #144769 !important;
    font-weight: 700 !important;
    letter-spacing: 0.15px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(20, 71, 105, 0.1);
    box-shadow: 0 2px 8px rgba(16, 58, 92, 0.06);
    transition:
        color 220ms ease,
        transform 220ms ease,
        box-shadow 220ms ease,
        background-color 220ms ease,
        border-color 220ms ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(34, 211, 238, 0.16), rgba(79, 70, 229, 0.15));
    opacity: 0;
    transition: opacity 220ms ease;
    z-index: -1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 16%;
    right: 16%;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0ea5c9, #4f46e5, #14b8a6);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #0b2f4b !important;
    transform: translateY(-1px) !important;
    border-color: rgba(20, 71, 105, 0.2);
    box-shadow: 0 10px 22px rgba(15, 72, 112, 0.14);
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before {
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .nav-links {
        gap: 0.45rem !important;
    }

    .nav-links a {
        width: 100%;
        justify-content: flex-start;
        border-radius: 10px;
    }
}


/* Nav links bold redesign (different + bigger) */
.nav-links {
    display: flex !important;
    gap: 1.05rem !important;
    padding: 0.4rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(13, 60, 92, 0.14);
    box-shadow: 0 14px 30px rgba(8, 45, 72, 0.12);
}

.nav-links a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.24rem !important;
    border-radius: 999px;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    color: #0f4366 !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,249,255,0.9));
    border: 1px solid rgba(16, 83, 122, 0.2);
    box-shadow: 0 4px 12px rgba(16, 64, 98, 0.1);
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        color 260ms ease,
        border-color 260ms ease,
        box-shadow 260ms ease,
        background 260ms ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(110deg, #13b0d2 0%, #4f46e5 52%, #12b98f 100%);
    opacity: 0;
    transition: opacity 260ms ease;
    z-index: -1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 7px;
    height: 2px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.82);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 14px 24px rgba(47, 90, 152, 0.27);
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before {
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

@media (max-width: 900px) {
    .nav-links {
        gap: 0.7rem !important;
    }

    .nav-links a {
        min-height: 40px;
        padding: 0.62rem 0.94rem !important;
        font-size: 0.87rem !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        width: min(290px, calc(100% - 28px));
        border-radius: 16px;
        padding: 0.75rem !important;
        background: rgba(255, 255, 255, 0.96);
    }

    .nav-links a {
        width: 100%;
        justify-content: flex-start;
        border-radius: 12px;
        text-transform: none;
        letter-spacing: 0.1px;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
    }

    .nav-links a::after {
        display: none;
    }
}


/* Nav links text-only (no button look), bigger font */
.nav-links {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    gap: 1.35rem !important;
}

.nav-links a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-height: auto !important;
    padding: 0.2rem 0.05rem !important;
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
    color: #144769 !important;
    transform: none !important;
}

.nav-links a::before {
    display: none !important;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, #0ea5c9, #4f46e5);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 220ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #0b2f4b !important;
    box-shadow: none !important;
    transform: none !important;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

@media (max-width: 900px) {
    .nav-links {
        gap: 0.9rem !important;
    }

    .nav-links a {
        font-size: 1rem !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        background: rgba(255, 255, 255, 0.96) !important;
        border: 1px solid rgba(13, 60, 92, 0.1) !important;
        box-shadow: 0 10px 24px rgba(8, 45, 72, 0.14) !important;
        border-radius: 14px !important;
        padding: 0.85rem !important;
    }

    .nav-links a {
        width: 100%;
        justify-content: flex-start;
        font-size: 1.02rem !important;
        padding: 0.45rem 0.2rem !important;
    }

    .nav-links a::after {
        left: 0.2rem;
        right: 0.2rem;
        bottom: 0.08rem;
    }
}


/* Nav links animation + enhanced hover */
.nav-links a {
    transition:
        color 240ms ease,
        text-shadow 240ms ease,
        transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
        letter-spacing 240ms ease !important;
    opacity: 0;
    animation: navLinkReveal 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.nav-links li:nth-child(1) a { animation-delay: 70ms; }
.nav-links li:nth-child(2) a { animation-delay: 130ms; }
.nav-links li:nth-child(3) a { animation-delay: 190ms; }
.nav-links li:nth-child(4) a { animation-delay: 250ms; }

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #08314f !important;
    transform: translateY(-2px) !important;
    letter-spacing: 0.32px !important;
    text-shadow: 0 6px 14px rgba(14, 165, 201, 0.24);
}

.nav-links a::after {
    height: 2.5px !important;
    background: linear-gradient(90deg, #0ea5c9, #4f46e5, #14b8a6) !important;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.28);
    transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1), opacity 250ms ease;
    opacity: 0.85;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1) translateY(-1px);
    opacity: 1;
}

@keyframes navLinkReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-links a {
        opacity: 1;
        animation: none;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
        transform: translateX(4px) !important;
        text-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-links a {
        animation: none !important;
        opacity: 1 !important;
        transition: none !important;
        transform: none !important;
    }
}


/* Mobile menu: open only on hamburger click */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
        flex-direction: column !important;
    }

    .nav-links.active {
        display: flex !important;
    }
}

/* Ensure visible hover line on nav links */
.nav-links a::after {
    opacity: 1 !important;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1) !important;
}


/* ==========================================================
   Hero V3 - Premium Split Banner (inspired, custom)
   ========================================================== */
.hero-home.neo-hero {
    position: relative;
    overflow: hidden;
    padding-top: 148px;
    padding-bottom: 112px;
    background:
        radial-gradient(circle at 6% 8%, rgba(146, 79, 255, 0.46) 0%, rgba(146, 79, 255, 0) 28%),
        radial-gradient(circle at 92% 90%, rgba(80, 127, 255, 0.32) 0%, rgba(80, 127, 255, 0) 32%),
        linear-gradient(125deg, #05060d 0%, #0b1020 45%, #141c33 100%) !important;
    border-bottom: 1px solid rgba(134, 156, 255, 0.26);
}

.hero-home.neo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(72deg, transparent 56%, rgba(76, 215, 255, 0.2) 61%, rgba(139, 92, 246, 0.24) 66%, transparent 71%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-home.neo-hero::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    bottom: -240px;
    background: radial-gradient(circle, rgba(155, 90, 255, 0.42) 0%, rgba(155, 90, 255, 0) 68%);
    filter: blur(10px);
    pointer-events: none;
}

.hero-home.neo-hero .hero-panel {
    position: relative;
    background: linear-gradient(156deg, rgba(7, 11, 23, 0.88) 0%, rgba(16, 23, 43, 0.84) 100%) !important;
    border: 1px solid rgba(132, 158, 255, 0.34) !important;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55) !important;
    border-radius: 24px !important;
    overflow: hidden;
}

.hero-home.neo-hero .hero-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    bottom: -80px;
    left: 56%;
    width: 16px;
    background: linear-gradient(180deg, rgba(102, 211, 255, 0.9), rgba(109, 91, 255, 0.88));
    transform: rotate(18deg);
    box-shadow: 0 0 26px rgba(118, 151, 255, 0.45);
    z-index: 1;
    pointer-events: none;
}

.hero-home.neo-hero .hero-panel-left,
.hero-home.neo-hero .hero-panel-right {
    position: relative;
    z-index: 2;
}

.hero-home.neo-hero .hero-panel-left h1,
.hero-home.neo-hero .hero-intro,
.hero-home.neo-hero .hero-kicker {
    color: #ecf2ff !important;
}

.hero-home.neo-hero .hero-panel-left h1 span {
    color: #b99bff !important;
}

.hero-home.neo-hero .hero-kicker {
    color: #cad6ff !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-home.neo-hero .hero-signal-row span {
    background: rgba(138, 97, 255, 0.16) !important;
    border: 1px solid rgba(169, 141, 255, 0.32);
    color: #e6eeff !important;
}

.hero-home.neo-hero .btn-primary {
    background: linear-gradient(96deg, #7e5cff 0%, #4b6dff 54%, #28c6ff 100%) !important;
    box-shadow: 0 14px 30px rgba(89, 103, 255, 0.38) !important;
}

.hero-home.neo-hero .btn-outline {
    background: rgba(19, 29, 58, 0.82) !important;
    border: 1px solid rgba(133, 162, 255, 0.4) !important;
    color: #e8efff !important;
}

.hero-home.neo-hero .btn-outline:hover {
    background: rgba(31, 45, 85, 0.9) !important;
}

.hero-home.neo-hero .hero-panel-right {
    background:
        linear-gradient(160deg, rgba(20, 27, 50, 0.78), rgba(21, 31, 57, 0.75)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 7px, rgba(255, 255, 255, 0.01) 7px 14px);
    border: 1px solid rgba(137, 162, 255, 0.26);
    border-radius: 20px;
}

.hero-home.neo-hero .hero-grid-overlay {
    opacity: 0.42;
}

.hero-home.neo-hero .hero-device-main,
.hero-home.neo-hero .hero-device-float {
    border-color: rgba(169, 145, 255, 0.42) !important;
    box-shadow: 0 14px 30px rgba(2, 7, 18, 0.58) !important;
}

.hero-home.neo-hero .hero-chip {
    background: rgba(14, 23, 46, 0.88) !important;
    color: #dce9ff !important;
    border: 1px solid rgba(128, 156, 255, 0.34) !important;
}

.hero-home.neo-hero .hero-device-main {
    animation: tfHeroFloatA 6.5s ease-in-out infinite;
}

.hero-home.neo-hero .hero-device-float {
    animation: tfHeroFloatB 7.8s ease-in-out infinite;
}

@keyframes tfHeroFloatA {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes tfHeroFloatB {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@media (max-width: 1080px) {
    .hero-home.neo-hero .hero-panel::before {
        left: 53%;
        width: 12px;
    }
}

@media (max-width: 900px) {
    .hero-home.neo-hero {
        padding-top: 126px;
        padding-bottom: 86px;
    }

    .hero-home.neo-hero .hero-panel::before {
        display: none;
    }

    .hero-home.neo-hero .hero-panel {
        background: linear-gradient(156deg, rgba(8, 12, 24, 0.92) 0%, rgba(15, 23, 44, 0.9) 100%) !important;
    }
}

/* ==========================================================
   Hero V4 Layout - Spacious, Premium, Uncluttered
   ========================================================== */
.hero-home.neo-hero {
    padding-top: 164px !important;
    padding-bottom: 112px !important;
}

.hero-home.neo-hero .container {
    max-width: 1320px;
}

.hero-home.neo-hero .hero-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: 3.2rem !important;
    align-items: center;
    padding: 3.1rem 3rem !important;
    border-radius: 28px !important;
}

.hero-home.neo-hero .hero-panel-left {
    padding-right: 0.2rem;
}

.hero-home.neo-hero .hero-kicker {
    margin-bottom: 1rem !important;
}

.hero-home.neo-hero .hero-panel-left h1 {
    font-size: clamp(2.5rem, 4vw, 4.35rem) !important;
    line-height: 1.03;
    margin-bottom: 1.25rem !important;
    letter-spacing: -0.02em;
}

.hero-home.neo-hero .hero-intro {
    font-size: 1.08rem;
    line-height: 1.72;
    max-width: 60ch;
    margin-bottom: 1.8rem !important;
    opacity: 0.94;
}

.hero-home.neo-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.35rem !important;
}

.hero-home.neo-hero .hero-actions .btn {
    min-width: 182px;
    justify-content: center;
}

.hero-home.neo-hero .hero-signal-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 0.7rem 0.8rem;
    align-items: start;
}

.hero-home.neo-hero .hero-signal-row span {
    padding: 0.5rem 0.8rem !important;
    border-radius: 999px;
    font-size: 0.85rem;
}

.hero-home.neo-hero .hero-panel-right {
    min-height: 520px;
    border-radius: 22px;
    padding: 1.15rem;
}

.hero-home.neo-hero .hero-device-main {
    width: 70%;
    height: 78%;
    left: 0;
    top: 14%;
    border-radius: 20px;
}

.hero-home.neo-hero .hero-device-float {
    width: 50%;
    height: 62%;
    right: 0;
    top: 2%;
    border-radius: 18px;
}

.hero-home.neo-hero .hero-chip {
    font-size: 0.78rem;
    padding: 0.44rem 0.7rem;
}

.hero-home.neo-hero .chip-one {
    top: 9%;
    left: 6%;
}

.hero-home.neo-hero .chip-two {
    right: 6%;
    top: 12%;
}

.hero-home.neo-hero .chip-three {
    display: none;
}

.hero-home.neo-hero .hero-grid-overlay {
    opacity: 0.28;
}

@media (max-width: 1140px) {
    .hero-home.neo-hero .hero-panel {
        grid-template-columns: 1fr;
        gap: 2.1rem !important;
        padding: 2.4rem 2rem !important;
    }

    .hero-home.neo-hero .hero-panel-left {
        text-align: center;
    }

    .hero-home.neo-hero .hero-intro {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-home.neo-hero .hero-actions {
        justify-content: center;
    }

    .hero-home.neo-hero .hero-signal-row {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hero-home.neo-hero .hero-panel-right {
        min-height: 430px;
        max-width: 660px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-home.neo-hero {
        padding-top: 128px !important;
        padding-bottom: 78px !important;
    }

    .hero-home.neo-hero .hero-panel {
        padding: 1.7rem 1.25rem !important;
        gap: 1.5rem !important;
        border-radius: 20px !important;
    }

    .hero-home.neo-hero .hero-panel-left h1 {
        font-size: clamp(1.9rem, 8.2vw, 2.55rem) !important;
    }

    .hero-home.neo-hero .hero-intro {
        font-size: 0.97rem;
        line-height: 1.62;
    }

    .hero-home.neo-hero .hero-signal-row {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .hero-home.neo-hero .hero-panel-right {
        min-height: 340px;
        padding: 0.85rem;
    }

    .hero-home.neo-hero .hero-device-main {
        width: 72%;
        height: 76%;
        top: 16%;
    }

    .hero-home.neo-hero .hero-device-float {
        width: 53%;
        height: 59%;
    }

    .hero-home.neo-hero .hero-chip {
        display: none;
    }
}

/* Hero shape removal */
.hero-home.neo-hero .hero-panel::before {
    content: none !important;
    display: none !important;
}


/* Remove shape behind left hero text */
.hero-home.neo-hero::before {
    content: none !important;
    display: none !important;
}

.hero-home.neo-hero {
    background:
        radial-gradient(circle at 92% 90%, rgba(80, 127, 255, 0.26) 0%, rgba(80, 127, 255, 0) 34%),
        linear-gradient(125deg, #05060d 0%, #0b1020 45%, #141c33 100%) !important;
}



/* ==========================================================
   Inner Page Banner Layout (About / Services / Contact only)
   ========================================================== */
.inner-page .inner-page-hero {
    position: relative;
    min-height: 56vh;
    margin-top: 74px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background-size: cover;
    background-position: center;
}

.inner-page .inner-page-hero--about {
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1800&q=80');
}

.inner-page .inner-page-hero--services {
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1800&q=80');
}

.inner-page .inner-page-hero--contact {
    background-image: url('https://images.unsplash.com/photo-1552581234-26160f608093?auto=format&fit=crop&w=1800&q=80');
}

.inner-page .inner-page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(110deg, rgba(8, 13, 28, 0.76), rgba(15, 26, 54, 0.62)),
      radial-gradient(circle at 82% 14%, rgba(87, 117, 255, 0.25), transparent 36%);
}

.inner-page .inner-page-hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    max-width: 840px;
    padding: 0 1rem;
}

.inner-page .inner-page-hero-content h1 {
    color: #ffffff;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 1.08;
    margin-bottom: 0.8rem;
    letter-spacing: 0.02em;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.inner-page .inner-page-hero-content p {
    color: rgba(235, 242, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 66ch;
    margin: 0 auto;
}

.inner-page .about,
.inner-page .services,
.inner-page .contact {
    margin-top: 0 !important;
    padding-top: 88px !important;
}

@media (max-width: 768px) {
    .inner-page .inner-page-hero {
        min-height: 44vh;
        margin-top: 66px;
    }

    .inner-page .inner-page-hero-content p {
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .inner-page .about,
    .inner-page .services,
    .inner-page .contact {
        padding-top: 62px !important;
    }
}

/* Inner-page hero clarity + contact page white background */
.inner-page .inner-page-hero-overlay {
    background: linear-gradient(110deg, rgba(6, 10, 20, 0.44), rgba(6, 10, 20, 0.34)) !important;
}

body.inner-page .contact {
    background: #ffffff !important;
}


/* Contact page visibility fix: high contrast themed card/text */
body.inner-page .contact {
    color: #1d2b3f;
}

body.inner-page .contact .container {
    background: #ffffff;
    border: 1px solid rgba(44, 62, 80, 0.14);
    box-shadow: 0 18px 42px rgba(11, 18, 32, 0.12);
    backdrop-filter: none;
}

body.inner-page .contact h2 {
    color: #0f1b2e;
}

body.inner-page .contact p {
    color: #4d5b70;
    opacity: 1;
}

body.inner-page .contact input,
body.inner-page .contact textarea {
    background: #ffffff;
    color: #11213a;
    border: 1.6px solid #cfdae7;
    box-shadow: none;
    backdrop-filter: none;
}

body.inner-page .contact input::placeholder,
body.inner-page .contact textarea::placeholder {
    color: #7d8ca1;
}

body.inner-page .contact input:focus,
body.inner-page .contact textarea:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.12);
}

body.inner-page .contact .btn {
    background: linear-gradient(135deg, #2c3e50 0%, #3f5670 100%);
    box-shadow: 0 10px 26px rgba(44, 62, 80, 0.26);
}

body.inner-page .contact .btn:hover {
    background: linear-gradient(135deg, #243343 0%, #334a63 100%);
    box-shadow: 0 12px 28px rgba(44, 62, 80, 0.32);
}

body.inner-page .contact #form-status {
    color: #1d2b3f;
    font-weight: 500;
}

/* Navbar code-flow animation (attractive but subtle) */
header {
    overflow: hidden;
}

nav.container,
header nav.container {
    position: relative;
    isolation: isolate;
}

header nav.container::before,
header nav.container::after {
    position: absolute;
    left: -25%;
    width: 150%;
    pointer-events: none;
    z-index: 0;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.16rem;
    white-space: nowrap;
    color: rgba(44, 62, 80, 0.2);
    text-shadow: 0 0 10px rgba(79, 110, 144, 0.18);
}

header nav.container::before {
    content: "{ } < /> function const let var => if ( ) API JSON SQL UI UX 101010 TechFont";
    top: 8px;
    animation: navCodeFlow 19s linear infinite;
}

header nav.container::after {
    content: "&lt;/&gt; className id # include import export build deploy cloud secure data stack";
    bottom: 8px;
    animation: navCodeFlowReverse 24s linear infinite;
    color: rgba(44, 62, 80, 0.16);
}

header .logo,
header .nav-links,
header .hamburger {
    position: relative;
    z-index: 2;
}

@keyframes navCodeFlow {
    0% { transform: translateX(-12%); }
    100% { transform: translateX(12%); }
}

@keyframes navCodeFlowReverse {
    0% { transform: translateX(10%); }
    100% { transform: translateX(-10%); }
}

@media (max-width: 768px) {
    header nav.container::before,
    header nav.container::after {
        font-size: 0.64rem;
        letter-spacing: 0.08rem;
        opacity: 0.72;
    }
}

@media (prefers-reduced-motion: reduce) {
    header nav.container::before,
    header nav.container::after {
        animation: none;
    }
}

/* Navbar jumping characters effect */
header nav.container::before,
header nav.container::after {
    content: none !important;
    animation: none !important;
}

.nav-code-jump {
    position: absolute;
    inset: 6px 180px 6px 170px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.nav-code-jump span {
    position: absolute;
    left: var(--x);
    bottom: 4px;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: rgba(44, 62, 80, 0.24);
    text-shadow: 0 0 12px rgba(76, 108, 144, 0.18);
    animation: navCharJump 2.6s ease-in-out infinite;
    animation-delay: var(--d);
}

@keyframes navCharJump {
    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.28;
    }
    35% {
        transform: translateY(-9px) scale(1.08);
        opacity: 0.62;
    }
    55% {
        transform: translateY(-3px) scale(1.02);
        opacity: 0.42;
    }
}

@media (max-width: 960px) {
    .nav-code-jump {
        inset: 6px 72px 6px 120px;
    }

    .nav-code-jump span {
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    .nav-code-jump {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-code-jump span {
        animation: none;
    }
}

/* Mobile nav stability fix */
@media (max-width: 768px) {
    header {
        height: 96px;
        overflow: visible;
    }

    header .container,
    nav .container {
        min-height: 96px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        z-index: 2000;
        flex-direction: column !important;
        align-items: stretch;
        gap: 0.7rem;
    }

    .nav-links.active {
        display: flex !important;
    }
}

















/* USA page */
.inner-page .inner-page-hero--usa {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80');
}

.usa-page .inner-page-hero-content {
    max-width: 980px;
}

.usa-page .usa-trust-badges {
    margin-top: 1.35rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.usa-page .usa-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #f8fbff;
    font-weight: 600;
    font-size: 0.9rem;
}

.usa-page .usa-trust-badges i {
    color: #ffd66b;
}

.usa-intro {
    padding: 86px 0;
    background: #ffffff;
}

.usa-intro-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.4rem;
    align-items: center;
}

.usa-intro h2 {
    color: #183247;
    font-size: clamp(1.8rem, 2.8vw, 2.35rem);
    line-height: 1.28;
    margin-bottom: 0.9rem;
}

.usa-intro p {
    color: #425466;
}

.usa-check-list {
    list-style: none;
    margin: 0;
    padding: 1.2rem;
    background: linear-gradient(150deg, #f4f9ff 0%, #e8f2ff 100%);
    border: 1px solid #d7e5f7;
    border-radius: 14px;
}

.usa-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #23425d;
    font-weight: 600;
    line-height: 1.5;
}

.usa-check-list li + li {
    margin-top: 0.75rem;
}

.usa-check-list i {
    margin-top: 0.2rem;
    color: #1d6fab;
}

.usa-services {
    padding: 90px 0;
    background: linear-gradient(140deg, #f8fbff 0%, #edf4ff 100%);
}

.usa-service-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.usa-service-category {
    background: #ffffff;
    border: 1px solid #dce8f7;
    border-radius: 14px;
    padding: 1.2rem 1.25rem;
    box-shadow: 0 10px 24px rgba(19, 56, 85, 0.08);
}

.usa-service-category h3 {
    color: #143c5a;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.usa-service-category ol {
    margin: 0;
    padding-left: 1.15rem;
}

.usa-service-category li {
    color: #334e68;
    line-height: 1.5;
}

.usa-service-category li + li {
    margin-top: 0.45rem;
}

.usa-why {
    padding: 86px 0;
    background: #ffffff;
}

.usa-check-list--why {
    max-width: 920px;
    margin: 0 auto;
}

.presence-list li a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.presence-list li a:hover {
    color: #0f4f7a;
}

@media (max-width: 992px) {
    .usa-intro-layout,
    .usa-service-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .usa-intro,
    .usa-services,
    .usa-why {
        padding: 72px 0;
    }

    .usa-page .usa-trust-badges span {
        font-size: 0.84rem;
    }
}

.usa-industries {
    padding: 86px 0;
    background: #ffffff;
}

.usa-industry-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.usa-industry-grid li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    background: linear-gradient(150deg, #f6faff 0%, #ebf3ff 100%);
    border: 1px solid #d6e5f8;
    color: #23425d;
    font-weight: 600;
}

.usa-industry-grid i,
.usa-trust-grid i {
    color: #1d6fab;
}

.usa-client-trust {
    padding: 84px 0;
    background: linear-gradient(140deg, #f8fbff 0%, #edf4ff 100%);
}

.usa-trust-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.usa-trust-grid li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 1rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #dce8f7;
    color: #23425d;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(19, 56, 85, 0.07);
}

/* Disable text animations on USA page except hero section */
body.motion-ready.usa-page section:not(.inner-page-hero) h1,
body.motion-ready.usa-page section:not(.inner-page-hero) h2,
body.motion-ready.usa-page section:not(.inner-page-hero) h3,
body.motion-ready.usa-page section:not(.inner-page-hero) h4,
body.motion-ready.usa-page section:not(.inner-page-hero) p,
body.motion-ready.usa-page section:not(.inner-page-hero) li,
body.motion-ready.usa-page section:not(.inner-page-hero) .eyebrow,
body.motion-ready.usa-page section:not(.inner-page-hero) span,
body.motion-ready.usa-page section:not(.inner-page-hero) a {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
}

@media (max-width: 992px) {
    .usa-industry-grid,
    .usa-trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .usa-industries,
    .usa-client-trust {
        padding: 72px 0;
    }

    .usa-industry-grid,
    .usa-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* USA page layout refinement (triserv-style inspired) */
.usa-service-stack {
    display: grid;
    gap: 1rem;
}

.usa-category-block {
    border: 1px solid #d7e4f3;
    border-radius: 14px;
    background: #ffffff;
    padding: 1.05rem;
    box-shadow: 0 8px 20px rgba(19, 56, 85, 0.07);
}

.usa-category-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.usa-category-head p {
    margin: 0;
    font-weight: 800;
    color: #0f4f7a;
    font-size: 0.96rem;
}

.usa-category-head h3 {
    margin: 0;
    color: #143c5a;
    font-size: 1.08rem;
}

.usa-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.usa-mini-card {
    border: 1px solid #dfebf8;
    border-radius: 11px;
    background: linear-gradient(145deg, #f9fcff 0%, #eef5ff 100%);
    padding: 0.72rem 0.78rem;
}

.usa-mini-card span {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f4f7a;
    margin-bottom: 0.25rem;
}

.usa-mini-card h4 {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #23425d;
}

@media (max-width: 992px) {
    .usa-mini-grid {
        grid-template-columns: 1fr;
    }
}

/* USA layout: mixed (less card-heavy) */
.usa-intro-split {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 1.4rem;
    align-items: center;
}

.usa-inline-points {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.usa-inline-points li {
    display: flex;
    gap: 0.55rem;
    color: #23425d;
    font-weight: 600;
}

.usa-inline-points i,
.usa-industry-list i {
    margin-top: 0.2rem;
    color: #1d6fab;
}

.usa-intro-media,
.usa-industries-media {
    margin: 0;
}

.usa-intro-media img,
.usa-industries-media img {
    width: 100%;
    border-radius: 14px;
    display: block;
    box-shadow: 0 14px 30px rgba(19, 56, 85, 0.15);
}

.usa-service-listing {
    border-top: 1px solid #d8e5f4;
}

.usa-service-row {
    display: grid;
    grid-template-columns: 0.34fr 0.66fr;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid #d8e5f4;
}

.usa-service-meta p {
    margin: 0 0 0.2rem;
    color: #0f4f7a;
    font-weight: 700;
    font-size: 0.85rem;
}

.usa-service-meta h3 {
    margin: 0;
    color: #143c5a;
    font-size: 1.08rem;
}

.usa-service-lines {
    margin: 0;
    padding-left: 1.1rem;
    columns: 2;
    column-gap: 1.6rem;
}

.usa-service-lines li {
    margin-bottom: 0.36rem;
    color: #334e68;
    break-inside: avoid;
}

.usa-industries-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.3rem;
    align-items: center;
}

.usa-left-heading {
    text-align: left;
    margin-bottom: 1rem;
}

.usa-left-heading .eyebrow,
.usa-left-heading h2,
.usa-left-heading p {
    text-align: left;
}

.usa-industry-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem 1rem;
}

.usa-industry-list li {
    display: flex;
    gap: 0.52rem;
    color: #23425d;
    font-weight: 600;
}

.usa-trust-strip {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.2rem;
    align-items: center;
}

.usa-trust-inline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.usa-trust-inline li {
    border-left: 3px solid #1d6fab;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.8);
}

.usa-trust-inline strong {
    display: block;
    color: #143c5a;
    font-size: 1.15rem;
}

.usa-trust-inline span {
    color: #425466;
    font-weight: 600;
}

@media (max-width: 992px) {
    .usa-intro-split,
    .usa-service-row,
    .usa-industries-split,
    .usa-trust-strip {
        grid-template-columns: 1fr;
    }

    .usa-service-lines {
        columns: 1;
    }

    .usa-industry-list,
    .usa-trust-inline {
        grid-template-columns: 1fr;
    }
}

/* USA services premium refresh */
.usa-services--premium {
    background:
        radial-gradient(circle at 10% 14%, rgba(66, 133, 244, 0.12), transparent 40%),
        radial-gradient(circle at 88% 82%, rgba(14, 116, 144, 0.1), transparent 45%),
        linear-gradient(140deg, #f8fbff 0%, #eef5ff 100%);
}

.usa-services-top {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.15rem;
}

.usa-services-media {
    margin: 0;
}

.usa-services-media img {
    width: 100%;
    display: block;
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(18, 53, 81, 0.18);
}

.usa-service-highlights {
    list-style: none;
    margin: 0.9rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.usa-service-highlights li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    color: #1f4562;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #d6e5f5;
    border-radius: 999px;
    padding: 0.42rem 0.68rem;
    font-size: 0.86rem;
}

.usa-service-highlights i {
    color: #1b75b2;
}

.usa-services--premium .usa-service-listing {
    border: 1px solid #d5e3f4;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(17, 51, 79, 0.1);
}

.usa-services--premium .usa-service-row {
    padding: 1.15rem 1.2rem;
    border-bottom: 1px solid #e3edf8;
    position: relative;
}

.usa-services--premium .usa-service-row:last-child {
    border-bottom: 0;
}

.usa-services--premium .usa-service-meta p {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(150deg, #0f5d93 0%, #1c82c4 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.83rem;
    margin-bottom: 0.55rem;
}

.usa-services--premium .usa-service-meta h3 {
    font-size: 1.14rem;
}

.usa-services--premium .usa-service-lines {
    list-style: none;
    padding-left: 0;
    margin: 0;
    columns: 2;
    column-gap: 0.75rem;
}

.usa-services--premium .usa-service-lines li {
    break-inside: avoid;
    margin-bottom: 0.48rem;
    padding: 0.46rem 0.62rem;
    border-radius: 10px;
    background: #f4f9ff;
    border: 1px solid #deebf8;
    color: #23425d;
    font-weight: 500;
}

.usa-services--premium .usa-service-lines li::before {
    content: '\2713\00a0';
    color: #1c7ab8;
    font-weight: 700;
}

@media (max-width: 992px) {
    .usa-services-top {
        grid-template-columns: 1fr;
    }

    .usa-service-highlights {
        grid-template-columns: 1fr;
    }

    .usa-services--premium .usa-service-lines {
        columns: 1;
    }
}

/* USA nav CTA */
.usa-page .nav-links a.nav-talk-btn {
    background: linear-gradient(135deg, #0f5d93 0%, #1c82c4 100%);
    color: #ffffff;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 93, 147, 0.25);
    box-shadow: 0 8px 18px rgba(15, 93, 147, 0.24);
}

.usa-page .nav-links a.nav-talk-btn:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 93, 147, 0.3);
}

/* Force USA nav Let's Talk as button */
.usa-page .nav-links a.nav-talk-btn,
.usa-page .nav-links a.nav-talk-btn:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #0f5d93 0%, #1c82c4 100%) !important;
    color: #ffffff !important;
    padding: 0.56rem 1rem !important;
    border-radius: 999px !important;
    border: 1px solid rgba(15, 93, 147, 0.35) !important;
    box-shadow: 0 10px 22px rgba(15, 93, 147, 0.28) !important;
    text-shadow: none !important;
    opacity: 1 !important;
    animation: none !important;
    letter-spacing: 0 !important;
}

.usa-page .nav-links a.nav-talk-btn::before,
.usa-page .nav-links a.nav-talk-btn::after {
    content: none !important;
    display: none !important;
}

.usa-page .nav-links a.nav-talk-btn:hover,
.usa-page .nav-links a.nav-talk-btn:focus-visible {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0d4f7d 0%, #166fa9 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 12px 24px rgba(15, 93, 147, 0.34) !important;
}

@media (max-width: 768px) {
    .usa-page .nav-links a.nav-talk-btn {
        width: fit-content !important;
        min-width: 126px;
        padding: 0.58rem 1rem !important;
    }
}

/* USA services nav dropdown */
.usa-page .nav-links .services-dropdown {
    position: relative;
}

.usa-page .nav-links .services-dropdown > a {
    cursor: pointer;
}

.usa-page .services-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: min(420px, 88vw);
    max-height: none;
    overflow: visible;
    list-style: none;
    margin: 0;
    padding: 0.55rem;
    display: none;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    background: #ffffff;
    border: 1px solid #d9e6f5;
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(18, 53, 81, 0.2);
    z-index: 1200;
}

.usa-page .services-dropdown:hover .services-dropdown-menu,
.usa-page .services-dropdown:focus-within .services-dropdown-menu {
    display: grid;
}

.usa-page .services-dropdown-menu li {
    margin: 0;
}

.usa-page .services-dropdown-menu a {
    display: block;
    padding: 0.48rem 0.58rem !important;
    border-radius: 8px;
    font-size: 0.86rem;
    line-height: 1.35;
    color: #1e3f5c !important;
    background: #f8fbff;
    border: 1px solid #e4edf8;
    text-decoration: none;
}

.usa-page .services-dropdown-menu a:hover,
.usa-page .services-dropdown-menu a:focus-visible {
    background: #eef6ff;
    border-color: #c9ddf4;
    color: #0f4f7a !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .usa-page .services-dropdown-menu {
        position: static;
        width: 100%;
        max-height: 260px;
        margin-top: 0.5rem;
        grid-template-columns: 1fr;
    }
}

/* USA service anchor positioning */
#usa-services,
.usa-service-row {
    scroll-margin-top: 110px;
}

/* Fix USA services dropdown clipping under fixed header */
.usa-page header,
.usa-page nav.container,
.usa-page header nav.container,
.usa-page .nav-links,
.usa-page .nav-links li,
.usa-page .services-dropdown {
    overflow: visible !important;
}

.usa-page .services-dropdown {
    position: relative;
}

.usa-page .services-dropdown-menu {
    top: calc(100% + 12px) !important;
    z-index: 3500 !important;
}

@media (max-width: 768px) {
    .usa-page .services-dropdown-menu {
        z-index: 2100 !important;
    }
}


/* Final override: show all 4 USA service categories */
.usa-page .services-dropdown {
    position: relative !important;
}

.usa-page .services-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    min-width: 360px;
    width: max-content;
    max-width: 92vw;
    max-height: none !important;
    overflow: visible !important;
    display: none !important;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.55rem !important;
    margin-top: 0 !important;
    background: #ffffff !important;
    border: 1px solid #d9e6f5 !important;
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(18, 53, 81, 0.2);
    z-index: 5000 !important;
}

.usa-page .services-dropdown:hover .services-dropdown-menu,
.usa-page .services-dropdown:focus-within .services-dropdown-menu {
    display: flex !important;
}

.usa-page .services-dropdown-menu li {
    width: 100%;
}

.usa-page .services-dropdown-menu a {
    display: block;
    width: 100%;
    white-space: normal;
}

@media (max-width: 768px) {
    .usa-page .services-dropdown-menu {
        position: static !important;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        z-index: 2100 !important;
    }
}

/* USA services dropdown plain text style */
.usa-page .services-dropdown-menu {
    padding: 0.4rem 0.5rem !important;
}

.usa-page .services-dropdown-menu a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0.38rem 0.2rem !important;
    border-radius: 0 !important;
    color: #1e3f5c !important;
    font-weight: 500;
}

.usa-page .services-dropdown-menu a:hover,
.usa-page .services-dropdown-menu a:focus-visible {
    background: transparent !important;
    color: #0f4f7a !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Final fix: normal weight + balanced visible dropdown */
.usa-page .services-dropdown {
    position: relative !important;
}

.usa-page .services-dropdown-menu {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
    min-width: 360px !important;
    max-width: min(420px, 92vw) !important;
    width: max-content !important;
    padding: 0.45rem 0.65rem !important;
}

.usa-page .services-dropdown-menu li,
.usa-page .services-dropdown-menu a {
    font-weight: 400 !important;
}

.usa-page .services-dropdown-menu a {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
}

@media (max-width: 768px) {
    .usa-page .services-dropdown-menu {
        right: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Remove underline from USA services dropdown links */
.usa-page .services-dropdown-menu a,
.usa-page .services-dropdown-menu a:hover,
.usa-page .services-dropdown-menu a:focus-visible {
    text-decoration: none !important;
}

/* Triserv-style USA services layout */
.usa-services--triserv .usa-service-listing {
    border: 1px solid #d4e2f2;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(16, 53, 84, 0.1);
    overflow: hidden;
}

.usa-services--triserv .usa-service-block {
    padding: 1.2rem;
    border-bottom: 1px solid #e4edf8;
}

.usa-services--triserv .usa-service-block:last-child {
    border-bottom: 0;
}

.usa-services--triserv .usa-service-block-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
}

.usa-services--triserv .usa-service-block-head p {
    margin: 0;
    font-weight: 800;
    color: #0f5b90;
    font-size: 0.94rem;
}

.usa-services--triserv .usa-service-block-head h3 {
    margin: 0;
    font-size: 1.08rem;
    color: #153d5b;
}

.usa-services--triserv .usa-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.usa-services--triserv .usa-service-point {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    padding: 0.62rem 0.7rem;
    border: 1px solid #dde9f7;
    border-radius: 10px;
    background: linear-gradient(160deg, #f9fcff 0%, #f1f7ff 100%);
}

.usa-services--triserv .usa-service-point span {
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f5b90;
    margin-top: 0.1rem;
}

.usa-services--triserv .usa-service-point h4 {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.4;
    color: #264861;
    font-weight: 500;
}

@media (max-width: 992px) {
    .usa-services--triserv .usa-service-grid {
        grid-template-columns: 1fr;
    }
}

/* USA services non-card linear layout */
.usa-services--premium.usa-services--triserv .usa-service-listing--linear {
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.usa-service-listing--linear .usa-service-line {
    display: grid;
    grid-template-columns: 0.33fr 0.67fr;
    gap: 1.2rem;
    padding: 1.25rem 0;
    border-top: 1px solid #d7e5f4;
}

.usa-service-listing--linear .usa-service-line:last-child {
    border-bottom: 1px solid #d7e5f4;
}

.usa-service-line-title p {
    margin: 0 0 0.3rem;
    color: #0f5b90;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.usa-service-line-title h3 {
    margin: 0;
    color: #153d5b;
    font-size: 1.12rem;
    line-height: 1.35;
}

.usa-service-line-list {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 1.6rem;
}

.usa-service-line-list li {
    break-inside: avoid;
    margin: 0 0 0.52rem;
    color: #27465f;
    font-weight: 500;
    line-height: 1.45;
}

.usa-service-line-list li::before {
    content: '\2022';
    color: #1b75b2;
    margin-right: 0.48rem;
}

@media (max-width: 992px) {
    .usa-service-listing--linear .usa-service-line {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .usa-service-line-list {
        columns: 1;
    }
}

/* USA services refinement: improved hierarchy and rhythm */
.usa-services--premium.usa-services--triserv {
    position: relative;
}

.usa-services--premium.usa-services--triserv::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(15, 93, 147, 0.08), transparent 34%),
        radial-gradient(circle at 92% 84%, rgba(28, 130, 196, 0.07), transparent 38%);
    pointer-events: none;
}

.usa-services--premium.usa-services--triserv .container {
    position: relative;
    z-index: 1;
}

.usa-service-listing--linear {
    margin-top: 0.85rem;
    border-top: 1px solid #cddff1;
}

.usa-service-listing--linear .usa-service-line {
    grid-template-columns: 0.3fr 0.7fr;
    gap: 1.4rem;
    padding: 1.45rem 1rem;
    border-top: 0;
    border-bottom: 1px solid #dbe8f6;
    background: transparent;
}

.usa-service-listing--linear .usa-service-line:nth-child(odd) {
    background: rgba(255, 255, 255, 0.62);
}

.usa-service-listing--linear .usa-service-line:nth-child(even) {
    background: rgba(243, 249, 255, 0.72);
}

.usa-service-line-title {
    border-left: 3px solid #1b75b2;
    padding-left: 0.78rem;
}

.usa-service-line-title p {
    margin: 0 0 0.26rem;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    color: #0f5b90;
}

.usa-service-line-title h3 {
    font-size: 1.16rem;
}

.usa-service-line-list {
    columns: 2;
    column-gap: 2rem;
}

.usa-service-line-list li {
    margin: 0 0 0.58rem;
    padding-left: 0.2rem;
    line-height: 1.52;
}

.usa-service-line-list li::before {
    margin-right: 0.56rem;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .usa-service-listing--linear .usa-service-line {
        grid-template-columns: 1fr;
        gap: 0.72rem;
        padding: 1rem 0.5rem;
    }

    .usa-service-line-title {
        border-left-width: 2px;
        padding-left: 0.6rem;
    }

    .usa-service-line-list {
        columns: 1;
    }
}

/* Global nav link underline: same as About heading */
header .nav-links li > a {
  position: relative !important;
  display: inline-block !important;
  text-decoration: none !important;
  overflow: visible !important;
}

header .nav-links li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  transform: scaleX(0) !important;
  transform-origin: left;
  transition: transform .22s ease !important;
}

header .nav-links li > a:hover::after,
header .nav-links li > a:focus-visible::after,
header .nav-links li > a[aria-current="page"]::after {
  transform: scaleX(1) !important;
}


/* Navbar logo + text */
header .logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

header .logo .logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
}

@media (max-width: 768px) {
  header .logo .logo-icon {
    width: 28px;
    height: 28px;
  }
}
