:root {
    --primary-color: #1A237E;
    --secondary-color: #534bae;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--white);
}

.logo img {
    height: 42px;
    width: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

/* Hamburger Menu Base Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        z-index: 99;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
        font-size: 1.2rem;
        text-align: center;
    }

    /* Hamburger Animation - Perfect X */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Stack job cards on mobile */
    .job-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 20px;
    }

    .job-info {
        margin-bottom: 15px;
    }

    .btn-apply {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .job-badge {
        display: inline-block;
        margin: 5px 0 0 0;
    }
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1.2;
}

.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

.btn {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 16px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background-color: #f8f9fa;
}

.btn-apply {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-apply:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.play-store-badge {
    transition: transform 0.3s ease;
}

.play-store-badge:hover {
    transform: scale(1.05);
}

.content-section {
    padding: 80px 0;
    background-color: #f8faff;
}

.content-section.white-bg {
    background-color: var(--white);
}

.content-text {
    width: 100%;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.content-section h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.content-section .update-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 40px;
    display: block;
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.content-section h3 {
    color: var(--primary-color);
    margin: 35px 0 15px 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.content-section p {
    color: #555;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    margin: 20px 0 30px 25px;
    color: #555;
}

.content-section li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.content-section li::marker {
    color: var(--primary-color);
    font-weight: 700;
}

.content-section li strong {
    color: var(--primary-color);
}

.content-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.content-text a:hover {
    text-decoration: underline;
}

.contact-info {
    background: #fcfdff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(26, 35, 126, 0.05);
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 10px !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 35, 126, 0.1);
}

.feature-card svg {
    margin-bottom: 24px;
    background: rgba(26, 35, 126, 0.05);
    padding: 15px;
    border-radius: 15px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.feature-card p {
    color: #666;
    font-size: 1.05rem;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 0 40px 0;
}

.seo-links {
    margin: 40px auto;
    width: 100%;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.seo-links h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.9;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.seo-grid a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.seo-grid a:hover {
    color: var(--white);
}

.job-list {
    margin-top: 40px;
}

.job-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.job-card:hover {
    transform: scale(1.01);
}

.job-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.job-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0 !important;
}

.job-badge {
    background: #e8eaf6;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 10px;
}

.app-cta {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 40px;
    border-radius: 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 152, 0, 0.15);
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.app-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.app-cta-text {
    flex: 1;
    text-align: left;
}

.app-cta-image {
    flex: 0 0 300px;
}

@media (min-width: 1000px) {
    .app-cta-image {
        flex: 0 0 50%;
    }
}

.app-cta-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    border-radius: 20px;
}

.app-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.app-cta h3 {
    color: #e65100 !important;
    font-size: 2.22rem !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

.app-cta p {
    font-size: 1.15rem;
    color: #5d4037;
    margin-bottom: 35px !important;
    line-height: 1.6;
}

.app-cta .cta-group .btn {
    background-color: #ff9800;
    color: var(--white);
    padding: 16px 40px;
    font-size: 1.15rem;
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.3);
    border-radius: 50px;
}

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.category-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px !important;
}

.category-card .badge {
    margin: 0 auto;
}

/* FAQ Section Styling */
.faq-container {
    width: 100%;
    margin: 40px auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    border-top: 1px solid rgba(0, 0, 0, 0.02);
    border-right: 1px solid rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Safety for legacy structure */
.faq-item p {
    padding: 10px 0;
    margin: 0;
    line-height: 1.6;
}

.faq-answer p {
    padding: 0;
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 18px 25px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    background: #fcfdfe;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    margin: 0 !important;
    /* Reset for H3/H4 tags */
    border: none !important;
}

.faq-question:hover {
    background: #f0f4ff;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.faq-item.active .faq-question::after {
    content: '−';
}

/* Hide legacy manual icons in HTML */
.faq-question span,
.faq-question i {
    display: none !important;
}

.faq-answer {
    padding: 20px 25px;
    color: #555;
    line-height: 1.8;
    border-top: 1px solid #efefef;
    background: var(--white);
    display: none;
    /* Controlled by JS */
}

@media (max-width: 768px) {
    .app-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .app-cta-text {
        text-align: center;
    }

    .app-cta-image {
        flex: 0 0 auto;
        width: 200px;
    }
}

.app-cta .btn:hover {
    background-color: #f57c00;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 152, 0, 0.4);
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--white);
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .cta-group {
        flex-direction: column;
    }
}

/* Quick Links Grid Styles */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.quick-links-grid .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 60px;
    /* Ensure minimum height */
    text-align: center;
    padding: 10px 20px;
    /* Adjust padding for flex integration */
    line-height: 1.2;
    white-space: normal;
    /* Allow text wrapping */
}

/* New Content Components */
.highlight-box {
    background: rgba(26, 35, 126, 0.05);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    margin: 30px 0;
    border-radius: 0 15px 15px 0;
}

.highlight-box h4 {
    margin-top: 0 !important;
    color: var(--primary-color);
}

.info-grid,
.company-grid,
.service-grid,
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.info-card,
.company-card,
.service-card,
.portal-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.info-card:hover,
.company-card:hover,
.service-card:hover,
.portal-card:hover {
    transform: translateY(-5px);
}

.info-card h4,
.company-card h4,
.service-card h4,
.portal-card h4 {
    margin-top: 0 !important;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.badge {
    display: inline-block;
    background: #e8eaf6;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 8px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(26, 35, 126, 0.1);
}

.info-card ul {
    list-style: none;
    padding: 0 !important;
    margin: 15px 0 0 0 !important;
}

.info-card li {
    padding-left: 20px !important;
    position: relative;
    margin-bottom: 10px !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    color: #555 !important;
}

.info-card li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.salary-badge {
    background: #28a745;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin: 0;
    background: var(--white);
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    -webkit-overflow-scrolling: touch;
}

th,
td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .content-text {
        padding: 30px 20px;
    }
}

.final-cta {
    background: linear-gradient(135deg, #fffde7 0%, #fff8e1 100%);
    padding: 60px 40px;
    border-radius: 30px;
    border: 2px solid #ffd54f;
    margin: 80px auto 40px auto;
    text-align: center;
    width: 100%;
    box-shadow: 0 20px 50px rgba(255, 193, 7, 0.15);
    position: relative;
}

.final-cta::after {
    content: '🚀';
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 2.5rem;
}

.final-cta h4 {
    color: #e65100;
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 1.1rem;
    color: #5d4037;
    margin-bottom: 25px;
}

.back-home-container {
    margin: 60px 0 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

/* Search Tags & Clouds */
.search-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.search-tag {
    display: inline-block;
    background: #e0e7ff;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.search-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Global Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Freshness Indicator */
.freshness-indicator {
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    margin-bottom: 30px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(46, 125, 50, 0.1) !important;
}

.freshness-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
}