/* 
* Punesim.com - Main Stylesheet
* Author: Shuajb Qerimi
* Version: 1.0
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #3b82f6;
    /* updated */
    --primary-dark: #1e40af;
    /* updated */
    --primary-light: #e0f0ff;
    /* updated */
    --primary-very-light: #f6fbff;
    /* updated */
    --secondary-color: #f9fcff;
    /* updated */
    --text-color: #1e293b;
    /* updated */
    --text-light: #64748b;
    /* updated */
    --text-very-light: #94a3b8;
    /* updated */
    --white: #ffffff;
    /* updated */
    --black: #000000;
    /* updated */
    --gray-light: #f8fafc;
    /* updated */
    --gray: #e2e8f0;
    /* updated */
    --gray-dark: #cbd5e1;
    /* updated */
    --success: #10b981;
    /* updated */
    --danger: #ef4444;
    /* updated */
    --warning: #facc15;
    /* updated */
    --info: #38bdf8;
    /* updated */
    --border-radius: 20px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;

    /* Mobile Font Sizes */
    --mobile-font-size-xs: 10px;
    --mobile-font-size-sm: 12px;
    --mobile-font-size-base: 14px;
    --mobile-font-size-lg: 16px;
    --mobile-font-size-xl: 18px;
    --mobile-font-size-2xl: 22px;
    --mobile-font-size-3xl: 26px;
    --mobile-font-size-4xl: 30px;
    --mobile-font-size-5xl: 34px;

    /* Desktop Font Sizes */
    --desktop-font-size-xs: 12px;
    --desktop-font-size-sm: 14px;
    --desktop-font-size-base: 14px;
    --desktop-font-size-lg: 18px;
    --desktop-font-size-xl: 22px;
    --desktop-font-size-2xl: 26px;
    --desktop-font-size-3xl: 30px;
    --desktop-font-size-4xl: 34px;
    --desktop-font-size-5xl: 40px;

    /* Line Heights */
    --mobile-line-height-tight: 1.2;
    --mobile-line-height-normal: 1.5;
    --mobile-line-height-relaxed: 1.6;
    --desktop-line-height-tight: 1.2;
    --desktop-line-height-normal: 1.5;
    --desktop-line-height-relaxed: 1.6;

    --footer-bg-start: #1e3a8a;
    /* updated */
    --footer-bg-end: #2563eb;
    /* updated */
    --footer-text: var(--white);
    --footer-accent: rgba(255, 255, 255, 0.08);
    /* updated */

    --background-gradient: linear-gradient(135deg, #1e3a8a, #2563eb);
    /* updated */

}

/* Style for the select box */
select {
    -webkit-appearance: none;
    /* Removes default iOS styling */
    -moz-appearance: none;
    /* For Firefox */
    appearance: none;
    /* For other browsers */
    background-color: #fff;
    /* Set background color */
    border: 1px solid #ccc;
    /* Border color */
    padding: 10px 20px;
    /* Padding inside the select box */
    border-radius: 5px;
    /* Round corners */
    font-size: 16px;
    /* Font size */
    width: 100%;
    /* Make it full-width */
    outline: none;
    /* Remove the outline */
    color: var(--text-color);

}

/* Custom arrow icon */
select::-ms-expand {
    display: none;
    /* Remove default dropdown arrow in IE */
}

select:focus {
    border-color: #0056b3;
    /* Blue border on focus */
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
    /* Optional shadow effect */
}

/* Custom arrow icon using a background image */
select {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="7" height="4" viewBox="0 0 7 4"%3E%3Cpath fill="none" stroke="%23666" d="M1 1l3 3 3-3"%3E%3C/path%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 7px 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: var(--mobile-font-size-base);
    line-height: var(--mobile-line-height-normal);
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

.section-title {
    font-size: var(--mobile-font-size-3xl);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: var(--mobile-line-height-tight);
}

.section-subtitle {
    font-size: var(--mobile-font-size-lg);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: var(--mobile-line-height-normal);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: var(--mobile-font-size-base);
    font-weight: 500;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    line-height: var(--mobile-line-height-normal);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--gray-light);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-apply {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
}

.btn-apply:hover {
    text-decoration: underline;
}

.btn-login {
    color: var(--primary-color);
}

.btn-register {
    background-color: var(--primary-light);
    color: var(--text-color);
}

.btn-post-job {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===== Header ===== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 20px;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    width: 230px;
}

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

.main-nav {
    display: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.auth-buttons {
    display: none;
    gap: 15px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
    position: relative;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i {
    transform: rotate(180deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
}

.mobile-nav-links {
    margin-bottom: 20px;
    padding-top: 20px;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-nav-links a {
    color: var(--text-color);
    font-weight: 500;
    display: block;
    padding: 12px 20px;
    font-size: 18px;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
}

.mobile-auth-buttons .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
}

/* ===== Hero Section ===== */
.hero {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 40px 0 30px;
    background: var(--background-gradient);
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-gradient);
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: var(--mobile-font-size-4xl);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: var(--mobile-line-height-tight);
}

.hero-subtitle {
    font-size: var(--mobile-font-size-lg);
    margin-bottom: 40px;
    line-height: var(--mobile-line-height-normal);
}

.hero-subtitle2 {
    font-size: 30px;
    margin-bottom: 40px;
    color: rgb(226, 226, 226);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);

}

.hero-links {
    display: flex;
    justify-content: center;
    margin-top: -10px;
    margin-bottom: 0px;
}

@media screen and (max-width: 768px) {
    #post-job-link {
        margin-top: 20px;
    }
}

.hero-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: underline;
    color: rgb(226, 226, 226);
}

.hero-links .btn-outline {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: underline;
    color: rgb(226, 226, 226);
    border: 2px solid rgb(226, 226, 226);
}

@media (max-width: 768px) {
    .hero-links .btn-outline {
        width: 100%;
    }
}

.search-box {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.search-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-group {
    position: relative;
}

.search-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-very-light);
}

.search-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid var(--gray-dark);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.search-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(20, 55, 147, 0.2);
}

.search-group select {
    width: 100%;
    padding: 15px 15px 15px 15px;
    border: 1px solid var(--gray-dark);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.search-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(20, 55, 147, 0.2);
}

.btn-search {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(42, 109, 226, 0.2);
    transition: var(--transition);
}

.btn-search:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 14px rgba(31, 75, 214, 0.3);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* ===== Featured Jobs Section ===== */
.featured-jobs {
    padding: 40px 0;
    background-color: var(--gray-light);
}

.jobs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.job-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 10px 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.company-logo {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.job-info {
    flex: 1;
    justify-content: center;
    align-items: center;
}

.job-title {
    font-size: var(--mobile-font-size-lg);
    font-weight: 600;
    margin-bottom: 5px;
    line-height: var(--mobile-line-height-tight);
}

.job-title a {
    color: var(--text-color);
}

.job-title a:hover {
    color: var(--primary-color);
}

.company-name {
    color: var(--text-light);
    font-size: var(--mobile-font-size-sm);
    line-height: var(--mobile-line-height-normal);
}

.save-job {
    background: none;
    border: none;
    color: var(--text-very-light);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.save-job:hover {
    color: var(--primary-color);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 13px;
}

.job-meta-item i {
    margin-right: 5px;
    color: var(--primary-color);
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0px;
    border-top: 1px solid var(--gray);
}

.posted-date {
    font-size: 12px;
    color: var(--text-very-light);
}

/* ===== Statistics Section ===== */
.statistics {
    padding: 80px 0;
    background-color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 10px;
    background-color: var(--primary-very-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 0px;
}

.stat-number {
    font-size: var(--desktop-font-size-sm);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0px;
}

.stat-text {
    color: var(--text-light);
}

/* ===== Categories Section ===== */
.categories {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.category-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 5px;
    text-align: center;
    justify-content: space-between;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    background-color: var(--primary-dark);
    color: var(--white);
}

.category-card:hover .category-icon {
    background-color: var(--white);
    color: var(--primary-color);
}

.category-card:hover .category-title,
.category-card:hover .category-count {
    color: var(--white);
}

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

.category-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0px;
    color: var(--text-color);
    transition: var(--transition);
}

.category-count {
    color: var(--text-light);
    font-size: 12px;
    transition: var(--transition);
}

/* ===== Featured Companies ===== */
.featured-companies {
    padding: 80px 0;
    background-color: var(--white);
}

.companies-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.company-logo-wrapper {
    width: 150px;
    height: 120px;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: var(--transition);
}

.company-logo-wrapper:hover {
    transform: scale(1.05);
    box-shadow: var(--box-shadow);
}

.company-logo-wrapper img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

/* ===== Call to Action ===== */
.cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.testimonials-slider {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-light);
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 60px;
    color: var(--primary-very-light);
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: 0;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-info p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Blog Posts ===== */
.blog-posts {
    padding: 80px 0;
    background-color: var(--white);
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-very-light);
}

.post-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.post-title a {
    color: var(--text-color);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

.read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(3px);
}

/* ===== Newsletter ===== */
.newsletter {
    padding: 60px 0;
    background-color: var(--primary-very-light);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-text {
    color: var(--text-light);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 15px;
    border: 1px solid var(--gray-dark);
    border-radius: var(--border-radius);
    font-size: 16px;
    width: 100%;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(20, 55, 147, 0.2);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--footer-bg-start), var(--footer-bg-end));
    color: var(--footer-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--footer-text);
}

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

.footer-description {
    color: var(--footer-text);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;

}

.social-link {
    width: 36px;
    height: 36px;
    background-color: var(--footer-accent);
    color: var(--footer-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--footer-text);
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--footer-text);
}

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

.footer-links a {
    color: var(--footer-text);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--footer-text);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--footer-text);
}

.contact-info li a {
    color: var(--footer-text);
    margin-top: -4px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.copyright {
    color: var(--footer-text);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--footer-text);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--footer-text);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--footer-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    color: white;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* Loader Styles */
.loader-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 68px;
    height: 68px;
    border: 10px solid #FFF;
    border-bottom-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success Animation */
.success-animation {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: #4CAF50;
    border-radius: 50%;
    display: block;
    position: relative;
    animation: scale 0.3s ease-in-out 0.9s both;
}

.success-checkmark:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 25px;
    height: 45px;
    border: solid white;
    border-width: 0 3px 3px 0;
    animation: checkmark 0.3s ease-in-out 0.9s both;
}

@keyframes scale {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes checkmark {
    0% {
        transform: translate(-50%, -50%) rotate(45deg) scale(0);
    }

    100% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
    }
}

@media screen and (max-width: 480px) {
    .job-card {
        padding: 10px;
    }

    .job-card-header {
        display: flex;
        align-items: flex-start;
        margin-bottom: 5px;
    }

    .job-card-footer {
        padding: 0px;
    }

    .job-meta {
        margin: 0px;
        margin-top: 10px;
    }

    .posted-date {
        font-size: 12px;
    }

    .btn-apply {
        font-size: 12px;
    }
}

/* ===== Media Queries ===== */
@media (min-width: 576px) {
    .search-inputs {
        flex-direction: row;
    }

    .search-group {
        flex: 1;
    }

    .btn-search {
        width: auto;
    }

    .newsletter-form {
        flex-direction: row;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    body {
        font-size: var(--desktop-font-size-base);
        line-height: var(--desktop-line-height-normal);
    }

    .section-title {
        font-size: var(--desktop-font-size-4xl);
        line-height: var(--desktop-line-height-tight);
    }

    .section-subtitle {
        font-size: var(--desktop-font-size-lg);
        line-height: var(--desktop-line-height-normal);
    }

    .hero-title {
        font-size: var(--desktop-font-size-5xl);
        line-height: var(--desktop-line-height-tight);
    }

    .hero-subtitle {
        font-size: var(--desktop-font-size-xl);
        line-height: var(--desktop-line-height-normal);
    }

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        flex-direction: row;
        gap: 20px;
    }

    .testimonial-card {
        flex: 1;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .btn {
        font-size: var(--desktop-font-size-base);
        line-height: var(--desktop-line-height-normal);
    }

    /* Hide specific hero links on desktop and tablet */
    .hero-links a[href*="pricing"],
    .hero-links a[href*="pricing-tenders"] {
        display: none;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
    }

    .auth-buttons {
        display: flex;
    }

    .jobs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.newsletter-text {
    color: #6c757d;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 12px 25px;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* Add these styles if not already present */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 99999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
    font-size: 14px;
    font-weight: 500;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.notification.success {
    background-color: #28a745;
    color: #fff;
}

.notification.error {
    background-color: #dc3545;
    color: #fff;
}

.notification.info {
    background-color: #17a2b8;
    color: #fff;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    margin-left: 10px;
    opacity: 0.8;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.notification-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

.notification-close:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.notification-close i {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
}

/* Additional notification content styles */
.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-icon {
    font-size: 18px;
}

.notification-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.homepage-banners {
    padding: 20px 0;
    background: #f8f9fa;
    margin: 0px 0 0px 0;
    border-radius: 10px;
}

.homepage-banner {
    padding: 20px 0;
    background: #f8f9fa;
    margin: 0px 0 0px 0;
    border-radius: 10px;
}

.banners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.banner-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.banner-item a {
    display: block;
    width: 100%;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
    border-radius: 10px;
}

.banner-image {
    border-radius: 10px;
}

/* Tablet Styles */
@media (max-width: 992px) {
    .homepage-banners {
        padding: 25px 0;
        margin: 15px 0 25px 0;
    }

    .banners-grid {
        gap: 15px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .homepage-banners {
        padding: 20px 0;
        margin: 0px 0 0px 0;

    }

    .banners-grid {
        grid-template-columns: 1fr;
        /* Stack banners on mobile */
        gap: 15px;
    }

    .banner-item {
        border-radius: 6px;
    }
}

/* Small Mobile Styles */
@media (max-width: 576px) {
    .homepage-banners {
        padding: 15px 0;
        margin: 5px 0 15px 0;
    }

    .banners-grid {
        gap: 10px;
    }
}

.visitor-stats {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.stats-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.stat-icon i {
    color: white;
    font-size: 20px;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: var(--desktop-font-size-lg);
    font-weight: bold;
    margin: 0;
    color: #333;
}

.stat-label {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

.visitor-chart {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 300px;
    /* Set a fixed height */
    width: 100%;
    /* Limit maximum width */
    margin: 0 auto;
    /* Center the chart */
}

@media (max-width: 768px) {
    .stats-boxes {
        grid-template-columns: 1fr;
    }

    .visitor-chart {
        height: 250px;
        /* Slightly smaller on mobile */
    }
}

@media (max-width: 576px) {
    .visitor-chart {
        height: 200px;
        /* Even smaller on small mobile */
    }
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
    animation: slideUp 0.3s ease-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    margin: 0;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
}

.cookie-buttons .btn-link {
    color: var(--text-light);
    text-decoration: underline;
    padding: 8px 16px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .cookie-content {
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

/* Add padding to body when mobile menu is open */
body.menu-open {
    padding-top: 80px;
}

.first-section {
    margin-top: 80px;
}