/* Services Page Styles */

/* Seamless Header Overlay */
.navbar {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent !important;
}

.services-hero {
    padding-top: 250px;
    position: relative;
    height: 100px;
}

.hero-glow-v2 {
    position: absolute;
    width: 1400px;
    height: 1000px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, rgba(255, 116, 31, 0.25) 0%, transparent 70%);
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
}

body {
    background-color: #FFF9F5;
}

.services-grid-section {
    padding: 80px 0 200px;
    position: relative;
    overflow: hidden;
}

.services-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px 20px;
    /* Removed vertical gap between cards */
    justify-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Reusing Portfolio Card Styles from Home/About context but ensuring they fit the grid */
.services-layout .portfolio-item {
    width: 630px;
    height: auto;
    position: relative;
    filter: drop-shadow(0px 10px 30px rgba(0, 0, 0, 0.05));
    margin-bottom: 120px;
}

.services-layout .portfolio-card-main {
    width: 100%;
    height: auto;
    padding: 32px;
}

.services-layout .portfolio-thumb {
    width: 100%;
    height: 400px;
}

.services-layout .card-title {
    font-size: 36px;
}

.services-layout .card-desc {
    max-width: 100%;
    font-size: 20px;
}

/* Portfolio items are already styled in home.css, 
   but since this is a separate page, I'll ensure 
   the 2-column grid doesn't break their dimensions. */

@media (max-width: 1200px) {
    .services-layout {
        grid-template-columns: 1fr;
        gap: 80px;
    }
}

@media (max-width: 768px) {

    .portfolio-item,
    .portfolio-card-main {
        width: 100%;
        max-width: 557px;
    }

    .portfolio-thumb {
        width: 100% !important;
        height: 250px !important;
    }

    .services-grid-section {
        padding: 50px 0 100px;
    }
}