@font-face {
  font-family: 'Jameel Noori Nastaleeq';
  src: url('fonts/JameelNooriNastaleeq.ttf') format('truetype');
}
body {
  font-family: 'Jameel Noori Nastaleeq', serif;
}
/* ✅ General Styles */
body {
    font-family: 'Jameel Noori Nastaleeq', 'Noto Nastaliq Urdu', serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

/* ✅ Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ✅ Header Styles */
header {
    background: linear-gradient(135deg, rgb(88, 6, 6),  rgba(0, 0, 0, 0.543));
    color: #fff;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: slideDown 1s ease-in-out forwards;
    position: relative;
    z-index: 1000;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.social-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.nav-container {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 10px;
    padding-right: 10px;
}

.nav-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(0, 0, 0);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 999px; /* Fully rounded */
    font-family: sans-serif;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: darkred;
}

.social-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp { background-color: #d32525; }
.whatsapp:hover { background-color: #1eb85d; transform: scale(1.08); }

.facebook { background-color: #0f4996; }
.facebook:hover { background-color: #165BBD; transform: scale(1.08); }

.call { background-color: #015ea1; }
.call:hover { background-color: #e64a19; transform: scale(1.08); }

.social-icon {
    width: 25px;
    height: 25px;
}

@media (max-width: 600px) {
    .social-container {
        flex-direction: column;
        gap: 10px;
    }
}

.detail {
    margin: 0;
    font-size: 0.9rem;
    font-weight: bold;
    background-color: white;
    color: #015a86;
    padding: 10px 10px;
    text-align: center;
}

/* ✅ h1 Container */
.h1-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    font-size: 1rem;
}

/* ✅ h1 Button */
#homeButton {
    margin: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #015ea1;
    padding: 8px 25px;
    border: 2px solid #a10101;
    border-radius: 50px;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

/* ✅ Hover Effect */
#homeButton:hover {
    transform: scale(1.03);
}

/* ✅ Top Bar (News Ticker) */


/* ✅ Profile Section */
.profile-section {
    text-align: center;
    padding: 35px 30px;
    padding-bottom: 80px;
    padding-top: 70px;
    padding-left: 50px;
    background: url('Press\ Card\ \ \(2.2\ x\ 3.4\ in\).png') no-repeat center center fixed;
    background-size: cover;
    color: white;
    border-radius: 10px;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    opacity: 0;
    left: 10px;
    animation: fadeIn 2s ease-in-out forwards;
}

/* ✅ Profile Card */
.profile-card {
    background: white;
    padding: 16px 30px 0px 10px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    margin-top: 50px;
    left: 50px;
}

.profile-card .profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid #860101;
    object-fit: cover;
    object-position: center;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .profile-card .profile-image {
        width: 100px;
        height: 100px;
        border: 2px solid #860101;
    }
}

@media (max-width: 480px) {
    .profile-card .profile-image {
        width: 150px;
        height: 150px;
    }
}

.profile-card h3 {
    margin-top: 8px;
    color: #2c3e50;
    font-weight: bold;
    font-size: large;
}

.profile-card p {
    margin: 5px 0;
    color: #080808;
    font-weight: bold;
    font-size: small;
}

.profile-card p strong {
    color: #2c3e50;
}

.certificate-block {
    margin-top: 20px;
}

.certificate-button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 1.2rem;
    font-weight: bold;
    background: #f1c40f;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.certificate-button:hover {
    background: #2c3e50;
    color: #fff;
    transform: scale(1.08);
}

/* ✅ Image Container */
.image-container {
    width: 100%;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* ✅ Footer */
footer {
   background: linear-gradient(135deg, rgb(88, 6, 6),  rgba(0, 0, 0, 0.543));
    color: #fff;
    text-align: center;
    padding: 8px 0;
    margin-top: 15px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 1.5s forwards;
}

/* ✅ WhatsApp Floating Button */
#whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    z-index: 9999;
    animation: flipBounce 3s ease-in-out infinite;
}

#whatsapp-btn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0, 128, 0, 0.3);
    transition: transform 0.3s;
}

@keyframes flipBounce {
    0% { transform: rotateY(0deg); }
    20% { transform: rotateY(180deg); }
    40% { transform: rotateY(360deg); }
    60% { transform: translateY(-10px); }
    70% { transform: translateY(0px); }
    80% { transform: translateY(-5px); }
    90% { transform: translateY(0px); }
    100% { transform: rotateY(0deg); }
}

@media (max-width: 600px) {
    #whatsapp-btn {
        width: 50px;
        height: 50px;
    }
}
