:root {
    --primary-color: #4a90e2;
    --primary-light: #6ba8ff;
    --primary-dark: #357abd;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --light-color: #f8fafc;
    --dark-color: #1e2a3a;
    --text-light: #eef2f7;
    --text-dark: #2d3748;
    --gray-light: #e2e8f0;
    --gray-medium: #a0aec0;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
}

.light-theme {
    --bg-color: var(--light-color);
    --text-color: var(--text-dark);
    --card-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: var(--secondary-color);
    --footer-text: var(--text-light);
    --nav-shadow: var(--shadow);
}

.dark-theme {
    --bg-color: var(--dark-color);
    --text-color: var(--text-light);
    --card-bg: #253447;
    --header-bg: rgba(37, 52, 71, 0.95);
    --footer-bg: #1a2533;
    --footer-text: var(--text-light);
    --nav-shadow: var(--shadow-dark);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

/* Glassmorphism Helpers */
.glass-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

/* Auto-apply glass to common cards in both themes */
.light-theme .glass-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.85);
}
.dark-theme .glass-card {
    background: rgba(37, 52, 71, 0.35);
    border-color: rgba(255, 255, 255, 0.28);
}

/* Apply glassmorphism to site cards */
.founder-card,
.service-card,
.team-member,
.career-card,
.no-jobs,
.testimonial-card,
.contact-form,
.partner-item,
.job-sidebar-card {
    /* selector also exists in jobs.css; this helps on pages sharing new.css */
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.light-theme .founder-card,
.light-theme .service-card,
.light-theme .team-member,
.light-theme .career-card,
.light-theme .no-jobs,
.light-theme .testimonial-card,
.light-theme .contact-form,
.light-theme .partner-item,
.light-theme .job-sidebar-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgb(241 241 241 / 85%);
}
.dark-theme .founder-card,
.dark-theme .service-card,
.dark-theme .team-member,
.dark-theme .career-card,
.dark-theme .no-jobs,
.dark-theme .testimonial-card,
.dark-theme .contact-form,
.dark-theme .partner-item,
.dark-theme .job-sidebar-card {
    background: rgba(37, 52, 71, 0.35);
    border-color: rgba(255, 255, 255, 0.28);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(200, 169, 126, 0.3);
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(200, 169, 126, 0.4);
}

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

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

section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
}

.stone-loader {
    width: 80px;
    height: 80px;
    border: 4px solid var(--primary-color);
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.preloader p {
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--header-bg);
    box-shadow: var(--nav-shadow);
    transition: var(--transition);
}

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

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

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

nav ul {
    display: flex;
}

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

nav ul li a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

nav ul li a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 8px;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary-color);
    transform: rotate(15deg);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    z-index: 1001;
}
.mobile-menu-drawer {
    display: none;
}

.mobile-menu:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.mobile-menu:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    /* z-index: 1; */
}
.contact-intro {
    margin-bottom: 10px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.8s;
}

.hero-btns {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 1.1s;
}

.hero-btns .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

.floating-stones {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.stone {
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: cover;
    opacity: 0.7;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(255, 254, 254, 0.3);
    animation: float 6s ease-in-out infinite;
    transition: var(--transition);
    cursor: pointer;
}

.stone-background {
    z-index: 1;
    opacity: 0.4;
}

.stone-foreground {
    z-index: 3;
    opacity: 0.8;
}

.stone:hover {
    transform: scale(1.1);
    opacity: 1;
    z-index: 4;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.scroll-arrow:hover {
    border-top-color: #b8996e;
    transform: translateY(5px);
}

/* Services Section */
.services {
    background-color: var(--bg-color);
}

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

.service-card {
    /* background-color: var(--card-bg); */
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: var(--shadow); */
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    /* border: 1px solid rgb(0 0 0 / 11%); handled by glass */
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.service-img {
    opacity: 1 !important;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    opacity: 1 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 169, 126, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    font-size: 3rem;
    color: white;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-features {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-features span {
    background: rgba(200, 169, 126, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-features i {
    color: var(--primary-color);
}

/* Stats Section */
.stats {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    color: white;
    padding: 80px 0;
}

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

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Gallery Section */
.gallery {
    background-color: var(--card-bg);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: var(--shadow); */
    /* border: 1px solid rgb(0 0 0 / 11%); */

    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    opacity: 1 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, var(--primary-color));
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Team Section */
.team {
    background-color: var(--bg-color);
}

/* Founder spotlight */
.founder-spotlight {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
}
.founder-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: center;
    /* background: var(--card-bg); */
    /* border: 1px solid rgb(0 0 0 / 11%); */
    border-radius: 12px;
    padding: 20px;
}
.founder-card .founder-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}
.founder-card .founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.founder-card .founder-info h3 {
    font-size: 1.5rem;
    margin: 0 0 6px 0;
    color: var(--text-color);
}
.founder-card .founder-info .title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}
.founder-card .founder-info p {
    color: var(--gray-medium);
}

@media (max-width: 640px) {
    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .founder-card .founder-avatar {
        margin: 0 auto;
    }
}

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

.team-member {
    text-align: center;
    /* background-color: var(--card-bg); */
    border-radius: 10px;
    padding: 30px 20px;
    /* box-shadow: var(--shadow); */
    /* border: 1px solid rgb(0 0 0 / 11%); */

    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
}

.setting-logo {
    opacity: 1 !important;
    height: 70px;
}

.member-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    position: relative;
}

.member-img img {
    opacity: 1 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-img img {
    transform: scale(1.1);
}

.member-social {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transform: translateY(100%);
    transition: var(--transition);
}

.team-member:hover .member-social {
    transform: translateY(0);
}

.member-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

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

.member-info h3 {
    margin-bottom: 5px;
}

.member-info p {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* About Section */
.about {
    background-color: var(--card-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.feature h4 {
    margin-bottom: 5px;
}

.about-image {
    position: relative;
}
.image-container img {
    opacity: 1 !important;
}

.image-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.image-container:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    opacity: 0.3;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

/* Contact Section */
.contact {
    background-color: var(--bg-color);
}

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

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.contact-form {
    /* background-color: var(--card-bg); */
    padding: 30px;
    border-radius: 10px;
    /* box-shadow: var(--shadow); */
    /* border: 0.5px solid var(--primary-light); */
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(200, 169, 126, 0.2);
}

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

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
    /* box-shadow: 0 4px 15px rgba(200, 169, 126, 0.3); */
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: var(--transition);
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(200, 169, 126, 0.4);
}

.social-links a:active {
    transform: translateY(-1px) scale(1.05);
}

/* Contact Message */
.contact-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
}

.contact-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 70px 0 20px;
}

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

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col p {
    margin-bottom: 20px;
}

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

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

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form .form-control {
    flex: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

/* Desktop-only elements - hide on mobile */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .desktop-nav {
        display: none !important;
    }

    .mobile-menu {
        display: block !important;
    }
    .mobile-nav-list {
        display: flex;
        flex-direction: column;
    }
    .mobile-nav {
        display: flex;
        flex-direction: column;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .setting-logo {
        height: 40px;
    }

    /* Mobile Menu Drawer */
    .mobile-menu-drawer {
        display: inline;
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--header-bg);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        z-index: 11000;
        transition: var(--transition);
        padding: 30px 20px;
        overflow-y: auto;
    }

    .mobile-menu-drawer.active {
        right: 0;
    }

    /* Mobile Menu Header */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-color);
        margin: 0;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        color: var(--text-color);
        font-size: 1.4rem;
        cursor: pointer;
        padding: 8px;
        border-radius: 8px;
        transition: var(--transition);
    }

    .mobile-menu-close:hover {
        background-color: var(--primary-color);
        color: white;
    }

    /* Mobile Navigation */
    .mobile-nav {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-item {
        margin-bottom: 10px;
    }

    .mobile-nav-link {
        display: block;
        color: var(--text-color);
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        /* padding: 15px 20px; */
        border-radius: 12px;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }

    .mobile-nav-link::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            var(--primary-color),
            transparent
        );
        transition: var(--transition);
    }

    .mobile-nav-link:hover::before {
        left: 100%;
    }

    .mobile-nav-link:hover {
        color: var(--primary-color);
        transform: translateX(5px);
        background-color: rgba(255, 255, 255, 0.05);
    }

    .mobile-nav-link.active {
        background-color: var(--primary-color);
        color: white;
        box-shadow: var(--shadow);
    }

    /* Mobile Menu Actions */
    .mobile-menu-actions {
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
    }

    .mobile-theme-toggle,
    .mobile-language-switcher {
        width: 100%;
        margin-bottom: 15px;
    }

    .mobile-theme-toggle-btn,
    .mobile-lang-option-btn {
        width: 100%;
        padding: 12px 20px;
        background: none;
        border: 1px solid var(--border-color);
        color: var(--text-color);
        border-radius: 12px;
        cursor: pointer;
        font-size: 1rem;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .mobile-theme-toggle-btn:hover,
    .mobile-lang-option-btn:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

    .mobile-lang-option-btn.active {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .header-container {
        padding: 0 20px;
    }

    header {
        padding: 0;
    }

    nav {
        display: none; /* Hide desktop nav on mobile */
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .theme-toggle {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 70px 0;
    }

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

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

    .partners-scroll {
        padding: 20px 30px;
        gap: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .partners-scroll::-webkit-scrollbar {
        display: none;
    }

    .partner-item {
        width: 80px;
    }

    .partner-logo {
        width: 80px;
        height: 80px;
    }

    .partner-details {
        width: 150px;
        padding: 10px;
        top: 90px;
        font-size: 0.8rem;
        display: none; /* Hide details on small screens for cleaner mobile experience */
    }

    .partner-details h4 {
        font-size: 1rem;
    }

    .partner-details p {
        font-size: 0.8rem;
    }
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.dark-theme .testimonials {
    background: linear-gradient(135deg, #1e2a3a 0%, #253447 100%);
}

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

.testimonials .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
}

.testimonials .section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.testimonials .section-header p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    /* background: var(--card-bg); */
    border-radius: 20px;
    padding: 40px;
    /* box-shadow: var(--shadow); */
    transition: var(--transition);
    position: relative;
    /* border: 1px solid rgb(0 0 0 / 11%); */
}

.testimonial-card:hover {
    /* transform: translateY(-10px); */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dark-theme .testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: "Playfair Display", serif;
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating .fa-star {
    color: #ddd;
    font-size: 1.2rem;
    margin-right: 5px;
    transition: var(--transition);
}

.testimonial-rating .fa-star.active {
    color: #ffd700;
}

.testimonial-content blockquote {
    margin: 0;
}

.testimonial-content blockquote p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.testimonial-content blockquote p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.author-position,
.author-company {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin: 2px 0;
}

.author-position {
    font-weight: 500;
}

/* ========================================
   PARTNERS SECTION
======================================== */
.partners {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.dark-theme .partners {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

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

.partners .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
}

.partners .section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.partners .section-header p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

.partners-container {
    position: relative;
    margin-top: 50px;
    overflow: visible;
}

.partners-scroll {
    display: flex;
    justify-content: center;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 60px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.partners-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.partner-item {
    flex: 0 0 auto;
    width: 120px;
    position: relative;
    transition: var(--transition);
}

.partner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.partner-logo {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.partner-item:hover .partner-logo {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    opacity: 1 !important;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-item:hover .partner-logo img {
    filter: grayscale(0%);
}

.partner-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    color: white;
    font-size: 2rem;
}

.partner-placeholder span {
    font-size: 0.8rem;
    margin-top: 8px;
    font-weight: 600;
    text-align: center;
    padding: 0 10px;
}

.partner-details {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 200px;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.partner-item:hover .partner-details {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.partner-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.partner-details p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
    margin: 0;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    border: 2px solid var(--gradient);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow);
}

.scroll-btn:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.scroll-left {
    left: 10px;
}

.scroll-right {
    right: 10px;
}

/* ========================================
   RESPONSIVE DESIGN - PARTNERS
======================================== */
@media (max-width: 768px) {
    .partners {
        padding: 70px 0;
    }

    .partners .section-header h2 {
        font-size: 2rem;
    }

    .partners-scroll {
        padding: 20px 40px;
        gap: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .partners-scroll::-webkit-scrollbar {
        display: none;
    }

    .partner-item {
        width: 100px;
        flex-shrink: 0;
    }

    .partner-logo {
        width: 100px;
        height: 100px;
    }

    .partner-details {
        display: none; /* Hide details on mobile for cleaner look */
    }

    .partner-details h4 {
        font-size: 1.1rem;
    }

    .partner-details p {
        font-size: 0.9rem;
    }

    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .scroll-left {
        left: 5px;
    }

    .scroll-right {
        right: 5px;
    }
}

@media (max-width: 576px) {
    .partners {
        padding: 60px 0;
    }

    .partners .section-header {
        margin-bottom: 40px;
    }

    .partners .section-header h2 {
        font-size: 1.8rem;
    }

    .partners .section-header p {
        font-size: 1rem;
    }

    .partners-container {
        margin-top: 30px;
    }

    .partners-scroll {
        padding: 15px 30px;
        gap: 15px;
    }

    .partner-item {
        width: 80px;
    }

    .partner-logo {
        width: 80px;
        height: 80px;
    }

    .partner-details {
        width: 140px;
        padding: 8px;
        top: 85px;
        font-size: 0.75rem;
    }

    .partner-details h4 {
        font-size: 0.9rem;
    }

    .partner-details p {
        font-size: 0.8rem;
    }

    .scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .scroll-left {
        left: 5px;
    }

    .scroll-right {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .partners-scroll {
        padding: 15px 20px;
        gap: 12px;
    }

    .partner-item {
        width: 70px;
    }

    .partner-logo {
        width: 70px;
        height: 70px;
    }

    .partner-details {
        width: 120px;
        padding: 6px;
        top: 75px;
        font-size: 0.7rem;
    }

    .partner-details h4 {
        font-size: 0.8rem;
    }

    .partner-details p {
        font-size: 0.75rem;
    }

    .scroll-btn {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
}

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

    .partners .section-header {
        margin-bottom: 30px;
    }

    .partners .section-header h2 {
        font-size: 1.6rem;
    }

    .partners .section-header p {
        font-size: 0.9rem;
    }

    .partners-container {
        margin-top: 25px;
    }

    .partners-scroll {
        padding: 15px 20px;
        gap: 12px;
    }

    .partner-item {
        width: 70px;
    }

    .partner-logo {
        width: 70px;
        height: 70px;
    }

    .partner-details {
        width: 120px;
        padding: 6px;
        top: 75px;
        font-size: 0.7rem;
    }

    .partner-details h4 {
        font-size: 0.8rem;
    }

    .partner-details p {
        font-size: 0.75rem;
    }

    .scroll-btn {
        width: 28px;
        height: 28px;
        font-size: 0.6rem;
    }

    .scroll-left {
        left: 3px;
    }

    .scroll-right {
        right: 3px;
    }
}

/* ========================================
   RESPONSIVE DESIGN - SERVICES
======================================== */
@media (max-width: 768px) {
    .services {
        padding: 70px 0;
    }

    .services .section-header h2 {
        font-size: 2rem;
    }

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

    .service-card {
        max-width: 100%;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }

    .service-features {
        gap: 8px;
    }

    .service-features span {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

@media (max-width: 576px) {
    .services {
        padding: 60px 0;
    }

    .services .section-header h2 {
        font-size: 1.8rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .service-features {
        gap: 6px;
    }

    .service-features span {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}

/* ========================================
   RESPONSIVE DESIGN - TESTIMONIALS
======================================== */
@media (max-width: 768px) {
    .testimonials {
        padding: 70px 0;
    }

    .testimonials .section-header h2 {
        font-size: 2rem;
    }

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

    .testimonial-card {
        padding: 30px;
    }

    .testimonial-card::before {
        font-size: 3rem;
        left: 20px;
    }

    .testimonial-content blockquote p {
        font-size: 1rem;
        padding-left: 15px;
    }

    .testimonial-author {
        gap: 15px;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }
}

/* ========================================
   BRANCHES SECTION
======================================== */
.branches {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.dark-theme .branches {
    background: linear-gradient(135deg, #1e2a3a 0%, #253447 100%);
}

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

.branches .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
}

.branches .section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.branches .section-header p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

.branches-container {
    display: block;
    width: 100%;
}

.afghanistan-map {
    position: relative;
    background: var(--card-bg);
    border-radius: 5px;
    padding: 1px;
    /* box-shadow: var(--shadow); */
    height: 800px;
    width: 100%;
    border: 0.5px solid var(--primary-light);
}

.afghanistan-map svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.branches-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.branch-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.branch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.branch-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.branch-location {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    background: rgba(74, 144, 226, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
}

.branch-details p {
    margin: 8px 0;
    color: var(--gray-medium);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.branch-details i {
    color: var(--primary-color);
    margin-top: 2px;
    min-width: 16px;
}

.branch-description {
    margin-top: 15px !important;
    font-style: italic;
    color: var(--text-color) !important;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -100%) scale(1);
    }
    50% {
        transform: translate(-50%, -100%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -100%) scale(1);
    }
}
.leaflet-control-attribution {
    display: none !important;
}

/* ========================================
   RESPONSIVE DESIGN - BRANCHES
======================================== */
@media (max-width: 992px) {
    .branches-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .afghanistan-map {
        height: 350px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .branches {
        padding: 70px 0;
    }

    .branches .section-header h2 {
        font-size: 2rem;
    }

    .afghanistan-map {
        height: 300px;
        padding: 15px;
    }

    .branch-card {
        padding: 20px;
    }

    .branch-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .afghanistan-map {
        height: 250px;
    }

    .branches-list {
        gap: 15px;
    }

    .branch-card {
        padding: 15px;
    }
}

/* Careers Section Styles */
.careers {
    padding: 80px 0;
    /* background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); */
}

/* ========================================
   GALLERY WATER OVERLAY EFFECT
   Usage: wrap image with .gallery-item and add <span class="water-overlay"></span>
======================================== */
.gallery-item .water-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease, filter 0.35s ease;
    mix-blend-mode: screen;
    background: radial-gradient(
            60% 80% at 20% 20%,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0) 60%
        ),
        radial-gradient(
            80% 60% at 80% 80%,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0) 60%
        ),
        repeating-conic-gradient(
            from 0deg,
            rgba(255, 255, 255, 0.08) 0 10deg,
            transparent 10deg 20deg
        ),
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0) 60%
        );
    background-repeat: no-repeat;
    background-size: 200% 200%, 180% 180%, 300% 300%, 200% 200%;
    animation: waterShift 14s linear infinite;
    filter: saturate(110%);
}
.gallery-item:hover .water-overlay {
    opacity: 1;
    filter: saturate(120%) brightness(1.05);
}
@keyframes waterShift {
    0% {
        background-position: 0% 0%, 100% 100%, 0% 0%, 0% 50%;
    }
    50% {
        background-position: 100% 50%, 0% 50%, 50% 100%, 100% 50%;
    }
    100% {
        background-position: 0% 0%, 100% 100%, 0% 0%, 0% 50%;
    }
}

/* Attribute-based opt-in */
[data-water="true"] {
    position: relative;
    overflow: hidden;
}
[data-water="true"] .water-overlay {
    position: absolute;
    inset: 0;
}

.careers .section-header {
    margin-bottom: 60px;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.career-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    /* box-shadow: var(--shadow); */
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 0.5px solid var(--primary-light);
}

.career-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.career-card:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.career-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.career-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.career-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray-medium);
}

.career-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.career-content p {
    color: var(--gray-medium);
    line-height: 1.6;
    margin-bottom: 20px;
}

.career-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.career-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.career-link i {
    transition: var(--transition);
}

.no-jobs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 0.5px solid var(--primary-light);
}

.no-jobs::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.no-jobs i {
    font-size: 56px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.no-jobs h3 {
    font-size: 22px;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.no-jobs p {
    color: var(--gray-medium);
    font-size: 15px;
}

.careers-footer {
    text-align: center;
}

.careers-footer .btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
}

/* Responsive Design for Careers */
@media (max-width: 768px) {
    .careers {
        padding: 60px 0;
    }

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

    .career-card {
        padding: 25px;
    }

    .career-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .career-card {
        padding: 20px;
    }

    .career-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .career-content h3 {
        font-size: 18px;
    }
}
