/* Google Fonts */
/* Outfit for Headings, Space Grotesk for Body/Tech feel */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #0d1117;
    --bg-darker: #010409;
    --primary-color: #58a6ff;
    /* Neon Blue */
    --secondary-color: #bc8cff;
    /* Neon Purple */
    --accent-color: #3fb950;
    /* Neon Green */
    --text-color: #c9d1d9;
    --text-light: #f0f6fc;
    --glass-bg: rgba(22, 27, 34, 0.7);
    --glass-border: rgba(240, 246, 252, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Backgrounds */
.bg-gradient-1,
.bg-gradient-2 {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.3;
}

.bg-gradient-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    top: -200px;
    left: -200px;
    animation: float1 15s infinite ease-in-out;
}

.bg-gradient-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary-color), transparent);
    bottom: -150px;
    right: -150px;
    animation: float2 18s infinite ease-in-out;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 50px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-50px, -50px);
    }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 10px;
}

.btn-outline:hover {
    background: rgba(88, 166, 255, 0.1);
    color: #fff;
}

.btn-block {
    width: 100%;
    margin-left: 0;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(13, 17, 23, 0.85);
    /* Slightly opaque for readability */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.btn-glow {
    padding: 8px 20px;
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
}

.nav-link.btn-glow:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-color);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px auto;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 60px;
    /* Navbar height */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #a5d6ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-role {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    height: 40px;
    overflow: hidden;
}

.word-slider {
    height: 40px;
    overflow: hidden;
    position: relative;
}

.word-slider-track {
    display: flex;
    flex-direction: column;
    animation: slideWords 8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.word-slide {
    height: 40px;
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 600;
}

@keyframes slideWords {
    0%, 25% { transform: translateY(0); }
    33%, 58% { transform: translateY(-40px); }
    66%, 91% { transform: translateY(-80px); }
    100% { transform: translateY(-120px); }
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 30px;
    color: #8b949e;
}

.hero-desc strong {
    color: var(--text-light);
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    margin-right: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(88, 166, 255, 0.2), transparent 70%);
    border-radius: 50%;
}

.hero-swiper-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 450px;
}

.hero-swiper {
    width: 100%;
    height: 100%;
    padding: 20px 0;
}

.hero-swiper .swiper-slide {
    width: 300px;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    /* Reflection effect */
    -webkit-box-reflect: below 5px linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.4));
    cursor: grab;
    transition: transform 0.3s ease;
}

.hero-swiper .swiper-slide:active {
    cursor: grabbing;
}

@media (max-width: 768px) {
    .hero-swiper .swiper-slide {
        width: 240px;
        height: 300px;
    }
    .hero-swiper-container {
        height: 350px;
    }
}

.hero-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.hero-pagination {
    bottom: -10px !important;
}

.hero-pagination .swiper-pagination-bullet {
    background: rgba(88, 166, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Sections Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-card h3 {
    margin-bottom: 10px;
    color: var(--text-light);
}

.company {
    color: var(--primary-color);
    font-weight: 600;
}

.duration {
    font-size: 0.9rem;
    color: #8b949e;
    margin-bottom: 15px;
}

.stats-grid {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-text {
    font-size: 0.9rem;
    color: #8b949e;
}

/* Services Section */
.services-swiper-container {
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.services-swiper {
    padding: 20px 5px !important;
}

.services-pagination {
    bottom: 0 !important;
}

.services-pagination .swiper-pagination-bullet {
    background: rgba(88, 166, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.services-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.service-card {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

/* Skills Section */
.skills-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.skills-category h3 {
    color: var(--text-light);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-pill {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill-pill:hover {
    background: var(--primary-color);
    color: #000;
    /* Contrast on bright color */
    font-weight: 600;
    transform: scale(1.05);
}

/* Portfolio Section */
/* Portfolio Slider */
.portfolio-header-dynamic {
    margin-bottom: 40px;
    height: 80px;
}

.portfolio-header-dynamic .section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
    color: var(--text-light);
}

.portfolio-header-dynamic .section-subtitle {
    color: var(--text-color);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.text-center {
    text-align: center;
}

.portfolio-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.portfolio-swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 80px;
}

.portfolio-swiper .swiper-slide {
    width: 400px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    /* Reflection effect */
    -webkit-box-reflect: below 5px linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.4));
    cursor: pointer;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .portfolio-swiper .swiper-slide {
        width: 280px;
        height: 280px;
    }
}

.portfolio-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Custom Navigation Arrows */
.slider-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    top: 40%;
}

.slider-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.slider-nav-btn::after {
    font-size: 18px;
    font-weight: bold;
}

/* Play/Pause Button */
.slider-play-pause {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    font-size: 16px;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-play-pause:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-50%) scale(1.1);
}

/* Custom Pagination */
.portfolio-slider-container .swiper-pagination {
    bottom: 0px;
}

.portfolio-slider-container .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.3s ease;
}

.portfolio-slider-container .swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    padding: 0;
    overflow: hidden;
}

.portfolio-img {
    height: 200px;
    overflow: hidden;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .img-placeholder {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    color: var(--text-light);
    margin-bottom: 5px;
}

.portfolio-info p {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.portfolio-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.portfolio-link:hover {
    gap: 10px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    color: var(--text-light);
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.contact-details {
    margin-top: 30px;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-row i {
    width: 40px;
    height: 40px;
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background: #010409;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #8b949e;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
}

.fade-right {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-left {
    opacity: 0;
    transform: translateX(30px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Active Class for JS Observer */
.show-animate {
    opacity: 1;
    transform: translate(0);
    transition: all 1s ease;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .about-grid,
    .skills-wrapper,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--bg-darker);
        width: 100%;
        height: calc(100vh - 60px);
        text-align: center;
        transition: 0.3s;
        padding-top: 40px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        margin: 20px 0;
        display: block;
        font-size: 1.2rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }
}

/* --- New Pages CSS --- */

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(88, 166, 255, 0.1), transparent 70%);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.page-header p {
    color: #8b949e;
    font-size: 1.2rem;
}

/* Portfolio Grid (Full Page) */
.portfolio-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-card {
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(88, 166, 255, 0.2);
    border-color: var(--primary-color);
}

.portfolio-thumb {
    position: relative;
    height: 250px;
    cursor: pointer;
    overflow: hidden;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-thumb:hover img {
    transform: scale(1.1);
}

.portfolio-thumb .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-thumb:hover .overlay {
    opacity: 1;
}

.portfolio-thumb .overlay i {
    color: #fff;
    font-size: 2rem;
    transform: scale(0);
    transition: transform 0.3s ease 0.1s;
}

.portfolio-thumb:hover .overlay i {
    transform: scale(1);
}

.portfolio-details {
    padding: 20px;
}

.portfolio-details h3 {
    margin-bottom: 5px;
    color: var(--text-light);
}

.portfolio-details .category {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.portfolio-details .desc {
    color: #8b949e;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(88, 166, 255, 0.3);
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Blog / Case Studies */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.blog-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.blog-img {
    height: 100%;
    min-height: 250px;
}

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-tag {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-excerpt {
    color: #8b949e;
    margin-bottom: 20px;
}

.btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.btn-text:hover {
    gap: 12px;
}

@media (max-width: 768px) {
    .blog-card {
        grid-template-columns: 1fr;
    }

    .blog-img {
        height: 200px;
    }

    .blog-content {
        padding: 20px;
    }
}