    /* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
    background-color: transparent;
}

nav.scrolled {
    background-color: #000000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f5e62e;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a:focus {
    color: #f5e62e;
}

/* Focus styles for interactive elements */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid #f5d162;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(245, 209, 98, 0.5);
}

/* Enhanced focus styles for specific elements */
.text-link:focus, .btn:focus, .logo:focus {
    outline: 4px solid #f5d162;
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(245, 209, 98, 0.6);
    border-radius: 4px;
}


/* Hero section */
.hero {
    padding-top: 70px;
    height: 648px; /* Increased by 8% from 600px */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Reduced from 110% to 100% */
    height: 100%; /* Reduced from 110% to 100% */
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
    transform: translateX(0); /* Removed the translation */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* background: linear-gradient(to right, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.3) 100%);*/
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 50%;
    padding: 60px 0;
}

.hero h1 {
    font-size: 2.2rem; /* Smaller text as requested */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    position: relative;
}

.hero h1::after {
    content: '';
    display: block;
    width: 35%;
    height: 5px;
    background-color: #f5d162; /* Changed to match button color */
    margin-top: 20px;
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 0;
    max-width: 90%;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.text-link {
    color: #f5d162;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 20px;
}

.text-link:hover {
    color: #f7d978;
    text-decoration: underline;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: #f5d162;
    color: #000000;
    box-shadow: none;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.btn-primary:hover {
    transform: scale(1.05);
    background-color: #f7d978;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn:hover {
    box-shadow: none;
}

/* Features section */
.features {
    padding: 60px 0;
    background-color: #0a0a0a;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 0 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: block;
    filter: none; /* SVGs already have the correct color */
    margin-top: 0;
    align-self: center;
}


.feature-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.feature-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #f5d162;
    line-height: 1.2;
    display: block;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-desc {
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* Use cases section */
.use-cases {
    padding: 80px 0;
}

.case-study {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.case-content {
    flex: 1;
    padding-right: 40px;
    min-width: 300px;
}

.case-stats {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    min-width: 300px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 3.825rem; /* 4.5rem reduced by 15% */
    font-weight: 700;
    color: #f5d162;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-number .unit {
    font-size: 70%; /* 30% smaller than the parent stat-number */
    font-weight: inherit;
}

.case-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.case-description {
    margin-bottom: 30px;
}

/* Applications grid */
.applications-title {
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.application-card {
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
}

.application-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.3s ease;
}

.application-card:hover img {
    transform: scale(1.05);
}

.application-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
}

.application-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.application-link {
    display: inline-block;
    margin-top: 10px;
    color: #ffffff;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
}

/* Case Study More Button */
.case-more-container {
    text-align: center;
    margin-top: 40px;
    width: 100%;
}

/* Expanded Case Study Section */
.expanded-case-study {
    padding: 80px 0;
    background-color: #0f0f0f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.close-btn {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.close-btn:hover {
    background-color: rgba(245, 209, 98, 0.2);
    transform: scale(1.1);
}

.expanded-case-study .container {
    max-width: 900px;
}

.expanded-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.case-meta {
    background-color: rgba(245, 209, 98, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.case-meta p {
    margin-bottom: 10px;
}

.case-meta p:last-child {
    margin-bottom: 0;
}

.case-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

.case-section {
    margin-bottom: 30px;
}

.case-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #f5d162;
}

.case-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #f5d162;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.use-case-label {
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #f5d162;
    line-height: 1.2;
    display: block;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.case-section li {
    margin-bottom: 10px;
}

.case-section .keywords {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Case study image cards */
.case-image-cards {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.case-image-card {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.case-image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.case-card-content {
    padding: 20px;
}

.case-card-content h4 {
    margin-bottom: 10px;
    color: #f5d162;
}

.case-card-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.hidden {
    display: none;
}

/* Testimonial section */
.testimonial {
    padding: 80px 0;
    text-align: center;
}

.testimonial-text {
    font-size: 2.3rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.testimonial-author {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.85);
}

/* Page blur effect when modal is open */
body.modal-open > *:not(.modal):not(.success-message) {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /*background-color: rgba(0, 0, 0, 0.4);*/
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.hidden {
    display: none !important;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    width: 90%;
    max-width: 400px; /* 50% smaller than before */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover, .modal-close:focus {
    background-color: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.modal-close:focus {
    outline: 2px solid #f5d162;
    outline-offset: 2px;
}

.modal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px; /* Increased top/bottom padding to make modal 25px taller */
}

.modal-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 100%;
}

.modal-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.header-text {
    display: flex;
    flex-direction: column;
}

.modal-icon svg {
    width: 35px;  /* Increased by 45% from 24px */
    height: 35px; /* Increased by 45% from 24px */
    opacity: 0.9;
    color: #f5d162;
}

.modal-form {
    width: 100%;
    color: #333;
    text-align: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 2px;
    color: #333;
    font-weight: 600;
}

.modal-header p {
    margin-bottom: 10px;
    color: #333;
    font-size: 0.8rem;
}

.form-validation-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin: 5px 0 10px;
    display: none;
    padding: 5px 10px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
}

.form-validation-message.show {
    display: block;
}

.form-group {
    margin-bottom: 6px;
    position: relative;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 2px;
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    background-color: #f0f0f0;
    border-radius: 50%;
}

.form-group input {
    width: 100%;
    padding: 15px 10px 15px 35px; /* Increased height by 10px (5px top and 5px bottom) */
    border: 1px solid rgba(224, 224, 224, 0.5);
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: rgba(249, 249, 249, 0.5);
    transition: all 0.3s ease;
    color: #333;
}

.form-group input::placeholder {
    color: #555;
    transition: opacity 0.3s ease;
}

.form-group input:focus::placeholder {
    opacity: 0;
}

.form-group input:focus {
    border-color: #f5d162;
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 209, 98, 0.1);
    background-color: rgba(255, 255, 255, 0.8);
}

.form-group input.invalid {
    border-color: #e74c3c;
}

.validation-message {
    color: #e74c3c;
    font-size: 0.7rem;
    margin-top: 2px;
    display: block;
    min-height: 15px;
    padding-left: 10px;
    font-weight: 500;
}

.submit-btn {
    width: auto;
    margin: 8px auto 0;
    display: inline-block;
}

/* Success message styles */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.success-message.show {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.success-content {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.success-content .timestamp {
    font-style: italic;
    color: #777;
    font-size: 0.9rem;
    margin-top: 15px;
    margin-bottom: 20px;
}

.success-content .btn {
    margin-top: 15px;
    background-color: #f5d162;
    color: #000;
}

.success-content .btn:hover {
    background-color: #f7d978;
}

.success-message.show .success-content {
    transform: scale(1);
}

.success-icon {
    width: 70px;
    height: 70px;
    background-color: #f5d162;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.success-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #222;
}

.success-content p {
    color: #666;
}

/* Contact Form Section */
.contact-form {
    padding: 80px 0;
    background-color: #0f0f0f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 32px 20px;
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #333;
}

.form-container .form-group {
    margin-bottom: 6px;
    position: relative;
    text-align: left;
}

.form-container input {
    width: 100%;
    padding: 15px 10px 15px 35px;
    border: 1px solid rgba(224, 224, 224, 0.5);
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: rgba(249, 249, 249, 0.5);
    transition: all 0.3s ease;
    color: #333;
}

.form-container input::placeholder {
    color: #555;
    transition: opacity 0.3s ease;
}

.form-container input:focus::placeholder {
    opacity: 0;
}

.form-container input:focus {
    border-color: #f5d162;
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 209, 98, 0.1);
    background-color: rgba(255, 255, 255, 0.8);
}

.form-container .submit-btn {
    width: auto;
    margin: 15px auto 0;
    display: block;
}

.form-container .input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    background-color: #f0f0f0;
    border-radius: 50%;
}

.form-validation-message {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 5px 0 20px;
    display: none;
    padding: 10px;
    background-color: rgba(231, 76, 60, 0.8);
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
}

.form-validation-message.show {
    display: block;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s forwards;
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

.slide-up {
    animation: slideUp 0.5s forwards;
}

.slide-down {
    animation: slideDown 0.5s forwards;
}

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

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

@keyframes slideUp {
    from { transform: translateY(20px); }
    to { transform: translateY(0); }
}

@keyframes slideDown {
    from { transform: translateY(0); }
    to { transform: translateY(20px); }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto; /* Auto height instead of 100vh */
        min-height: 600px; /* Fixed minimum height */
        padding-top: 40px; /* Reduced padding */
        align-items: flex-start; /* Align to top */
        padding-bottom: 0;
        position: relative; /* Ensure proper positioning */
    }
    
    .hero-img {
        opacity: 0.8; /* Matching desktop opacity */
        width: 153%; /* Reduced by 15% from 180% to show more of the image */
        height: 500px; /* Fixed height for the image */
        object-fit: cover; /* Cover to fill the space better */
        margin: 0 auto; /* Center the image */
        top: -75px; /* Adjusted to bring image down by 5% (25px) */
        left: calc(50% - 25px); /* Move left by 50px */
        transform: translateX(-50%); /* Center horizontally only */
        max-height: none; /* Remove height limitation */
        position: absolute; /* Absolute positioning */
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.3) 70%);
        height: 500px; /* Match image height */
        top: -75px; /* Match the image position */
    }
    
    .hero-container {
        width: 100%;
        margin-top: 244px; /* Reduced by 25% from 325px to move card up further */
        position: relative; /* Ensure proper positioning */
    }
    
    .hero-content {
        width: 100%;
        text-align: left;
        padding: 25px;
        background-color: rgba(0, 0, 0, 0.8);
        border-radius: 20px 20px 0 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
        animation: slideUp 0.5s forwards;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero h1::after {
        width: 60px;
        margin-top: 15px;
    }
    
    .cta-buttons {
        justify-content: center; /* Centered as requested */
    }
    
    .btn {
        padding: 12px 24px; /* Same as desktop */
        font-size: 0.9rem; /* Smaller font size */
    }
    
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .case-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .case-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .testimonial-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .text-link {
        margin-bottom: 15px;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 18px;
    }
    
    .hero h1::after {
        width: 50px;
        margin-top: 12px;
    }
}
