/* --- Global Styles & Colors (Corporate Theme for vCard) --- */
:root {
    --primary-color: #004D7A;   /* Deep Corporate Blue */
    --secondary-color: #C0A06D; /* Muted Gold/Tan */
    --accent-color: #FF6F61;    /* Coral for highlights */
    --dark-text: #222;
    --light-text: #fff;
    --bg-light: #F4F4F4;        /* Soft Off-White/Gray */
    --bg-dark: #1E2A38;         /* Dark Navy/Slate */
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top for better scroll on small screens */
    min-height: 100vh;
    padding: 20px;
}

.vcard-container {
    background-color: var(--light-text);
    max-width: 450px; /* Standard business card width on screen */
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    margin-top: 20px; /* Space from top */
    margin-bottom: 20px;
}

/* Profile Header */
.profile-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 30px 20px;
    position: relative;
}

.profile-image {
    width: 100px; /* Size of the logo */
    height: 100px;
    border-radius: 50%; /* Make it round if needed, or keep square for logo */
    border: 4px solid var(--secondary-color); /* Gold border around logo */
    object-fit: contain; /* Ensure logo fits */
    background-color: var(--light-text); /* Ensure good contrast for logo */
    padding: 5px;
    margin-bottom: 15px;
}

.profile-header h1 {
    font-size: 2em;
    margin-bottom: 5px;
    color: var(--light-text);
}

.profile-header .designation {
    font-size: 1.1em;
    font-weight: 300;
    opacity: 0.9;
    color: var(--light-tex);
}

/* Section Styling */
.about-section, .contact-section, .cta-section {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.about-section h2, .contact-section h2 {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.about-section p {
    font-size: 1em;
    color: var(--dark-text);
    line-height: 1.7;
    text-align: center;
}

/* Contact Info Styling */
.contact-section p {
    margin-bottom: 10px;
    font-size: 0.95em;
    display: flex; /* For icon alignment */
    align-items: center;
}

.contact-section i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1em;
    width: 20px; /* Fixed width for icons */
    text-align: center;
}

.contact-section a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-section a:hover {
    color: var(--primary-color);
}

/* Call to Action Buttons */
.cta-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 30px;
    border-bottom: none; /* No border for the last section */
}

.btn {
    display: flex; /* To center icon and text */
    justify-content: center;
    align-items: center;
    background: var(--secondary-color);
    color: var(--dark-text);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
}
.btn i {
    margin-right: 10px;
}

.primary-btn {
    background: var(--primary-color);
    color: var(--light-text);
}
.primary-btn:hover {
    background: #003a5e;
    transform: translateY(-2px);
}

.secondary-btn {
    background: var(--secondary-color);
    color: var(--dark-text);
}
.secondary-btn:hover {
    background: #ac9060;
    transform: translateY(-2px);
}

.tertiary-btn { /* Style for save contact button if needed */
    background: var(--bg-dark);
    color: var(--light-text);
}
.tertiary-btn:hover {
    background: #3a4d62;
    transform: translateY(-2px);
}


/* Footer */
footer {
    position: absolute; /* Position at the bottom of the viewport */
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    font-size: 0.8em;
    color: var(--bg-dark); /* Dark text on light background */
    background-color: var(--bg-light); /* Match body background */
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .vcard-container {
        border-radius: 0; /* Full width on very small screens */
        box-shadow: none;
        margin-top: 0;
    }
    .profile-header h1 {
        font-size: 1.8em;
    }
    .profile-header .designation {
        font-size: 1em;
    }
    .about-section, .contact-section, .cta-section {
        padding: 20px;
    }
    body {
        padding: 0; /* Remove body padding on small screens */
    }
}