@font-face {
    font-family: 'poppinsfontRegular';
    src: url('font/Poppins-Regular.ttf');
}

@font-face {
    font-family: 'poppinsfontBold';
    src: url('font/Poppins-Bold.ttf');
}

@font-face {
    font-family: 'poppinsfontitalic';
    src: url('font/Poppins-Italic.ttf');
}

body {
    margin: 0;
    padding: 0;
    font-family: 'poppinsfontRegular', sans-serif;
    background: #f9f9f9;
    color: #333;
}

/* Navbar */
.navbar {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo img {
    height: 70px;
}

.logofooter img {
    height: 70px;
    margin-bottom: 10px;
}

/* Menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: 0.3s;
    border-radius: 20px;
    padding: 8px 16px;
}

.nav-menu a:hover {
    background-color: #097e0f;
    color: #ffffff;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px 0;
}

/* Tablet & Mobile */
@media (max-width:768px) {

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

}

.hero {
    height: 90vh;
    background: linear-gradient(0deg, rgba(9, 126, 15, 0.50), rgba(0, 0, 0, 0.6)),
        url("linked/hero_image.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-content {
    max-width: 800px;
    color: #fff;
}

.hero-title {
    font-family: 'poppinsfontBold', sans-serif;
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(40px);
}

.hero-title span {
    color: #7CFF85;
}

.hero-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(40px);
}

/* Buttons */

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(40px);
}

.btn-primary {
    background: #097e0f;
    color: #fff;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #ffffff;
    color: #097e0f;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #fff;
    color: #097e0f;
}

/* Tablet */

@media (max-width:992px) {

    .hero-title {
        font-size: 40px;
    }

}

/* Mobile */

@media (max-width:600px) {

    .hero {
        height: 80vh;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-text {
        font-size: 16px;
    }

}

.courses {

    padding: 90px 20px;
    background: #f8f8f8;
    text-align: center;

}

.courses-container {

    max-width: 1200px;
    margin: auto;

}

.section-title {

    font-size: 38px;
    margin-bottom: 10px;
    color: #222;

}

.section-subtitle {

    color: #666;
    margin-bottom: 60px;
    font-size: 17px;

}

.course-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;

}

.course-card {

    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.4s;

}

.course-card:hover {

    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);

}

.course-icon {

    font-size: 45px;
    margin-bottom: 20px;

}

.course-card h3 {

    margin-bottom: 15px;
    color: #222;

}

.course-card p {

    font-size: 15px;
    color: #666;
    margin-bottom: 25px;

}

.course-btn {

    background: #097e0f;
    color: white;
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;

}

.course-btn:hover {

    background: #0bb312;

}

.why-epicure {

    padding: 100px 20px;
    background: white;
    text-align: center;

}

.why-container {

    max-width: 1200px;
    margin: auto;

}

.why-title {

    font-size: 38px;
    margin-bottom: 10px;
    color: #222;

}

.why-subtitle {

    color: #666;
    margin-bottom: 60px;
    font-size: 17px;

}

.why-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;

}

.why-card {

    background: #f9f9f9;
    padding: 35px 25px;
    border-radius: 10px;
    transition: 0.4s;
    opacity: 0;
    transform: translateY(40px);

}

.why-card:hover {

    background: #097e0f;
    color: white;
    transform: translateY(-10px);

}

.why-card:hover p {

    color: #e8ffe9;

}

.why-icon {

    font-size: 40px;
    margin-bottom: 15px;

}

.why-card h3 {

    margin-bottom: 10px;

}

.why-card p {

    font-size: 15px;
    color: #666;

}

.gallery {

    padding: 100px 20px;
    background: #f8f8f8;
    text-align: center;

}

.gallery-container {

    max-width: 1200px;
    margin: auto;

}

.gallery-title {

    font-size: 38px;
    margin-bottom: 10px;

}

.gallery-subtitle {

    color: #666;
    margin-bottom: 60px;

}

.gallery-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;

}

.gallery-item {

    position: relative;
    overflow: hidden;
    border-radius: 10px;

}

.gallery-item img {

    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;

}

.gallery-item:hover img {

    transform: scale(1.1);

}

.gallery-overlay {

    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(9, 126, 15, 0.85);
    color: white;
    padding: 15px;
    font-weight: 500;
    transform: translateY(100%);
    transition: 0.4s;

}

.gallery-item:hover .gallery-overlay {

    transform: translateY(0);

}

.gallery-button {

    margin-top: 40px;
    text-align: center;

}

.gallery-btn {

    background: #097e0f;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.3s;

}

.gallery-btn:hover {

    background: #0bb312;
    transform: translateY(-3px);

}

.cta {

    /* background:linear-gradient(135deg,#097e0f,#0bb312); */
    background-color: #097e0f;
    padding: 80px 20px;
    text-align: center;
    color: white;

}

.cta-container {

    max-width: 900px;
    margin: auto;

}

.cta h2 {
    font-family: 'poppinsfontBold', sans-serif;
    font-size: 36px;
    margin-bottom: 15px;

}

.cta p {

    font-size: 17px;
    margin-bottom: 35px;
    color: #e9ffe9;

}

.cta-buttons {

    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;

}

.cta-btn-primary {

    background: white;
    color: #097e0f;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;

}

.cta-btn-primary:hover {

    transform: translateY(-3px);

}

.cta-btn-secondary {

    border: 2px solid white;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;

}

.cta-btn-secondary:hover {

    background: white;
    color: #097e0f;

}

.footer {

    background: #111;
    color: #ccc;
    padding: 70px 20px 30px;

}

.footer-container {

    max-width: 1200px;
    margin: auto;

}

.footer-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;

}

.footer h3,
.footer h4 {

    color: white;
    margin-bottom: 15px;

}

.footer p {

    font-size: 14px;
    line-height: 1.6;

}

.footer ul {
    text-decoration: none;
    list-style: none;
    color: #fff;

}

.footer ul li {

    margin-bottom: 10px;

}

.footer ul li a {

    text-decoration: none;
    color: #ccc;
    transition: 0.3s;

}

.footer ul li a:hover {

    color: #0bb312;

}

.footer-bottom {

    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;

}

/* About Page CSS Code*/
/* HERO */

.about-hero {
    height: 50vh;
    background: linear-gradient(0deg, rgba(9, 126, 15, 0.5), rgba(0, 0, 0, 0.7)),
        url("linked/image15.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.about-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.about-hero p {
    font-size: 18px;
    color: #e8ffe9;
}

/* ABOUT MAIN */

.about-main {
    padding: 80px 20px;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 20px;
    font-size: 30px;
}

.about-text p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* DETAILS */

.about-details {
    background: #f8f8f8;
    padding: 70px 20px;
}

.details-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.detail-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: 0.3s;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card h3 {
    margin-bottom: 10px;
}

/* MISSION */

.mission {
    padding: 80px 20px;
}

.mission-container {
    max-width: 1000px;
    margin: auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
    transition: 0.3s;
}

.mission-container :hover {
    transition: 0.3s;
    transform: translateY(-5px);
    background-color: #000000;
}

.mission-box {
    flex: 1;
    background: #097e0f;
    color: white;
    padding: 30px;
    border-radius: 10px;
}

.mission-box p {
    margin-top: 10px;
    line-height: 1.6;
}

/* CTA */

.about-cta {
    background: #097e0f;
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.about-cta h2 {
    margin-bottom: 15px;
}

.about-cta p {
    margin-bottom: 25px;
    color: #ccc;
}

.about-btn {
    background: #ffffff;
    color: #097e0f;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.about-btn:hover {
    background: #000000;
}

/* MOBILE */

@media(max-width:768px) {

    .about-hero h1 {
        font-size: 30px;
    }

    .about-container {
        flex-direction: column;
    }

}

/* Courses Page CSS code */
/* HERO */

.courses-hero {
    height: 50vh;
    background: linear-gradient(0deg, rgba(9, 126, 15, 0.5), rgba(0, 0, 0, 0.7)),
        url("linked/image14.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.courses-hero h1 {
    font-size: 42px;
}

.courses-hero p {
    margin-top: 10px;
    color: #e8ffe9;
}


/* CATEGORY */

.course-category {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}

.course-category h2 {
    margin-bottom: 40px;
    font-size: 30px;
    text-align: center;
}

/* ALT BACKGROUND */

.alt-bg {
    background: #f8f8f8;
}

/* COURSE GRID */

.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* COURSE BOX */

.course-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.course-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.course-box h3 {
    margin-bottom: 10px;
    color: #222;
}

.course-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* HIGHLIGHT CARD */

.highlight {
    border: 2px solid #097e0f;
}

/* CTA */

.courses-cta {
    background: #097e0f;
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.courses-cta h2 {
    margin-bottom: 10px;
}

.courses-cta p {
    margin-bottom: 25px;
    color: #e9ffe9;
}

.courses-btn {
    background: white;
    color: #097e0f;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.courses-btn:hover {
    transform: translateY(-3px);
    color: #fff;
    background-color: #000000;
}

.course-details {
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
}

.course-details li {
    font-size: 14px;
    color: #444;
    margin-bottom: 6px;
}

/* MOBILE */

@media(max-width:768px) {

    .courses-hero h1 {
        font-size: 30px;
    }

}

/* contact page css code */
/* HERO */

.contact-hero {
    height: 40vh;
    background: linear-gradient(0deg, rgba(9, 126, 15, 0.5), rgba(0, 0, 0, 0.7)),
        url("linked/image12.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 40px;
}

.contact-hero p {
    margin-top: 10px;
    color: #e8ffe9;
}


/* INFO BOXES */

.contact-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.info-box {
    background: white;
    padding: 25px;
    width: 280px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.info-box:hover {
    transform: translateY(-8px);
}

.info-box h3 {
    margin-bottom: 10px;
    color: #097e0f;
}


/* FORM */

.contact-form-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.contact-container {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    flex-wrap: wrap;
}

.form-left {
    flex: 1;
}

.form-left form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.form-left input,
.form-left select,
.form-left textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: 'poppinsfontRegular', sans-serif;
}

.form-left button {
    background: #097e0f;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'poppinsfontRegular', sans-serif;
}

.form-left button:hover {
    background: #065c0a;
    font-family: 'poppinsfontRegular', sans-serif;
}


/* RIGHT SIDE */

.form-right {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-right ul {
    margin-top: 20px;
}

.form-right li {
    margin-bottom: 10px;
    color: #444;
}


/* MAP */

.map-section {
    margin-top: 40px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 40px;
}


/* MOBILE */

@media(max-width:768px) {

    .contact-container {
        flex-direction: column;
    }

    .contact-hero h1 {
        font-size: 28px;
    }

}