:root {
    --btn-height: 56px;
    --icon-size: 20px;
    --apple-blue: #0071e3;
}

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

body, html {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    color: white;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; 
    overflow-y: auto; 
}

body {
    background: linear-gradient(-45deg, #0f172a, #1e1b4b, #0c4a6e, #111827);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.profile-img {
    width: 130px; height: 130px;
    border-radius: 50%;
    border: 3px solid white;
    margin-bottom: 25px;
    object-fit: cover;
    background: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    user-select: none;           
    -webkit-user-drag: none;     
    pointer-events: none;        
}

.text-group {
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

h1 {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.subtitle {
    color: rgba(255,255,255,0.95);
    font-weight: 400;
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 0.5px;
}

.links { width: 100%; max-width: 380px; }

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--btn-height);
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 16px;
    color: #000;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    backdrop-filter: blur(5px);
    position: relative;
}

.btn:hover { transform: scale(1.02); background: #fff; }

.btn-black { background: #000; color: white; }
.btn-black:hover { background: #333 !important; color: white !important; }

.icon-box {
    position: absolute;
    left: 25px; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}

.btn i, .btn svg {
    width: var(--icon-size);
    height: var(--icon-size);
    font-size: var(--icon-size);
    color: #000;
    fill: #000;
}
.btn-black i { color: white; }

.social-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
    width: 100%;
}

.social-row a {
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    border: none;
    opacity: 0.85;
    transition: transform 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-row a:hover { opacity: 1; transform: scale(1.15); }
.bs-icon { width: 26px; height: 26px; fill: white; }

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    align-items: center; justify-content: center;
    backdrop-filter: blur(10px);
    padding: 20px;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 24px;
    width: 100%; 
    max-width: 800px;
    height: auto;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: modalUp 0.4s ease-out forwards;
    display: flex; 
    flex-direction: column; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

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

.modal-content.closing { animation: modalDown 0.3s ease-in forwards; }

.close-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
    font-size: 1rem;
}
.close-icon:hover { background: rgba(0, 0, 0, 0.8); transform: scale(1.1); }

.about-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0 16px;
    height: 32px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    backdrop-filter: blur(5px);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    pointer-events: none;
}

.modal-banner {
    width: 100%;
    height: 320px;
    background: url('../Images/banner.jpg') center/cover;
    background-color: #333;
    flex-shrink: 0;
}

.modal-body { 
    width: 100%;
    padding: 30px 40px;
    text-align: left;
    color: #1d1d1f; 
    overflow-y: auto;
}

.intro-text {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #4a4a4a;
    margin-bottom: 25px;
    text-align: center;
}

.highlight-name {
    color: var(--apple-blue);
    font-weight: 700;
}

.text-link {
    color: var(--apple-blue);
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.2s;
}
.text-link:hover { text-decoration: underline; opacity: 0.8; }

.quote-card {
    background: #f5f5f7;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
    border-left: 4px solid var(--apple-blue);
}
.quote-text {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 0.9rem;
    color: #333;
}
.quote-author {
    display: block;
    margin-top: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #86868b;
}

.columns-container {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}
.column { flex: 1; }

.section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #86868b;
    font-weight: 700;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    padding: 10px;
    border-radius: 10px;
    width: calc(50% - 5px); 
    min-width: 90px;
}

.info-item i { font-size: 1.3rem; color: var(--apple-blue); margin-bottom: 5px; }
.info-item span { font-size: 0.6rem; text-transform: uppercase; color: #555; font-weight: 600; text-align: center; }

@media (max-width: 700px) {
    .modal-banner { height: 200px; }
    .columns-container { flex-direction: column; gap: 20px; }
    .modal-body { padding: 25px; }
}