/* --- Services Grid Section --- */
.services-grid-section {
    background-color: #0d0d0d;
    padding: 100px 5%;
    position: relative;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 8rem; /* Massive Outline Text from earlier */
    color: transparent;
    -webkit-text-stroke: 2px #333;
    text-align: center;
    margin-bottom: 80px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.section-title .highlight-bg {
    color: white;
    -webkit-text-stroke: 0;
    background-color: var(--primary-orange);
    padding: 0 20px;
    display: inline-block;
    transform: skewX(-10deg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Premium Glass Card Styles --- */
.service-card {
    position: relative;
    height: 400px; /* Taller for better spacing */
    z-index: 1;
    perspective: 1000px;
}

.card-content.glass-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.9));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center everything */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.service-card:hover .glass-card {
    transform: translateY(-15px);
    border-color: var(--primary-orange);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.15);
}

/* --- Card Icon --- */
.card-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 25px;
    background: rgba(0, 229, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.service-card:hover .card-icon {
    background: var(--primary-orange);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
    transform: scale(1.1) rotate(5deg);
}

.card-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.card-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
}

/* More Details Link (Button Style) */
.more-details {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 10px 25px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    transition: all 0.3s;
}

.more-details:hover {
    background: white;
    color: black;
    gap: 15px;
    border-color: white;
}

/* Hide the old border effect or repurpose it */
.card-border-effect { display: none; }

/* Responsive */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); justify-content: center; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 3.5rem; }
    .service-card { height: auto; min-height: 350px; }
}
