:root {
    --primary-color: #0b63d4;
    --accent-color: #0f9bd6;
    --neutral-dark: #0b2540;
    --neutral-mid: #2d3748;
    --neutral-light: #718096;
    --background: #ffffff;
    --background-alt: #f7fafc;
    --background-hero: linear-gradient(135deg, #e8f4fd 0%, #f0f9ff 50%, #e0f2fe 100%);
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(11, 99, 212, 0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --primary-tint: rgba(11, 99, 212, 0.05);
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 70px;
}

*,*::before,*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Firefox scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

/* Chrome, Edge, and Safari scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 20px;
    border: 2px solid transparent; /* Creates padding effect if background is ever added */
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color);
}

body {
    font-family: 'Calibri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--background);
}

body.font-aptos {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 var(--radius-sm) 0;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

*:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--neutral-dark);
}

h1 {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.4rem, 4vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--neutral-mid);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background-color: var(--background-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--neutral-dark);
    margin-bottom: 0.75rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-tint);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding: 0;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

}

.btn-whatsapp:hover {
    background: #128c7e;
    color: white;
    transform: scale(1.1);
}

.btn-whatsapp svg {
    width: 28px;
    height: 28px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
    max-width: 100%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--neutral-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-link:hover::after,.nav-link:focus::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--neutral-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem;
    color: var(--neutral-dark);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: var(--background-alt);
    color: var(--primary-color);
}

.hero {
    min-height: 100vh;
    background: var(--background-hero);
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: linear-gradient(135deg, rgba(11, 99, 212, 0.03), rgba(15, 155, 214, 0.05));
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.hero-content h1,.hero-content,.hero-content .hero-intro {
    color: var(--neutral-dark);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-content h1,.hero-tagline {
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.hero-badge svg {
    color: white;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Accounting.webp');
    background-size: cover;
    background-position: center;
    opacity: 1.0;
    z-index: 0;
    pointer-events: none;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.hero-card:hover {
    transform: translateY(-5px);
}

.hero-card h3 {
    color: var(--neutral-dark);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--neutral-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.contact-value {
    font-weight: 600;
    color: var(--neutral-dark);
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-value a {
    color: inherit;
}

.contact-value a:hover {
    color: var(--primary-color);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.highlights {
    list-style: none;
}

.highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.highlights li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    min-height: 400px;
}

.services-grid:empty::before,.updates-grid:empty::before {
    content: '';
    grid-column: 1 / -1;
    height: 300px;
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: var(--radius-lg);
}

@keyframes shimmer {
    from {
        background-position: -200% 0;
    }

    to {
        background-position: 200% 0;
    }

}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(11, 99, 212, 0.1), rgba(15, 155, 214, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    color: var(--neutral-dark);
}

.service-card p {
    color: var(--neutral-mid);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.service-accordion.open {
    max-height: 200px;
}

.service-accordion p {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.learn-more:hover {
    color: var(--accent-color);
}

.learn-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.learn-more[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.experience {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml, %3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.experience .container {
    position: relative;
    z-index: 1;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.experience-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.experience-number {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.experience-subtext {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.timeline-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

#testimonialsGrid {
    display: none;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.testimonial-meta {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 0.25rem;
}

.testimonial-date {
    font-size: 0.85rem;
    color: var(--neutral-light);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: #ffc107;
    fill: #ffc107;
}

.testimonial-text {
    color: var(--neutral-mid);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.testimonial-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(11, 99, 212, 0.05);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--neutral-mid);
}

.map-container {
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.embed-social-wrapper {
    position: relative;
}

.embed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-color: #ffffff;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width:831px) {
    .embed-overlay {
        height: 150px;
    }

}

.overlay-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: var(--shadow-md);
}

.overlay-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.contact .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info-block h3 {
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(11, 99, 212, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
}

.contact-detail-content h4 {
    font-size: 0.9rem;
    color: var(--neutral-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-detail-content p,.contact-detail-content a {
    color: var(--neutral-dark);
    font-weight: 500;
}

.contact-detail-content a:hover {
    color: var(--primary-color);
}

.working-hours-list {
    list-style: none;
    padding: 0;
}

.working-hours-list li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.working-hours-list li:last-child {
    border-bottom: none;
}

.working-hours-list li:hover {
    background: rgba(11, 99, 212, 0.02);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: var(--radius-sm);
}

.working-hours-day {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--neutral-dark);
    font-weight: 600;
    font-size: 0.95rem;
    width: 140px;
    flex-shrink: 0;
}

.working-hours-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    opacity: 0.8;
    flex-shrink: 0;
}

.working-hours-time {
    color: var(--neutral-mid);
    font-size: 0.9rem;
    background: var(--background-alt);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    white-space: nowrap;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    min-height: 420px;
}

.update-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.update-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.update-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.update-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.update-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    background: rgba(11, 99, 212, 0.08);
    color: var(--primary-color);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.update-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.update-card h3 a {
    color: var(--neutral-dark);
    text-decoration: none;
}

.update-card h3 a:hover {
    color: var(--primary-color);
}

.update-date {
    font-size: 0.8rem;
    color: var(--neutral-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.view-all-container {
    text-align: center;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 37, 64, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

.modal-header {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--background-alt);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--neutral-dark);
}

.close-modal {
    background: var(--background);
    border: 1px solid var(--border-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--neutral-mid);
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--primary-tint);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-search-container {
    padding: 0.6rem 1.5rem;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.modal-search-input {
    width: 100%;
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    transition: var(--transition);
    background: var(--background-alt);
}

.modal-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px var(--primary-tint);
}

.modal-body {
    padding: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.modal-list {
    list-style: none;
    padding: 0;
}

.modal-item {
    padding: 0.6rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.modal-item:last-child {
    border-bottom: none;
}

.modal-item:hover {
    background: var(--primary-tint);
}

.modal-item-date {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    background: white;
    border: 1px solid var(--primary-tint);
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
    text-align: center;
    min-width: 85px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.modal-item-info h4 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

.modal-item-info h4 a {
    color: var(--neutral-dark);
    text-decoration: none;
    transition: var(--transition);
}

.modal-item-info h4 a:hover {
    color: var(--primary-color);
}

.modal-item-tags {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
    align-items: center;
}

.modal-item-tags .update-tag {
    font-size: 0.65rem;
    margin: 0;
    padding: 0.15rem 0.4rem;
}

/* Responsive adjustments for articles modal */
@media (max-width: 600px) {
    .modal {
        padding: 0.75rem;
    }
    
    .modal-item {
        grid-template-columns: auto 1fr;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        align-items: center;
    }

    .modal-item-date {
        grid-row: 1;
        grid-column: 1;
        font-size: 0.65rem;
        min-width: 75px;
        padding: 0.25rem 0.4rem;
    }

    .modal-item-tags {
        grid-row: 1;
        grid-column: 2;
        justify-content: flex-end;
    }

    .modal-item-info {
        grid-row: 2;
        grid-column: 1 / -1;
    }

    .modal-item-info h4 {
        font-size: 0.9rem;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    margin: 0;
    border-top: 1px solid var(--border-color);
    background: var(--background-alt);
}

.pagination-btn {
    min-width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--neutral-dark);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    padding: 0 0.6rem;
    font-size: 0.85rem;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-tint);
    transform: translateY(-1px);
}

.pagination-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--background-alt);
}

.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--neutral-dark);
    font-size: 0.9rem;
}

.form-input,.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-input:focus,.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 99, 212, 0.1);
}

.form-input::placeholder,.form-textarea::placeholder {
    color: var(--neutral-light);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.visible {
    display: block;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-submit {
    width: 100%;
}

.form-success {
    background: #c6f6d5;
    color: #22543d;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: none;
}

.form-success.visible {
    display: block;
}

.footer {
    background: var(--neutral-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-text {
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,.footer-links li span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width:768px) {
    .nav {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }

    .hero .container {
        grid-template-columns: 1fr 1fr;
    }

    .about .container {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact .container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

}

@media (min-width:1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section {
        padding: 5rem 0;
    }

}

@media print {
    .header, .btn-whatsapp, .menu-toggle, .mobile-nav, .hero-buttons, .learn-more, .contact-form-wrapper, .map-container, .social-links {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 1.5rem 0;
        page-break-inside: avoid;
    }

    body {
        font-size: 12pt;
        color: black;
    }

    a {
        color: black;
        text-decoration: none;
    }

    .contact-detail-content a::after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
    }

}
