:root {
    --primary-color: #00A859;
    --secondary-color: #008F4C;
    --accent-color: #33C17E;
    --text-color: #333;
    --text-light: #666;
    --text-dark: #111;
    --light-bg: #f8f9fa;
    --dark-bg: #1A1A1A;
    --gray-bg: #f0f2f5;
    --border-radius: 6px;
    --box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --section-padding: 100px 0;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Inter', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #fff;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;    
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--heading-font); 
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-light {
    background-color: #fff;
    border-color: #e9ecef;
    color: var(--text-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--heading-font);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3.2rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    margin-bottom: 2rem;
    letter-spacing: -0.3px;
    padding-left: 0;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 0;
}

section {
    padding: var(--section-padding);
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Navigation Styles */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.2rem;
    transition: var(--transition);
    position: relative;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--heading-font);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: none;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    /* Base background for the bottom-left half */
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden; /* Keep overflow hidden */
    border-bottom: none;
}

/* Base background layer (banner_1) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/banner_1.webp');
    background-size: cover;
    background-position: center center;
    clip-path: polygon(-10% 10%, 100% -100%, 100% 120%); /* Top-right triangle */
    z-index: 0;
    opacity: 1; /* Always visible */
    animation: none; /* Ensure no leftover animation */
}

/* Fading background layer (banner_2) */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/banner_2.webp');
    background-size: cover;
    background-position: center center;
    clip-path: polygon(-10% 10%, 100% -100%, 100% 120%); /* Same clip-path */
    z-index: 0; /* Same level as ::before */
    opacity: 0; /* Start hidden */
    /* Animation: name duration timing-function iteration-count */
    animation: crossfadeBanners 10s ease-in-out infinite;
}

/* Keyframes for the cross-fade animation */
@keyframes crossfadeBanners {
    0% {
        opacity: 0; /* Start hidden (shows banner_1) */
    }
    50% {
        opacity: 1; /* Fade in banner_2 */
    }
    100% {
        opacity: 0; /* Fade out banner_2 (shows banner_1 again) */
    }
}

/* Ensure content is above the pseudo-elements */
.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    animation: fadeInUp 0.6s ease forwards;
    line-height: 1.2;
    letter-spacing: -1px;
    /* Add subtle shadow for readability on image background */
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease forwards;
    color: var(--text-light);
    max-width: 90%;
    font-weight: 400;
    line-height: 1.6;
    /* Add subtle shadow for readability */
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.hero-btns {
    animation: fadeInUp 1s ease forwards;
    margin-bottom: 3rem;
}

.hero-btns .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1rem;
}

.hero-btns .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

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

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

.hero-btns .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(30, 215, 96, 0.2);
}

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

.hero-btns .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(30, 215, 96, 0.15);
}

.hero-visual {
    position: relative;
    z-index: 1;
    animation: fadeIn 1.2s ease forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    perspective: 1000px;
}

.macbook-container {
    position: relative;
    width: 80%;
    max-width: 550px;
    z-index: 1;
    transform: rotateX(10deg) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.hero-visual:hover .macbook-container {
    transform: rotateX(5deg) rotateY(-5deg);
}

.macbook-frame {
    background: #d1d1d1;
    border-radius: 15px;
    padding: 15px 15px 40px 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255,255,255,0.3);
    position: relative;
}

.macbook-screen {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    position: relative;
}

.macbook-bottom {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 8px;
    background: #a1a1a1;
    border-radius: 0 0 10px 10px;
    box-shadow: inset 0 -1px 1px rgba(0,0,0,0.2);
}

.animated-code {
    width: 100%;
    height: 100%;
    max-width: none;
    background: #2d2d2d;
    border-radius: 0;
    box-shadow: none;
    padding: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.8rem;
    animation: none;
    opacity: 1;
    transform: none;
}

.animated-code::before {
    top: 8px;
    left: 10px;
    width: 10px;
    height: 10px;
    box-shadow: 15px 0 #ffbd2e, 30px 0 #27c93f;
}

.code-line:nth-child(1) { animation-delay: 1.0s; }
.code-line:nth-child(2) { animation-delay: 1.2s; }
.code-line:nth-child(3) { animation-delay: 1.4s; }
.code-line:nth-child(4) { animation-delay: 1.6s; }
.code-line:nth-child(5) { animation-delay: 1.8s; }
.code-line:nth-child(6) { animation-delay: 2.0s; }
.code-line:nth-child(7) { animation-delay: 2.2s; }

.code-line .keyword { color: #569cd6; }
.code-line .function { color: #dcdcaa; }
.code-line .string { color: #ce9178; }
.code-line .comment { color: #6a9955; }
.code-line .variable { color: #9cdcfe; }

@keyframes typeLine {
    to {
        opacity: 1;
    }
}

.code-line.cursor::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    color: var(--primary-color);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Services Section */
.service-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    z-index: -1;
    opacity: 1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
    background: linear-gradient(to bottom right, #fff, #f9f9ff);
}

.service-card:hover:before {
    width: 70px;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.service-card h3:after {
    content: none;
}

.service-card i {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color) !important;
    transition: var(--transition);
    background: rgba(30, 215, 96, 0.08);
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 50%;
}

.service-card:hover i {
    transform: scale(1.05);
    background: rgba(30, 215, 96, 0.12);
}

/* About Section */
.about-image {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
}

.content-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
    background: linear-gradient(to bottom right, #fff, #f9f9ff);
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

.value-card i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-card i {
    color: var(--primary-color) !important;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* About Page Specific Styles */
.about-hero {
    padding-top: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.about-hero h1 {
    color: white;
}

.company-history .content-card {
    border-left: 4px solid var(--primary-color);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approach-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.cta-section {
    background-color: var(--primary-color) !important;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(30, 215, 96, 0.8) 0%, rgba(26, 185, 83, 0.8) 100%);
    z-index: 0;
}

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

/* Portfolio Section */
.portfolio-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #f9f9f9);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-item:hover .portfolio-image {
    background: linear-gradient(135deg, #f0f0f0, #f5f5f5);
}

.project-icon {
    color: var(--primary-color);
    font-size: 2.8rem;
    transition: var(--transition);
    opacity: 0.8;
}

.portfolio-item:hover .project-icon {
    transform: scale(1.05);
    opacity: 1;
}

.portfolio-content {
    background: white;
    padding: 1.5rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    position: relative;
}

.portfolio-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    opacity: 1;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-content:before {
    width: 80px;
}

.portfolio-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    transition: var(--transition);
    font-weight: 600;
}

.portfolio-item:hover .portfolio-content h3 {
    color: var(--secondary-color);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 1.2rem 0 0;
    list-style: none;
}

.tech-stack li {
    background: var(--gray-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.tech-stack li:hover {
    background: var(--primary-color);
    color: white;
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0);
}

.testimonial-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--primary-color);
    transition: var(--transition);
}

.testimonial-card:hover:before {
    height: 100%;
}

.quote-icon {
    color: var(--primary-color);
    opacity: 0.2;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.company {
    color: #777;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Contact Section */
.contact-form-card, .contact-info-card {
    background: white;
    padding: 3.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.contact-form-card:hover, .contact-info-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0);
}

.form-control {
    padding: 0.9rem 1.2rem;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    transition: var(--transition);
    font-size: 0.95rem;
    background-color: #f9f9f9;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(30, 215, 96, 0.15);
    background-color: #fff;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #444;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info-card h3  {
    color: white;
}

.contact-info-card h4  {
    color: white;
}

.contact-info-card:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
    pointer-events: none;
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item i {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
}

.contact-info-item p,
.contact-info-item a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.contact-info-item a:hover {
    color: white;
    text-decoration: underline;
}

.accordion-button:not(.collapsed)  {
    color: var(--primary-color);
    background-color: rgba(var(--secondary-color), 1);
    box-shadow: inset 0 calc(-1 * var(--primary-color)) 0 var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

footer h4 {
    color: white;
    margin-bottom: 1.8rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.8rem;
}

footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

footer p, footer li {
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

footer a:hover:after {
    width: 100%;
}

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

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

.social-links a {
    display: inline-block;
    margin-right: 1.2rem;
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

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

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.8rem;
    margin-top: 3.5rem;
    font-size: 0.9rem;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background: rgba(30, 215, 96, 0.03);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    pointer-events: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    /* Hide the complex clip-path background and animation on smaller screens */
    .hero::before {
         background-image: none;
         clip-path: none;
         background: linear-gradient(135deg, rgba(30, 215, 96, 0.04) 0%, rgba(30, 215, 96, 0.09) 100%); /* Fallback gradient */
         animation: none; /* Disable animation */
    }
    .hero::after {
        content: none; /* Remove the second layer */
        animation: none; /* Disable animation */
    }
    .hero h1 {
        font-size: 3rem;
        text-shadow: none;
    }
    .hero .lead {
        font-size: 1.15rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-shadow: none;
    }
    .hero-visual {
        display: none;
    }
    .hero-stats {
        margin-top: 3rem;
    }
    .hero-stats .stat-item {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.6rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .hero-btns .btn {
        margin-bottom: 0.5rem;
    }
    
    .hero-stats .stat-number {
        font-size: 2rem;
    }
    
    .service-card, .content-card, .value-card {
        margin-bottom: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
    }
    
    section {
        padding: 50px 0;
    }
}

/* --- Mobile Styling --- */
.mobile-container {
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 25%;
    max-width: 150px;
    z-index: 2;
    transform: rotateX(10deg) rotateY(15deg);
    transition: transform 0.5s ease;
}

.hero-visual:hover .mobile-container {
    transform: rotateX(5deg) rotateY(10deg) translateY(-5px);
}

.mobile-frame {
    background: #444;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255,255,255,0.1);
    position: relative;
}

.mobile-screen {
    background: #f0f2f5;
    border-radius: 12px;
    height: 220px;
    overflow: hidden;
    position: relative;
}

/* Simulated App Content Styling */
.mobile-app-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.app-header {
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 5px 5px 0 0;
    margin-bottom: 10px;
    opacity: 0.8;
}

.app-body {
    flex-grow: 1;
}

.app-block {
    height: 60px;
    background-color: #e0e4e8;
    border-radius: 5px;
    margin-bottom: 8px;
    animation: pulsePlaceholder 2s ease-in-out infinite;
}

.app-block.small {
    height: 30px;
    width: 70%;
}

.app-button {
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 5px;
    margin-top: auto;
    animation: pulsePlaceholder 2s ease-in-out infinite 0.5s;
}

@keyframes pulsePlaceholder {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Trust Badges Section */
.trust-badges {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.trust-badge {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.trust-badge:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .trust-badge {
        max-width: 100px;
    }
}