/* ============================================================
   AM2PM PREMIUM SERVICES SECTION STYLES
   ============================================================ */

.services-section {
    padding: 100px 24px;
    background: #fcfdfe; /* Clean professional background */
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styling */
.services-header {
    text-align: center;
    margin-bottom: 70px;
}

.services-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #1e3a8a; /* Brand Navy */
    margin-bottom: 15px;
}

/* The Gold underline we established in previous sections */
.services-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: #ffc107; /* Brand Gold */
    margin: 0 auto;
    border-radius: 10px;
}

.services-header p {
    margin-top: 20px;
    color: #64748b;
    font-size: 18px;
    font-weight: 400;
}

/* Services Grid Layout */
.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Individual Service Card Styling */
.service-card {
    background-color: #ffffff;
    padding: 45px;
    border-radius: 40px; /* Matching the premium "bubbly" look */
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    text-align: left; /* Professional left-aligned text */
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.1);
    border-color: #ffc107;
}

/* Icon Box Styling - The "Squircle" */
.service-card .icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

/* Brand Icon Variations */
.service-card .icon.blue {
    background-color: #1e81dd;
    color: #ffffff;
}

.service-card .icon.yellow {
    background-color: #ffc107;
    color: #1e3a8a;
}

.service-card .icon.navy {
    background-color: #1e3a8a;
    color: #ffffff;
}

/* Typography Inside Cards */
.service-card h4 {
    color: #1e3a8a;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
}

.service-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 25px;
}

/* "Learn More" Link Styling */
.service-link {
    color: #1e81dd;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    color: #ffc107;
}

/* Responsive Scaling */
@media (max-width: 1024px) {
    .services-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 20px;
    }

    .services-header h2 {
        font-size: 32px;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 35px;
    }
}