/* --- Top Section: Million Dollar Man --- */
.profile-section {
    padding: 80px 0;
    /*background-color: #000;*/
    background: radial-gradient(circle at bottom left, #0e3552 0%, #000 60%);
}

.profile-text p {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
    color: #d1d1d1;
    margin-bottom: 1.5rem;
    font-family: var(--font-01);
}

.profile-text p:last-child {
    margin-bottom: 0;
}

.profile-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

/* --- Bottom Section: Split Action Cards --- */
.action-cards-section {
    width: 100%;
}

.action-card {
    position: relative;
    height: 550px;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Background Images */
.bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

/* Overlays */
.overlay-dark {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.overlay-gold {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(212, 171, 74, 0.85);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* White Inner Border (Appears on Hover) */
.inner-frame {
    position: absolute;
    inset: 40px; /* Distance from edges */
    border: 2px solid #fff;
    z-index: 4;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s ease;
    pointer-events: none;
}

/* Content Wrapper */
.card-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
    width: 100%;
}

/* Gold Decorative Lines */
.gold-line {
    width: 80px;
    height: 2px;
    background-color: #c99f43;
    transition: opacity 0.3s ease;
}

.gold-line-top { margin-bottom: 30px; }
.gold-line-bottom { margin-top: 40px; }

/* Typography */
.card-title {
    font-size: 3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #fff;
    font-family: var(--font-02);
}

.card-subtitle {
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #fff;
    max-width: 80%;
    font-family: var(--font-01);
}

/* Button Styling */
.btn-action {
    display: inline-block;
    border: 2px solid #fff;
    background-color: transparent;
    color: #fff;
    padding: 15px 35px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.4s ease;
    font-family: var(--font-01);
}

/* --- HOVER EFFECTS (Triggered on .action-card hover) --- */
.action-card:hover .bg-image {
    transform: scale(1.05);
}

.action-card:hover .overlay-dark {
    opacity: 0;
}

.action-card:hover .overlay-gold {
    opacity: 1;
}

.action-card:hover .inner-frame {
    opacity: 1;
    transform: scale(1);
}

.action-card:hover .gold-line {
    opacity: 0; /* Hide top/bottom lines on hover */
}

.action-card:hover .btn-action {
    background-color: var(--color-2);
    border-color: var(--color-2);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 991px) {
    .main-heading { font-size: 2.8rem; }
    .profile-img { margin-top: 40px; }
    .card-title { font-size: 2.2rem; }
    .card-subtitle { font-size: 0.85rem; max-width: 100%; }
    .inner-frame { inset: 20px; }
}

@media (max-width: 768px) {
    .profile-section { padding: 50px 0; }
    .main-heading { font-size: 2.2rem; }
    .action-card { height: 450px; }
}