/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

/* Header Styles */
header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .logo-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header .company-logo {
    max-height: 50px;
    margin-left: 15px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header nav ul li {
    position: relative;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.cta {
    background-color: #ff6347;
    color: #ffffff;
}

/* Dropdown Styles */
.services-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #2a2a2a;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 15;
    top: 100%;
    left: 0;
    width: 200px;
    border-radius: 5px;
}

.services-dropdown:hover .dropdown-content {
    display: block;
}

.services-dropdown .dropdown-content li a {
    padding: 10px 15px;
    display: block;
    color: #cccccc;
}

.services-dropdown .dropdown-content li a:hover {
    background-color: #ff6347;
    color: #ffffff;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #ff6347, #ff4500);
    color: #fff;
    padding: 50px 0;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
}

/* Training Overview Section */
.training-overview {
    padding: 50px 0;
    background-color: #fff;
}

.training-overview h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #ff6347;
}

.training-overview p,
.training-overview ul {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.training-overview ul {
    list-style-type: disc;
    padding-left: 20px;
}

.training-overview ul li {
    margin-bottom: 10px;
}

/* Stats Section */
.stats-section {
    padding: 50px 0;
    background-color: #f4f4f4;
}

.stats-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #ff6347;
}

.stats-section p {
    font-size: 18px;
    color: #666;
    text-align: center;
}

/* CTA Section */
.cta-section {
    background-color: #ff6347;
    color: #fff;
    text-align: center;
    padding: 50px 0;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-section a.cta {
    background-color: #fff;
    color: #ff6347;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-section a.cta:hover {
    background-color: #28a745;
    color: #fff;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid #ff6347;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

footer .footer-info {
    flex: 1;
    text-align: left;
    font-size: 14px;
    margin-bottom: 15px;
}

footer .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

footer .social-icons a {
    color: #fff;
    padding: 5px 10px;
    background-color: #ff6347;
    border-radius: 3px;
    text-decoration: none;
}

footer .social-icons a:hover {
    background-color: #ff4500;
}

footer .footer-links {
    flex: 1;
    text-align: right;
}

footer .container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .container ul li {
    margin-bottom: 10px;
}

footer .container ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .container ul li a:hover {
    color: #ffffff;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff6347;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 50%;
    display: none;
    z-index: 1000;
}

#scrollToTopBtn:hover {
    background-color: #ffffff;
    color: #ff6347;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 60px;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .logo-nav {
        flex-direction: column;
        align-items: center;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    footer .container {
        flex-direction: column;
        align-items: center;
    }

    .training-overview {
        padding: 30px 20px;
    }

    .training-overview h2 {
        font-size: 24px;
    }

    .training-overview ul {
        padding-left: 15px;
    }
}
