/*! global start */
:root {
    --bg-dark: #040B16;
    --bg-section: #0A1428;
    --bg-card: #111E36;
    --primary-color: #00A3FF;
    --primary-hover: #0081CC;
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.05);
    --font-main: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    font-size: 1.6rem;
    overflow-x: hidden;
}

a {
    color: var(--text-light);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding { padding: 8rem 0; }
.bg-dark { background-color: var(--bg-section); }
.bg-darker { background-color: #02060D; }

.center-text {
    text-align: center;
    margin-bottom: 5rem;
}

.center-text h1,
.center-text h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.center-text p {
    color: var(--text-muted);
    font-size: 1.6rem;
    max-width: 60rem;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    border-radius: 0.8rem;
    font-weight: 600;
    font-size: 1.5rem;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: #0072B5;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-block {
    width: 100%;
}

.btn-disabled {
    cursor: not-allowed;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .container { max-width: 90%; }
}
/*! global end */

/*! header start */
.main-header {
    background-color: rgba(4, 11, 22, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img { height: 4rem; }

.main-nav .nav-list {
    display: flex;
    gap: 3rem;
}

.main-nav a {
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--text-muted);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

#menu-btn {
    display: none;
    font-size: 2.8rem;
    background: none;
    color: var(--text-light);
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 1005;
}

@media (max-width: 767px) {
    #menu-btn { display: block; z-index: 1005; position: relative; }
    .header-cta { display: none; }
    .portfolio-back-cta { display: block !important; }
    .main-header { backdrop-filter: none; }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -250px; 
        width: 250px; 
        height: 100%; 
        background-color: #111E36; 
        flex-direction: column;
        padding-top: 60px; 
        transition: left 0.3s ease; 
        z-index: 1000; 
        display: flex; 
        overflow-y: auto; 
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
    .main-nav.active { left: 0; }
    .main-nav .nav-list { display: flex; flex-direction: column; gap: 0; }
    
    .main-nav a {
        display: block; 
        padding: 15px; 
        font-size: 18px; 
        color: #fff; 
        text-decoration: none; 
        border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    }
    .main-nav a:hover { background-color: rgba(255, 255, 255, 0.05); }
}

@media (max-width: 1200px) and (orientation: landscape) {
    .nav-list { gap: 1.5rem; }
    .main-nav a { font-size: 1.3rem; }
}
/*! header end */

/*! hero start */
.hero-section {
    padding: 10rem 0 8rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(4, 11, 22, 0.85), rgba(4, 11, 22, 0.85)), url('../images/kapak.webp') no-repeat center center;
    background-size: cover;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: rgba(0, 163, 255, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 0.4rem;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.7rem;
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.terminal-box {
    background-color: #0D1424;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

.terminal-top {
    background-color: #162136;
    padding: 1rem 1.5rem;
    display: flex;
    gap: 0.8rem;
}

.terminal-top .dot { width: 1.2rem; height: 1.2rem; border-radius: 50%; }
.dot.close { background-color: #FF5F56; }
.dot.minimize { background-color: #FFBD2E; }
.dot.expand { background-color: #27C93F; }

.terminal-body {
    padding: 2.5rem;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-size: 1.4rem;
    line-height: 2;
}

@media (max-width: 767px) {
    .hero-section { padding: 6rem 0; text-align: center; min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-content h1 { font-size: 3.2rem; }
    .hero-content p { margin: 0 auto 3rem; }
    .hero-actions { justify-content: center; flex-direction: column; }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 3rem; }
    .hero-actions { justify-content: center; }
    .terminal-box { margin-top: 2rem; }
}

@media (max-width: 1200px) and (orientation: landscape) {
    .hero-section { min-height: auto; padding: 8rem 0; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hero-content h1 { font-size: 3.5rem; }
}
/*! hero end */

/*! about and stats start */
.about-text-container {
    text-align: center;
    margin-bottom: 6rem;
}

.about-text-container h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.about-desc {
    color: var(--text-muted);
    font-size: 1.7rem;
    max-width: 80rem;
    margin: 0 auto 1.5rem auto;
}

.about-mission {
    color: var(--text-muted);
    font-size: 1.6rem;
    max-width: 80rem;
    margin: 0 auto;
}

.about-mission strong {
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px -15px rgba(0, 163, 255, 0.4);
}

.stat-card h3.stat-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-main);
    letter-spacing: 1px;
}

.stat-card p {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 767px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stat-card { padding: 3rem 1rem; }
    .stat-card h3.stat-title { font-size: 3.2rem; }
    .stat-card p { font-size: 1.4rem; }
}
/*! about and stats end */

/*! products start */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32rem, 42rem));
    justify-content: center;
    gap: 4rem;
}

.product-card {
    background: linear-gradient(145deg, #111E36, #0A1428);
    border: 1px solid rgba(0, 163, 255, 0.15);
    border-radius: 2rem;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 163, 255, 0.15);
    border-color: var(--primary-color);
}

.product-disabled {
    opacity: 0.9;
}

.product-badge {
    position: absolute;
    top: 22px;
    right: 25px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 1.25rem;
    font-weight: 800;
    border: 1px solid transparent;
    letter-spacing: 0.5px;
}

.badge-yesil { background: rgba(39, 201, 63, 0.12); color: #27C93F; border-color: rgba(39, 201, 63, 0.3); }
.badge-sari { background: rgba(255, 189, 46, 0.15); color: #FFBD2E; border-color: rgba(255, 189, 46, 0.35); }
.badge-mavi { background: rgba(0, 163, 255, 0.12); color: #00A3FF; border-color: rgba(0, 163, 255, 0.3); }
.badge-kirmizi { background: rgba(255, 95, 86, 0.12); color: #FF5F56; border-color: rgba(255, 95, 86, 0.3); }
.badge-mor { background: rgba(232, 67, 147, 0.12); color: #e84393; border-color: rgba(232, 67, 147, 0.3); }

.product-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: rgba(0, 163, 255, 0.08);
    width: 7.5rem;
    height: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
}

.product-info {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 2.3rem;
    color: #fff;
    margin-bottom: 1.2rem;
}

.product-info p {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.65;
    flex-grow: 1;
}

.product-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
}

.product-price-suffix {
    font-size: 1.4rem;
    color: #94A3B8;
    font-weight: normal;
}

.product-actions {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.product-btn {
    width: 100%;
    text-align: center;
    font-size: 1.55rem;
    padding: 1.4rem;
}

.btn-disabled {
    cursor: not-allowed !important;
    background-color: rgba(255, 255, 255, 0.07) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.product-showcase-btn {
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    padding: 1.2rem;
    border: 1px solid rgba(232, 67, 147, 0.4);
    background: rgba(232, 67, 147, 0.08);
    color: #ffb3e6;
    border-radius: 0.8rem;
}

.product-showcase-btn:hover {
    background: #e84393;
    border-color: #e84393;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 67, 147, 0.3);
}

@media (max-width: 767px) {
    .products-grid { grid-template-columns: 1fr; gap: 3rem; }
    .product-card { padding: 2.5rem; }
}
/*! products end */

/*! services and features start */
.services-grid,
.features-grid {
    display: grid;
    gap: 3rem;
    align-items: stretch;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    grid-auto-rows: 1fr;
}
.features-grid { grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); }

.service-card,
.feature-box,
.portfolio-card {
    background-color: var(--bg-card);
    padding: 3.5rem 2.8rem;
    border-radius: 1.2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.service-card:hover,
.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 30px -15px rgba(0, 229, 255, 0.4);
}

.service-card h3,
.feature-box h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    overflow-wrap: anywhere;
}

.service-card h3 {
    padding-right: 7.5rem;
    min-height: 5.2rem;
    display: flex;
    align-items: flex-start;
}

.service-card p,
.feature-box p {
    color: var(--text-muted);
    font-size: 1.5rem;
    flex-grow: 1;
    overflow-wrap: anywhere;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    height: 100%;
}

.service-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding-bottom: 2.5rem;
}

.project-badge {
    position: absolute;
    top: 22px;
    right: 20px;
    background: rgba(0, 163, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    border: 1px solid rgba(0, 163, 255, 0.2);
}

.card-hover-btn {
    margin-top: 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.service-card:hover .card-hover-btn {
    opacity: 1;
    transform: translateY(0);
}

.empty-state-msg {
    text-align: center;
    width: 100%;
    color: var(--text-muted);
    font-size: 1.6rem;
    grid-column: 1 / -1;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}

@media (max-width: 767px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
    .service-card { padding: 4.5rem 1.8rem 2rem 1.8rem; }
    .service-card h3 { padding-right: 0; min-height: auto; font-size: 1.7rem; }
    .project-badge { top: 12px; right: 12px; font-size: 1.1rem; padding: 3px 9px; }
}
/*! services and features end */

/*! process start */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
}

.step {
    background-color: var(--bg-card);
    padding: 2rem 3rem;
    border-radius: 0.8rem;
    border-left: 0.4rem solid var(--primary-color);
    font-size: 1.6rem;
    color: var(--text-muted);
}

.step strong {
    color: var(--text-light);
    margin-right: 1rem;
}
/*! process end */

/*! contact start */
.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-card-clean {
    margin-bottom: 20px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.info-card-clean:hover {
    border-color: var(--primary-color);
}

.info-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.contact-card-title {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-card-title.primary {
    color: var(--primary-color);
}

.contact-card-title.whatsapp {
    color: #25D366;
}

.contact-icon-svg {
    margin-right: 10px;
}

.contact-icon-emoji {
    margin-right: 10px;
    font-size: 20px;
}

.form-input-clean {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-family: var(--font-main);
    transition: var(--transition);
    outline: none;
    margin-bottom: 15px;
}

.form-input-clean:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
}

.honeypot-field {
    display: none;
}

@media (max-width: 767px) {
    .contact-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .contact-grid-layout {
        grid-template-columns: 1fr !important;
    }
}
/*! contact end */

/*! footer start */
.main-footer {
    background-color: #02060D;
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 3.5rem;
    margin-bottom: 2rem;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 1.5rem;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 1.3rem;
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .footer-logo {
        margin: 0 auto 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: span 2; text-align: center; }
    .footer-logo { margin: 0 auto 2rem; }
    .footer-about p { margin: 0 auto; }
}
/*! footer end */

/*! portfolio and modal start */
.filter-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

.filter-btn {
    padding: 0.9rem 2rem;
    border-radius: 5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: var(--bg-card);
    color: var(--text-muted);
    font-size: 1.4rem;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #0072B5;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.3);
}

.portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px;
}

.portfolio-card-wrapper {
    cursor: pointer;
    height: 100%;
}

.portfolio-card {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

.portfolio-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2.2rem;
    overflow-wrap: anywhere;
}

.portfolio-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}

.portfolio-card img,
.no-image-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.no-image-placeholder {
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.4rem;
}

.btn-details {
    margin-top: auto;
    padding: 0.8rem 1.5rem;
    width: 100%;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #00A3FF;
    background-color: transparent;
    color: #00A3FF;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background-color: #00A3FF;
    color: #040B16;
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.3);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 11, 22, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #0f172a;
    border-radius: 12px;
    max-width: 600px;
    width: 85%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    padding: 0;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2.2rem;
    color: #fff;
    background-color: #0f172a;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #00A3FF;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.modal-close:hover {
    background-color: #00A3FF;
    color: #040B16;
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding: 3rem 2rem 2rem 2rem;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #0f172a;
    border-radius: 8px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 8px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #00A3FF;
}

.modal-body img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-body h3 {
    margin-bottom: 15px;
    font-size: 2rem;
    color: #ffffff;
}

.modal-body p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
    overflow-wrap: anywhere;
}

.btn-live-demo {
    display: inline-block;
    background: linear-gradient(135deg, #00A3FF, #0056b3);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 163, 255, 0.4);
    transition: transform 0.2s;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.5rem;
    }
    .portfolio-card {
        padding: 2rem 1.5rem !important;
    }
    .portfolio-card h3 {
        font-size: 1.6rem !important;
        margin-bottom: 0.8rem !important;
    }
    .portfolio-card p {
        font-size: 1.3rem !important;
    }
}
/*! portfolio and modal end */