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

:root {
    --primary-color: #00a3a3;
    --primary-dark: #008585;
    --secondary-color: #0066cc;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--bg-light);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.search-bar {
    display: flex;
    justify-content: flex-end;
}

.search-input {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 300px;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.navbar {
    padding: 15px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-item {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--primary-color);
}

.dropdown-btn::after {
    content: ' ▼';
    font-size: 10px;
}

.nav-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
}

.icon-btn img {
    width: 24px;
    height: auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
}

.hero-section h1 {
    color: var(--white);
    font-size: 42px;
    font-weight: 700;
    margin: 0;
}

/* Filter Section */
.filter-section {
    background-color: var(--bg-light);
    padding: 20px 0;
    border-bottom: 2px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-tab.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Courses Section */
.courses-section {
    padding: 60px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.course-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.btn-link:hover {
    text-decoration: underline;
}

.course-price {
    margin: 15px 0;
    font-size: 14px;
}

.course-price span {
    color: var(--text-light);
}

.course-price strong {
    color: var(--text-dark);
    font-size: 24px;
    margin: 0 5px;
}

.course-price .vat {
    font-size: 12px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Info Section */
.info-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.info-content {
    text-align: center;
    margin-bottom: 50px;
}

.info-content h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.4;
}

.nebosh-logo {
    margin: 30px 0;
}

.nebosh-logo img {
    max-width: 300px;
    height: auto;
}

.info-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.info-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-text a:hover {
    text-decoration: underline;
}

.info-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-block {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-block h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.info-block p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.info-block ul {
    list-style-position: inside;
    padding-left: 0;
}

.info-block li {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.info-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-block a:hover {
    text-decoration: underline;
}

/* Course Types */
.course-types {
    margin-top: 60px;
}

.course-types h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.course-type-card {
    display: flex;
    gap: 30px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    align-items: center;
}

.course-type-card img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.course-type-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.course-type-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Study Methods */
.study-methods {
    margin-top: 50px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.study-methods h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.study-methods p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.study-methods a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.study-methods a:hover {
    text-decoration: underline;
}

/* Why Choose Section */
.why-choose-section {
    padding: 60px 0;
    background-color: var(--white);
}

.why-choose-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.faq-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

.view-all-link {
    display: block;
    text-align: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
}

.view-all-link:hover {
    text-decoration: underline;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-icon {
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 25px 20px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer ul {
    list-style-position: inside;
}

.faq-answer li {
    margin-bottom: 10px;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Clients Section */
.clients-section {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.clients-title {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.clients-logos img {
    max-width: 150px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.clients-logos img:hover {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    font-size: 24px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.payment-logos img {
    height: 30px;
    width: auto;
}

.copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-type-card {
        flex-direction: column;
    }

    .course-type-card img {
        width: 100%;
    }

    .filter-tabs {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.hero-section {
    background-image: url('./images/banner.jpeg'); /* Replace with your image path */
    background-size: cover;      /* Makes image cover the entire section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat;
    height: 1000px;               /* Adjust height as needed */
    display: flex;
    align-items: center;          /* Vertical center text */
    justify-content: center;      /* Horizontal center text */
    color: white;                 /* Text color */
    text-align: center;
}
