/* Core Layout Reset */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    font-family: Poppins, sans-serif;
}

/* Page Loader Styles */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}
.loader-content {
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}
.loader-container.fade-out {
    opacity: 0;
    visibility: hidden;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Form Elements */
.form-control,
.form-select {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s ease-in-out;
}
.form-control:focus,
.form-select:focus {
    border-color: #0056b3 !important;
    box-shadow: 0px 0px 8px rgba(0, 86, 179, 0.3) !important;
    outline: none !important;
}
.form-label {
    font-weight: 600;
    color: #333;
}

/* Accordion Styling */
.accordion-button:focus {
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    background-color: #f8f9fa !important;
}
.accordion-button i {
    color: #007bff !important;
}

/* Navbar Branding */
.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}
.brand-logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease-in-out;
}
.navbar-brand:hover .brand-text {
    color: #0056b3;
}
.navbar-brand:hover .tagline {
    color: #007bff;
}
.navbar-brand:hover .brand-logo {
    transform: scale(1.1);
}

/* Social Icons */
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}
.social-icons .facebook { background: #1877F2; }
.social-icons .twitter-x { background: #000000; }
.social-icons .linkedin { background: #0077B5; }
.social-icons .instagram { background: #E4405F; }
.social-icons a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

/* Job Card Styles */
.company-logo-jobcard {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 5px;
}
.job-title {
    font-weight: 600;
    font-size: 1.2rem;
}
.job-details p {
    font-size: 0.95rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.social-icons-jobcard {
    margin-top: 10px;
}
.social-link-jobcard {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.social-link-jobcard:hover {
    transform: scale(1.1);
    opacity: 0.9;
}
.apply-btn {
    font-weight: 600;
    font-size: 1rem;
}
.apply-btn i {
    margin-right: 5px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    border: none !important;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085) !important;
}
.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}


/* Navbar Fixed Top */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Nav Links */
.navbar-nav .nav-link {
    color: #212529;
    font-weight: 500;
    padding: 12px 20px;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.08);
    border-radius: 8px;
}

/* Dropdown Base Style */
/* Navbar Dropdown Menu */
.navbar-nav .dropdown-menu {
    background: #ffffff; /* Light background matching your theme */
    border: none;
    border-radius: 8px;
    padding: 0;
    margin-top: 0.5rem;
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: visibility 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* Show State with Smooth Animation */
.navbar-nav .dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Items */
.navbar-nav .dropdown-menu .dropdown-item {
    color: #333;
    padding: 12px 20px;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Dropdown Item Hover */
.navbar-nav .dropdown-menu .dropdown-item:hover {
    background: rgba(13, 110, 253, 0.1); /* Light hover background using Bootstrap Primary */
    color: #0d6efd;
}

/* Arrow Styling */
.navbar-nav .dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
    border: solid #333;
    border-width: 0 2px 2px 0;
    padding: 4px;
    transform: rotate(45deg);
    transition: transform 0.4s ease;
}

/* Arrow Rotation on Dropdown Show */
.navbar-nav .dropdown.show .dropdown-toggle::after {
    transform: rotate(-135deg);
}



/* Offcanvas Custom */
.offcanvas {
    width: 280px !important;
    background: #ffffff !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1050 !important;
}

.offcanvas.show {
    transform: translateX(0) !important;
}

.modal-backdrop {
    display: none !important;
}

/* Hide Desktop Collapse on Mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        display: none !important;
    }
}


/* Hero Section - High-End Modern Visual */

.hero {
    position: relative;
    min-height: calc(100vh - 80px); /* Adjusted for sticky navbar height */
    background: linear-gradient(to right, rgba(13,110,253,0.9), rgba(0,0,0,0.9)), url('../image/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 0 5%;
}

/* Left Content Visual Styling */
.hero-content {
    padding-top: 200px;
    max-width: 1200px;
    color: #ffffff;
    z-index: 2;
    animation: fadeSlideIn 1s ease forwards;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 .gradient-text {
    background: linear-gradient(90deg, #ffffff, #aad4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e2e8f0;
}

/* Input Group Updated Styling */
.input-group {
    max-width: 500px;
    display: flex;
}

.input-group .form-control {
    border-radius: 50px 0 0 50px;
    padding: 16px 24px;
    font-size: 16px;
    background: #ffffff;
    color: #111827;
    border: none;
    transition: box-shadow 0.4s ease, background 0.4s ease;
}

.input-group .form-control::placeholder {
    color: #6b7280;
}

.input-group .form-control:focus {
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.3);
}

/* Primary Button */
.input-group .btn {
    border-radius: 0 50px 50px 0;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: #fff;
    border: none;
    transition: background 0.4s ease, transform 0.4s ease;
}

.input-group .btn:hover {
    background: linear-gradient(90deg, #0056b3, #004085);
    transform: translateY(-2px);
}

/* CTA Buttons */
.cta-buttons {
    margin-top: 30px;
}
.btn-outline-light {
    border: 2px solid #ffffff;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #111827;
}

.btn-light {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: #e5e7eb;
}


/* Right Image Full-Height */
.hero-image {
    right: 0;
    bottom: 0;
    height: 550px !important;
    width: 80%; /* Adjust size */
    z-index: 0; /* Behind text but above overlay */
}

/* Animations */
@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imageFadeSlideIn {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 0.9;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 160px 20px 40px !important; /* Increased top padding for sticky navbar */
    }

    .hero-image {
        display: none;
    }
    
    .hero-content {
        padding-top: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .input-group {
        flex-direction: column;
        gap: 0; /* Remove gap so button stays attached */
        width: 100%;
    }

    .input-group .form-control {
        border-radius: 50px 50px 0 0;
        width: 100%;
    }

    .input-group .btn {
        border-radius: 0 0 50px 50px;
        width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}


.job-listings-section {
  background: #f9fafb;
}

.job-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  border-color: #0d6efd;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.job-title-link {
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
  display: block;
  line-height: 1.3;
}

.job-title-link:hover {
  text-decoration: underline;
}

.job-meta {
  gap: 12px;
  font-size: 0.875rem;
  color: #333;
}

.job-meta li {
  margin-right: 15px;
}

.badge {
  font-size: 0.75rem;
  padding: 4px 8px;
}

.employer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  border: 1px solid #ddd;
}

@media (max-width: 768px) {
  .job-card {
    flex-direction: column;
  }

  .job-meta {
    gap: 8px;
  }
}


.why-choose-us {
    background: #f9fafb;
}

.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.icon-box:hover {
    transform: scale(1.1);
}

.feature-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.feature-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.why-choose-us h2 {
    font-size: 2.2rem;
}


/* 🌊 How It Works Section */
.how-it-works {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    padding: 80px 0;
    position: relative;
    clip-path: polygon(0 0, 100% 8%, 100% 92%, 0% 100%);
    color: #212529;
}

/* 🌊 Wave Divider */
.wave-divider {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #f8f9fa, rgba(255, 255, 255, 0));
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}


@keyframes waveMove {
    0% { background-position-x: 0; }
    100% { background-position-x: 1000px; }
}

/* ⭐ Step Card */
.step-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

/* 🎭 Testimonials Section */
.testimonials-section {
    background: #ffffff;
    padding: 100px 0; /* Increased padding */
    color: #212529;
    position: relative;
}

/* ⭐ Testimonial Card */
.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: #212529;
    max-width: 700px; /* Increased width for better readability */
    margin: 0 auto;
    min-height: 250px; /* Ensures enough space */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

/* 🏆 Testimonial Carousel */
.carousel-inner {
    min-height: 300px; /* Ensures testimonials are fully visible */
    padding: 20px 0;
}

/* ✨ Testimonial Author */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 60px; /* Increased size */
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid #ffcc00;
}

.company-logo {
    height: 50px;  /* Adjust as needed */
    width: auto;  /* Maintain aspect ratio */
    object-fit: contain;  /* Ensures no distortion */
    filter: grayscale(100%); /* Makes logos subtle */
    transition: filter 0.3s ease-in-out;
}

.company-logo:hover {
    filter: grayscale(0%); /* Highlight on hover */
}


/* 📢 Client Logos 
.testimonial-author .d-flex img {
    height: 50px;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.testimonial-author .d-flex img:hover {
    transform: scale(1.1);
    opacity: 1;
}
*/

/* 🌟 CTA Section */
.cta-section {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    padding: 80px 0;
    text-align: center;
}

/* 🟡 CTA Button */
.cta-section .btn-warning {
    font-size: 1.2rem;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 12px 30px;
}

/* ✨ Button Hover Effect */
.cta-section .btn-warning:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

/* 🖥️ Media Query - Adjusts for Small Screens */
@media (max-width: 768px) {
    .cta-section {
        padding: 50px 20px; /* Reduce padding for smaller screens */
    }

    .cta-section .btn-warning {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

.city-card {
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    color: #333;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
.city-jobs {
    margin-bottom: 80px !important; /* Added space at bottom */

    }
}

.footer {
    position: relative;
    background: #ffffff url('../image/indian-heritage.png') center bottom no-repeat;
    background-size: contain;
    color: #333;
    font-size: 16px;
    border-top: 1px solid #e5e5e5;
    padding: 150px 0 60px; /* Increased padding */
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

/* Typography Tuning */
.footer h5 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer p {
    font-size: 15px;
    line-height: 1.6;
}

.footer .footer-link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0;
    display: block;
}

.footer .footer-link:hover {
    color: #0d6efd;
}

/* Lists */
.footer ul {
    padding: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

/* Form Input & Button */
.footer form input {
    border-radius: 30px 0 0 30px;
    height: 40px;
}

.footer form button {
    border-radius: 0 30px 30px 0;
    height: 40px;
}

/* Social Icons */
.footer .social-icons a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #333;
    transition: all 0.3s ease;
    font-size: 16px;
}

.footer .social-icons a:hover {
    background: #0d6efd;
    color: #fff;
}

/* Footer Divider and Bottom Links */
.footer-divider {
    border-color: #0d6efd;
    margin: 2rem 0;
}

.footer-bottom {
    font-size: 0.9rem;
    color: #777;
}

.footer-bottom a {
    margin-left: 20px;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 80px 20px 40px;
        background-size: cover;
    }
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #007bff, #0056b3); /* Use linear-gradient properly */
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 16px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    transition: background 0.3s ease; /* Transition for background color */
}

.back-to-top:hover {
    background: linear-gradient(45deg, #0056b3, #004085); /* Proper use of linear-gradient on hover */
}


/* Style for WhatsApp Chat Button */
.whatsapp-chat-btn {
    position: fixed;
    margin-bottom: 70px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 10px 16px;
    display: flex; /* Ensure proper alignment */
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: opacity 0.5s ease-in-out; /* Smooth fade-in */
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    text-decoration: none;
}

.whatsapp-chat-btn:hover {
    background-color: #128C7E;
    opacity: 1;
    transform: scale(1.1);
}

/* WhatsApp Icon */
.whatsapp-chat-btn i {
    font-size: 24px;
}

/* Text next to the icon */
.whatsapp-btn-text {
    font-size: 14px;
    font-weight: 600;
    display: none; /* Hide text by default */
    margin-left: 10px;
}

/* Show text on hover */
.whatsapp-chat-btn:hover .whatsapp-btn-text {
    display: inline;
}


/* Icon Box Styling */
.icon-box {
    width: 45px !important;
    height: 45px !important;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    color: white;
}

.icon-box i {
    font-size: 20px !important; /* Ensure uniform icon size */
    width: auto;
    height: auto;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .icon-box {
        min-width: 45px !important;
        min-height: 45px !important;
    }
}

/* Hero Section Styling */
.hero-section {
    background: linear-gradient(45deg, rgb(0, 123, 255, 0.7), rgb(0, 86, 179, 0.7)),
                url('../image/page-header-bg.webp') center center no-repeat;
    background-size: cover;
    color: white;
    margin-top: 106px;
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.styled-image {
    width: 85%; /* Slightly reduced width for better proportion */
    max-width: 100%;
    height: auto; /* Maintains aspect ratio */
    max-height: 450px; /* Prevents excessive height */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect */
.styled-image:hover {
    transform: scale(1.05);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .styled-image {
        width: 90%; /* Slightly larger on smaller screens */
        max-height: 300px; /* Reduce height for smaller devices */
    }
}

.quick-tips-box {
        background: white;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
        display: inline-block;
        text-align: center;
        border: 3px solid #007bff;
        position: relative;
    }

    .icon-lightbulb {
        font-size: 50px;
        color: #ffcc00;
        background: #fff;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        margin-bottom: 15px;
    }
