/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Background */
.containers {
    height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #0A2647, #144272, #205295, #2C74B3);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;

    /* Flex for left alignment */
    display: flex;
    justify-content: flex-center; /* align horizontally left */
    align-items: flex-start;     /* align vertically top */
    padding: 2rem;               /* spacing from edges */
}

/* Smooth Background Animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Profile Card */
.profile-card {
    width: 90%;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    text-align: left;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

/* Profile Image */
.profile-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffffffcc;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Headings */
h2 {
    color: #fff;
    font-size: 1.8rem;
}

/* Text */
.text-info {
    color: #a3c9ff !important;
    font-size: 1rem;
}

/* Buttons */
.btn-warning {
    background: #FFD24C;
    border: none;
    color: #0A2647;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: #fbc02d;
    transform: scale(1.05);
}

.btn-outline-light {
    color: #fff;
    border: 1px solid #fff;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #fff;
    color: #0A2647;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .containers {
        padding: 1rem; /* smaller padding for mobile */
    }

    .profile-card {
        padding: 1.5rem;
        width: 95%;
    }

    h2 {
        font-size: 1.5rem;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }
}
