/* Custom Typography Styles */

/* Headings - Apply Caudex */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Caudex', serif;
}

/* Body Text - Apply Caudex */
body,
p {
    font-family: 'Caudex', serif;
}

/* Additional typography refinements */
body {
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   SECTION HEADING WITH GRADIENT
   ======================================== */

.section-heading {
    background: linear-gradient(135deg, #012524 0%, #0baeab 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ========================================
   REUSABLE BUTTON STYLES
   ======================================== */

.lagtuz-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #f0b308, #28c8c5);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.lagtuz-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #28c8c5, #f0b308);
}

.lagtuz-btn-primary:active {
    transform: translateY(0);
}

/* ========================================
   END REUSABLE BUTTON STYLES
   ======================================== */

/* --- Who We Are Section --- */
.stat-number-gradient {
    position: relative;
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;

    /* 1. Base Gradient for the Outline */
    background: linear-gradient(135deg, #f0b308, #28c8c5);
    -webkit-background-clip: text;
    background-clip: text;

    /* 2. Hollow center */
    -webkit-text-fill-color: white;
    -webkit-text-stroke: 3.5px transparent;

    transition: all 0.3s ease-in-out;
    letter-spacing: 0.2rem;
}

/* Pseudo-element for the Smooth Filled Transition */
.stat-number-gradient::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

    /* Gradient Fill */
    background: linear-gradient(135deg, #f0b308, #28c8c5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Start invisible */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;

    /* Ensure no stroke on the fill layer */
}

/* Transition to Filled State on Column Hover */
.group:hover .stat-number-gradient::after {
    opacity: 1;
}

/* Optional: Smoothly hide the outline hollow effect if needed, 
   though stacking usually looks fine */
/* Firefox fallback */
@-moz-document url-prefix() {
    .stat-number-gradient {
        background: transparent;
        color: #f0b308;
        text-shadow:
            -2px -2px 0 #f0b308,
            2px -2px 0 #f0b308,
            -2px 2px 0 #f0b308,
            2px 2px 0 #f0b308;
    }

    .group:hover .stat-number-gradient::after {
        opacity: 1;
    }
}

/* --- Double Marquee Section --- */
.double-marquee-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.marquee-ribbon {
    position: relative;
    padding: 1.8rem 0;
    overflow: hidden;
    white-space: nowrap;
    width: 110%;
    /* Slightly wider to prevent edge visibility when rotated */
}

/* Ribbon Colors & Slanting */
.ribbon-yellow {
    background: linear-gradient(90deg, #ffcc4a 0%, #f5940b 50%, #f1b100 100%);
    transform: rotate(-6deg) translateY(70px);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ribbon-cyan {
    background: linear-gradient(90deg, #28c8c5 0%, #06b6d4 50%, #02b2af 100%);
    transform: rotate(6deg) translateY(-70px);
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Marquee Track */
.marquee-track {
    display: flex;
}

.marquee-item {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    padding: 0 2rem;
    white-space: nowrap;
}

/* Animations */
.scroll-left {
    animation: scroll-left 40s linear infinite;
}

.scroll-right {
    animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .marquee-item {
        font-size: 2rem;
    }

    .marquee-ribbon {
        padding: 1.5rem 0;
    }
}

/* --- Service Cards --- */
.service-card {
    transition: all 0.3s ease;
    margin-top: 0;
    border-top: 8px solid transparent;
}

.service-card:nth-child(1) {
    border-top-color: #06b6d4;
    /* Cyan for Communications */
}

.service-card:nth-child(2) {
    border-top-color: #dcc30c;
    /* Blue for Digital Marketing */
}

.service-card:nth-child(3) {
    border-top-color: #f49b09;
    /* Purple for Media Production */
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* Service Card Header */
.service-card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ededed;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.service-subtitle {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.service-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.service-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #d1d5db;
    flex-shrink: 0;
    line-height: 1.1;
}

.service-content {
    flex: 1;
}

.service-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
}

.service-content p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b7280;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-title {
        font-size: 1.25rem;
    }

    .service-list {
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .service-card-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .service-icon {
        width: 56px;
        height: 56px;
    }

    .service-icon img {
        width: 32px;
        height: 32px;
    }

    .service-title {
        font-size: 1.125rem;
    }

    .service-list {
        gap: 1rem;
    }

    .service-number {
        font-size: 1rem;
    }

    .service-content h4 {
        font-size: 0.9375rem;
    }

    .service-content p {
        font-size: 0.8125rem;
    }
}

/* View All Services Button */
.view-all-services-btn .wp-block-button__link {
    background: #f59e0b;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-top: 28px;
}

.view-all-services-btn .wp-block-button__link:hover {
    transform: translateY(-2px);
    background: #eab308;
}

.view-all-services-btn .wp-block-button__link svg {
    transition: transform 0.3s ease;
}

.view-all-services-btn .wp-block-button__link:hover svg {
    transform: translateX(4px);
}

/* --- Projects Carousel --- */
.projects-carousel-section {
    overflow: hidden;
}

.projects-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 100vw;
}

.projects-swiper {
    width: 100%;
    aspect-ratio: 3;
    padding: 0;
    overflow: visible;
}

.swiper-slide {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.swiper-slide-active {
    opacity: 1;
}


.project-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    border-radius: 14px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.project-info {
    position: absolute;
    bottom: 50px;
    left: 50px;
    z-index: 2;
    max-width: 60%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.project-info:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translateY(-4px);
}

.project-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.project-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem 0;
}

.project-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f59e0b;
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-detail-btn:hover {
    background: #eab308;
    transform: translateX(4px);
}

.project-detail-btn svg {
    transition: transform 0.3s ease;
}

.project-detail-btn:hover svg {
    transform: translateX(4px);
}

/* Carousel Navigation */
.carousel-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.carousel-btn svg {
    color: #374151;
    transition: color 0.3s ease;
}

.carousel-btn:hover svg {
    color: white;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background: white;
    border-color: #e5e7eb;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 1024px) {
    .projects-swiper {
        height: 500px;
    }

    .project-slide {
        padding: 2rem;
    }

    .project-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-swiper {
        height: 400px;
    }

    .project-slide {
        padding: 1.5rem;
        align-items: flex-end;
        justify-content: center;
    }

    .project-info {
        bottom: 20px;
        left: 20px;
    }

    .project-title {
        font-size: 1.25rem;
    }

    .project-description {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .project-detail-btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }

    .carousel-btn {
        width: 48px;
        height: 48px;
    }
}

/* --- Testimonials Section --- */
.testimonial-content {
    padding-right: 2rem;
}

.testimonial-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.testimonial-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.quote-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.quote-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.testimonial-text {
    margin-bottom: 2rem;
}

.testimonial-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}

.client-info {
    margin-bottom: 2rem;
}

.client-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.client-position {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.client-avatars {
    display: flex;
    gap: 0.75rem;
}

.client-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.client-avatar:hover {
    opacity: 1;
    transform: scale(1.05);
}

.client-avatar.active {
    border-color: #f59e0b;
    opacity: 1;
}

.testimonial-nav {
    display: flex;
    gap: 0.75rem;
}

.testimonial-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-nav-btn:hover {
    background: #f59e0b;
    transform: scale(1.05);
}

.testimonial-nav-btn svg {
    color: #6b7280;
    transition: color 0.3s ease;
}

.testimonial-nav-btn:hover svg {
    color: white;
}

/* Testimonial Image */
.testimonial-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.testimonial-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.testimonial-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #f59e0b;
    z-index: 1;
}

/* Floating Social Icons */
.social-icons-float {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
}

.social-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.social-icon:nth-child(1) {
    animation-delay: 0s;
}

.social-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.social-icon:nth-child(3) {
    animation-delay: 1s;
}

.social-icon:nth-child(4) {
    animation-delay: 1.5s;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonial-heading {
        font-size: 2rem;
    }

    .testimonial-text p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .testimonial-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .testimonial-heading {
        font-size: 1.75rem;
    }

    .testimonial-text p {
        font-size: 0.9375rem;
    }

    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .client-avatar {
        width: 48px;
        height: 48px;
    }

    .testimonial-image-container {
        max-width: 350px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* --- Contact Form Section --- */
.contact-container {
    max-width: 1600px;
    margin: 0 auto;
}

.contact-container-inner {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-image-side {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-form-side {
    flex: 1;
    padding: 3.5rem 4rem;
}

.contact-form-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Form Styles */
.lagtuz-contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f59e0b;
    background: white;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: #f59e0b;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--wp--preset--font-family--heading);
}

.contact-submit-btn:hover {
    background: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.form-success-message {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.form-success-message p {
    color: #065f46;
    margin: 0;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-form-side {
        padding: 3rem;
    }

    .contact-form-heading {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-container-inner {
        flex-direction: column;
    }

    .contact-image-side {
        flex: 0 0 auto;
        height: 300px;
    }

    .contact-form-side {
        padding: 2.5rem 2rem;
    }

    .contact-form-heading {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-form-side {
        padding: 2rem 1.5rem;
    }

    .contact-form-heading {
        font-size: 1.5rem;
    }

    .contact-image-side {
        height: 250px;
    }
}

/* --- Latest Blogs Section --- */
.blog-intro {
    padding-right: 2rem;
}

.blog-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.blog-section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.blog-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 2rem;
}

.blog-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #f59e0b;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    padding: 1rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-view-all-btn:hover {
    background: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.blog-view-all-btn svg {
    transition: transform 0.3s ease;
}

.blog-view-all-btn:hover svg {
    transform: translateX(4px);
}

/* Blog Cards Grid */
.blog-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.blog-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumbnail {
    transform: scale(1.05);
}

.blog-date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.blog-date-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-comments,
.blog-category {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.blog-comments svg,
.blog-category svg {
    color: #f59e0b;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.blog-card-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #f59e0b;
}

.blog-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 1rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.blog-read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

.blog-card:hover .blog-read-more {
    color: #f59e0b;
}

.blog-card:hover .blog-read-more::after {
    width: calc(100% - 24px);
}

.blog-read-more svg {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-read-more svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-section-heading {
        font-size: 2rem;
    }

    .blog-cards-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-intro {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .blog-section-heading {
        font-size: 1.75rem;
    }

    .blog-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-card-image {
        height: 200px;
    }
}

/* ========================================
   MOBILE RESPONSIVE FIXES (< 640px)
   ======================================== */

@media (max-width: 640px) {

    /* Global Mobile Improvements */
    .wp-block-group.alignwide {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Service Columns */
    .service-card {
        margin-bottom: 1.5rem;
    }

    .service-list-item-image {
        width: 48px !important;
        height: 48px !important;
    }

    .service-list-item-text {
        font-size: 0.875rem !important;
    }

    /* Projects Carousel */
    .projects-carousel-section {
        overflow: hidden;
    }

    .projects-carousel-wrapper {
        margin-left: 0;
        margin-right: 0;
        overflow: hidden;
    }

    .projects-swiper {
        overflow: visible !important;
    }

    .swiper-slide {
        max-width: 100vw;
    }

    .project-slide {
        max-width: 100%;
    }

    .project-title {
        font-size: 1rem !important;
        margin-bottom: 0.375rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .project-description {
        font-size: 0.6875rem !important;
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .project-detail-btn {
        font-size: 0.75rem !important;
        padding: 0.5rem 1rem !important;
    }

    .carousel-navigation {
        gap: 0.5rem !important;
        margin-top: 1.5rem !important;
    }

    .carousel-btn {
        width: 44px !important;
        height: 44px !important;
    }

    /* Contact Form */
    .contact-container-inner {
        border-radius: 12px !important;
    }

    .contact-image-side {
        height: 250px !important;
    }

    .contact-form-side {
        padding: 1.5rem !important;
    }

    .contact-form-heading {
        font-size: 1.375rem !important;
        margin-bottom: 0.75rem !important;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px !important;
        /* Prevents zoom on iOS */
        padding: 0.875rem !important;
    }

    .contact-submit-btn {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.8125rem !important;
    }

    /* Testimonials */
    .testimonial-heading {
        font-size: 1.375rem !important;
    }

    .testimonial-text p {
        font-size: 0.875rem !important;
        line-height: 1.6 !important;
    }

    .client-info {
        margin-bottom: 1.5rem !important;
    }

    .client-name {
        font-size: 1.125rem !important;
    }

    .client-avatar {
        width: 44px !important;
        height: 44px !important;
    }

    .testimonial-nav-btn {
        width: 44px !important;
        height: 44px !important;
    }

    .testimonial-image-container {
        max-width: 260px !important;
    }

    .social-icon {
        width: 36px !important;
        height: 36px !important;
    }

    .social-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* Blog Section */
    .blog-intro {
        margin-bottom: 2rem !important;
    }

    .blog-section-heading {
        font-size: 1.375rem !important;
        margin-bottom: 1rem !important;
    }

    .blog-description {
        font-size: 0.875rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }

    .blog-view-all-btn {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.75rem !important;
    }

    .blog-card {
        margin-bottom: 1.5rem;
    }

    .blog-card-image {
        height: 200px !important;
    }

    .blog-card-content {
        padding: 1.25rem !important;
    }

    .blog-card-title {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .blog-excerpt {
        font-size: 0.8125rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0.75rem !important;
    }

    .blog-meta {
        font-size: 0.6875rem !important;
        margin-bottom: 0.75rem !important;
    }

    .blog-read-more {
        font-size: 0.8125rem !important;
    }

    /* Who We Are */
    .who-we-are-badge {
        font-size: 0.6875rem !important;
    }

    /* Who We Are - Fix image overflow */
    .wp-block-column.flex.justify-center {
        overflow: hidden !important;
        max-width: 100% !important;
    }

    .wp-block-column.flex.justify-center>div {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .wp-block-column.flex.justify-center img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Touch Target Improvements */
    button,
    a.button,
    .blog-read-more,
    .project-detail-btn,
    .client-avatar {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Extra Small Devices (< 480px) */
@media (max-width: 480px) {
    .project-title {
        font-size: 1rem !important;
    }

    .contact-form-heading {
        font-size: 1.25rem !important;
    }

    .blog-section-heading {
        font-size: 1.25rem !important;
    }

    .testimonial-heading {
        font-size: 1.25rem !important;
    }
}

/* ========================================
   HEADER STYLES
   ======================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    padding: 1.25rem 0;
}

.main-header.scrolled {
    background: #f59e0b;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.main-header.scrolled .logo-image {
    height: 36px;
}

/* Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.header-icon-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-icon-btn svg {
    stroke: white;
}

.lang-btn span {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle:hover span {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .header-nav {
        display: none;
    }

    .search-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo-image {
        height: 32px;
    }

    .main-header.scrolled .logo-image {
        height: 30px;
    }
}

/* Add padding to body to account for fixed header */
body {
    padding-top: 80px;
}


/* Newsletter Form Messages */
#newsletter-message {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

#newsletter-message.show {
    opacity: 1;
    transform: translateY(0);
}

#newsletter-message.success {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 2px solid #34d399;
    color: white;
}

#newsletter-message.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: 2px solid #f87171;
    color: white;
}

/* Newsletter Loading State */
.newsletter-form-footer button.loading {
    position: relative;
    pointer-events: none;
}

/* Spin animation for loading icon */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}