/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #3A3A3A;
    background-color: #F8F9FA;
}

.contact-info a{
    color: #3A3A3A;
}

/* Color Variables */
:root {
    --primary-green: #005B4F;
    --soft-jade: #4DD4AC;
    --off-white: #F8F9FA;
    --charcoal: #3A3A3A;
    --white: #FFFFFF;
    --light-gray: #E9ECEF;
    --medium-gray: #6C757D;
    --shadow: rgba(0, 91, 79, 0.1);
    --gradient: linear-gradient(135deg, #005B4F 0%, #4DD4AC 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px var(--shadow);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem; /* Default padding for larger screens */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute items */
}

.nav-logo h2 {
    cursor: pointer;
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    list-style: none;
    display: flex; /* Ensure horizontal layout on desktop */
    gap: 2rem;
    margin-left: auto; /* Push menu to the right */
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    font-size: 1.8rem; /* Size of the icon */
    color: var(--primary-green);
    cursor: pointer;
    z-index: 1001; /* Ensure it's above other content */
    transition: color 0.3s ease;
}

.hamburger-menu:hover {
    color: var(--soft-jade);
}

/* Mobile Menu Specific Styles */
.mobile-menu {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--off-white);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    overflow-y: auto;
    padding-top: 80px; /* Adjust based on navbar height */
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
}

.mobile-nav-menu .nav-item {
    margin: 1.2rem 0; /* Slightly increased margin for better spacing */
    text-align: center; /* Center the nav items */
}

.mobile-nav-menu .nav-link {
    font-size: 1.6rem; /* Slightly larger font size for better readability */
    color: var(--charcoal);
    font-weight: 600;
    padding: 1rem 2rem; /* Increased padding for better touch targets */
    display: block;
    border-radius: 10px; /* Rounded corners for links */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav-menu .nav-link:hover,
.mobile-nav-menu .nav-link:focus {
    background-color: var(--light-gray);
    color: var(--primary-green);
}

/* Media query for mobile */
@media (max-width: 1350px) {
    .nav-menu {
        display: none; /* Hide desktop menu on mobile */
    }

    .hamburger-menu {
        display: flex; /* Show hamburger menu on mobile */
        align-items: center;
    }

    .mobile-menu {
        display: block; /* Show mobile menu container */
    }
}

.nav-link {
    text-decoration: none !important;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active {
    color: var(--primary-green);
    outline: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
    border: none !important; /* Ensure no border on the pseudo-element */
    outline: none !important; /* Ensure no outline on the pseudo-element */
}

.nav-link:hover::after {
    width: 100%;
}

.nav-menu a {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important; /* For mobile taps */
}

.nav-menu li {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.tech-graphic {
    position: relative;
    width: 500px; /* Increased size */
    height: 500px; /* Increased size */
    background-image: url('./images/main-img.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 20px; /* Rounded rectangle */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Removed box-shadow */
    overflow: hidden;
}


.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.floating-element i {
    font-size: 1.5rem;
    color: var(--primary-green);
}


.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 20%;
    right: 10%;
    animation-delay: 0.5s;
}

.element-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.element-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Our Work Section Specific Styles */
.our-work .project-grid {
    margin-top: 3rem;
}

.our-work .text-center {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem; /* Add bottom margin */
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}

/* Team Photo Styles */
.team-photo {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow);
    transition: all 0.3s ease;
}

.team-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px var(--shadow);
}

.team-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.team-photo:hover .team-member-photo {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 91, 79, 0.9));
    color: var(--white);
    padding: 2rem;
    text-align: center;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.team-photo:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.photo-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    box-shadow: 0 20px 40px var(--shadow);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--soft-jade);
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: var(--white);
}

.portfolio-grid, .project-grid, #ourWorkGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Portfolio Carousel (initially hidden) */
section#our-work .portfolio-carousel, section#our-work .featured-projects-carousel, section#our-work #ourWorkCarousel {
    display: none; /* Hidden by default on desktop */
    margin-top: 3rem;
}

/* Projects Page Specific Styles */
.projects-section {
    padding: 6rem 0;
    background: var(--off-white);
}

.projects-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--charcoal);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filters select {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--charcoal);
    background-color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none; /* Remove default select arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%20viewBox%3D%220%200%20292.4%20292.4%22%3E%3Cpath%20fill%3D%22%23005B4F%22%20d%3D%22M287%20197.97L146.2%2057.17%205.4%20197.97h281.6z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
}

.filters select:hover {
    border-color: var(--primary-green);
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.project-card h3 {
    color: var(--charcoal);
    margin: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
}

.project-card p {
    color: var(--medium-gray);
    margin: 0 1.5rem 0.8rem; /* Slightly reduced margin */
    font-size: 0.95rem; /* Smaller font size */
    flex-grow: 1;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 1.5rem 1.5rem;
}

.project-meta span {
    background: var(--light-gray);
    color: var(--charcoal);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem; /* Smaller font size */
    font-weight: 500;
}

.tech-used {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* Decreased gap */
    margin: 0 1.5rem 1.5rem;
}

.tech-used .tech-tag {
    background: var(--soft-jade);
    color: var(--white);
    padding: 0.3rem 0.6rem; /* Decreased padding */
    border-radius: 12px; /* Slightly smaller border-radius */
    font-size: 0.7rem; /* Further decreased font size */
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
    margin-top: auto; /* Push links to the bottom */
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-links a {
    background: var(--gradient);
    color: var(--white);
    border: none; /* Ensure no default border */
}

.project-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
}

/* Specific styles for GitHub and Live Demo links if needed, but default to green */
.project-links a.btn-secondary { /* If a secondary style is still desired for some reason */
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.project-links a.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.portfolio-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow);
}

.portfolio-image {
    height: 200px;
    background: var(--gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.portfolio-image .image-placeholder {
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
}

.portfolio-image i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: var(--medium-gray);
    margin-bottom: 1rem; /* Smaller margin */
    font-size: 0.95rem; /* Smaller font size */
}

.portfolio-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.portfolio-stats span {
    background: var(--soft-jade);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Ensure feature cards are always visible within the carousel on mobile */
.features-carousel .carousel-slide {
    min-width: 100%; /* Each slide takes full width */
    box-sizing: border-box; /* Include padding in width calculation */
    padding: 1rem; /* Add padding to the slides */
}

.features-carousel .feature-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%; /* Ensure cards fill the slide height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: var(--off-white);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--charcoal);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}


/* Mobile Carousel */
section#features .features-carousel {
    display: none; /* Hidden by default on desktop */
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    touch-action: pan-y; /* Allow vertical scrolling while enabling horizontal dragging */
}

.carousel-slide {
    min-width: 100%;
    padding: 1rem;
}

.carousel-slide.active {
    display: block;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--gradient);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px var(--shadow);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--gradient);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-green);
}

.cta-buttons .btn-primary:hover {
    background: var(--primary-green);
    color: var(--white);
}

.cta-buttons .btn-secondary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem; /* Further reduced padding */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.stars i {
    color: #FFD700;
    font-size: 1.2rem;
}

.testimonial-content blockquote {
    font-size: 0.95rem; /* Further reduced font size */
    line-height: 1.5; /* Further reduced line height */
    color: var(--charcoal);
    margin-bottom: 1.2rem; /* Further reduced margin */
    font-style: italic;
    position: relative;
}

.testimonial-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--soft-jade);
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-image i {
    color: var(--white);
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--charcoal);
    font-size: 0.9rem; /* Further reduced font size */
    margin-bottom: 0.1rem; /* Further reduced margin */
}

.author-info p {
    color: var(--medium-gray);
    font-size: 0.75rem; /* Further reduced font size */
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h4 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--medium-gray);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--soft-jade);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--soft-jade);
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    background: var(--white);
    color: var(--charcoal);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: var(--light-gray);
}

/* Responsive Design */

@media (max-width: 768px) {


    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem; /* Reduce gap between service cards on mobile */
    }

    .service-card {
        padding: 2rem 1.5rem; /* Reduce padding for smaller service cards */
    }

    .service-card h3 {
        font-size: 1.5rem; /* Smaller heading for service cards */
    }

    .service-card p {
        font-size: 1rem; /* Smaller paragraph text for service cards */
    }

    .service-icon {
        width: 70px; /* Smaller icon container */
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .service-icon i {
        font-size: 1.8rem; /* Smaller icon size */
    }

    .features-grid {
        display: none; /* Hide desktop grid on mobile */
    }

    .features-carousel {
        display: block !important; /* Force show mobile carousel */
    }

    .portfolio-grid, #ourWorkGrid {
        display: none; /* Hide desktop grid on mobile */
    }

    .portfolio-carousel, #ourWorkCarousel {
        display: block !important; /* Force show mobile carousel */
    }

    #featuredProjectsGrid {
        display: none; /* Hide desktop featured grid on mobile */
    }

    #featuredProjectsCarousel {
        display: block; /* Show mobile featured carousel */
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-direction: column;
        align-items: center;
        gap: 1rem; /* Adjust gap for mobile filters */
    }

    .filters select {
        width: 100%;
        max-width: 300px;
    }

    .project-card {
        margin-bottom: 1.5rem; /* Add space between project cards on mobile */
    }


    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1rem 0.8rem; /* Further decreased padding for mobile */
    }

    .testimonial-card blockquote {
        font-size: 0.9rem; /* Further smaller font size for quote */
        margin-bottom: 1rem;
    }

    .testimonial-author h4 {
        font-size: 0.9rem; /* Further smaller font size for author name */
    }

    .testimonial-author p {
        font-size: 0.7rem; /* Further smaller font size for author title */
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card,
    .contact-form {
        padding: 2rem 1rem;
    }

    .tech-graphic {
        width: 300px;
        height: 300px;
    }


    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .floating-element {
        width: 50px;
        height: 50px;
    }
}

/* Blog Section Styles */
.blog-section {
    padding: 6rem 0;
    background: var(--off-white);
}

.blog-posts-section {
    padding-bottom: 6rem; /* Add padding to the bottom of the section */
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-button-center {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
}

.filters {
    margin-bottom: 3rem; /* Add margin below the filters */
}

/* Additional Text Section Styles */
.additional-text-section {
    padding: 4rem 0;
    background: var(--white);
}

.additional-text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.additional-text-content p {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content h3 {
    color: var(--charcoal);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.blog-excerpt {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-meta i {
    margin-right: 0.3rem;
    color: var(--primary-green);
}

.blog-card .btn-primary {
    align-self: flex-start;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* Blog Post Page Styles */
.hero-small {
    padding: 8rem 0 4rem;
    /* background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%); */
    text-align: center;
}

.hero-small .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.hero-small .hero-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

.blog-post-content-section {
    padding: 4rem 0;
    background: var(--white);
}

.blog-post-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-post-title {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    text-align: center;
}

.blog-post-article .post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.blog-post-article .post-meta i {
    margin-right: 0.5rem;
    color: var(--primary-green);
}

.blog-post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 2.5rem;
}

.blog-post-body {
    color: var(--charcoal);
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-post-body h1, .blog-post-body h2, .blog-post-body h3, .blog-post-body h4, .blog-post-body h5, .blog-post-body h6 {
    color: var(--primary-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-body ul, .blog-post-body ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
}
.suggested-posts-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.suggested-posts-section .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--charcoal);
}

.back-to-blog {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive adjustments for blog */
@media (max-width: 768px) {
    .hero-small {
        padding: 6rem 0 3rem;
    }

    .hero-small .hero-title {
        font-size: 2.2rem;
    }

    .hero-small .hero-description {
        font-size: 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-article {
        padding: 1.5rem;
    }

    .blog-post-title {
        font-size: 1.8rem;
    }

    .blog-post-image {
        height: 250px;
    }

    .blog-post-body {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-card-content h3 {
        font-size: 1.2rem;
    }

    .blog-excerpt {
        font-size: 0.9rem;
    }

    .blog-meta {
        font-size: 0.8rem;
    }

    .blog-post-title {
        font-size: 1.5rem;
    }

    .blog-post-image {
        height: 200px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

.carousel-init-hide {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* Suggested Blog Card Styles */
.suggested-blog-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 0.8rem;
    text-decoration: none;
    color: var(--charcoal);
    transition: all 0.3s ease;
    margin-bottom: 1rem; /* Space between cards */
}

.suggested-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.suggested-blog-card img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.suggested-blog-card h4 {
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

/* Adjustments for suggested posts grid */
.suggested-posts-section .blog-grid {
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: 0; /* Remove gap between cards as margin is applied to cards directly */
}

@media (max-width: 480px) {
    .suggested-blog-card {
        padding: 0.6rem;
        gap: 0.8rem;
    }

    .suggested-blog-card img {
        width: 60px;
        height: 45px;
    }

    .suggested-blog-card h4 {
        font-size: 0.9rem;
    }
}

/* Why ZiricStudios Section */
.our-approach {
    padding: 6rem 0;
    background: var(--off-white);
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.approach-image .image-placeholder {
    width: 350px;
    height: 350px;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow);
}

.approach-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.approach-text .section-subtitle {
    text-align: left;
    margin-bottom: 2rem;
    max-width: none;
}

.approach-text p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.approach-text .btn-primary {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .approach-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .approach-image .image-placeholder {
        width: 280px;
        height: 280px;
        margin-bottom: 2rem;
    }

    .approach-text .section-title,
    .approach-text .section-subtitle {
        text-align: center;
    }
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-image .image-placeholder {
    width: 350px;
    height: 350px;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow);
}

.why-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.why-text .section-subtitle {
    text-align: left;
    margin-bottom: 2rem;
    max-width: none;
}

.why-text p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.why-text .btn-primary {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .why-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-image .image-placeholder {
        width: 280px;
        height: 280px;
        margin-bottom: 2rem;
    }

    .why-text .section-title,
    .why-text .section-subtitle {
        text-align: center;
    }
}

/* Modal Styles */
.modal {
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-content h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-content p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.close-button {
    color: var(--charcoal);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--primary-green);
    text-decoration: none;
}

.modal .callback-form {
    padding: 0; /* Remove padding from form inside modal */
    box-shadow: none; /* Remove shadow from form inside modal */
    background: transparent; /* Transparent background for form inside modal */
}

.modal .form-group {
    margin-bottom: 1rem;
}

.modal .form-group input,
.modal .form-group select {
    border-radius: 5px;
    padding: 0.8rem;
    font-size: 0.9rem;
}

.modal .btn-primary {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Responsive adjustments for modal */
@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-content h3 {
        font-size: 1.5rem;
    }

    .close-button {
        font-size: 1.8rem;
        top: 10px;
        right: 15px;
    }
}

/* Team Members Section */
.team-members-section {
    padding: 6rem 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Adjusted for 4 cards per row */
    gap: 1.5rem; /* Reduced gap */
    margin-top: 3rem;
}

.team-card {
    background-color: var(--off-white);
    height: 300px; /* Adjusted height */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow);
}


.team-member-photo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-member-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.team-card .expertise {
    color: var(--medium-gray);
    font-size: 1rem;
    margin-bottom: 0;
}

.team-card-back p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--white);
}

/* Responsive adjustments for team section */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Tools Page Styles */
.tools-section {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tool-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.tool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-image img {
    transform: scale(1.05);
}

.tool-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.tool-status.live {
    background: rgba(76, 175, 80, 0.9);
    color: white;
}

.tool-status.beta {
    background: rgba(255, 193, 7, 0.9);
    color: #333;
}

.tool-status.coming-soon {
    background: rgba(108, 117, 125, 0.9);
    color: white;
}

.tool-content {
    padding: 1.5rem;
}

.tool-content h3 {
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.tool-description {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tool-categories {
    margin-bottom: 1rem;
}

.tool-categories .category-tag {
    display: inline-block;
    background: var(--soft-jade);
    color: var(--primary-green);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.tool-features {
    margin-bottom: 1rem;
}

.tool-features h4 {
    color: var(--charcoal);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.tool-features ul {
    list-style: none;
    padding: 0;
}

.tool-features li {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    position: relative;
}

.tool-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--soft-jade);
    font-weight: bold;
}

.tool-features .more-features {
    color: var(--primary-green);
    font-style: italic;
}

.tool-tech {
    margin-bottom: 1.5rem;
}

.tool-tech h4 {
    color: var(--charcoal);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--light-gray);
    color: var(--charcoal);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tool-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tool-links .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
}

.tool-links .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--medium-gray);
}

.no-tools-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--medium-gray);
}

.no-tools-message p {
    font-size: 1.2rem;
}

/* Responsive adjustments for tools section */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tool-card {
        margin: 0 1rem;
    }
    
    .tool-links {
        flex-direction: column;
    }
    
    .tool-links .btn {
        flex: none;
    }
}

@media (max-width: 480px) {
    .tool-content {
        padding: 1rem;
    }
    
    .tool-image {
        height: 150px;
    }
}