﻿/* Fullscreen Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Spinner Animation */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Keyframes for rotating spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* Contact Card Container */
.contact-card {
    width: 320px;
     /*background-image: url('Assets\DPimage\pic.jpg');*/
    
    background-size: cover; /* Ensures the image covers the entire card 
    background-position: center; /* Centers the image */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}


/* Profile Section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    color: rgba(0, 0, 0, 0.95);
    text-align:center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;

    /* Glass Blur Effect */
    /*border: 4px solid rgba(255, 255, 255, 0.2); /* Semi-transparent border */
    /*backdrop-filter: blur(10px); /* Background blur */
    /*-webkit-backdrop-filter: blur(10px); /* Safari support */
    
    /* Soft Glow Effect */
    /*box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);*/
}


.profile-name {
    font-size: 20px;
    font-weight: 600;
}

.profile-title {
   color: rgba(0, 0, 0, 0.80);
    font-size: 14px;
    margin-top: 4px;
}

.profile-company {
    font-size: 16px;
    margin-top: 4px;
}

.profile-pronouns {
    font-size: 14px;
        color: black;
        
}

/* Contact Information */
.contact-info {
    background-color: rgba(255, 255, 255, 0.1); /* Transparent glass effect */
    backdrop-filter: blur(10px); /* Blurs the background */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    
    padding: 16px;
    margin: 16px;
    border-radius: 12px; /* More rounded for a smooth look */
    
    border: 1px solid rgba(255, 255, 255, 0); /* Subtle border */
    
    /* Shadow Effect */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Adds a soft shadow */
    transition: all 0.3s ease-in-out; /* Smooth effect */
   
}

.contact-info1 {
    background-color: rgba(255, 255, 255, 0.1); /* Transparent glass effect */
    backdrop-filter: blur(10px); /* Blurs the background */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    
    padding: 25px;
    margin: 16px;
    border-radius: 12px; /* More rounded for a smooth look */
    
    border: 1px solid rgba(255, 255, 255, 0); /* Subtle border */
    
    /* Shadow Effect */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Adds a soft shadow */
    transition: all 0.3s ease-in-out; /* Smooth effect */
   
}
/* Optional: Add an interactive hover effect */
.contact-info:hover, .contact-info1:hover {
   background: rgba(255, 255, 255, 0.25); /* Slightly more visible */
    backdrop-filter: blur(12px); /* Increase blur */
    /*box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);*/
    transform: translateY(-2px); /* Slightly lifts the button */
}

.contact-icon i.fab.fa-youtube {
    color: red;
}
.contact-value a {
    color: red;
    text-decoration: none;
    font-weight: bold;
}
.contact-value a:hover {
    text-decoration: underline;
}

.contact-item1 {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Increased margin for more spacing */
    color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}
.contact-item2 {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Increased margin for more spacing */
    color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}
.contact-item3 {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Increased margin for more spacing */
    color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

/* Ensure spacing between icon and text */
.contact-icon {
    margin-right: 16px; /* Increased space between icon and text */
    width: 32px; /* Ensures consistent icon width */
    text-align: center;
}

/* Contact Info Icons - Keep them colorful */
.contact-icon i {
    color: #0288ff;
    font-size: 20px; /* Slightly larger icons for visibility */
}

/* Assign individual colors */
.contact-item1:nth-child(1) .contact-icon i { color: #FF9800; } /* Green for Phone */
.contact-item2:nth-child(2) .contact-icon i { color: #2196F3; } /* Orange for Email */
.contact-item3:nth-child(3) .contact-icon i { color: #ff0202; } /* Blue for Website */

.contact-icon {
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.contact-icon:hover {
    transform: scale(1.2);
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.7);
}
.contact-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px; /* Adds spacing between contact type and value */
}

.contact-type {
    font-size: 14px;
}

.contact-value {
   font-size: 12px;
   color: rgba(0, 0, 0, 0.80);
}


/* Center Align the Social Icons */
/*.social-icons {
    display: flex;
    justify-content: center; /* Centers icons horizontally 
    align-items: center;
    gap: 20px;  Spacing between icons 
    margin-top: 16px;
    padding: 0;
}*/

/* Colorful Social Media Icons */
/*.social-icon {
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}*/

/* Individual Icon Colors */
/*.social-icon:nth-child(1) { color: #1877F2; } /* Facebook */
/*.social-icon:nth-child(2) { color: #E4405F; } /* Instagram */
/*.social-icon:nth-child(3) { color: #25D366; } /* WhatsApp Business */
/*.social-icon:nth-child(4) { color: #FF0000; } /* YouTube */

/* Hover Effect - Slight Scale and Glow */
/*.social-icon:hover {
    transform: scale(1.2);
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.7);
}*/



/* Exchange Contacts Button */
.exchange-button {
    display: block;
    width: calc(100% - 32px);
    margin: 16px;
    padding: 12px;

    /* Glass Effect */
    background: rgba(255, 255, 255, 0.15); /* Transparent white */
    backdrop-filter: blur(10px); /* Blurs background */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    
    color: #c90808;
    border: 1px solid rgba(255, 255, 255, 0%); /* Soft border */
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    
    transition: background 0.3s ease-in-out;
}

/* Hover Effect */
.exchange-button:hover {
    background: rgba(255, 255, 255, 0.25); /* Slightly more visible */
    backdrop-filter: blur(12px); /* Increase blur */
}


/* Ensure the contact card is positioned relative */
.contact-card {
    position: relative; /* Needed for absolute positioning inside it */
    width: 320px;
    /*background-image: url('Assets/BGimage/BG.jpg');*/
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

/* Make contact card full screen on small devices */
@media (max-width: 1068px) {
    .contact-card {
        width: 100vw; /* Full width */
        height: 100vh; /* Full height */
        border-radius: 0; /* Remove rounded corners */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0px;
    }
}
    .profile-section {
        padding: 8px; /* Increase spacing */
    }
    .contact-info1 {
        width: 100%; /* Adjust width for better fit */
        margin: 10px auto;
    }
    .contact-info {
        width: 90%; /* Adjust width for better fit */
        margin: 10px auto;
    }
    .contact-item1 label {
    display: block;
    text-align: center;
}

    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

   .exchange-button {
    font-family: 'Poppins', sans-serif; /* Change to your preferred font */
    font-weight: bold; /* Make it bold */
    font-size: 10px; /* Adjust the font size */
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 1px; /* Add spacing for a modern look */
    padding: 12px 16px; /* Improve spacing */

    /* Shadow Effect */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Adds a soft shadow */
    transition: all 0.3s ease-in-out; /* Smooth effect */
}

/* Hover Effect - Enhances the shadow on hover */
.exchange-button:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px); /* Slightly lifts the button */
}

    /* Fade-in effect */
    body {
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

        /* Once loaded, it becomes visible */
        body.loaded {
            opacity: 1;
        }

        .contact-card {
    transform-style: preserve-3d;
    animation: flipCard 1s ease-in-out;
}

@keyframes flipCard {
    0% {
        transform: rotateY(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateY(0deg);
        opacity: 1;
    }
}

