/* =========================================================
   AG AGAPE TRUST
   CAREERS PAGE
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --career-maroon: #741b2a;
    --career-dark-maroon: #5b1420;
    --career-cream: #f8f5ed;
    --career-gold: #c7a96b;
    --career-white: #ffffff;

    --career-text: #333333;
    --career-muted: #707070;
    --career-border: #ddd7ca;

    --career-shadow:
        0 20px 55px rgba(91, 20, 32, 0.09);
}


/* =========================================================
   GENERAL
   ========================================================= */

body {

    margin: 0;
    padding: 0;

    font-family: "Poppins", sans-serif;

    color: var(--career-text);

    background: var(--career-white);
}


.careers-container {

    width: min(1120px, calc(100% - 60px));

    margin-left: auto;
    margin-right: auto;
}

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 15px 0;
}

.container {
    width: 92%;
    max-width: 1400px;
    margin: auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */

.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.logo-text {
    margin-left: 18px;
}

.logo-text h2 {
    margin: 0;
    font-size: 32px;
    color: #741b2a;
    font-weight: 700;
    line-height: 1.1;
}

.logo-text span {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 15px;
}

/* Navigation */

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #741b2a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-btn {
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}
/*========================================
            MEGA MENU
========================================*/

.has-mega{
    position:relative;
}

/* Hide by default */

.mega-menu{

    position:absolute;

    top:100%;
    left:50%;
    transform:translateX(-50%) translateY(20px);

    width: 1000px;
    max-width:92vw;

    background:#ffffff;

    display:grid;
    grid-template-columns:260px 1fr;

    gap:45px;

    padding:35px;

    border-radius:0 0 22px 22px;

    box-shadow:0 30px 70px rgba(0,0,0,.12);

    opacity:0;
    visibility:hidden;

    transition:all .35s ease;

    z-index:999;
}
/*========================================
        RIGHT ALIGNED MEGA MENUS
========================================*/

.mega-right .mega-menu{

    left:auto;

    right:0;

    transform:translateY(20px);

}

.mega-right:hover .mega-menu{

    transform:translateY(0);

}

/* Show on hover */

.has-mega:hover .mega-menu{

    opacity:1;
    visibility:visible;

    transform:translateX(-50%) translateY(0);

}

/*========================================
            LEFT COLUMN
========================================*/

.mega-links{

    display:flex;
    flex-direction:column;
    gap:15px;

}

.mega-links a{

    text-decoration:none;

    color:#555;

    font-size:15px;

    font-weight:600;

    transition:.3s;

    position:relative;

    padding-left:0;

}

.mega-links a::before{

    content:"";

    position:absolute;

    left:-14px;

    top:50%;

    width:6px;
    height:6px;

    background:#741B2A;

    border-radius:50%;

    transform:translateY(-50%) scale(0);

    transition:.3s;

}

.mega-links a:hover{

    color:#741B2A;

    padding-left:14px;

}

.mega-links a:hover::before{

    transform:translateY(-50%) scale(1);

}

/*========================================
            RIGHT CARD
========================================*/

.mega-card{

    display:flex;

    align-items:center;

    gap:30px;

}

.mega-card img{

    width:270px;

    height:270px;

    object-fit:cover;

    border-radius:18px;

}

.mega-text{

    flex:1;

}

.mega-text h3{

    font-family:"Playfair Display", serif;

    color:#741B2A;

    font-size:2.2rem;

    margin-bottom:15px;

}

.mega-text p{

    color:#555;

    line-height:1.8;

    margin-bottom:25px;

}
.mega-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:14px 34px;

    background:#741B2A;
    color:#ffffff !important;

    text-decoration:none;

    border:none;
    border-radius:40px;

    font-size:15px;
    font-weight:700;

    letter-spacing:.4px;

    box-shadow:0 8px 20px rgba(116,27,42,.25);

    transition:.35s ease;

}

.mega-btn:hover{

    background:#5d1622;

    color:#ffffff !important;

    transform:translateY(-4px);

    box-shadow:0 12px 30px rgba(116,27,42,.35);

}

.mega-btn:visited,
.mega-btn:active{

    color:#ffffff !important;

}

/* =========================================================
   HERO
   ========================================================= */

.careers-hero {

    position: relative;

    min-height: 540px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(91, 20, 32, 0.82),
            rgba(116, 27, 42, 0.90)
        ),
        url("../images/partner.png")
        center / cover no-repeat;

    overflow: hidden;
}


.careers-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(50, 5, 15, 0.18) 100%
        );
}


.careers-hero-content {

    position: relative;

    z-index: 2;

    width: min(850px, 90%);

    margin: 0 auto;
}


.hero-label {

    display: inline-block;

    margin-bottom: 18px;

    color: var(--career-gold);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.careers-hero h1 {

    margin: 0 0 25px;

    color: var(--career-white);

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 7vw, 78px);

    line-height: 1.05;
}


.careers-hero h1 span {

    color: var(--career-gold);
}


.careers-hero p {

    max-width: 680px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.88);

    font-size: 17px;

    font-weight: 300;

    line-height: 1.8;
}


/* =========================================================
   INTRO
   ========================================================= */

.careers-intro {

    padding: 105px 0 90px;

    background: var(--career-white);

    text-align: center;
}


.careers-intro .careers-container {

    max-width: 850px;
}


.section-label {

    display: inline-block;

    margin-bottom: 15px;

    color: var(--career-maroon);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.careers-intro h2 {

    margin: 0 0 25px;

    color: var(--career-dark-maroon);

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 5vw, 56px);

    line-height: 1.15;
}


.careers-intro h2 span {

    color: var(--career-maroon);
}


.careers-intro p {

    max-width: 760px;

    margin: 0 auto 18px;

    color: var(--career-muted);

    font-size: 16px;

    font-weight: 300;

    line-height: 1.9;
}


/* =========================================================
   OPPORTUNITIES
   ========================================================= */

.career-opportunities {

    padding: 105px 0;

    background: var(--career-cream);
}


.opportunities-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

    margin-bottom: 50px;
}


.opportunities-heading h2 {

    margin: 0;

    color: var(--career-dark-maroon);

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 5vw, 55px);

    line-height: 1.1;
}


.opportunities-heading h2 span {

    color: var(--career-maroon);
}


.opportunities-heading > p {

    max-width: 390px;

    margin: 0;

    color: var(--career-muted);

    font-size: 14px;

    font-weight: 300;

    line-height: 1.8;
}


/* =========================================================
   JOB CONTAINER
   ========================================================= */

.jobs-container {

    display: flex;

    flex-direction: column;

    gap: 20px;
}


/* =========================================================
   JOB CARD
   ========================================================= */

.job-card {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

    padding: 35px;

    background: var(--career-white);

    border: 1px solid var(--career-border);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.job-card:hover {

    transform: translateY(-4px);

    border-color: transparent;

    box-shadow: var(--career-shadow);
}


/* Job main */

.job-main {

    display: flex;

    align-items: flex-start;

    gap: 25px;

    flex: 1;
}


.job-icon {

    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--career-border);

    color: var(--career-maroon);

    font-size: 25px;
}


.job-details {

    min-width: 0;
}


.job-department {

    display: block;

    margin-bottom: 8px;

    color: var(--career-maroon);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.job-details h3 {

    margin: 0 0 10px;

    color: var(--career-dark-maroon);

    font-family: "Playfair Display", serif;

    font-size: 28px;

    font-weight: 600;
}


.job-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    margin-bottom: 12px;

    color: var(--career-muted);

    font-size: 11px;
}


.job-details p {

    max-width: 650px;

    margin: 0;

    color: var(--career-muted);

    font-size: 13px;

    font-weight: 300;

    line-height: 1.7;
}


/* =========================================================
   JOB ACTION
   ========================================================= */

.job-action {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 18px;

    flex-shrink: 0;
}


.job-status {

    padding: 5px 11px;

    background: rgba(116, 27, 42, 0.08);

    color: var(--career-maroon);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.view-job-btn {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 0;

    border: none;

    background: none;

    color: var(--career-maroon);

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;
}


.view-job-btn span {

    font-size: 18px;

    transition: transform 0.2s ease;
}


.view-job-btn:hover span {

    transform: translateX(5px);
}


/* =========================================================
   NO VACANCIES
   ========================================================= */

.no-vacancies {

    padding: 65px 30px;

    border: 1px dashed var(--career-border);

    background: rgba(255, 255, 255, 0.55);

    text-align: center;
}


.no-vacancies-icon {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border: 1px solid var(--career-border);

    border-radius: 50%;

    color: var(--career-gold);

    font-size: 20px;
}


.no-vacancies h3 {

    margin: 0 0 10px;

    color: var(--career-dark-maroon);

    font-family: "Playfair Display", serif;

    font-size: 26px;
}


.no-vacancies p {

    max-width: 550px;

    margin: 0 auto;

    color: var(--career-muted);

    font-size: 13px;

    font-weight: 300;

    line-height: 1.8;
}


/* =========================================================
   GENERAL APPLICATION
   ========================================================= */

.general-application {

    padding: 105px 0;

    background: var(--career-white);
}


.application-card {

    display: grid;

    grid-template-columns: 1fr 260px;

    min-height: 360px;

    background: var(--career-dark-maroon);

    overflow: hidden;
}


.application-content {

    padding: 65px;
}


.application-content .section-label {

    color: var(--career-gold);
}


.application-content h2 {

    max-width: 650px;

    margin: 0 0 20px;

    color: var(--career-white);

    font-family: "Playfair Display", serif;

    font-size: clamp(34px, 5vw, 50px);

    line-height: 1.15;
}


.application-content h2 span {

    color: var(--career-gold);
}


.application-content p {

    max-width: 650px;

    margin: 0 0 14px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;

    font-weight: 300;

    line-height: 1.8;
}


/* Application button */

.application-btn {

    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-top: 15px;

    min-height: 50px;

    padding: 0 23px;

    background: var(--career-white);

    color: var(--career-maroon);

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    transition: all 0.25s ease;
}


.application-btn span {

    font-size: 18px;

    transition: transform 0.25s ease;
}


.application-btn:hover {

    background: var(--career-gold);

    color: var(--career-dark-maroon);
}


.application-btn:hover span {

    transform: translateX(5px);
}


/* Application side */

.application-side {

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--career-maroon);
}


.application-symbol {

    width: 100px;
    height: 100px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50%;

    color: var(--career-gold);

    font-size: 35px;
}


/* =========================================================
   CLOSING
   ========================================================= */

.careers-closing {

    padding: 110px 0;

    background: var(--career-maroon);

    text-align: center;
}


.careers-closing .careers-container {

    max-width: 850px;
}


.careers-closing .section-label {

    color: var(--career-gold);
}


.careers-closing h2 {

    margin: 0 auto 25px;

    color: var(--career-white);

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.15;
}


.careers-closing h2 span {

    color: var(--career-gold);
}


.careers-closing p {

    max-width: 650px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.83);

    font-size: 16px;

    font-weight: 300;

    line-height: 1.8;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .opportunities-heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }


    .job-card {

        align-items: flex-start;

        flex-direction: column;
    }


    .job-action {

        width: 100%;

        flex-direction: row;

        align-items: center;

        justify-content: space-between;
    }


    .application-card {

        grid-template-columns: 1fr 180px;
    }


    .application-content {

        padding: 45px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .careers-container {

        width: calc(100% - 40px);
    }


    /* Hero */

    .careers-hero {

        min-height: 440px;
    }


    .careers-hero h1 {

        font-size: 45px;
    }


    .careers-hero p {

        font-size: 15px;
    }


    /* Intro */

    .careers-intro {

        padding: 75px 0;
    }


    /* Opportunities */

    .career-opportunities {

        padding: 75px 0;
    }


    .job-card {

        padding: 25px;
    }


    .job-main {

        gap: 18px;
    }


    .job-details h3 {

        font-size: 24px;
    }


    .job-meta {

        flex-direction: column;

        gap: 5px;
    }


    /* Application */

    .general-application {

        padding: 75px 0;
    }


    .application-card {

        display: block;
    }


    .application-content {

        padding: 40px 28px;
    }


    .application-side {

        min-height: 150px;
    }


    /* Closing */

    .careers-closing {

        padding: 75px 0;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .careers-hero h1 {

        font-size: 39px;
    }


    .job-main {

        flex-direction: column;
    }


    .job-action {

        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }


    .application-content h2 {

        font-size: 34px;
    }


    .careers-closing h2 {

        font-size: 36px;
    }
}
.site-footer {
  background: linear-gradient(180deg, #5A0F0F 0%, #3D0808 100%); /* AUR DARK KIYA */
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 50px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========== TOP SECTION ========== */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* IMPORTANT: upar se align */
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* LEFT SIDE */
.footer-brand {
  flex: 2;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.brand-header img {
  width: 110px; /* LOGO BARA */
  height: 110px;
  object-fit: contain;
  flex-shrink: 0; /* logo squeeze na ho */
}

.brand-title h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-title span {
  font-size: 13px;
  color: #FFD700;
  font-weight: 500;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
  text-align: left;
}

/* RIGHT SIDE - YEHI THEEK KARNA THA */
.footer-connect {
  flex: 1;
  display: flex;
  flex-direction: column; /* social upar newsletter neeche */
  gap: 35px;
  text-align: left;
  min-width: 300px; /* taake squeeze na ho */
}

.social-area h3,
.newsletter h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.social-icons {
  display: flex; /* ROW ME RAHE */
  flex-direction: row; /* IMPORTANT */
  justify-content: flex-start;
  gap: 12px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: #fff;
  color: #5A0F0F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
  flex-shrink: 0;
}

.social-icons a:hover {
  background: #FFD700;
  transform: translateY(-3px);
}

.newsletter p {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 15px;
}

.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.newsletter input {
  width: 100%;
  max-width: 280px;
  padding: 11px 16px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}

.newsletter button {
  padding: 11px 28px;
  border-radius: 25px;
  border: none;
  background: #FFD700;
  color: #5A0F0F;
  font-weight: 700;
  cursor: pointer;
}

/* ========== MIDDLE ========== */
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px 0;
  text-align: left;
}

.footer-links h4 {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 600;
  color: #FFD700;
}

.contact-list li {
  display: flex;
  gap: 10px;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ========== BOTTOM ========== */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
  .brand-header {
    justify-content: center;
  }
  .footer-connect {
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
  .newsletter form {
    align-items: center;
  }
}

/* =====================================================
   CV APPLICATION MODAL
====================================================== */

.cv-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cv-modal.active {
    display: flex;
}

.cv-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.cv-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    background: #f8f5ed;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cv-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #5b1420;
}

.cv-modal-header {
    margin-bottom: 30px;
}

.cv-modal-header h2 {
    margin: 10px 0;
    color: #5b1420;
}

.cv-modal-header h2 span {
    color: #741b2a;
}

.cv-modal-header p {
    margin: 0;
    line-height: 1.7;
    color: #555;
}

.cv-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cv-form-group {
    margin-bottom: 20px;
}

.cv-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.cv-form-group input,
.cv-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5d0c5;
    border-radius: 4px;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
}

.cv-form-group input:focus,
.cv-form-group textarea:focus {
    outline: none;
    border-color: #741b2a;
}

.cv-form-group textarea {
    resize: vertical;
}

.cv-form-group small {
    display: block;
    margin-top: 6px;
    color: #777;
}

.cv-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: none;
    border-radius: 4px;
    background: #741b2a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.cv-submit-btn:hover {
    background: #5b1420;
}


/* =====================================================
   CV MODAL — MOBILE
====================================================== */

@media (max-width: 768px) {

    .cv-modal {
        padding: 12px;
    }

    .cv-modal-content {
        padding: 30px 20px;
        max-height: 94vh;
    }

    .cv-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}