* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary: #006D77;
    --secondary: #FF8C00;
    --accent: #006D77;
    --light: #FFFFFF;
    --dark: #006D77;
    --gray: #666666;
    --hero-bg: url('{% static ' asset/images/about.avif' %}');
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    background-color: var(--dark);
    color: var(--light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.company-name {
    font-size: 28px;
    font-weight: bold;
    color: var(--light);
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    position: relative;
    margin-left: 30px;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

/* nav ul li a:hover {
            color: var(--primary);
        } */

nav ul li a i {
    margin-left: 5px;
    font-size: 12px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light);
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
    display: none;
}

nav ul li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    margin: 0;
    padding: 0;
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    border-bottom: 1px solid #eee;
}

.dropdown li a:hover {
    background-color: #f8f8f8;
    color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--light);
    font-size: 24px;
}
.animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 2s ease;
        }

.animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/static/asset/images/con.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light);
    text-align: center;
    padding: 120px 0;
    height: 600px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 22px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}



.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light);
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
}

.btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Client Logos */
.clients {
    background-color: #f8f8f8;
    padding: 40px 0;
    overflow: hidden;
}

.client-logos {
    display: flex;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logos div {
    display: flex;
    min-width: 100%;
}

.client-logos img {
    height: 60px;
    margin: 0 40px;
    transition: all 0.3s;
}



/* About Section */
.about {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--primary);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--gray);
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.why-choose {
    background-color: #f8f8f8;
    padding: 60px 0;
}

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

.feature-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    border-left: 4px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 20px;
}

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

/* Services Section */
.services {
    padding: 80px 0;
}

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

.service-card {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-img {
    height: 220px;
    overflow: hidden;
}

.service-img1 {
    height: 400px;
    overflow: hidden;
}

.service-img1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}


.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    padding-bottom: 10px;
}

.service-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.service-content ul {
    list-style: none;
    margin-top: 15px;
}

.service-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-content ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Jobs Section */
.jobs {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.jobs-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.jobs-text {
    flex: 1;
}

.jobs-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
}

.jobs-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.jobs-text ul li {
    margin-bottom: 10px;
}

.jobs-text ul li strong {
    color: var(--dark);
}

.jobs-image {
    flex: 1;
}

.jobs-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.process {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}

.process-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 30px;
    right: -15px;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.step-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

/* Training Section */
.training {
    padding: 80px 0;
}

.training-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.training-text {
    flex: 1;
}

.training-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
}

.training-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.training-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.training-feature {
    display: flex;
    align-items: center;
}

.training-feature i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 18px;
}

.training-image {
    flex: 1;
}

.training-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Django Messages Styling */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Contact Section */
.contact {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: var(--light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-text p {
    color: var(--gray);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 20px;
}

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

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--light);
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}



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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #aaa;
}

/* Responsive Styles */
@media (max-width: 992px) {

    .about-content,
    .jobs-content,
    .training-content {
        flex-direction: column;
    }

    .about-image,
    .jobs-image,
    .training-image {
        margin-top: 30px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .company-name {
        font-size: 22px;
    }

    .hamburger {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        z-index: 100;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    nav.active {
        max-height: 600px;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav ul li {
        margin: 0;
        margin-bottom: 15px;
        width: 100%;
    }

    nav ul li a {
        font-size: 18px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: space-between;
    }

    .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--light);
        min-width: 200px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        border-radius: 5px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s;
        z-index: 100;
        display: none;
    }

    /* Remove the hover rule and replace with click-based show class */
    .dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block;
    }

    .dropdown li {
        margin: 0;
        padding: 0;
    }

    .dropdown li a {
        display: block;
        padding: 7px 20px;
        color: var(--dark);
        border-bottom: 1px solid #eee;
    }

    .dropdown li a:hover {
        background-color: #f8f8f8;
        color: var(--primary);
    }

    .hero {
        padding: 80px 0;
        height: auto;
        min-height: 500px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        gap: 15px;
    }

    .hero-buttons .btn {
        padding: 12px 25px;
        font-size: 15px;
        min-width: 180px;
    }

    .process {
        flex-direction: column;
        gap: 20px;
    }

    .process-step:not(:last-child):after {
        display: none;
    }

    .training-features {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 28px;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .company-name {
        font-size: 18px;
    }

    .logo {
        gap: 10px;
    }

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

    .hero p {
        font-size: 16px;
    }

    .hero-buttons .btn {
        min-width: 160px;
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 24px;
    }
}