/* AnySmart Website - Custom Development Page CSS */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Root Variables */
:root {
    --primary-blue: #03a9f4;
    --light-gray: #e9e9e9;
    --dark-gray: #666666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Introduction Section */
.intro-section {
    padding: 4rem 0 0 0;
    background: var(--white);
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.intro-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin: 0;
}

/* Intro Images Grid */
.intro-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 4rem;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.intro-image-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.intro-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Services Section */
.services-section {
    padding: 4rem 2rem 6rem 2rem;
    background: #f8f9fa;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 500;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Service Card Styles - Matching Home Page */
.service-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px var(--shadow-hover);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0288d1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon .material-icons {
    font-size: 28px;
    color: var(--white);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
    flex: 1;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 3rem 0 0 0;
    }
    
    .intro-content {
        padding: 0 1.5rem;
    }
    
    .intro-images {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        margin-top: 3rem;
    }
    
    .services-section {
        padding: 3rem 1.5rem 4rem 1.5rem;
    }
    
    .intro-text h2 {
        margin-bottom: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem 1.25rem;
        min-height: auto;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 1rem;
        row-gap: 0.5rem;
        align-items: start;
    }
    
    .card-icon {
        grid-row: 1 / 3;
        grid-column: 1;
        margin-bottom: 0;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        align-self: center;
    }
    
    .card-icon .material-icons {
        font-size: 24px;
    }
    
    .card-title {
        grid-row: 1;
        grid-column: 2;
        margin-bottom: 0.5rem;
        font-size: 1.2rem;
    }
    
    .card-description {
        grid-row: 2;
        grid-column: 2;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .intro-section {
        padding: 2.5rem 0 0 0;
    }
    
    .intro-content {
        padding: 0 1rem;
    }
    
    .intro-images {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        margin-top: 2rem;
    }
    
    .services-section {
        padding: 2.5rem 1rem 3rem 1rem;
    }
    
    .intro-text p {
        font-size: 1rem;
    }
    
    .section-heading {
        margin-bottom: 2rem;
    }
    
    .card-icon {
        width: 44px;
        height: 44px;
    }
    
    .card-icon .material-icons {
        font-size: 22px;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-description {
        font-size: 0.85rem;
    }
}