* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(145deg, #f6f9fc 0%, #eef2f5 100%);
    color: #1a2c3e;
    line-height: 1.5;
    padding: 2rem 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Business Card */
.business-card {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(2px);
    border-radius: 2.5rem;
    box-shadow: 0 25px 45px -12px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.02);
    margin-bottom: 3rem;
    border: 1px solid rgba(255,255,255,0.5);
    transition: transform 0.2s ease;
}

.business-card:hover {
    transform: scale(1.01);
}

.card-inner {
    padding: 2rem 2rem 1.8rem;
}

/* ========== LOGO ALWAYS ON RIGHT (FIXED) ========== */
.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
}

.left-info {
    flex: 1;
    min-width: 0;
}

.logo-placeholder {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fbf6;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e8efdf;
}

.logo-image {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: #2c5f2d;
}

.logo-fallback i {
    font-size: 1.6rem;
    color: #97bc62;
}

.logo-fallback span {
    font-size: 0.75rem;
}

/* Badge */
.badge {
    display: inline-block;
    background: #2c5f2d;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 60px;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.name {
    font-size: 2.7rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e3c2c, #2a5f3e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c5f2d;
    border-left: 4px solid #97bc62;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

/* Card Details */
.card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 1.5rem 0;
    border-top: 1px solid #e0e9f0;
    border-bottom: 1px solid #e0e9f0;
    padding: 1.2rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
    color: #1f3b4c;
    flex-wrap: wrap;
}

.detail-item i {
    width: 1.8rem;
    color: #2c5f2d;
    font-size: 1.2rem;
}

.detail-item a {
    text-decoration: none;
    color: #1f3b4c;
    font-weight: 500;
    transition: color 0.2s;
}

.detail-item a:hover {
    color: #97bc62;
}

.brand-line {
    text-align: center;
    font-size: 1rem;
    margin-top: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.brand {
    background: #f0f4e8;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    color: #2c5f2d;
}

.motto {
    color: #64748b;
    margin-left: 0.8rem;
    font-style: italic;
}

/* Sections */
section {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #1e3c2c;
}

h2 i {
    font-size: 1.6rem;
    color: #97bc62;
}

.about p {
    font-size: 1.1rem;
    color: #2d3e4b;
    max-width: 85%;
}

/* Expertise Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
    margin-top: 1rem;
}

.card-skill {
    background: #fefdf8;
    padding: 1.5rem;
    border-radius: 1.5rem;
    transition: all 0.25s;
    text-align: center;
    border: 1px solid #eef2e2;
}

.card-skill i {
    font-size: 2.4rem;
    color: #2c5f2d;
    margin-bottom: 1rem;
}

.card-skill h3 {
    margin-bottom: 0.7rem;
    font-weight: 700;
}

.card-skill:hover {
    background: #ffffff;
    border-color: #cbdca8;
    transform: translateY(-4px);
}

/* Contact Form */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

input, textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #cfdfcd;
    border-radius: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: #fff;
    transition: 0.2s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #97bc62;
    box-shadow: 0 0 0 3px rgba(151,188,98,0.2);
}

.btn-submit {
    background: #2c5f2d;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: #1e4820;
    transform: scale(1.02);
}

.form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0.5rem 0.5rem;
    color: #5a6e7a;
}

footer a {
    color: #2c5f2d;
    text-decoration: none;
    font-weight: 500;
}

.small {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* ========== MOBILE: LOGO STAYS ON RIGHT ========== */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }
    
    .card-inner {
        padding: 1.2rem;
    }
    
    .logo-placeholder {
        width: 65px;
        height: 65px;
    }
    
    .logo-fallback i {
        font-size: 1.3rem;
    }
    
    .logo-fallback span {
        font-size: 0.65rem;
    }
    
    .name {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.95rem;
        padding-left: 0.7rem;
        margin-bottom: 1rem;
    }
    
    .badge {
        font-size: 0.7rem;
        margin-bottom: 0.7rem;
    }
    
    .detail-item {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .detail-item i {
        width: 1.4rem;
        font-size: 1rem;
    }
    
    .brand-line {
        font-size: 0.85rem;
    }
    
    .about p {
        max-width: 100%;
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    section {
        padding: 1.3rem;
    }
}