/*
Theme Name: Coding Beasts
Theme URI: https://your-website.com/
Author: Your Name
Author URI: https://your-website.com/
Description: A custom WordPress theme for Coding Beasts, based on a static HTML template.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Text Domain: codingbeasts
*/

/* General & Reset */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1E293B; /* Corresponds to dark color */
    background-color: #F9FAFB; /* bg-gray-50 */
    margin: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Container */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) {
    .container { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
    .container { max-width: 768px; }
}
@media (min-width: 1024px) {
    .container { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1280px) {
    .container { max-width: 1280px; }
}

/* Header */
header {
    position: fixed;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    z-index: 50;
}

header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #4F46E5; /* primary color */
}

.logo svg {
    height: 2rem;
    width: 2rem;
    margin-right: 0.5rem;
}

.logo .text-secondary {
    color: #10B981; /* secondary color */
}

nav.desktop-nav {
    display: none;
}
@media (min-width: 768px) {
    nav.desktop-nav {
        display: flex;
        gap: 2rem;
    }
}

.nav-link {
    position: relative;
    color: #1E293B;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 18px;
}

.nav-link:hover {
    color: #4F46E5;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4F46E5;
    transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.header-get-started {
    display: none;
}
@media (min-width: 768px) {
    .header-get-started {
        display: block;
    }
}

.get-started-btn {
    background-color: #4F46E5;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-size: 18px;
}

.get-started-btn:hover {
    background-color: #4338CA;
    transform: scale(1.05);
}

#mobile-menu-button {
    display: block;
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
}
@media (min-width: 768px) {
    #mobile-menu-button {
        display: none;
    }
}
#mobile-menu-button:hover {
    color: #1E293B;
}
#mobile-menu-button svg {
    height: 1.5rem;
    width: 1.5rem;
}

#mobile-menu {
    display: none;
    padding-bottom: 1rem;
}
@media (min-width: 768px) {
    #mobile-menu {
        display: none !important;
    }
}
#mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: #1E293B;
    font-weight: 500;
    text-decoration: none;
}
#mobile-menu a:hover {
    color: #4F46E5;
}
#mobile-menu .get-started-btn {
    margin-top: 0.5rem;
    width: 100%;
}
.logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

/* Page Transitions */
.page {
    display: block; /* In WordPress, page visibility is handled by templates */
}

/* General Section Styling */
section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.section-title p {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: #4B5563;
}
.text-primary { color: #4F46E5; }
.text-secondary { color: #10B981; }

/* Hero Section */
#home-page { padding-top: 0; }
.hero-section {
    padding-top: 9rem;
    padding-bottom: 6rem;
}
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
    }
}
.hero-content {
    text-align: center;
}
@media (min-width: 768px) {
    .hero-content {
        width: 50%;
        padding-right: 3rem;
        text-align: left;
    }
}
.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3.75rem;
    }
}
.hero-content .description {
    font-size: 1.125rem;
    color: #4B5563;
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    @media (min-width: 768px) {
        .hero-buttons {
            justify-content: flex-start;
        }
    }
}

.gradient-btn {
    background: linear-gradient(120deg, #4F46E5 0%, #10B981 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.gradient-btn:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    transform: scale(1.05);
}

.outline-btn {
    background-color: white;
    color: #4F46E5;
    border: 1px solid #4F46E5;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.outline-btn:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    transform: scale(1.05);
}

.hero-reviews {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 768px) {
    .hero-reviews {
        justify-content: flex-start;
    }
}
.hero-reviews .avatars {
    display: flex;
}
.hero-reviews .avatars img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -0.75rem;
}
.hero-reviews .avatars img:first-child {
    margin-left: 0;
}
.hero-reviews .review-details {
    margin-left: 1rem;
}
.hero-reviews .stars {
    display: flex;
    color: #FBBF24;
}
.hero-reviews .stars svg {
    height: 1.25rem;
    width: 1.25rem;
}
.hero-reviews .review-text {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4B5563;
}

.hero-image-container {
    width: 100%;
    margin-top: 2.5rem;
    position: relative;
}
@media (min-width: 768px) {
    .hero-image-container {
        width: 50%;
        margin-top: 0;
    }
}
.hero-image-container .blur-circle-1 {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 16rem;
    height: 16rem;
    background-color: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    filter: blur(48px);
}
.hero-image-container .blur-circle-2 {
    position: absolute;
    bottom: -2.5rem;
    right: -2.5rem;
    width: 18rem;
    height: 18rem;
    background-color: rgba(79, 70, 229, 0.2);
    border-radius: 50%;
    filter: blur(48px);
}
.hero-image-container .hero-svg {
    position: relative;
    z-index: 10;
}

/* Clients Section */
.clients-section {
    padding: 2.5rem 0;
    background-color: #F3F4F6;
}
.clients-section p {
    text-align: center;
    margin-bottom: 2rem;
    color: #4F46E5;
    font-weight: 500;
}
.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem 1rem;
}
.clients-logos div {
    filter: grayscale(100%);
    transition: all 0.3s ease;
}
.clients-logos div:hover {
    filter: grayscale(0%);
}
.clients-logos svg {
    height: 2rem;
    fill: #4B5563;
}
@media (min-width: 768px) {
    .clients-logos svg {
        height: 2.5rem;
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.feature-card .icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.feature-card .icon-wrapper svg {
    height: 1.75rem;
    width: 1.75rem;
    color: #4F46E5;
}
.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.feature-card p {
    color: #4B5563;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(120deg, #4F46E5 0%, #10B981 100%);
}
.cta-content {
    max-width: 56rem;
    margin: auto;
    text-align: center;
}
.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}
.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}
.cta-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}
@media (min-width: 640px) {
    .cta-buttons { flex-direction: row; }
}
.cta-buttons .cta-primary-btn {
    background-color: white;
    color: #fff;
}
.cta-buttons .cta-secondary-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

/* Testimonials Section */
.testimonial-slider-container {
    position: relative;
}
.testimonial-slider {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2rem;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.testimonial-slider::-webkit-scrollbar {
    display: none;
}
.testimonial-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 0 1rem;
}
@media (min-width: 768px) {
    .testimonial-slide { flex-basis: 50%; }
}
@media (min-width: 1024px) {
    .testimonial-slide { flex-basis: 33.333%; }
}
.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    height: 100%;
    border: 1px solid #F3F4F6;
}
.testimonial-card .stars {
    display: flex;
    margin-bottom: 1.5rem;
    color: #FBBF24;
}
.testimonial-card .stars svg {
    width: 1.25rem;
    height: 1.25rem;
}
.testimonial-card p {
    color: #4B5563;
    margin-bottom: 1.5rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
}
.testimonial-author .avatar {
    width: 3rem;
    height: 3rem;
    background-color: rgba(79, 70, 229, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 700;
    color: #4F46E5;
}
.testimonial-author .author-info h4 {
    font-weight: 700;
    margin: 0;
}
.testimonial-author .author-info p {
    color: #4B5563;
    font-size: 0.875rem;
    margin: 0;
}
.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.testimonial-controls button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: white;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.testimonial-controls button:hover {
    background-color: #4F46E5;
    color: white;
}
.testimonial-controls svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* About Page */
.about-hero-section {
    background-color: white;
}
.about-hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 768px) {
    .about-hero-container { flex-direction: row; }
}
.about-image-container {
     width: 100%;
     margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .about-image-container { width: 50%; padding-right: 2.5rem; margin-bottom: 0; }
}
.about-content {
    width: 100%;
}
@media (min-width: 768px) {
    .about-content { width: 50%; }
}
.about-content p {
    color: #4B5563;
    margin-bottom: 1.5rem;
}
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.about-feature {
    display: flex;
    align-items: center;
}
.about-feature .icon-wrapper {
    width: 3rem;
    height: 3rem;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}
.about-feature .icon-wrapper svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #4F46E5;
}
.about-feature h3 {
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0;
}
.about-feature p {
    color: #4B5563;
    font-size: 0.875rem;
    margin: 0;
}

/* Story Section (Timeline) */
.story-section {
    background-color: #F9FAFB;
}
.timeline-container {
    position: relative;
}
.timeline-line {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background-color: rgba(79, 70, 229, 0.2);
}
@media (min-width: 768px) {
    .timeline-line { display: block; }
}
.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.timeline-item {
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .timeline-item { flex-direction: row; align-items: center; }
}
.timeline-content {
     width: 100%;
     margin-bottom: 2rem;
}
@media (min-width: 768px) {
     .timeline-content { width: 50%; padding-right: 3rem; text-align: right; }
}
.timeline-item:nth-child(even) .timeline-content {
    @media (min-width: 768px) {
        order: 2;
        padding-right: 0;
        padding-left: 3rem;
        text-align: left;
    }
}
.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 0.5rem;
}
.timeline-item:nth-child(even) .timeline-content h3 {
     color: #10B981;
}
.timeline-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.timeline-content p {
    color: #4B5563;
}
.timeline-dot {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #4F46E5;
    border: 4px solid white;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
@media (min-width: 768px) {
    .timeline-dot { display: block; }
}
.timeline-item:nth-child(even) .timeline-dot {
    background-color: #10B981;
}
.timeline-spacer {
    display: none;
}
@media (min-width: 768px) {
    .timeline-spacer {
        display: block;
        width: 50%;
        padding-left: 3rem;
    }
    .timeline-item:nth-child(even) .timeline-spacer {
        order: 1;
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 640px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}
.team-card {
    background-color: #F9FAFB;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.team-card img {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    object-fit: cover;
}
.team-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.team-card .role {
    font-weight: 500;
    margin-bottom: 0.75rem;
}
.team-card .description {
    color: #4B5563;
    font-size: 0.875rem;
}
.team-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}
.team-socials a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s ease;
}
.team-socials a:hover {
    color: #4F46E5;
}

/* Technologies Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media (min-width: 640px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .tech-grid { grid-template-columns: repeat(5, 1fr); } }

.tech-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
}
.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.tech-card i, .tech-card img, .tech-card svg {
    height: 4rem;
    margin: 0 auto 1rem auto;
    font-size: 3.75rem;
    color: #374151;
}
.tech-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

/* How we charge Section */
.charge-section .content {
    max-width: 56rem;
    margin: auto;
    color: #374151;
}
.charge-section .content > div {
     margin-bottom: 2rem;
}
.charge-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.charge-section p {
    margin-bottom: 0.5rem;
}
.charge-section ul {
    list-style-position: inside;
    padding-left: 1rem;
    color: #4B5563;
}
.charge-section ul li {
    margin-bottom: 0.25rem;
}
.charge-section .footer-text {
    text-align: center;
    font-size: 1.125rem;
    color: #4F46E5;
    font-weight: 500;
    padding-top: 1rem;
}

/* Services Page */
.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    border: 1px solid #F3F4F6;
    text-align: center;
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
}
.service-card .icon-wrapper {
    width: 4rem;
    height: 4rem;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}
.service-card .service-icon {
    font-size: 1.875rem;
    color: #4F46E5;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    transform: scale(1.1);
    color: #4F46E5;
}
.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.service-card p {
    color: #4B5563;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.process-step {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}
.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.process-step .step-number {
    width: 4rem;
    height: 4rem;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.875rem;
    font-weight: 700;
    color: #4F46E5;
}
.process-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.process-step p {
    color: #4B5563;
    font-size: 0.875rem;
}

/* Portfolio Page */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.portfolio-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}
.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.portfolio-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}
.portfolio-card .card-content {
    padding: 1.5rem;
}
.portfolio-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 0.5rem;
}
.portfolio-card p {
    color: #4B5563;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.portfolio-card .card-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}
.portfolio-card .card-buttons a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.portfolio-card .card-buttons .btn-primary {
    background-color: #4F46E5;
    color: white;
}
.portfolio-card .card-buttons .btn-primary:hover {
    background-color: #4338CA;
}
.portfolio-card .card-buttons .btn-secondary {
    background-color: #E5E7EB;
    color: #1F2937;
}
.portfolio-card .card-buttons .btn-secondary:hover {
    background-color: #D1D5DB;
}
.portfolio-card .card-buttons i {
    margin-right: 0.5rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
}
@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
.contact-form-container, .contact-info-container {
    background-color: #F9FAFB;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    border: 1px solid #F3F4F6;
}
.contact-form-container h3, .contact-info-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #D1D5DB;
    transition: all 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #4F46E5;
    border-color: transparent;
}
.contact-info-container .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-info-container .icon-wrapper {
    width: 3rem;
    height: 3rem;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 1rem;
}
.contact-info-container .icon-wrapper i {
    color: #4F46E5;
    font-size: 1.25rem;
}
.contact-info-container h4 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}
.contact-info-container p, .contact-info-container a {
    color: #4B5563;
    text-decoration: none;
}
.contact-info-container a:hover {
    text-decoration: underline;
}
.contact-info-container .socials {
    margin-top: 2rem;
}
.contact-info-container .socials h4 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}
.contact-info-container .socials .social-links {
    display: flex;
    gap: 1rem;
}
.contact-info-container .socials a {
    color: #6B7280;
    transition: color 0.2s ease;
}
.contact-info-container .socials a:hover {
    color: #4F46E5;
}

/* Footer */
footer {
    background-color: #1E293B;
    color: white;
    padding: 3rem 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
footer h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
footer p, footer li {
    font-size: 0.875rem;
    color: #9CA3AF;
}
footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
footer a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s ease;
}
footer a:hover {
    color: white;
}
.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.footer-bottom {
    border-top: 1px solid #4B5563;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6B7280;
}


/*contact form 7 styling*/

.cf7-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.cf7-form-wrapper h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #1a1a1a;
  text-align: center;
}

.cf7-form-wrapper label {
  display: block;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

.cf7-input,
.cf7-textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #fafafa;
  transition: border-color 0.3s ease;
}

.cf7-input:focus,
.cf7-textarea:focus {
  border-color: #00c9a7;
  outline: none;
}

.cf7-textarea {
  height: 130px;
  resize: vertical;
}

.cf7-submit-wrap {
  text-align: center;
}

.cf7-button {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(135deg, #4a00e0, #00c9a7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cf7-button:hover {
  opacity: 0.95;
}

/* Responsive Tweaks */
@media (max-width: 480px) {
  .cf7-form-wrapper {
    padding: 15px;
  }

  .cf7-form-wrapper h2 {
    font-size: 20px;
  }

  .cf7-button {
    width: 100%;
  }
}

























