.page-section h1,
.page-section h2,
.page-section h3,
.page-section h4,
.page-section h5 {
	font-weight: 600;
}

.hamburger {
	padding: 15px 15px;
	display: inline-block;
	cursor: pointer;
	transition-property: opacity, filter;
	transition-duration: 0.15s;
	transition-timing-function: linear;
	font: inherit;
	color: inherit;
	text-transform: none;
	background-color: transparent;
	border: 0;
	margin: 0;
	overflow: visible;
}
.hamburger:hover {
	opacity: 0.7;
}
.hamburger.is-active:hover {
	opacity: 0.7;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
	background-color: #fff;
}

.hamburger-box {
	width: 40px;
	height: 24px;
	display: inline-block;
	position: relative;
}

.hamburger-inner {
	display: block;
	top: 50%;
	margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
	width: 30px;
	height: 4px;
	background-color: #fff;
	border-radius: 4px;
	position: absolute;
	transition-property: transform;
	transition-duration: 0.15s;
	transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
	content: "";
	display: block;
}
.hamburger-inner::before {
	width: 40px;
	top: -10px;
}
.hamburger-inner::after {
	width: 20px;
	bottom: -10px;
}

.hamburger--squeeze .hamburger-inner {
	transition-duration: 0.075s;
	transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--squeeze .hamburger-inner::before {
	transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}
.hamburger--squeeze .hamburger-inner::after {
	transition: bottom 0.075s 0.12s ease,
		transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze.is-active .hamburger-inner {
	transform: rotate(45deg);
	width: 40px;
	transition-delay: 0.12s;
	transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--squeeze.is-active .hamburger-inner::before {
	top: 0;
	width: 40px;
	opacity: 0;
	transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}
.hamburger--squeeze.is-active .hamburger-inner::after {
	bottom: 0;
	width: 40px;
	transform: rotate(-90deg);
	transition: bottom 0.075s ease,
		transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.work-card {
	flex: 0 0 34rem;
}

.home-work-card {
	height: 20rem;
}

.work-cards .card {
	cursor: pointer;
}

.portfolio-work-card {


	> .card-img {
		height: 10rem;
	}
}

@media all and (min-width: 768px) {
	.portfolio-work-card {
		height: auto;
	}
	.portfolio-work-card > .card-img {
		height: 20rem;
	}
}

.bg-hover .card-bg-img {
	transition: all 500ms;
	transform: scale(1);
}

.bg-hover:hover .card-bg-img {
	transform: scale(1.1);
}

.services-grid,
.about-grid,
.eats-grid {
	flex-wrap: wrap;
}

.services-grid .card {
	width: 100%;
}

.services-grid .card h4 {
	padding: 4rem 0;
}

.main-services-grid .card {
	width: 100%;
	height: auto;
}

.about-grid .card {
	width: 100%;
	height: 110vh;
}

.eats-grid .card {
	width: 100%;
	height: 100vh;
}

.tag {
	padding: 0.12rem 0.44rem;
	background: var(--primary-color);
	color: #fff;
	border-radius: var(--border-radius);
}

.card-hover:hover {
    transition: all 0.3s ease;
    transform: translateY(-4px);
}

.card-hover:hover .primary-link {
	text-decoration: underline;
}

.primary-link:hover {
	text-decoration: underline;
	color: var(--secondary-color);
}

.fw-dp-hero {
	object-fit: contain;
	width: 100%;
	height: 100%;
	transform: scale(1.5) translateX(20%) translateY(5%);
}

.fw-co-hero {
	object-fit: contain;
	width: 100%;
	height: 100%;
	object-position: center;
}

.fw-dp-phone {
	max-width: 20rem;
}
@media all and (min-width: 768px) {
	.services-grid .card {
		flex-basis: 50%;
	}

    .about-grid .card-content h4 {
        max-width: 10ch;
        margin: 0 auto;
    }

    .about-grid .card-content p {
        max-width: 46rem;
        margin: 0 auto;
        text-wrap: pretty;
    }

	.fw-dp-hero {
		object-fit: contain;
		width: 100%;
		height: 100%;
		transform: scale(1.2) translateX(20%) translateY(0%);
	}

	.fw-co-hero {
		max-width: 80%;
	}
}
@media all and (min-width: 1400px) {
	.services-grid .card {
		flex-basis: calc(50% - 0.5rem);
	}
	.services-grid .card .card-content {
		padding-right: 30%;
	}
}

.parallax__container {
	height: auto;
	height: max-content;
	margin: 0;
	padding: 0;
	perspective: 1px;
	transform-style: preserve-3d;
	overflow-y: visible;
	overflow-x: hidden;
	border: solid 2px teal;
}

.parallax__group {
	position: relative;
	top: 0;
	margin-top: 0;
	padding: 25vh 10%;
	/* min-height: 100vh; */
	min-height: unset;
	height: auto;
	/* overflow: hidden; */
	width: 100vw;
	box-sizing: border-box;
	transform-style: inherit;
	z-index: 1;
	padding: 0;
	margin: 0;
}

/* .parallax__layer--background, */
.parallax__group:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: hidden;
	border: solid 1px red;
	transform: translateZ(-1px) scale(2);
	background-size: 50% 50%;
}

.parallax__group::after {
	background-image: url("/images/fw-eats-01.jpg");
	background-size: cover;
}

/* Add this at the end of the file */

.unfiltered-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1rem;
	padding: 2rem 0;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: var(--border-radius);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.gallery-item:hover {
	transform: translateY(-5px);
}

.gallery-item:hover img {
	transform: scale(1.1);
}

@media (min-width: 768px) {
	.unfiltered-gallery {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	}
}

@media (min-width: 1200px) {
	.unfiltered-gallery {
		grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	}
}

/* Add this at the end of the file */

.lightbox {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	justify-content: center;
	align-items: center;
}

.lightbox-content {
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
}

.close-lightbox {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
}

.gallery-item img {
	cursor: pointer;
}

/* Add this at the end of the file */

.testimonial-carousel {
	position: relative;
	overflow: hidden;
}

.testimonial-slide {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	padding: 0 0 2rem 0;
    border-radius: 1rem;
}

.testimonial-slide.active {
	display: block;
	opacity: 1;
}

.testimonial-controls {
	display: flex;
	justify-content: center;
	margin-top: 1rem;
	align-items: center;
	gap: 1rem;
}

.testimonial-control {
	background-color: var(--primary-color);
	color: white;
	border: none;
	padding: 0.5rem;
	font-size: 1.2rem;
	cursor: pointer;
	border-radius: 50%;
	transition: background-color 0.3s ease, transform 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
}

.testimonial-control:hover {
	background-color: var(--secondary-color);
	transform: scale(1.1);
}

.testimonial-control svg {
	width: 24px;
	height: 24px;
}

/* Add styles for positioning the controls */
.flex-50-desktop.pad-xlg.white-bg {
	position: relative;
	padding-bottom: 4rem; /* Increase bottom padding to make room for controls */
}

.testimonial-controls {
	position: absolute;
	bottom: 1rem;
	left: 0;
	right: 0;
}

.grid-two-thirds {
	grid-template-columns: 1fr;
}



@media all and (min-width: 768px) {
	.grid-two-thirds {
		grid-template-columns: 2fr 1fr;
	}
}

/* Add these styles at the end of the file */

/* Custom checkbox styles */
.service-option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	padding: 0.5rem;
	flex-basis: calc(50% - 0.5rem);
}

.service-option input[type="checkbox"] {
	display: none;
}

.service-checkbox {
	width: 20px;
	height: 20px;
	border: 2px solid var(--secondary-color);
	border-radius: var(--border-radius);
	display: inline-block;
	position: relative;
	transition: all 0.3s ease;
}

.service-option input[type="checkbox"]:checked + .service-checkbox {
	background-color: var(--secondary-color);
}

.service-option input[type="checkbox"]:checked + .service-checkbox::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 4px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Select dropdown styling */
.form-section-select {
	background-color: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.2);
	color: white;
	padding: 0.8rem 1rem;
	border-radius: var(--border-radius);
	width: 100%;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2363cdf6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.form-section-select:hover {
	background-color: rgba(255,255,255,0.1);
	border-color: var(--secondary-color);
}

.form-section-select:focus {
	outline: none;
	border-color: var(--secondary-color);
	box-shadow: 0 0 0 2px rgba(99, 205, 246, 0.2);
}

.form-section-select option {
	background-color: var(--primary-color);
	color: white;
	padding: 1rem;
}

/* Add styles for the select wrapper to show a nice border animation */
.form-section-field {
	position: relative;
}

.form-section-field::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: var(--secondary-color);
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.form-section-field:focus-within::after {
	width: 100%;
}

/* Responsive adjustments */
@media all and (max-width: 768px) {
	.service-option {
		flex-basis: 100%;
	}
}

/* Form validation and enhancement styles */
.form-section-field {
	position: relative;
	transition: all 0.3s ease;
}

.form-section-field.has-error .form-section-input,
.form-section-field.has-error .form-section-select {
	border-color: #ff4444;
}

.form-section-field.shake-error .form-section-input,
.form-section-field.shake-error .form-section-select {
	animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.error-message {
	color: #ff4444;
	font-size: 0.8rem;
	position: absolute;
	bottom: -1.2rem;
	left: 0;
	opacity: 0;
	animation: fadeIn 0.3s ease forwards;
}

/* Loading spinner */
.spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255,255,255,.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: spin 1s ease-in-out infinite;
	margin-right: 0.5rem;
}

/* Success message styles */
.success-message {
	text-align: center;
	padding: 2rem;
	animation: fadeIn 0.5s ease;
}

.success-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.checkmark {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: block;
	stroke-width: 2;
	stroke: var(--secondary-color);
	stroke-miterlimit: 10;
	animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
	stroke-dasharray: 166;
	stroke-dashoffset: 166;
	stroke-width: 2;
	stroke-miterlimit: 10;
	stroke: var(--secondary-color);
	fill: none;
	animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
	transform-origin: 50% 50%;
	stroke-dasharray: 48;
	stroke-dashoffset: 48;
	animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

/* Animations */
@keyframes shake {
	10%, 90% { transform: translate3d(-1px, 0, 0); }
	20%, 80% { transform: translate3d(2px, 0, 0); }
	30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
	40%, 60% { transform: translate3d(4px, 0, 0); }
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

@keyframes stroke {
	100% { stroke-dashoffset: 0; }
}

@keyframes scale {
	0%, 100% { transform: none; }
	50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fill {
	100% { box-shadow: inset 0 0 0 30px var(--secondary-color); }
}

/* Enhance form field interactions */
.form-section-input,
.form-section-select,
.form-section-textarea {
	transition: all 0.3s ease;
}

.form-section-input:focus,
.form-section-select:focus,
.form-section-textarea:focus {
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(99, 205, 246, 0.2);
}

/* Service options enhancement */
.service-option {
	transition: all 0.3s ease;
}

.service-option:hover {
	background: rgba(255,255,255,0.05);
	border-radius: var(--border-radius);
}

.service-option input[type="checkbox"]:checked ~ span:not(.service-checkbox) {
	color: var(--secondary-color);
}

/* Reading Progress Bar */
.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.1);
}

.reading-progress-bar {
	height: 100%;
	background: var(--secondary-color);
	width: 0;
	transition: width 0.2s ease;
}

/* Article Layout */
.article-content {
	max-width: 100%;
	margin: 0 auto;
}

/* Remove any overflow/height constraints */
.article-sections {
	display: flex;
	flex-direction: column;
	gap: 4rem;
}

.article-sections section {
	scroll-margin-top: 100px;
	display: flex;
	flex-direction: column;
	gap: 1rem;

	p {
		line-height: 2;
	}

	h2 {
		font-weight: 600;
	}

    .comparison-table {
        width: 100%;
        border-collapse: collapse;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 15px;
        text-align: left;
        vertical-align: top;
    }
}

/* Table of Contents */
.article-toc {
	position: static;
	width: 100%;
	transition: none; /* Remove transition for smoother scrolling */
}

/* Make sure the parent container has a relative position */
.flex-50-desktop {
	position: relative;
}

.toc-list {
	list-style: none;
	margin-top: 1.5rem;

	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.toc-list li {

}

.toc-list a {
	color: var(--primary-color);
	text-decoration: none;
	font-size: var(--text-body);
	transition: all 0.3s ease;
	display: block;
	padding: 0.5rem 0;
	opacity: 0.7;
}

.toc-list a:hover {
	opacity: 1;
	color: var(--secondary-color);
	transform: translateX(4px);
}

.toc-list li.active a {
	color: var(--secondary-color);
	opacity: 1;
	font-weight: 600;
}

/* Article Components */
.info-box {
	margin: 2rem 0;
}

.bullet-list-enhanced {
	list-style: none;
	margin: 0.4rem 0;
}

.bullet-list-enhanced li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 1.2rem;
	color: rgba(0, 0, 0, 0.8);
	font-size: var(--text-md);
    line-height: 1.8;
	transition: all 0.3s ease;
}

.bullet-list-enhanced li:hover {
	transform: translateX(4px);
	color: var(--primary-color);
}

.bullet-list-enhanced li b {
	font-weight: 600;
	color: var(--primary-color);
}

.bullet-list-enhanced li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.8rem;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--secondary-color);
	box-shadow: 0 0 0 2px rgba(99, 205, 246, 0.2);
	transition: all 0.3s ease;
}

.bullet-list-enhanced li:hover::before {
	transform: scale(1.5);
	box-shadow: 0 0 0 4px rgba(99, 205, 246, 0.2);
}

.pro-tip {
	border-left: 4px solid var(--secondary-color);
	background: var(--light-bg-color);
}

/* Article Meta */
.article-meta {
	display: flex;
	gap: 2rem;
}

.article-author {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.4rem;
}

.author-info {
	display: flex;
	flex-direction: row;
	gap: 0.4rem;
}

.author-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.author-avatar-lg {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}

/* Share Section */
.share-buttons {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.share-buttons a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.8rem 1.5rem;
	border-radius: var(--border-radius);
	text-decoration: none;
	transition: all 0.3s ease;
}

/* Author Bio Section */
.author-bio {
	margin-top: 4rem;
	background: var(--light-bg-color);
}

.author-details {
	flex: 1;
}

.author-social {
	margin-top: 1rem;
}

.author-social a {
	padding: 0.5rem;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.author-social a:hover {
	background: rgba(99, 205, 246, 0.1);
	transform: translateY(-2px);
}

.reading-time, .article-details {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

/* Related Articles */
.related-articles {
	margin-top: 4rem;
}

.related-articles .card {
	height: 100%;
	transition: all 0.3s ease;
}

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

/* Newsletter CTA */
.newsletter-form {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.article-meta {
		flex-direction: column;
		gap: 1rem;
	}
	
	.article-toc {
		position: relative;
		top: 0;
		margin-bottom: 2rem;
	}
	
	.share-buttons {
		flex-wrap: wrap;
	}
}

@media (min-width: 1200px) {
	.article-content {
		max-width: 740px;
		margin: 0;
	}
}

/* Style the scrollbar */
.article-content::-webkit-scrollbar {
	width: 8px;
}

.article-content::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.05);
	border-radius: 4px;
}

.article-content::-webkit-scrollbar-thumb {
	background: var(--secondary-color);
	border-radius: 4px;
}

/* Bio Page Styles */
.bio-header {
	border-bottom: 1px solid rgba(0,0,0,0.1);
	padding-bottom: 2rem;
}

.contact-info {
	margin-top: 1rem;
}

.contact-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: var(--primary-color);
	transition: all 0.3s ease;
}

.contact-link:hover {
	color: var(--secondary-color);
	transform: translateX(4px);
}

.contact-icon {
	font-size: 1.2rem;
}

.expertise-section,
.technical-section {
	padding: 2rem 0;
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

.experience-item {
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

.experience-item:last-child {
	border-bottom: none;
}

.education-section {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
	.bio-header {
		text-align: center;
	}
	
	.contact-info {
		flex-direction: column;
		align-items: center;
	}
}




/* Insights Page Styles */
.insight-list {
    margin-top: 2rem;
}

.insight-list .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

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

.insight-list .card-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.insight-list .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.insight-list .card-content-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Article Meta Styles */
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-meta .text-blue {
    transition: color 0.3s ease;
}

/* Category Filter Styles */
.filter-wrapper {
    padding: 2rem 0;
}

.tag-filter {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--secondary-color);
    border-radius: 2rem;
    background: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag-filter:hover {
    background: var(--secondary-color);
    color: white;
}

.tag-filter.active {
    background: var(--secondary-color);
    color: white;
}

/* Article Footer */
.article-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.article-footer svg {
    transition: transform 0.3s ease;
}

.card:hover .article-footer svg {
    transform: translateX(8px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .insight-list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .filter-wrapper .flex-wrapper {
        justify-content: center;
    }

    .insight-list .card-img {
        height: 200px;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .insight-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .insight-list .card-img {
        height: 280px;
    }
}

.company-logo {
    height: 40px;
    width: auto;
    opacity: 0.7;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.company-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.bullet-list-enhanced li {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .company-logo {
        height: 30px;
    }
}

/* Newsletter Hero Form Styles */
.newsletter-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2C5364 100%);
    padding: 4rem;
    border-radius: var(--border-radius);
    color: white;
}

.newsletter-hero h2 {
    color: white;
}

.newsletter-form-wrapper {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto 0;
}

.newsletter-hero-form .form-text {
    flex: 1;
    height: 3.5rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.newsletter-hero-form .form-text:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(99, 205, 246, 0.1);
}

.newsletter-hero-form .primarybtn {
    height: 3.5rem;
    padding: 0 2rem;
    font-size: 1.1rem;
    background: var(--primary-color);
    border: none;
}

.newsletter-hero-form .primarybtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.newsletter-privacy {
    color: rgba(255,255,255,0.8);
}

.newsletter-preview-wrapper {
    position: relative;
    transition: all 0.3s ease;
}

.newsletter-preview-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.newsletter-preview-overlay {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .newsletter-form-wrapper {
        flex-direction: column;
    }
    
    .newsletter-hero {
        padding: 2rem;
    }
    
    .newsletter-hero-form .primarybtn {
        width: 100%;
    }
}

/* Newsletter Landing Page Enhancements */
.hero-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-badge-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hero-badge-logo {
    height: 30px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.social-proof-counter {
    text-align: center;
    margin-bottom: 2rem;
}

.counter-number {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.newsletter-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.feature-item {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.preview-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.preview-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    line-height: 1;
}

.feature-content h4 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.value-prop-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

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

.company-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.testimonial-card {
    background: white;
    transition: all 0.3s ease;
}

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

.rating-stars {
    background: linear-gradient(90deg, var(--secondary-color) 0%, #2C5364 100%);
    height: 20px;
    width: 100px;
    mask: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 15.27L16.18 19L14.54 11.97L20 7.24L12.81 6.63L10 0L7.19 6.63L0 7.24L5.46 11.97L3.82 19L10 15.27Z'/%3E%3Cpath d='M30 15.27L36.18 19L34.54 11.97L40 7.24L32.81 6.63L30 0L27.19 6.63L20 7.24L25.46 11.97L23.82 19L30 15.27Z'/%3E%3Cpath d='M50 15.27L56.18 19L54.54 11.97L60 7.24L52.81 6.63L50 0L47.19 6.63L40 7.24L45.46 11.97L43.82 19L50 15.27Z'/%3E%3Cpath d='M70 15.27L76.18 19L74.54 11.97L80 7.24L72.81 6.63L70 0L67.19 6.63L60 7.24L65.46 11.97L63.82 19L70 15.27Z'/%3E%3Cpath d='M90 15.27L96.18 19L94.54 11.97L100 7.24L92.81 6.63L90 0L87.19 6.63L80 7.24L85.46 11.97L83.82 19L90 15.27Z'/%3E%3C/svg%3E") center/contain;
}

@media (max-width: 768px) {
    .hero-badge-logos {
        gap: 1rem;
    }
    
    .hero-badge-logo {
        height: 20px;
    }
    
    .newsletter-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .preview-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
} 

.article-newsletter {
	border: 1px solid var(--primary-color);
	background: var(--primary-color);
	border-radius: var(--border-radius);
}

/* Add these styles at the end of the file */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.metric-card {
    background: var(--light-bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
}

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

.metric-number {
    display: block;
    font-size: var(--text-supreme);
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.metric-label {
    font-size: var(--text-sm);
    text-transform: uppercase;
    font-weight: 500;
    color: var(--primary-color);
}

.strategy-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.strategy-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.strategy-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.strategy-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

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

.results-timeline {
    margin-top: 3rem;
    position: relative;
    padding-left: 3rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--secondary-color);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid white;
}

.timeline-date {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .strategy-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
}

.testimonial-section {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-content blockquote {
    font-size: var(--text-lg);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 300;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 2rem;
}

.author-info h4 {
    margin: 0;
    color: var(--primary-color);
}

.author-info p {
    margin: 0;
    color: var(--secondary-color);
    font-size: var(--text-sm);
}

/* SEO Results Section Styles */
.keyword-rankings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.keyword-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.keyword-card:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.keyword-text {
    font-weight: 500;
    color: var(--primary-color);
}

.ranking-badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: var(--text-sm);
    font-weight: 600;
}

.seo-graph {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.graph-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .keyword-card {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .seo-graph {
        margin-top: 2rem;
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--secondary-color);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.back-to-top svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .back-to-top svg {
        width: 1.2rem;
        height: 1.2rem;
    }
}

/* Insight Cards Styling */
.insight-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.insight-card-header {
    background: linear-gradient(135deg, #FFB6C1, #FFD700);
    padding: 1rem 1.5rem;
    min-height: 120px;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.insight-card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/pattern-dots.svg') repeat;
    opacity: 0.1;
}

.insight-category {
    display: inline-block;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.insight-card .card-content {
    flex: 1;
    padding: 2rem;
}

.insight-card h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.insight-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.insight-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.insight-date-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insight-date-time .separator {
    color: #ccc;
}

.insight-author-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar + .author-avatar {
    margin-left: -8px;
}

/* Category-specific gradient backgrounds */
.insight-card[data-category="Digital Marketing"] .insight-card-header {
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
}

.insight-card[data-category="Local Marketing"] .insight-card-header {
    background: linear-gradient(135deg, #4ECDC4, #556270);
}

.insight-card[data-category="Marketing Analytics"] .insight-card-header {
    background: linear-gradient(135deg, #0062FF, #00C6FF);
}

.insight-card[data-category="Website Optimization"] .insight-card-header {
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
}

.insight-card[data-category="AI & Marketing"] .insight-card-header {
    background: linear-gradient(135deg, #369, #2C5364);
}

.insight-card[data-category="Marketing Strategy"] .insight-card-header {
    background: linear-gradient(135deg, #ff4444, #FF6B6B);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .insight-card-header {
        min-height: 100px;
    }
    
    .insight-card h3 {
        font-size: 1.25rem;
    }
    
    .insight-author-row {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
}

.campaign-metrics-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .campaign-metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metric-card {
    background: var(--light-bg-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-label {
    font-size: var(--text-sm);
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary-color);
}

.metric-value {
    font-size: var(--text-xlg);
    font-weight: 600;
    line-height: 1;
}

.metric-caption {
    font-size: var(--text-sm);
    color: #666;
}

.campaign-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.campaign-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.campaign-header {
    margin-bottom: 1rem;
}

.campaign-progress {
    height: 4px;
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
    margin-top: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: var(--progress-color);
    border-radius: 2px;
    transition: width 1s ease-in-out;
}

.campaign-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .campaign-stats {
        grid-template-columns: repeat(5, 1fr);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: var(--text-sm);
    color: #666;
}

.stat-value {
    font-size: var(--text-md);
    font-weight: 600;
}

/* New styles for Google Ads section */
.platform-section {
    margin-top: 4rem;
}

.platform-header {
    margin-bottom: 2rem;
}

.performance-metrics-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .performance-metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.performance-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.performance-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.performance-trend {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.trend-value {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--primary-color);
}

.trend-label {
    font-size: var(--text-sm);
    color: #666;
}

.performance-trend.positive .trend-value {
    color: var(--green-color);
}

/* Update initiatives styles */
.initiative-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.initiative-content {
    max-width: 50rem;
}

.initiative-content h3 {
    margin-bottom: 1rem;
}

.creative-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .creative-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.creative-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--light-bg-color);
    transition: transform 0.3s ease-in-out;
}

.creative-item:hover {
    transform: scale(1.02);
}

.creative-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

/* Thank You Section Styles */
.signature-block {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.signature {
    max-width: 200px;
    height: auto;
    opacity: 0.9;
}

.text-center {
    text-align: center;
}

.big-list {
    list-style-type: none;
    padding-left: 0;
    
    li {
        font-size: var(--text-xlg);
        font-weight: 500;
        line-height: 1.5;
    }
}

/* CrowdShout.ai Case Study Styles */
.brand-elements {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.brand-element {
    padding: 2.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius);
    transition: all 350ms;
}

.brand-element:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.1);
}

.brand-showcase {
    position: relative;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius);
}

.brand-color-system {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.color-swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    transition: all 350ms;
    position: relative;
    cursor: pointer;
}

.color-swatch.primary {
    background: var(--primary-color);
}

.color-swatch.secondary {
    background: var(--secondary-color);
}

.color-swatch.accent {
    background: var(--green-color);
}

.color-swatch.neutral {
    background: var(--light-bg-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(255,255,255,0.02);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: all 350ms;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.05);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 48px;
    height: 48px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--secondary-color);
    stroke-width: 2;
}

.tech-stack {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255,255,255,0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.1);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 350ms;
}

.tech-item:hover {
    transform: translateY(-2px);
    border-color: var(--secondary-color);
    background: rgba(255,255,255,0.05);
}

.tech-item svg {
    width: 40px;
    height: 40px;
    stroke: var(--secondary-color);
    stroke-width: 2;
}

.product-showcase {
    position: relative;
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.1);
}

.interface-highlights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.highlight-point {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--secondary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
}

.highlight-point::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.point-label {
    position: absolute;
    background: var(--primary-color);
    color: var(--light-bg-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: var(--text-md);
    white-space: nowrap;
    transform: translateX(-50%);
    bottom: calc(100% + 15px);
    opacity: 0;
    transition: all 350ms;
    pointer-events: none;
}

.highlight-point:hover .point-label {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@media (min-width: 768px) {
    .brand-elements {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .brand-elements {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.case-study-meta {
    display: flex;
    flex-direction: row;
    gap: 6rem;

    @media (max-width: 768px) {
        flex-direction: column;
        gap: 2rem;
    }
}


/* Tech Stack Section */
.tech-logo-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 120px; /* Fixed height for consistency */
}

.tech-logo-card:hover {
    transform: translateY(-4px);
}

.tech-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%; /* Take full height of card */
    padding: 0.5rem 0;
    gap: 0.75rem;
}

.tech-logo {
    width: 60px; /* Fixed width */
    height: 60px; /* Fixed height */
    object-fit: contain; /* Maintain aspect ratio */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
    margin-bottom: auto; /* Push to top */
}

.tech-caption {
    font-size: var(--text-sm);
    color: var(--primary-color);
    font-weight: 500;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    margin-top: auto; /* Push to bottom */
}

.tech-logo-card:hover .tech-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.tech-logo-card:hover .tech-caption {
    opacity: 1;
}

.home-tech-grid {
    grid-template-columns: repeat(7, 1fr);
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .home-tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tech-logo-card {
        padding: 1.5rem;
        height: 140px; /* Slightly smaller height for tablets */
    }
    
    .tech-logo {
        width: 50px; /* Smaller fixed width */
        height: 50px; /* Smaller fixed height */
    }
}

@media (max-width: 480px) {
    .home-tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tech-logo-card {
        padding: 0;
        height: 120px; /* Even smaller height for mobile */
    }
    
    .tech-logo {
        width: 40px; /* Even smaller fixed width */
        height: 40px; /* Even smaller fixed height */
    }
    
    .tech-caption {
        font-size: var(--text-xs);
    }
}

/* Enhanced Service Section Styles */
.services-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.service-card {
    position: relative;
    background: var(--light-bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.service-card-content {
    padding: 6rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex-basis: 50%;
}

.service-number {
    font-size: var(--text-supreme);
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    left: 1rem;
    line-height: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    position: relative;
}


.service-title {
    font-size: var(--text-xlg);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    font-size: var(--text-md);
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: var(--text-md);
    color: var(--primary-color);
}

.service-feature::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-cta:hover {
    gap: 1rem;
    color: var(--primary-color);
}

.service-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.service-cta:hover svg {
    transform: translateX(4px);
}

.service-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    flex-basis: 50%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card-content {
        padding: 8rem 4rem;
    }

    .service-card {
        flex-direction: row;
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-card-content {
        padding:8rem 3rem 6rem 3rem;
    }
}

/* Service Hero Section */
.service-hero {
    position: relative;
    padding: 8rem 0;
    background: var(--primary-color);
    color: white;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/pattern-dots.svg') repeat;
    opacity: 0.1;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-hero-title {
    font-size: var(--text-xxxlg);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.service-hero-description {
    font-size: var(--text-lg);
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.service-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service-hero-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.service-hero-cta:hover svg {
    transform: translateX(4px);
}

/* Service Stats Section */
.service-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.stat-number {
    font-size: var(--text-xxxlg);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: var(--text-md);
    color: var(--primary-color);
    font-weight: 500;
}

@media (min-width: 768px) {
    .service-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}





