 
    :root {
    /* Complementary colors to the HAEGL logo */
    --primary-red: #e63946;
    --dark-red: #9d0208;
    --accent-gold: #ffb703;
    --dark-blue: #1d3557;
    --light-blue: #457b9d;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #adb5bd;
    --dark-gray: #343a40;
    --black: #212529;
    --white: #ffffff;
    /* Adding dark tech color */
    --tech-dark: #0a192f;
    --font-family: Monument Grotesk, Fragment Mono, monospace ;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-color: var(--off-white);
}

.container {
    max-width: 90% ;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Grid Background with fading pattern */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(233, 236, 239, 0.8) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(233, 236, 239, 0.8) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
    /* Add fading effect to the grid */
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 70%);
}

/* Neural network background with dark tech color hint */
.ai-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-color: rgba(10, 25, 47, 0.03); /* Hint of dark tech color */
    overflow: hidden;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-red);
}

.nav-buttons {
    display: flex;
    align-items: center;
}

.language-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 15px;
}

.login-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 15px;
    font-weight: 500;
}

.contact-btn {
    background: none;
    border: 1px solid var(--dark-gray);
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    margin-right: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.contact-btn:hover {
    background-color: var(--light-gray);
}

.demo-btn {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.demo-btn:hover {
    background: var(--dark-red);
}






/* Hero Section */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--black);
    font-weight: 700;
}

.highlight {
    color: var(--accent-gold);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.primary-btn {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.primary-btn:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.primary-btn svg {
    width: 18px;
    height: 18px;
}

.secondary-btn {
    background: var(--white);
    color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.secondary-btn:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.stats-container {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.stat-item h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-item p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Hero Card */
.hero-card {
    flex: 1;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 450px;
}

.card-header {
    background: var(--off-white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--light-gray);
}

.card-header h3 {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.live-demo {
    background: var(--light-blue);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-content {
    padding: 30px;
}

.card-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.chart-placeholder {
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
}

.bar {
    width: 40px;
    height: 100px;
    background: var(--light-gray);
    border-radius: 4px;
    position: relative;
    transition: height 0.5s ease;
}

.bar.tall {
    height: 160px;
    background: var(--accent-gold);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

section:nth-child(odd) {
    background-color: var(--white);
}

section:nth-child(even) {
    background-color: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Why HAEGL Section */
.why-haegl-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.why-haegl-text {
    flex: 1;
}

.why-haegl-image {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.why-haegl-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    color: var(--white);
    font-weight: 500;
}

.why-haegl-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.why-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon svg {
    color: var(--white);
    width: 24px;
    height: 24px;
}

.why-text h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--dark-gray);
}

/* Team Section */
/* .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.team-member {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 240px;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
     padding: 12px 16px 4px;
    font-size: 1.3rem;
    color: var(--dark-gray);
    
}

.member-position {
    /* padding: 0 20px; 
    color: var(--primary-red);
    font-weight: 500;
     font-size: 0.88rem; 
    margin-bottom: 10px; 
}

.member-bio {
    padding: 0 16px 16px; font-size: 0.88rem;
}

.member-social {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

.member-social a {
    color: var(--dark-gray);
    transition: color 0.3s;
}

.member-social a:hover {
    color: var(--primary-red);
}

.team-cta {
    text-align: center;
    margin-top: 40px;
}

.team-cta p {
    margin-bottom: 15px;
    font-size: 1.2rem;
}*/

/* Clients Section */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.client-logo {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.client-logo:hover {
    transform: scale(1.05);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

.client-testimonials {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-red);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
}

.client-name {
    font-weight: 600;
    color: var(--dark-gray);
}

.client-position {
    color: var(--dark-gray);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Achievements Section */
.achievements-timeline {
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--medium-gray);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-date {
    position: absolute;
    top: 0;
    width: 80px;
    height: 40px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: 0;
}

.timeline-item:nth-child(even) .timeline-date {
    left: 0;
}

.timeline-content {
    width: 45%;
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--white);
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.achievements-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
}

.achievement-stat {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 200px;
}

.achievement-stat h3 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

/* Tech Stack Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.tech-item {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.tech-item:hover {
    transform: translateY(-10px);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tech-icon svg {
    color: var(--white);
    width: 30px;
    height: 30px;
}

.tech-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--dark-gray);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #cbcbcb, #f5f7fa);
    position: relative;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #cbcbcb, #f5f7fa);
    position: relative;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .primary-btn {
    background-color: var(--white);
    color: var(--primary-red);
    font-weight: 600;
}

.cta .primary-btn:hover {
    background-color: var(--off-white);
}
/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 72px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #383131;
}
.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    text-decoration: none;
    color: rgb(15 0 0);
    transition: color 0.3s;
}


.footer-column a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #2e0404;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--accent-gold);
}

/* Contact Page Styles */
.contact-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #090578, #342d6d);
    color: var(--white);
    position: relative; /* Required for absolute positioning inside */
}

.contact-hero .section-header {
    margin-bottom: 0;
}

.contact-hero h1 {
    color: var(--white);
    
}

.contact-hero p {
    color: var(--white);
    opacity: 0.9;
}

.contact-main {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-card h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--dark-gray);
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item svg {
    color: var(--primary-red);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.office-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.office-tab {
    background: var(--light-gray);
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.office-tab.active {
    background: var(--primary-red);
    color: var(--white);
}

.office-content {
    display: none;
}

.office-content.active {
    display: block;
}

.office-content p {
    margin-bottom: 10px;
}

.contact-social h3 {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-form-container {
    width: 100%;
}

.contact-form-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form-card h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--dark-gray);
}

.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--primary-red);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Map Section */
.map-section {
    background-color: var(--white);
}

.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--light-gray);
    background-image: url('map-placeholder.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.map-pin {
    color: var(--primary-red);
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--off-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin: 0;
}

.faq-question svg {
    color: var(--primary-red);
    transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive Styles */
@media (max-width: 90%) {
    h1 {
        font-size: 2.8rem;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-card {
        max-width: 100%;
    }

    .why-haegl-content {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav, .nav-buttons {
        display: none;
    }

    .main-nav.active, .nav-buttons.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    .main-nav.active li {
        margin: 10px 0;
    }

    .nav-buttons.active button {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 2.2rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .achievements-timeline::before {
        left: 20px;
    }

    .timeline-item {
        justify-content: flex-start !important;
    }

    .timeline-date {
        left: 0 !important;
        right: auto !important;
    }

    .timeline-content {
        width: 80%;
        margin-left: 50px;
    }

    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        margin-top: 30px;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        margin-top: 20px;
    }
}

/* Advanced AI Animation Styles */

/* Neural Network Canvas */
.neural-network-canvas {
    filter: blur(1px);
}

/* Data Flow Canvas */
.data-flow-canvas {
    filter: blur(0.5px);
}

/* Binary Stream Animation */
.binary-stream {
    animation: fadeInOut 15s infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { opacity: 0; }
}

/* Error styling for form validation */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
}

/* Pulse animation for CTA buttons */
.primary-btn {
    position: relative;
    overflow: hidden;
}

.primary-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.primary-btn:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0) translate(-50%, -50%);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20) translate(-50%, -50%);
        opacity: 0;
    }
}

/* Data visualization animation for stats */
.stat-item h2 {
    position: relative;
}

.stat-item h2::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 1.5s ease;
}

.stat-item.animate h2::before {
    width: 100%;
}

/* Neural network node pulse effect */
@keyframes nodePulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Add this to your HTML file to include the animation styles */
