/* ============================
   Depict Design Studio - CSS
   Brand Primary: #8B21A8 (Purple)
   ============================ */

:root {
    --primary:      #8B21A8;
    --primary-dark: #6A1680;
    --primary-deep: #4A0E5C;
    --primary-soft: #F5E8FA;
    --primary-border:#DCA8F0;
    --accent:       #F4511E;
    --dark:         #1a1a2e;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* ---- Bootstrap overrides ---- */
.bg-primary           { background-color: var(--primary) !important; }
.text-primary         { color: var(--primary) !important; }
.border-primary       { border-color: var(--primary) !important; }

/* ---- Hero ---- */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-deep) 100%);
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    top: -150px;
    right: -100px;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    bottom: -100px;
    left: -80px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.hero-section .lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 540px;
}

.hero-graphic {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.hero-graphic .tech-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 10px 16px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.hero-graphic .tech-badge:hover {
    background: rgba(255,255,255,0.2);
}

/* ---- Section Styles ---- */
.section-label {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Service Cards ---- */
.service-card {
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(139,33,168,0.12);
    border-color: var(--primary);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

/* ---- Stats Counter ---- */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ---- Tech Stack ---- */
.tech-pill {
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid var(--primary-border);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    transition: all 0.2s;
    cursor: default;
}

.tech-pill:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ---- Process Steps ---- */
.step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- Testimonials ---- */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* ---- Portfolio ---- */
.portfolio-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e9ecef;
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(139,33,168,0.15);
}

.portfolio-img-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

/* ---- Contact ---- */
.contact-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    transition: box-shadow 0.3s;
}

.contact-card:hover {
    box-shadow: 0 12px 40px rgba(139,33,168,0.1);
}

/* ---- Page Banner ---- */
.page-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 5rem 0 3rem;
    color: #fff;
}

.page-banner h1 { font-weight: 800; }
.page-banner p  { color: rgba(255,255,255,0.85); }

/* ---- Utility ---- */
.bg-primary-soft { background: var(--primary-soft); }

.rounded-4 { border-radius: 1rem !important; }

/* ---- Buttons ---- */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139,33,168,0.35);
}

.btn-primary:focus, .btn-primary:active {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    box-shadow: 0 0 0 3px rgba(139,33,168,0.3) !important;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 8px;
    border-width: 2px;
    transition: all 0.2s;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-outline-light {
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 8px;
    border-width: 2px;
}

/* ---- Animations ---- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

.float-anim { animation: float 4s ease-in-out infinite; }

/* ---- Form ---- */
.form-control, .form-select {
    border-radius: 8px;
    border: 1.5px solid #dee2e6;
    padding: 10px 14px;
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,33,168,0.15);
}

/* ---- Navbar ---- */
.navbar-dark .nav-link {
    color: rgba(255,255,255,0.88) !important;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-dark .nav-link:hover {
    color: #fff !important;
}

.dropdown-menu {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
}

.dropdown-item:hover { background: var(--primary-soft); }

/* ---- About Page ---- */
.value-card {
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s;
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(139,33,168,0.1);
}

/* ---- Navbar Logo ---- */
.navbar-logo {
    height: 44px;
    width: auto;
}

/* Scrollbar */
::-webkit-scrollbar        { width: 6px; }
::-webkit-scrollbar-track  { background: #f1f1f1; }
::-webkit-scrollbar-thumb  { background: var(--primary); border-radius: 10px; }
