/* Global Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #FFFFFF;
    --accent-color: #f97316;
    --accent-dark: #ea580c;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --light-gray: #f3f4f6;
    --dark-gray: #4b5563;
    
    /* New Design Tokens */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Modern Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    width: 100%;
    height: 100px;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    height: auto;
    width: 100px;
    transition: transform var(--transition-fast);
    padding-top: 10dvh;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Remove old text logo styles */
.logo h1 {
    display: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-color);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.mobile-menu:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.mobile-menu i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }

    .nav-links {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(10px);
        padding: 2rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        margin: 0.5rem 0;
        color: var(--text-color);
        border-radius: var(--radius-md);
        transition: all var(--transition-normal);
        position: relative;
        overflow: hidden;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 2rem;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 0.5rem 1rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 550px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 84, 142, 0.7), rgba(0, 84, 142, 0.7)),
        url('../images/Img_Hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    pointer-events: auto; /* only active slide can receive clicks */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    pointer-events: auto; /* only active slide can receive clicks */
}

.slide.active {
    opacity: 1;
    pointer-events: auto; /* only active slide can receive clicks */
}

.slide-content {
    max-width: 800px;
    color: white;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: slideInDown 0.5s ease-out;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.5s ease-out;
}

.slide-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.slide-controls button {
    background: transparent;
    border: 2px solid white;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-controls button:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.btn.secondary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: var(--transition-fast);
}

.btn:hover::after {
    transform: translateX(100%);
}

/* Featured Jobs Section */
.featured-jobs {
    padding: 5rem 2rem;
    background: #f9f9f9;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.job-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.job-card .job-content {
    padding: 1.5rem;
}

.job-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.job-card .job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.job-card .job-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-card .job-details i {
    color: var(--accent-color);
}

.job-card .job-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 84, 142, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover .job-overlay {
    opacity: 1;
}

.job-card .view-details {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.job-card .view-details:hover {
    background: white;
    color: var(--primary-color);
}

.job-card .job-image {
    height: 200px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.job-card:nth-child(1) .job-image {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.job-card:nth-child(2) .job-image {
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.job-card:nth-child(3) .job-image {
    background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 5%;
    text-align: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(237, 128, 25, 0.05) 100%);
}

.why-choose-us h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 2rem;
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--secondary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card, .feature {
    animation: fadeIn 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* About Page Styles */
.about-hero {
    position: relative;
    background-image: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(249, 115, 22, 0.9)),
        url('../images/Img_Hero.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
}

.about-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.about-hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.about-hero-content p {
    font-size: 1.5rem;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Our Story Section */
.our-story {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.stat h3 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Our Values Section */
.our-values {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent-color);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Team Section */
.our-team {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid var(--accent-color);
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Services Page Styles */
.services-hero {
    position: relative;
    background-image: 
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
}

.services-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Main Services Section */
.main-services {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}
.main-contactUS-recruitment {
    background-color: var(--secondary-color);
    margin-bottom: 3rem;
}
.services-grid {
    display: grid;
/*    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    text-align: left;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* Specialized Services Section */
.specialized-services {
    padding: 5rem 0;
    background-color: var(--light-gray);
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(237, 128, 25, 0.05) 100%);
}

.specialized-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.specialized-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.specialized-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.specialized-content ul {
    list-style: none;
    padding: 0;
}

.specialized-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.specialized-content ul li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* Process Section */
.process {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-timeline:before {
    content: "";
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
}

.cta-section .btn.primary {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border: none;
}

.cta-section .btn.primary:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

/* Contact Page Styles */
.contact-hero {
    position: relative;
    background-image: 
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
}

.contact-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 8rem 5% 5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* File Upload Styles */
.file-upload {
    border: 2px dashed #ddd;
    border-radius: 5px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload:hover {
    border-color: var(--accent-color);
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-info {
    color: #666;
}

.file-upload-info i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.file-upload-info span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.file-limits {
    font-size: 0.9rem;
    color: #999;
}

/* Contact Info */
.contact-info {
    padding: 2rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
    line-height: 1.6;
}

/* Social Links */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 5px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background: #4CAF50;
    color: white;
}

.notification.error {
    background: #f44336;
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Latest Blogs Section */
.latest-blogs {
    padding: 5rem 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.blog-card .blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-card .blog-content {
    padding: 1.5rem;
}

.blog-card .blog-category {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.blog-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.blog-card .blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-card .blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card .blog-summary {
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 84, 142, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-card .read-more {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.blog-card .read-more:hover {
    background: white;
    color: var(--primary-color);
}

/* Add default blog images */
.blog-card:nth-child(1) .blog-image img {
    content: url('https://images.unsplash.com/photo-1521737852567-6949f3f9f2b5?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.blog-card:nth-child(2) .blog-image img {
    content: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.blog-card:nth-child(3) .blog-image img {
    content: url('https://images.unsplash.com/photo-1553028826-f4804a6dba3b?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

/* Jobs and Blogs Pages */
.jobs-section, .blogs-section {
    padding: 8rem 5% 5rem;
    min-height: calc(100vh - 400px);
}

.jobs-list, .blogs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.job-details-content, .blog-details-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.back-button {
    margin-bottom: 2rem;
}

.job-meta, .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0 2rem;
    color: #666;
}

.job-meta span, .blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-description, .job-requirements, .job-responsibilities {
    margin-bottom: 2rem;
}

.job-description h3, .job-requirements h3, .job-responsibilities h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.job-requirements ul, .job-responsibilities ul {
    list-style: none;
    padding-left: 1.5rem;
}

.job-requirements li, .job-responsibilities li {
    position: relative;
    margin-bottom: 0.5rem;
}

.job-requirements li:before, .job-responsibilities li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: -1.5rem;
}

.apply-section {
    text-align: center;
    margin-top: 3rem;
}

/* Blog Details Styles */
.blog-featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h2 {
    color: var(--primary-color);
    margin: 1rem 0;
}

.blog-body {
    line-height: 1.8;
    color: #444;
}

.blog-body p {
    margin-bottom: 1.5rem;
}

.blog-body h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.blog-tags {
    margin: 3rem 0;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

.share-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Update Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 84, 142, 0.7), rgba(0, 84, 142, 0.7)),
        url('../images/Img_Hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    pointer-events: none; /* prevent inactive slides from intercepting clicks */
}

.slide.active {
    opacity: 1;
    pointer-events: auto; /* only active slide can receive clicks */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .job-meta, .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .job-details-content, .blog-details-content {
        padding: 1rem;
    }

    .blog-featured-image {
        max-height: 250px;
    }

    .social-share {
        flex-wrap: wrap;
    }
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Grid Layouts */
.job-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

@media (min-width: 768px) {
    .job-grid, .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-content {
    padding-right: 2rem;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 3rem;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

.mission-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(237, 128, 25, 0.05) 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-gridcenter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--accent-color);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-role {
    color: var(--accent-color);
    margin: 0.5rem 0;
    font-weight: 500;
}

.member-bio {
    color: #666;
    line-height: 1.6;
    margin-top: 1rem;
}

/* Global Presence Section */
.global-section {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}

.global-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.global-stat {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.global-stat:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
}

.global-stat:hover .stat-number,
.global-stat:hover .stat-label {
    color: var(--secondary-color);
}

.global-map {
    height: 400px;
    background: var(--light-gray);
    border-radius: 10px;
    margin-top: 3rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-content {
        padding-right: 0;
    }

    .mission-stats {
        grid-template-columns: 1fr;
    }

    .global-stats {
        grid-template-columns: 1fr;
    }

    .team-member {
        padding: 1.5rem;
    }

    .member-image {
        width: 150px;
        height: 150px;
    }
}

/* Values Section Enhancements */
.values-section {
    padding: 5rem 0;
    background: var(--light-gray);
}
/* 
.values-grid {
    display: grid;
    / grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--accent-color);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
} */

/* Clients Section */
.clients-section {
    padding: 5rem 0;
    background: var(--light-gray);
    overflow: hidden;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.logo-slider {
    display: flex;
    animation: slide 30s linear infinite;
    width: calc(200px * 16); /* Double the width because we'll duplicate logos */
}

.logo-slide {
    width: 200px;
    padding: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.2s); /* Staggered animation */
}

.logo-slide img {
    max-width: 150px;
    height: auto;
    opacity: 1;
    transition: all 0.3s ease;
}

.logo-slide:hover img {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Add a subtle animation to make logos float */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-200px * 8)); /* Move by half the width */
    }
}

/* Make the slider responsive */
@media (max-width: 768px) {
    .logo-slide {
        width: 150px;
    }
    
    .logo-slide img {
        max-width: 120px;
    }
    
    .logo-slider {
        width: calc(150px * 16);
    }
    
    @keyframes slide {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-150px * 8));
        }
    }
} 
/* ******card flip**** */
/* Grid container */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
  }
  
 /* Each card (this will flip itself) */
.value-card {
    perspective: 1000px;
    width: 100%;
    min-height: 220px;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    will-change: transform; /* Helps prevent flicker */
    cursor: pointer;
      word-wrap: break-word;
  }
  
  /* Flip the whole card */
  .value-card:hover {
    transform: rotateY(180deg);
  }
  
  /* Front and back faces */
  .card-front,
  .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translateZ(0); /* Helps flicker */
    overflow: hidden; /* Prevent content from leaking out */
  word-wrap: break-word;
  }
  
  /* Front face on top */
  .card-front {
    z-index: 2;
  }
  
  /* Back face rotated so it shows on flip */
  .card-back {
    transform: rotateY(180deg);
    z-index: 1;
  }
  
  /* Icon styling */
  .value-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
  }
  
  /* Title styling */
  .value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }
  
  /* Paragraph styling */
  .value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
  }
  
  @media (max-width: 600px) {
  .value-card {
    min-height: 300px; /* taller to fit text */
  }
  .card-front,
  .card-back {
    padding: 1rem;
  }
  .value-card p {
    font-size: 0.85rem;
  }
}