/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {

    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " ("attr(href) ")";
    }

    abbr[title]::after {
        content: " ("attr(title) ")";
    }

    /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

body {
    background: #fff;
    font-family: "Open Sans", Arial, sans-serif;
}

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

/*---------------navbar------start-----here--------*/

.bg-light {
    background-color: #fff !important;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.navbar-brands {
    max-width: 15%;
    height: auto;
    margin: 0px;
    padding: 0px;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    margin-bottom: 0;
    list-style: none;
    text-align: center;
    margin: auto;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show>.nav-link {
    color: #198754;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .show>.nav-link {
    color: #000;
    padding-left: 25px;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #198754;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.btns {
    color: #fff;
    background-color: #198754;
    padding: 15px 15px;
    border: 0px;
    border-radius: 10px;
    transition: 0.2s;
    border: 1px solid #198754;
}

.btns:hover {
    transition: 0.3s;
    background-color: transparent;
    color: #198754;
}

/*---------------navbar------close-----here--------*/

/*----------hero---start----here-----*/

.herobgg {
    background-image: url("img/ai-generated-ramadan-kareem-with-holy-quran-and-lantern-lit-photo.jpg");
    height: "";
    background-repeat: no-repeat;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.herobgg .overley {
    background-color: #00000091;
    width: 100%;
    height: 100%;
    padding: 0;
    text-align: center;
}

.herobgg .overley h1 {
    color: white;
    font-weight: 600;
    font-size: 27px;
    background-color: #198754;
    display: inline-block;
    margin: auto;
    padding: 21px 0px;
    border-radius: 20px;
}

.herobgg .overley h2 {
    color: #fff;
}

/*----------hero---close----here-----*/

/*------d-l1--start--------------------*/
.d1-bgg h1 {
    color: #198754;
    text-align: center;
}

/*-----amader---lokhho-------*/
.amdrl {
    margin: 40px 0;
}

.amdrl .class-type li {
    border-bottom: 1px solid #198754;
    padding: 5px 0px;
}

.amdrl ul li i {
    font-size: 20px;
    padding: 5px 0px;
    color: #198754;
}

.amdrl ul li i:hover {
    transition: 0.3s;
    color: black;
}

.amdrl ul li i span {
    font-size: 15px;
    line-height: 38px;
}

/*----aonb------start------*/

.aonb .tdi {
    text-align: center;
    color: #198754;
    margin-top: 80px;
    margin-bottom: 20px;
    font-weight: bold;
}

.aonb hr {
    width: 100%;
    height: 4px;
    color: #198754;
}

.aonb .divider {
    width: 100%;
    height: 2px;
    background-color: #198754;
}

.aonb ul {
    margin-top: 40px;
}

.aonb ul li {
    font-size: 22px;
    font-weight: inherit;
    padding: 12px 0;
}

/*----mko--------start-------here-------*/

.mko {
    margin-top: 100px;
    margin-bottom: 70px;
}

.mko h2 {
    color: #198754;
    font-weight: 600;
    font-size: 30px;
    margin: 20px 0;
}

.mko p {
    line-height: 35px;
}

.dividerO {
    width: 80%;
    height: 2px;
    background-color: #198754;
    display: inline-block;
    margin: auto;
}

/*-----ACS---------start----------------------------*/

.timeline-section {
    background-color: #fff;
    min-height: 100vh;
    padding: 45px 15px;
}

.headline {
    color: #198754;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
}

.timeline-items {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.timeline-items::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: #2f363e;
    left: calc(50% - 1px);
}

.timeline-item {
    margin-bottom: 40px;
    width: 100%;
    position: relative;
}

.timeline-item ul li {
    color: #fff;
    text-align: left;
    padding: 5px 0;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-dot {
    height: 16px;
    width: 16px;
    background-color: #198754;
    position: absolute;
    left: calc(50% - 8px);
    border-radius: 50%;
    top: 10px;
}

.timeline-date {
    font-size: 25px;
    color: #198754;
    margin: 6px 0 15px;
}

.timeline-content {
    background-color: #198754;
    padding: 30px;
    border-radius: 5px;
}

.timeline-content h3 {
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 10px;
    text-transform: capitalize;
    font-weight: 500;
    text-align: justify;
}

.timeline-content p {
    color: #c8c8c8;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
}

/* responsive */
@media (max-width: 767px) {
    .timeline-items::before {
        left: 7px;
    }

    .timeline-item:nth-child(odd) {
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 37px;
    }

    .timeline-dot {
        left: 0;
    }
}

/*----ACS----------close----------------------------*/

/*-----ASC---------Start------------------------------*/

.ASC {
    max-width: 100%;
    height: 100%;
    background-color: #198754;
}

.ASC h1 {
    color: white;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    padding-top: 30px;
    padding-bottom: 10px;
}

.imo-position {
    position: fixed;
    right: 30px;
    bottom: 35px;
    z-index: 99999;
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

.imo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 10px;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    width: 60px;
    height: 60px;
    transition: background-color 0.3s ease;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.wicon {
    width: 24px;
    height: 24px;
}

.footer {
    background-image: url("img/quran-3.jpg");
    height: 100%;
    background-repeat: no-repeat;
    width: 100%;
    background-size: cover;
}

.footer .overleys {
    background-color: #000000ba;
    width: 100%;
    height: 100%;
    text-align: center;
}

.footer img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-top: 10px;
}

.footer h5 {
    color: #ffffff;
    background-color: #198754;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    margin: 20px 0;
}

.sicon {
    padding: 30px 0;
}

.sicon i {
    color: white;
    background-color: transparent;
    font-size: 30px;
    padding: 10px;
    transition: 0.8s;
    border-radius: 10px;
    border: 2px solid #198754;
}

.sicon i:hover {
    color: white;
    background-color: #198754;
    font-size: 30px;
    padding: 10px;
    transition: 0.8s;
    border-radius: 10px;
    border: 2px solid #198754;
}