* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1E73BE;
    --secondary-color: #DC3545;
    --dark-color: #2c3e50;
    --light-color: #ffffff;
    --gray-color: #7f8c8d;
    --bg-color: #f8f9fa;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-color);
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 100%;
    margin: 0;
    background: var(--light-color);
    min-height: 100vh;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 0;
    position: relative;
    display: flex;
    min-height: 280px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-left {
    width: 40%;
    overflow: hidden;
    border: none;
    position: relative;
}

/* .header-left::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%, 
        transparent 48%,
        var(--primary-color) 48%,
        var(--primary-color) 52%,
        transparent 52%,
        transparent 100%);
    pointer-events: none;
} */

.header-left img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
    filter: brightness(1.05) contrast(1.05);
}

.header-right {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 30px 20px;
    background: var(--light-color);
    position: relative;
}

.header-right::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    opacity: 0.05;
    border-radius: 50%;
}

.header-right::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo img {
    max-width: 160px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(30, 115, 190, 0.15));
}

.profile-info {
    text-align: center;
    position: relative;
}

.profile-info::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.profile-info h1 {
    color: var(--dark-color);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-info .title {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

/* Contact Section */
.contact-section {
    padding: 30px 20px;
    background: var(--bg-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    margin-bottom: 15px;
    background: var(--light-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.contact-item:hover .icon-wrapper {
    transform: rotate(5deg) scale(1.1);
}

.icon-wrapper i {
    font-size: 22px;
}

.icon-wrapper.phone {
    background: rgba(30, 115, 190, 0.1);
    color: var(--primary-color);
}

.icon-wrapper.phone i {
    color: var(--primary-color);
}

.icon-wrapper.email {
    background: rgba(220, 53, 69, 0.1);
    color: var(--secondary-color);
}

.icon-wrapper.email i {
    color: var(--secondary-color);
}

.icon-wrapper.website {
    background: rgba(30, 115, 190, 0.1);
    color: var(--primary-color);
}

.icon-wrapper.website i {
    color: var(--primary-color);
}

.icon-wrapper.location {
    background: rgba(220, 53, 69, 0.1);
    color: var(--secondary-color);
}

.icon-wrapper.location i {
    color: var(--secondary-color);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.contact-details .label {
    font-size: 12px;
    color: var(--gray-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details .value {
    font-size: 15px;
    color: var(--dark-color);
    font-weight: 500;
    word-break: break-word;
}

/* Action Buttons */
.action-buttons {
    padding: 0 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-color);
}

.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn i {
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(30, 115, 190, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 115, 190, 0.4);
}

.btn-secondary {
    background: var(--light-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c0392b 100%);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

/* Map Section */
.map-section {
    padding: 30px 20px;
    background: var(--light-color);
}

.map-section h2 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
}

.map-container iframe {
    display: block;
}

/* QR Code Section */
.qr-section {
    padding: 30px 20px 40px;
    text-align: center;
    background: var(--bg-color);
}

.qr-section p {
    font-size: 13px;
    color: var(--gray-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.qr-placeholder {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    background: var(--light-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.qr-placeholder i {
    font-size: 50px;
    color: var(--gray-color);
    opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 480px) {
    .header {
        min-height: 240px;
    }

    .header-left {
        width: 50%;
    }

    .header-right {
        width: 50%;
        padding: 20px 15px;
        gap: 20px;
    }

    .logo img {
        max-width: 110px;
    }

    .profile-info h1 {
        font-size: 20px;
    }

    .profile-info .title {
        font-size: 14px;
    }

    .contact-section {
        padding: 20px 15px;
    }

    .contact-item {
        padding: 16px;
        gap: 15px;
    }

    .icon-wrapper {
        width: 46px;
        height: 46px;
    }

    .icon-wrapper i {
        font-size: 20px;
    }

    .contact-details .value {
        font-size: 14px;
    }

    .action-buttons {
        padding: 0 15px 25px;
    }

    .btn {
        padding: 14px;
        font-size: 14px;
    }

    .map-section {
        padding: 25px 15px;
    }

    .map-section h2 {
        font-size: 20px;
    }

    .qr-section {
        padding: 25px 15px 35px;
    }
}

@media (max-width: 360px) {
    .profile-info h1 {
        font-size: 22px;
    }

    .contact-details .value {
        font-size: 13px;
    }
}
