
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Cormorant Garamond', serif;
    background-color: #f5f5f5;
    color: #333;
    background-color: #f5f5f5;
    text-align: center;
    padding-top: 70px;
    margin: 0;
    
}
.header {
    background-color: #1e1e2f;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo-container img {
    width: 50px;
    margin-left: 20px;
}

.main-nav {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.main-nav li {
    display: inline;
}

.main-nav li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: larger;
    font-size: x-large;
    transition: color 0.3s ease;
}

.main-nav li a:hover {
    color: #f0ad4e;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-right: 20px;
}

.hamburger-menu span {
    width: 30px;
    height: 3px;
    background-color: white;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #1e1e2f;
        padding: 10px;
        border-radius: 5px;
    }

    .main-nav.active {
        display: flex;
    }

    .hamburger-menu {
        display: flex;
    }
}
.news-ticker {
    width: 100%;
    overflow: hidden;
    background: #ff9800;
    color: #1e1e2f;
    padding: 10px 0;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
    margin-top: 20px;
    font-size: large;
}
.news-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollNews 30s linear infinite;
}
.news-ticker.reverse .news-content {
    animation: scrollNewsReverse 30s linear infinite;
}
.urdu {
    margin-top: 0;
}
@keyframes scrollNews {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}
@keyframes scrollNewsReverse {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

.hero {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}
#Arabic{
    font-family: "Noto Kufi Arabic", serif;
}
.hero-text {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: large;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
}


.container {
    display: flex;
    gap: 15px;
    padding: 5px;
    justify-content: center;
    align-items: center;
    width: 60%;
    margin: 0 auto;
}

.box {
    background-color: #fff;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;                                            
    height: 450px;
    width: 30%;
    border-radius: 20px;
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-weight: bolder;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    padding: 15px;
}

.box img {
    max-width: 100%;
    height: 100%;
    margin-bottom: 15px;
    border-radius: 10px;
}

.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-color: #007bff;
}
.box {
    transition: box-shadow 0.5s ease-in-out, transform 0.3s ease-in-out;
}
.box:hover {
    box-shadow: 0px 0px 15px rgba(255, 204, 0, 0.6); /* Golden glow */
    transform: translateY(-5px); /* Slight lift */
}
.description{
    font-weight: 700;
    font-size: 1.5rem;
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    margin-top: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}
.para{
    width: auto;
}
.para strong{
    font-weight: 900;
    font-size: larger;
    font-style: italic;
    color: black;
}
.title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    color: #1e1e2f;
    margin-bottom: 30px;
    margin-top: 30px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .container {
        flex-direction: row;
        width: 90%;
    }
    .box {
        width: 100%;
    }
}

.salaar {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
}

/* Flex container to keep both boxes equal */
.salaars-container {
    display: flex;
    justify-content: center; /* Centers the items */
    align-items: stretch; /* Makes both boxes the same height */
    gap: 30px; /* Space between cards */
    flex-wrap: wrap; /* Ensures responsiveness */
}

/* Card Styling */
.current, .previous {
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 260px; /* Ensure both cards have the same width */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures text aligns properly */
}

/* Image Styling */
.current img, .previous img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Name Styling */
.current h3, .previous h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #1e1e2f;
    font-weight: bolder;
}

/* Wrap names in a div to maintain consistency */
.current .name, .previous .name {
    margin-top: 10px;
}

/* Make sure "(Late)" is formatted properly */
.previous .name::after {
    content: " (Late)";
    font-size: 1rem;
    display: block;
    margin-top: 5px;
    color: #555;
}

/* Hyperlink Styling */
.current a {
    text-decoration: none;
    color: #1e1e2f;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.current a:hover {
    text-decoration: underline;
}

.testimonial-section{
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    padding: 40px;
}


/* Testimonial Container */
.testimonial-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 60%;
    margin: auto;
    margin-top: 150px;
}

/* Testimonial Box */
.testimonial-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #d4af37;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
    transition: opacity 0.8s ease-in-out, transform 0.5s ease-in-out;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
}

/* Active Testimonial */
.testimonial-box.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1.4rem;
    color: #333;
    font-style: italic;
}

/* Testimonial Author */
.testimonial-author {
    font-size: 1.2rem;
    color: #b8860b;
    font-weight: bold;
    margin-top: 10px;
}

#testimonial-bigbox{
    margin-top: 100px;
}

/* Navigation Buttons */
button {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #b8860b;
    transition: color 0.3s ease;
}

button:hover {
    color: #7a5900;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.prev {
    left: -50px;
}

.next {
    right: -50px;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-container {
        width: 90%;
    }
    .bigbox{
        margin-top: 200px;
    }
    .smallbox{
        margin-top: 100px;
    }

    .wrapper { 
    margin-top: 100px;
}

}
footer {
    text-align: center;
    padding: 20px;
    background-color: #1e1e2f;
    color: white;
    font-size: 1rem;
    margin-bottom: 0;
}

.footer-wrapper { 
    display: flex;
    flex-direction: column;
    min-height: 40vh;
}

.main-content {
    flex-grow: 1; /* Pushes footer down */
}

.contact-container {
    margin-top: 100px;
    font-family: Arial, sans-serif;
    padding: 50px 20px;
    margin-bottom: 250px;
}
.contact-title{
    color: #1e1e2f;
    font-size: 32px;
}
.contact-brief {
    color: #555;
}
.contact-cards {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s;
}
.card:hover {
    transform: scale(1.05);
}
.card-icon {
    background: #f4e0e0;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 24px;
}
.contact-button {
    background: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
    font-size: 16px;
    color: #1e1e2f;

}
.contact-button:hover {
    border: #007bff 1px solid;
    color: #1e1e2f;

}
.social {
    width: 2rem;
    padding: 0;

}
.soc {
    padding-bottom: 12.5px;
}
.showcase-container {
    margin: 100px;
    padding: 50px 20px;
}
.showcase-title {
    color: #1e1e2f;
    font-size: 32px;
    margin-bottom: 50px;
}
.showcase-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.showcase-card {
    position: relative;
    width: 350px;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}
.showcase-card:hover {
    transform: scale(1.05);
}
.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-title {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
}
.card-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 90%;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}
.showcase-card:hover .card-details {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.details {
     text-align: left;
}
.details-sub {
    text-align: center;
}
.inprogress {
    margin-top: 200px;
    margin-bottom: 450px;
    font-size: larger;
}