/* Base Styles */
:root {
    --primary-color: #ff7200;
    --primary-dark: #e65a00;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: rgba(0, 0, 0, 0.7);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-title p {
    color: #777;
    font-size: 1.1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

section {
    padding: 40px 0;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

.header.scrolled {
    background: var(--text-light);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.header.scrolled .nav-menu a {
    color: var(--text-dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 10px 15px;
    border: 2px solid transparent;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    width: 200px;
    transition: var(--transition);
}

.header.scrolled .search-box input {
    background: #f0f0f0;
    color: var(--text-dark);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.3);
}

.search-box button {
    padding: 10px 15px;
    background: var(--primary-color);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.header.scrolled .mobile-toggle {
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('./Image/Back1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--text-light);
    position: relative;
}

.hero-content {
    max-width: 600px;
    margin-right: auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-content span {
    color: var(--primary-color);
}

.auth-forms {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
}

.form-container {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.form-container h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.form-container input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-container input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.form-container input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-container .btn {
    width: 100%;
    margin-top: 10px;
}

.form-container .link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-container .link a {
    color: var(--primary-color);
    font-weight: 600;
}

.form-container .link a:hover {
    text-decoration: underline;
}

#signUpForm {
    display: none;
}

 /* Categories Section */
 .categories {
    padding: 50px 0;
    background: var(--bg-light);
    text-align: center;
    
}

.categories h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.category-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.category-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


/* About Section */
.about {
    background: var(--bg-light);

}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(-2deg);
    transition: var(--transition);
}

.about-image:hover {
    transform: rotate(0) scale(1.02);
}

.about-content {
    flex: 1;
    padding: 40px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.about-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}
/* Services Section */
.services {
background: var(--bg-light);
}

.services-container {
display: flex;
align-items: center;
gap: 50px;
}

.services-image {
flex: 1;
border-radius: var(--border-radius);
overflow: hidden;
box-shadow: var(--shadow);
transform: rotate(-2deg);
transition: var(--transition);
}

.services-image:hover {
transform: rotate(0) scale(1.02);
}

.services-content {
flex: 1;
padding: 40px;
}

.services-content h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
color: var(--secondary-color);
}

.services-content h3 {
color: var(--primary-color);
margin-bottom: 1rem;
font-size: 1.2rem;
}

.services-content p {
margin-bottom: 1.5rem;
color: #666;
line-height: 1.8;
}

/* Available jobs */
.available-jobs{
    font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 20px;
            text-align: center;
}

.separator {
    width: 80px;
    height: 4px; /* Increased height for boldness */
    background-color: #ff9800; /* Orange color */
    margin: 10px auto;
}
.job-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.job-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 310px; /* Increased width */
    height: 310px; /* Increased height */
    box-sizing: border-box;
    background-color: white;
    box-shadow: 0 4px 10px rgba(185, 79, 79, 0.2);
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.job-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.job-title {
    font-size: 20px;
    font-weight: bold; /* Bolder job title */
    margin-bottom: 25px; /* Space below the job title */
}
.job-description {
    font-size: 15px;
    color: #666;
    margin: 25px 0; /* Space above and below the description */
    flex-grow: 1; /* Allow description to grow */
}
.job-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 12px;
    color: #999;
    margin-top: 60px; /* Space above the job info */
}
.share-icon {
    cursor: pointer;
    color: #ff9800;
    font-size: 20px; /* Size of the share icon */
    margin-left: 5px; /* Space between icon and text */
}
.btn-view {
    background-color: #ff9800; /* Orange color */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-view:hover {
    background-color: #e68900; /* Darker orange on hover */
}
.pagination {
    margin-top: 20px;
    text-align: center;
}
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}
.active {
    background-color: #ff9800; /* Active dot color */
}

/* Team Section */
.team {
    background: var(--bg-light);
}

.team-container {
    display: flex;
    justify-content: space-between; /* This ensures space between the boxes */
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: calc(33.333% - 20px);
    display: none;
}

.team-member.active {
    display: block;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 30px auto 20px;
    border: 5px solid var(--primary-color);
    display: block;
}

.team-member-content {
    padding: 0 25px 25px;
    text-align: center;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.team-member p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

.testimonial-container {
    display: flex;
    justify-content: space-between; /* This ensures space between the boxes */
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: calc(33.333% - 20px);
    padding: 30px;
    display: none;
    position: relative;
}

.testimonial.active {
    display: block;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(255, 114, 0, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    display: block;
}

.testimonial h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-align: center;
}

.testimonial p {
    color: #666;
    line-height: 1.6;
    text-align: center;
    font-style: italic;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.pagination button {
    padding: 8px 15px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.pagination button:hover {
    background: var(--primary-dark);
}

.pagination button.active {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    width: 120px; /* Increased width for circular image */
    height: 120px; /* Increased height for circular image */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #aaa;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    margin-bottom: 10px;
    color: #aaa;
}

.footer-section a {
    color: #aaa;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .auth-forms {
        right: 5%;
    }
}

@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    
    .about-image, .about-content {
        width: 100%;
    }
    
    .service-card {
        flex: 0 0 calc(50% - 30px);
    }
    
    .team-member, .testimonial {
        width: calc(50% - 15px);
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 20px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .auth-forms {
        position: static;
        transform: none;
        width: 90%;
        max-width: 350px;
        margin: 40px auto 0;
    }
    
    .service-card {
        flex: 0 0 calc(100% - 30px);
    }
    
    .team-member, .testimonial {
        width: 100%;
    }
    
    .footer-section {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .category-btn {
        width: 100%;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}
