@font-face {
    font-family: "Lemon-Regular";
    src: url("font/Lemon-Regular.ttf");
}
@font-face {
    font-family: "OpenSans-Bold";
    src: url("font/OpenSans-Bold.ttf");
}
@font-face {
    font-family: "OpenSans-SemiBold";
    src: url("font/OpenSans-SemiBold.ttf");
}
@font-face {
    font-family: "OpenSans-Regular";
    src: url("font/OpenSans-Regular.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    width: 100%;
    /* Sticky hataya gaya */
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 300px;
    background-color: #17302d; /* Transparent header */
    z-index: 1000;
}

.logo h2 {
    font-family: "Lemon-Regular";
    font-weight: 400;
    font-size: 16px;
    color: #ef5e41;
}

#nav-items {
    text-decoration: none;
    display: flex;
    align-items: center;
}

#nav-items li {
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 15px;
    list-style: none;
    margin-left: 20px;
    text-transform: capitalize;
    cursor: pointer;
    color: #ffffff;
    transition: color 0.3s ease;
}
#nav-items li a {
    text-decoration: none; /* underline hata dega */
    color: #ffffff; /* apni desired color */
    font-family: "OpenSans-SemiBold";
    font-weight: 600;
    font-size: 18px;
    text-transform: capitalize;
}

#nav-items li a:hover {
    text-decoration: none;
    color: #ef5e41; /* active/hover color */
}

#nav-items li:hover {
    color: #ef5e41; /* hover effect */
}

.active {
    color: #ef5e41;
}

/* Hero Section */
.hero-section {
    background-image: url("afc main cover.png");
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 0 100px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.hero-section h1 {
    font-family: "Rubik", sans-serif;
    font-weight: 800;
    font-size: 64px;
    max-width: 600px;
    text-transform: capitalize;
    color: #ffffff;
    line-height: 1.2;
}

.hero-section span {
    color: #ef5e41;
}

.hero-section p {
    font-family: "Rubik", sans-serif;
    font-weight: 400;
    font-size: 18px;
    max-width: 600px;
    padding: 30px 0;
    color: #ffffff;
    line-height: 1.6;
}

.hero-section button {
    font-family: "Rubik", sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    width: 185px;
    height: 55px;
    border-radius: 10px;
    background-color: #ef5e41;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-section button:hover {
    background-color: #d94a2f;
    transform: translateY(-3px);
}

:root {
    --card-bg: #ffffff;
    --surface: white;
    --accent: #4f46e5;
    --muted: #6b7280;
    --radius: 16px;
    --gap: 1.5rem;
    --max-width: 1500px;
    --card-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
}

.icon-cards-section {
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
    background: linear-gradient(180deg, var(--surface), #ffffff);
    flex-direction: column;
    align-items: center;
}

.icon-cards-wrap {
    width: 100%;
    max-width: var(--max-width);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--gap);
    align-items: left;
}

.icon-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: left;
    background-clip: padding-box;
    min-height: 280px;
    text-align: left;
    transition: box-shadow 0.25s;
}

/* Remove hover from full card */
.icon-card:hover {
    box-shadow: var(--card-shadow);
    transform: none;
}

.icon-top {
    width: 70px;
    height: 70px;
    border-radius: 160px;
    display: grid;
    place-items: center;
    background-color: #245d51;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 28px; /* icon size */
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Hover animation only on icon */
.icon-top:hover {
    background-color: #ff6652;
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.15);
}

.card-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.card-desc {
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

/* Heading styles */
.section-heading h4 {
    color: #ff6652;
    font-weight: 400;
}

.section-heading h2 {
    font-weight: 700;
    color: #0f172a;
    font-size: 3rem;
}

@media (max-width: 520px) {
    :root {
        --gap: 1rem;
    }
    .icon-cards-section {
        padding: 2rem 0.75rem;
    }
}

.why-choose-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1300px;
    margin: 50px auto;
    padding: 30px;
    gap: 40px;
}

.left-section {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-section img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* --- Common Badge Styling --- */
.badge-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: left;
    transform: translate(-50%, -50%);
    padding: 0 20px;
}

.badge-box {
    background: #fff;
    border-radius: 10px;
    padding: 8px 16px;

    font-weight: 600;
    font-size: 13px;
    color: #245d51;
    display: flex;
    align-items: center;
    height: 140px;
    gap: 6px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    animation: floatY 3s ease-in-out infinite;
}

.badge-box i {
    top: 50px;
    padding: 8px 16px;
    font-size: 54px;
    color: #ff6652;
}

/* Differentiate left one (green) */
.badge-experience span {
    background: #245d51;
    color: white;
    font-size: 24px;
    padding: 3px 7px;
    border-radius: 5px;
}

/* Floating animation */
@keyframes floatY {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.right-section {
    flex: 1;
    padding: 20px;
}

.right-section h1 {
    font-size: 32px;
    font-weight: 700;
    color: #0b1c39;
    margin-bottom: 20px;
}

.right-section p {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.benefits-list li {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #333;
    font-weight: 500;
}

.benefits-list li i {
    color: #1dbf73;
    margin-right: 10px;
    font-size: 18px;
}

.read-more-btn {
    background: #ff6652;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.read-more-btn:hover {
    background: #245d51;
}

/* Responsive */
@media (max-width: 992px) {
    .why-choose-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .badge-container {
        position: static;
        transform: none;
        justify-content: center;
        gap: 20px;
        margin: 20px 0;
    }
}

.stats-container {
    max-width: 1800px;
    height: 200px;
    padding: 20px 20px 20px 20px;
    margin: 40px auto;
    display: flex;
    text-align: center;
    font-family: "Arial", sans-serif;
    background-color: #f8fafa;
}
.stat-item {
    flex: 1;
}
.stat-icon {
    background: #225d4a; /* green background like image */
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #081b44; /* dark navy blue */
}
.stat-underline {
    width: 30px;
    height: 3px;
    background: #f24b3f; /* red underline */
    margin: 8px auto;
    border-radius: 2px;
}
.stat-label {
    font-size: 16px;
    color: #7d8896; /* grey text */
}

/* Latest Blogs */
.latest-blogs {
    max-width: 1200px;
    margin: 60px auto;
    text-align: center;
}

.latest-blogs h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #212529;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 13px;
    color: #ec4e4f;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s;
}

.blog-title:hover {
    color: #4b6cb7;
}

.blog-desc {
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    font-weight: 600;
    font-size: 14px;
    color: #4b6cb7;
    text-decoration: none;
    transition: color 0.3s;
}

.read-more:hover {
    color: #3a5aa0;
}

.all-blog-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: #ec4e4f;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.all-blog-btn:hover {
    background: #c83d3e;
    transform: translateY(-2px);
}

/* Our Key Supporters */
.supporters-section {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.supporters-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #212529;
}

.supporters-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));

    align-items: center;
    justify-items: center;
}

.supporters-logos img {
    max-width: 140px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s, transform 0.3s;
}

.supporters-logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.footer {
    background-color: #245d51;
    color: #d1d1d1;
    padding: 60px 0 20px;
    font-family: "Arial", sans-serif;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about img {
    height: 55px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    color: #bbb;
}

.footer h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

.footer h4::after {
    content: "";
    width: 40px;
    height: 2px;
    background: #ec4e4f;
    display: block;
    margin-top: 8px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #bbb;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.footer ul li a:hover {
    color: #ec4e4f;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
    color: #bbb;
}

.footer .social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}

.footer .social-icons a:hover {
    background: #ec4e4f;
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    text-align: center;
    padding-top: 15px;
    font-size: 14px;
    color: #888;
}

.about-section {
    padding: 120px 0;
    background: #f9fafa;
    position: relative;
    overflow: hidden;
}

/* Decorative Curves */
.about-section::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -80px;
    width: 300px;
    height: 300px;

    z-index: 0;
}
.about-section::after {
    content: "";
    position: absolute;
    bottom: -60px;
    top: -80px;

    width: 300px;
    height: 300px;

    z-index: 0;
}

.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* === Left Image Group === */
.about-left {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px; /* space for stacking */
    background: url("about-shape-03.png") no-repeat center/contain;
}

/* Hexagon */
.about-hexagon {
    position: absolute;
    bottom: 0;
    left: 50;
    width: 260px;
    height: 230px;
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background: #fff;
}
.about-hexagon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Circle */
.about-circle {
    position: absolute;
    top: 0;
    right: 40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 2;
    background: url("about-shape-05.png") no-repeat center/contain;
}
.about-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Right Content === */
.about-right {
    flex: 1;
    max-width: 500px;
}
.about-right h4 {
    color: #ff6652;
    font-weight: 500;
    margin-bottom: 10px;
}
.about-right h2 {
    font-size: 42px;
    font-weight: 700;
    color: #0d1b3f;
    margin-bottom: 20px;
}
.about-right p {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}
.btn-explore {
    display: inline-block;
    padding: 14px 32px;
    background: #ff6652;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-explore:hover {
    background: #245d51;
}

/* Responsive */
@media (max-width: 991px) {
    .about-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .about-left {
        min-height: auto;
        margin-bottom: 50px;
    }
    .about-hexagon {
        position: relative;
        margin: 0 auto;
    }
    .about-circle {
        position: relative;
        margin: -50px auto 20px;
        right: auto;
        top: auto;
    }
}

.courses-section {
    padding: 100px 0;
    background: #fff;
}

.courses-section h2 {
    font-size: 38px;
    font-weight: 700;
    color: #0d1b3f;
    margin-bottom: 60px;
    position: relative;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.course-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

/* Flag overlay */
.flag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    background: url("uk-flag.png") no-repeat center/cover;
    z-index: 2;
    border-top-left-radius: 12px;
}

.course-body {
    padding: 22px;
    text-align: left;
}

.course-body h5 {
    font-size: 18px;
    font-weight: 700;
    color: #0d1b3f;
    margin-bottom: 12px;
}

.course-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #6c757d;
}

.course-meta i {
    color: #ff6652;
    margin-right: 6px;
}
