/* Development Projects Page Custom Styles */
/* Typography Standardization */
body, p, a, span, li, .project-card-desc, .project-category-badge {
    font-family: "Open Sans", sans-serif !important;
}
body, p, li {
    font-size: 14px !important;
}

h1, h2, h3, h4, h5, h6, .hero-section h1, .section-title h2, .section-title h3, .bg-dark h2, .project-card-title {
    font-family: "Poppins", sans-serif !important;
}

:root {
    --brand-blue: #106eea;
    --brand-dark: #151515;
    --text-gradient: linear-gradient(135deg, #106eea 0%, #00d2ff 100%);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Utilities */
#main {
    margin-top: 0 !important;
}

.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-padding-lg {
    padding: 100px 0;
}

/* Hero Section */
.dev-hero {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    background: #f1f6fe;
    position: relative;
    padding-top: 80px;
}

.dev-hero h1 {
    margin: 0;
    font-size: 36px !important;
    font-weight: 700;
    line-height: 1.25;
    color: #444444;
    font-family: "Poppins", sans-serif !important;
}

.dev-hero h2 {
    color: #555555;
    margin-top: 15px;
    font-family: "Open Sans", sans-serif !important;
}

.dev-hero .btn-get-started {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    transition: 0.3s;
    line-height: 1;
    color: #fff;
    background: #106eea;
    text-decoration: none;
}

.dev-hero .btn-get-started:hover {
    background: #0d58ba;
    color: #fff;
}

.dev-hero-img {
    max-width: 65%;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(16, 110, 234, 0.2);
    border: 8px solid white;
    display: block;
    animation: hero-float-anim 3s ease-in-out infinite alternate;
}

@keyframes hero-float-anim {
    0% { transform: translateY(10px); }
    100% { transform: translateY(-10px); }
}

@media (max-width: 991px) {
    .dev-hero {
        height: auto;
        padding: 120px 0 60px 0;
    }
    .dev-hero .hero-content {
        text-align: center;
        margin-top: 40px;
    }
    .dev-hero h1 {
        font-size: 30px !important;
    }
    .dev-hero .btn-get-started {
        margin: 0 auto;
    }
}

/* Service Cards */
.service-card-premium {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 110, 234, 0.1);
    border-color: rgba(16, 110, 234, 0.2);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(16, 110, 234, 0.1) 0%, rgba(0, 210, 255, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-blue);
    margin-bottom: 25px;
}

.text-blue {
    color: var(--brand-blue);
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: #ffffff;
}

.process-step-card {
    background: #f8fbfe;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.process-step-card:hover {
    background: #ffffff;
    box-shadow: var(--card-shadow);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(16, 110, 234, 0.05);
    line-height: 1;
}

.process-icon {
    font-size: 2rem;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

/* Project Cards */
.project-card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-card-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card-glass:hover .project-img-wrapper img {
    transform: scale(1.05);
}

.project-icon-wrapper {
    position: absolute;
    bottom: -15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--brand-blue);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(16, 110, 234, 0.3);
}

.project-card-body {
    padding: 30px;
}

.project-card-title {
    font-size: 16px !important;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--brand-dark);
}

.project-card-desc {
    font-size: 13px !important;
    color: #666;
    line-height: 1.6;
}

.project-category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.badge-ai { background: rgba(16, 110, 234, 0.1); color: #106eea; }
.badge-arduino { background: rgba(40, 167, 69, 0.1); color: #28a745; }
.badge-microbit { background: rgba(253, 126, 20, 0.1); color: #fd7e14; }
.badge-scratch { background: rgba(111, 66, 193, 0.1); color: #6f42c1; }

.btn-view-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: transparent;
    border: 1.5px solid var(--brand-blue);
    color: var(--brand-blue);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-demo:hover {
    background: var(--brand-blue);
    color: white;
}

.btn-live-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: var(--brand-blue);
    border: 1.5px solid var(--brand-blue);
    color: white !important;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-live-link:hover {
    background: #0d58ba;
    border-color: #0d58ba;
    color: white !important;
}

/* Tech Badges */
.tech-category-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.tech-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    padding: 6px 15px;
    background: #f0f4f8;
    color: #495057;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Industry Cards */
.industry-card {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.industry-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-5px);
}

.industry-icon {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 15px;
}

/* Premium Navigation Adaptation */
.premium-nav {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

/* Section Headlines (Overrides for consistency) */
.section-title h2 {
    font-size: 13px !important;
}

.section-title h3 {
    font-size: 24px !important;
}

/* Buttons */
.btn-premium-solid {
    padding: 14px 34px;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(16, 110, 234, 0.2);
    transition: all 0.3s ease;
}

.btn-premium-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 110, 234, 0.3);
    color: white;
}

.btn-premium-outline {
    padding: 14px 34px;
    background: transparent;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-premium-outline:hover {
    background: var(--brand-blue);
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .section-title-premium { font-size: 2.2rem; }
    .hero-section { padding: 100px 0 60px; }
}

/* CTA Section */
.bg-dark h2 {
    font-size: 28px !important;
}
