/* Root Variables */
:root {
    --primary-color: #3A86FF;
    --secondary-color: #8338EC;
    --accent-color: #FF006E;
    --dark-color: #14213D;
    --light-color: #F8F9FA;
    --grey-color: #EFEFEF;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
}

/* Wrapper */
.wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Header Section */
.header {
    position: relative;
    height: 200px;
    background: var(--gradient);
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: url('/api/placeholder/600/400');
    background-size: cover;
    opacity: 0.15;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Profile Section */
.profile {
    text-align: center;
    margin-top: -70px;
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
}

.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    overflow: hidden;
    background-color: white;
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    margin-top: 15px;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
}

.profile-title {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    color: white;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    padding: 0 20px;
}

.btn {
    padding: 10px 15px;
    border-radius: 30px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(58, 134, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(58, 134, 255, 0.4);
}

/* Section Styles */
.section {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
}

.section-title i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 5px;
}

/* Contact Section */
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--light-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-info {
    flex-grow: 1;
}

.contact-label {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

a.contact-value:hover {
    color: var(--primary-color);
}

/* About Section */
.about-content {
    background-color: var(--light-color);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.about-content p {
    margin-bottom: 10px;
}

/* Services Section */
.services-list {
    list-style-type: none;
    padding: 0;
}

.service-item {
    padding: 12px 15px;
    background-color: var(--light-color);
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 35px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 12px;
    color: var(--primary-color);
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    max-width: 600px;
    margin: 0 auto;
}

.footer-menu {
    display: flex;
    justify-content: space-around;
}

.footer-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-item:hover {
    color: var(--primary-color);
}

.footer-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.footer-item span {
    font-size: 12px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    font-size: 24px;
    color: #999;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    transition: transform 0.3s ease;
}

.share-option:hover {
    transform: translateY(-3px);
}

.share-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-size: 20px;
    color: var(--primary-color);
    transition: background 0.3s ease, color 0.3s ease;
}

.share-option:hover .share-icon {
    background: var(--primary-color);
    color: white;
}

.share-name {
    font-size: 12px;
}

/* QR Code Modal */
.qr-container {
    text-align: center;
    padding: 15px;
}

.qr-image {
    width: 200px;
    height: 200px;
    margin: 15px auto;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qr-download {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(58, 134, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(58, 134, 255, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(58, 134, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(58, 134, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(58, 134, 255, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Footer Padding */
.footer-padding {
    padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 480px) {
    .profile-name {
        font-size: 22px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
}