/* styles.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    overflow-x: hidden;
}

/* Top Bar Section */

.top-bar-section {
    width: 100%;
    background-color: #4fb649;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 70px;
    position: sticky;
    top: 0px;
    z-index: 1001;
}

.top-bar-section a {
    color: white;
    height: auto;
    text-decoration: none;
}

.top-bar-social-icons a {
    height: 20px;
}

.top-bar-content-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-content-section p {
    font-size: 16px;
    /* font-weight: 600; */
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-social-icons i {
    font-size: 20px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
    /* background-color: #fff; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    background-color: black;
    position: sticky;
    top: 34px;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    width: 170px;
    height: auto;
}

.logo span {
    color: #ffc107;
}

.nav-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
}

/* Blog Section */

.big-certificates-section {
    width: 100%;
    padding: 20px 50px;
}

.big-certificates-section h1 {
    font-size: 35px;
    /* text-align: center; */
    color: #2d3e50;
    line-height: 1;
    margin-bottom: 15px;
}

.big-certificates-section h1 span {
    font-size: 28px;
    font-weight: 500;
}

.big-certificates-section .down-para {
    /* max-width: 1250px; */
    margin: auto;
    font-size: 15px;
    text-align: justify;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 10px auto;
}

.card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 20px 25px;
    transition: transform 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-4px);
}

.icon {
    width: 40px;
    margin-right: 20px;
}

.title {
    font-size: 18px;
    color: #000000;
    line-height: 1.3;
    font-weight: 600;
}

.title span {
    font-size: 14px;
    color: #444;
    font-weight: 400;
}

@media (max-width: 768px) {
    .title {
        font-size: 16px;
    }

    .card {
        padding: 15px 20px;
    }

    .icon {
        width: 36px;
        margin-right: 16px;
    }

    .big-certificates-section{
        padding: 20px;
    }

    .big-certificates-section h1 {
        font-size: 28px;
        line-height: 1.4;
        text-align: center;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .big-certificates-section h1 {
        font-size: 25px;
    }

    .big-certificates-section h1 span {
        font-size: 21px;
    }

    .big-certificates-section {
        padding: 10px;
    }
}

/* From Uiverse.io by mahiatlinux */

.mydict div {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    justify-content: center;
}

.mydict input[type="radio"] {
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.mydict input[type="radio"]:checked+span {
    box-shadow: 0 0 0 0.0625em white;
    background-color: #3f843b;
    /* z-index: 1; */
    color: white;
}

.mydict label span {
    display: block;
    cursor: pointer;
    background-color: #4fb649;
    padding: 0.375em 0.75em;
    position: relative;
    margin-left: 0.0625em;
    box-shadow: 0 0 0 0.0625em white;
    letter-spacing: 0.05em;
    font-size: 16px;
    color: white;
    text-align: center;
    transition: background-color 0.5s ease;
}

.mydict label:first-child span {
    border-radius: 0.375em 0 0 0.375em;
}

.mydict label:last-child span {
    border-radius: 0 0.375em 0.375em 0;
}

@media (max-width: 450px) {
    .mydict label span {
        font-size: 14px;
    }
}

@media (max-width:345px) {
    .mydict label span {
        font-size: 13px;
    }
}

/* Footer Section */

.footer-section {
    background-color: #2C2C2C;
    color: #ffffff;
    padding: 60px 20px;
    background-image: url("./images/footer-background.webp");
    background-size: cover;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 0px 50px;
}

.footer-brand {
    width: 50%;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    width: 60%;
    margin-bottom: 10px;
}

.footer-socials a {
    margin-right: 10px;
    font-size: 25px;
    color: #ffffff;
    text-decoration: none;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0px;
}

.footer-logo-section img {
    width: auto;
    height: 60px;
    border-radius: 5px;
}

.footer-links {
    flex: 1;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
}

.footer-below-box {
    width: 100%;
    padding: 10px;
    background-color: #4fb649;
}

.footer-below-box h3 {
    width: 100%;
    text-align: center;
    color: white;
}

/* Responsive Code */

@media (max-width: 1200px) {

    /* Footer */
    .footer-brand {
        width: 45%;
    }
}

@media (max-width: 769px) {

    /* Footer Section */
    .footer-section {
        padding: 20px;
    }

    .footer-middle {
        flex-direction: column;
        padding: 0px 10px;
        justify-content: center;
        gap: 25px;
    }

    .footer-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .footer-links {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .footer-links h3 {
        margin-bottom: 10px;
    }

    .footer-item .footer-icon i {
        font-size: 30px;
    }

    .footer-links ul li {
        text-align: center;
    }

    .footer-item p {
        font-size: 14px;
    }

    .footer-item h3 {
        font-size: 18px;
    }

    .footer-below-box h3 {
        font-size: 14px;
    }

    .footer-brand p {
        width: 100%;
        text-align: center;
    }

    .footer-brand {
        width: auto;
    }

    .footer-logo-section {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-logo-section img {
        height: 65px;
    }
}

/* Responsive Code */

@media (max-width: 1050px) {
    .nav-links {
        display: none;
    }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 40px;
    }
}


/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    /* Top Section */
    .top-bar-section {
        flex-direction: column;
        padding: 5px 10px;
        gap: 10px;
    }

    .top-bar-content-section {
        flex-direction: column;
        gap: 2px;
    }

    /* Navbar */
    .navbar {
        padding: 15px 20px;
        align-items: center;
        top: 90px;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo {
        width: 100%;
    }

    .blog-section {
        padding: 10px;
    }

    .blog-section h2 {
        font-size: 35px;
        margin-bottom: 10px;
    }
}

/* Sidebar */

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 2000;
}

.sidenav a {
    padding: 8px 8px 8px 22px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

.sidebar-logo-img {
    width: 150px;
    margin-top: 10px;
}

.sidebar-open {
    display: none !important;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

@media (max-width:900px) {
    .sidebar-open {
        display: block !important;
    }
}

.sidebar-nav {
    color: white;
    font-size: 25px;
    display: none !important;
    cursor: pointer;
}

@media (max-width:1050px) {
    .sidebar-nav {
        display: block !important;
    }
}

/* Whatsapp Button */

.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 10000;
}

.whatsapp-btn img {
    width: 70px;
    height: auto;
}

@media (max-width: 600px) {
    .whatsapp-btn img {
        width: 60px;
        height: auto;
    }
}

/* Banner Section */

.banner-section {
    width: 100%;
    height: 300px;
    background-image: url("/banner-images/banner-img-20.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: -1;
}

/* .banner-section::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background: #5f5f5f;
    mix-blend-mode: multiply;
    z-index: 2;
} */

.banner-section h2 {
  font-size: 40px;
  color: white;
  font-weight: 600;
  z-index: 10;
  position: absolute;
  bottom: 10px;
  left: 0%;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0px 15px 0px 50px;
  border-radius: 0px 10px 10px 0px;
}

@media (max-width: 769px) {
  /* Banner Section */

  .banner-section {
    height: 160px;
  }

  .banner-section h2 {
    font-size: 30px;
    text-align: center;
    bottom: 10px;
    left: auto;
    padding: 0px 10px;
    border-radius: 10px;
  }
}

/* FORM CSS */

/* Form CSS */

.form {
    position: fixed;
    top: 25%;
    left: 39%;
    background-color: #fff;
    display: block;
    padding: 1rem;
    max-width: 350px;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    text-align: center;
    color: #000;
}

.input-container {
    position: relative;
}

.input-container input,
.input-container textarea,
.form button {
    outline: none;
    border: 1px solid #e5e7eb;
    margin: 8px 0;
}

.input-container input,
.input-container textarea {
    background-color: #fff;
    padding: 1rem;
    padding-right: 3rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    width: 300px;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.submit {
    display: block;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    background-color: #4fb649;
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    width: 100%;
    border-radius: 0.5rem;
    text-transform: uppercase;
    cursor: pointer;
}

.signup-link {
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-align: center;
}

.signup-link a {
    text-decoration: underline;
}

.close-btn {
    position: absolute;
    top: -10px;
    right: 5px;
    background: none;
    border: none !important;
    font-size: 40px;
    margin: 0px 0px !important;
    cursor: pointer;
    color: #333;
}

.close-btn:hover {
    color: #000;
}

.hidden {
    display: none;
}

/* Blur effect for the background */
.blur-background {
    filter: blur(5px);
    transition: filter 0.3s ease-in-out;
}


@media (max-width: 769px) {
     /* Form */
     .form {
        left: 25%;
    }
}

@media (max-width: 620px) {
    /* Form */
    .form {
        left: 20%;
    }
}

@media (max-width: 425px) {
        /* Form */
        .form {
            left: 5%;
        }
}

@media (max-width: 370px) {
    /* Form */
    .form {
        left: 2.5%;
    }
}