:root {
    --primary-blue: #0072ff;
    --light-blue: #00c6ff;
    --dark-blue: #004e92;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --shadow: 0 10px 30px rgba(0, 78, 146, 0.15);
    --border-radius: 24px;
}

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

body {
    font-family: 'Prompt', sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Shapes for visual interest */
.background-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--light-blue);
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    bottom: -50px;
    right: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #4facfe;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(20px); }
}

/* Card Container */
.card-container {
    perspective: 1000px;
    padding: 20px;
    width: 100%;
    max-width: 480px;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 78, 146, 0.25);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.card-header {
    margin-bottom: 30px;
}

.logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-name {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-blue), var(--light-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.service-name {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.divider {
    height: 3px;
    width: 40px;
    background: linear-gradient(to right, var(--primary-blue), var(--light-blue));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Body */
.card-body {
    margin-bottom: 30px;
}

.description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.2s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.9);
}

.icon-box {
    min-width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 114, 255, 0.2);
}

.info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
}

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

/* Footer */
/* Footer */
.card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 78, 146, 0.1);
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.footer-link {
    font-size: 0.8rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.footer-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        padding: 30px 20px;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    .contact-item {
        padding: 10px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 5px;
}

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

.modal-body {
    padding: 25px;
    overflow-y: auto;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

.modal-body p {
    margin-bottom: 15px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-body strong {
    color: var(--dark-blue);
    display: block;
    margin-bottom: 5px;
}

/* Scrollbar styling for modal */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}
