/*
Theme Name: Talent Axis Management
Author: Your Name
Version: 1.0
Description: Custom Theme for Talent Axis Management
*/


/* Basic reset */

/* Global Styles */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2C3E50;
    /* Dark Charcoal Blue for main text */
    background-color: #ECF0F1;
    /* Light Gray/Off-White for body background */
    line-height: 1.6;
    /* Crucial: Add padding-top to body to make space for the fixed navbar */
    padding-top: 44px;
    /* This value should match the navbar's height */
}

/* --- Navigation Bar Styles --- */
.navbar {
    position: fixed;
    /* Makes the navbar sticky */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #2C3E50;
    /* Solid Dark Charcoal Blue */
    padding: 15px 30px;
    /* Vertical and horizontal padding */
    z-index: 999;
    /* Ensures it stays on top of other content */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Stronger shadow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    /* Explicitly set height for consistency with body padding */
    box-sizing: border-box;
    /* Include padding in height calculation */
}

.navbar-logo {
    height: 60px;
    /* Adjust logo height as needed */
    margin-right: 15px;
    /* Space between logo and brand text if present */
}

.navbar-brand {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.05em;
    display: flex;
    /* Allows logo and text to be aligned */
    align-items: center;
}

.navbar-brand span {
    margin-left: 10px;
    /* Space between logo and text */
}

.navbar-links-wrapper {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
    /* Allow wrapper to take available space */
}

.navbar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
    /* More space between navigation items */
}

.navbar-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.15rem;
    /* Slightly larger font */
    font-weight: 500;
    padding: 8px 0;
    /* More vertical padding for clickable area */
    position: relative;
    transition: color 0.3s ease;
}

.navbar-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    /* Thicker underline */
    background-color: #FF6B6B;
    /* Coral Red accent for underline */
    left: 0;
    /* Underline starts from left */
    bottom: -5px;
    /* Slightly below the text */
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Smooth cubic bezier transition */
}

.navbar-links li a:hover {
    color: #FF6B6B;
    /* Change text color on hover */
}

.navbar-links li a:hover::after {
    width: 100%;
    /* Expand underline on hover */
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    /* Hidden by default on desktop */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    padding: 5px;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section Styles --- */
.hero {
    min-height: 70vh;
    /* reduce height by navbar height */
    margin-top: 28px;
    /* push the entire hero section down */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 40px 20px;
    flex-direction: column;
}


/* Hero content container */
.hero-split {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 30px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    justify-content: space-between;
    flex-wrap: nowrap;
}

/* Panels */
.hero-panel {
    flex: 1;
    min-width: 0;
    max-width: none;
    text-align: center;
    padding: 20px;
}

.hero-panel h1 {
    font-size: 20rem;
    line-height: 1.2;
    word-break: normal;
    white-space: normal;
    max-width: 100%;
}

.hero-content {
    width: 100%;
    padding: 0 20px;
}


/* Divider Line */
.hero-divider {
    width: 4px;
    height: 160px;
    background: linear-gradient(to bottom, #FF6B6B, #E05C5C);
    position: relative;
    animation: pulse-glow 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-divider i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: white;
    background-color: #FF6B6B;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    animation: bounce 3s infinite;
}

/* Typography */
.hero h1 {
    width: 100%;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: none;
    word-wrap: break-word;
}

.hero p {
    width: 100%;
    font-size: 1.2rem;
    max-width: none;
    margin-bottom: 30px;
    word-wrap: break-word;
}

/* CTA Button */
.hero .cta {
    padding: 15px 35px;
    font-size: 1.1rem;
    background-color: #FF6B6B;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.hero .cta:hover {
    background-color: #E05C5C;
    transform: translateY(-2px);
}

/* Animations */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-52%) scale(1.1);
    }
}

/* --- Responsive Styling --- */
@media (max-width: 768px) {
    .hero {
        padding: 30px 15px;
        flex-direction: column;
    }

    .hero-split {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
    }

    .hero-panel {
        padding: 0 10px;
    }

    .hero-panel:first-child .cta {
        margin-bottom: 20px;
        /* Reduced space after first button */
    }

    .hero-panel:first-child {
        margin-bottom: 30px;
    }

    .hero-divider {
        width: 60%;
        height: 3px;
        margin: 0px 0px;
        background: linear-gradient(to right, #ffa07a, #f08080);
        position: relative;
    }

    .hero-divider i {
        font-size: 14px;
        padding: 6px;
        position: absolute;
        top: 50%;
        left: 45%;
        transform: translate(-50%, -50%);
        background-color: #f08080;
        color: white;
        border-radius: 50%;
        box-shadow: 0 0 6px rgba(255, 105, 97, 0.5);
    }

    .hero h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .hero .cta {
        font-size: 0.95rem;
        padding: 10px 25px;
        width: 100%;
        max-width: 220px;
        margin-bottom: 0;
    }

    .hero-panel:nth-child(3) {
        margin-top: -10px;
        padding-top: 0;
        /* Reduce from default spacing */
    }

    .hero-panel:last-child .cta {
        margin-bottom: 30px;
        /* adds space below the second button */
    }
}




/* --- Section Styles (excluding hero) --- */
section {
    padding: 80px 30px;
    /* Increased padding */
    max-width: 1200px;
    margin: 60px auto;
    /* More margin between sections */
    background: #FFFFFF;
    /* Solid white background for sections */
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    /* Slightly stronger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:not(.hero) {
    opacity: 0;
    transform: translateY(40px);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    /* Slower, smoother transition */
}

section:hover {
    transform: translateY(-10px);
    /* More pronounced lift */
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    /* More pronounced shadow */
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    /* More space below heading */
    font-size: 3rem;
    /* Larger heading */
    color: #2C3E50;
    /* Dark Charcoal Blue */
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
    /* More padding below heading */
}

section h2::after {
    content: "";
    display: block;
    width: 80px;
    /* Wider underline */
    height: 5px;
    /* Thicker underline */
    background-color: #FF6B6B;
    /* Coral Red accent */
    margin: 15px auto 0;
    /* More margin */
    border-radius: 3px;
}

section p {
    max-width: 900px;
    /* Wider text block */
    margin: 0 auto;
    font-size: 1.15rem;
    /* Slightly larger text */
    line-height: 1.8;
    /* More comfortable line height */
    color: #7F8C8D;
    /* Medium Gray for paragraph text */
    text-align: center;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Cards adapt to grid */
    gap: 40px;
    /* More gap between cards */
    margin-top: 40px;
    /* More margin */
}

.card {
    background: #FFFFFF;
    /* White background for cards */
    padding: 30px 35px;
    /* More padding */
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    /* Slightly stronger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    text-align: center;
    /* Center card content */
}

.card:hover {
    transform: translateY(-12px);
    /* More pronounced lift */
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    /* More pronounced shadow */
}

.card h3 {
    margin-top: 0;
    color: #2C3E50;
    /* Dark Charcoal Blue */
    font-weight: 700;
    font-size: 1.5rem;
    /* Larger heading */
    margin-bottom: 15px;
}

.card p {
    color: #7F8C8D;
    /* Medium Gray for card paragraph text */
    font-size: 1rem;
    line-height: 1.6;
}

ul {
    max-width: 600px;
    /* Wider list */
    margin: 40px auto;
    /* More margin */
    padding-left: 0;
    /* Remove default padding, handle with li padding */
    font-size: 1.15rem;
    /* Slightly larger text */
    color: #7F8C8D;
    /* Medium Gray */
    list-style-type: none;
    /* Remove default bullets */
    line-height: 2;
    /* More line height */
}

ul li {
    margin-bottom: 15px;
    transition: color 0.3s, transform 0.2s;
    cursor: default;
    position: relative;
    text-align: left;
    /* Ensure text aligns left within the list item */
    padding-left: 0px;
    /* Removed padding for checkmark space */
}

/* Removed the ul li::before style that created the checkmarks */

ul li:hover {
    color: #2C3E50;
    /* Darker text on hover */
    font-weight: 600;
    transform: translateX(5px);
    /* Slight shift on hover */
}

footer {
    text-align: center;
    padding: 50px 20px;
    /* More padding */
    background-color: #2C3E50;
    /* Dark Charcoal Blue */
    color: white;
    font-size: 1rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    /* Lighter white for footer text */
    margin-bottom: 10px;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    color: #1abc9c;
    /* Aqua green */
}




/* ======================================== */
/* CAREERS PAGE STYLES                      */
/* ======================================== */
/* Industry Grid Styling */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
    /* Add some padding to prevent cards from touching edges */
}

.industry-card {
    background-color: #F8F9F9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.industry-card h3 {
    color: #2C3E50;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #FF6B6B;
    padding-bottom: 10px;
    display: inline-block;
    /* Make underline fit text */
}

.industry-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.industry-card ul li {
    margin-bottom: 8px;
}

.industry-card ul li:last-child {
    margin-bottom: 0;
}

/* Zoho Recruit Embed Styling */
/* Make Zoho Recruit embed responsive and fit theme */
#rec_job_listing_div {
    width: 100%;
    /* Ensure it takes full width of its container */
    min-height: 600px;
    /* Provide a minimum height */
    /* Zoho Recruit injects its own styles, so we mostly override/adapt */
    /* The brand_color in script helps, but some general overrides are good */
}

/* Specific overrides for Zoho Recruit elements for better theme integration */
/* You might need to inspect the Zoho Recruit iframe/elements to target more precisely */
.embed_jobs_head {
    border-radius: 10px;
    /* Match outer card radius */
    overflow: hidden;
    /* Ensure rounded corners apply */
    background-color: #FFFFFF;
    /* Match page background */
    box-shadow: none;
    /* Remove Zoho's outer shadow if any, let parent section handle */
}

/* Styling for the "Share your resume" section */
.resume-upload-section {
    text-align: center;
    margin-top: 60px;
    /* Space from the job listings */
    padding: 40px 30px;
    background-color: #F8F9F9;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.resume-upload-section p {
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #2C3E50;
    font-size: 1.15rem;
}

.upload-button {
    display: inline-block;
    background-color: #FF6B6B;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.upload-button:hover {
    background-color: #E65A5A;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.upload-button i {
    margin-right: 10px;
}

/* ================================== */
/* Employers Page Style               */
/* ================================== */

/* Microsoft Form Embed */
.form-container {
    max-width: 900px;
    background-color: #F8F9F9;
    /* Lighter background for the form container */
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.form-container iframe {
    width: 100%;
    height: 800px;
    /* Adjust height as needed for your form */
    border: none;
    border-radius: 8px;
}

/* ================================== */
/* Contact Us Page Style
/* ================================== */


/* --- New Combined Contact Section --- */
.contact-main-section {
    max-width: 1200px;
    /* Overall max width for the combined section */
    margin: 60px auto;
    padding: 40px;
    /* Overall padding for the section */
    background-color: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    /* Default to column for heading, then row for cards */
    align-items: center;
    gap: 40px;
    /* Gap between heading and cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-main-section.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.contact-main-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.contact-main-section h2 {
    text-align: center;
    margin-bottom: 0;
    /* Adjust margin as it's part of flex column */
    font-size: 3rem;
    color: #2C3E50;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.contact-main-section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    background-color: #FF6B6B;
    margin: 15px auto 0;
    border-radius: 3px;
}

.contact-cards-wrapper {
    display: flex;
    /* Flexbox for the two inner cards */
    flex-wrap: wrap;
    /* Allow cards to wrap on smaller screens */
    gap: 30px;
    /* Space between the two cards */
    width: 100%;
    /* Take full width of parent section */
    justify-content: center;
    /* Center cards if there's extra space */
    align-items: flex-start;
    /* Align cards to the top */
}

.info-card,
.form-card {
    background-color: #F8F9F9;
    /* Lighter background for inner cards */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    flex: 1;
    /* Allow cards to grow and shrink */
    min-width: 380px;
    /* Minimum width before wrapping */
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* Space between items inside the info card */
}

.info-card {
    order: 1;
    /* Ensure info card is always first (left) */
}

.form-card {
    order: 2;
    /* Ensure form card is always second (right) */
}

.info-card h3 {
    font-size: 1.8rem;
    color: #2C3E50;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    /* Center "Get in Touch" heading */
    position: relative;
    padding-bottom: 10px;
}

.info-card h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #FF6B6B;
    margin: 10px auto 0;
    /* Center underline */
    border-radius: 2px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.15rem;
    color: #2C3E50;
    text-align: left;
}

.contact-item i {
    font-size: 1.6rem;
    color: #FF6B6B;
    width: 25px;
    /* Fixed width for icon to align text consistently */
    flex-shrink: 0;
    padding-top: 2px;
}

.contact-item .text-content {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.contact-item .text-content a {
    color: #2C3E50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item .text-content a:hover {
    color: #FF6B6B;
}

.form-card iframe {
    width: 100%;
    height: 100%;
    /* Take full height of its parent card */
    min-height: 400px;
    /* Minimum height for the form */
    border: none;
    border-radius: 8px;
}


/* ========================================= */
/* RESPONSIVE STYLES                         */
/* ========================================= */

/* Medium screens (Tablets, small laptops) */
@media (max-width: 1024px) {
    body {
        padding-top: 23px;
        /* Adjust body padding for slightly smaller navbar */
    }

    .navbar {
        padding: 10px 25px;
        height: 60px;
    }

    .navbar-brand {
        font-size: 1.6rem;
    }

    .navbar-logo {
        height: 35px;
    }

    .navbar-links li a {
        font-size: 1.05rem;
        /* gap: 30px;  This property is for the parent flex container, not individual list items */
    }

    /* Corrected gap for navbar links */
    .navbar-links {
        gap: 30px;
    }

    .hero {
        height: 60vh;
        /* Slightly taller hero on medium screens */
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero .cta {
        padding: 12px 30px;
        font-size: 1rem;
    }

    section {
        padding: 70px 25px;
        margin: 50px auto;
    }

    section h2 {
        font-size: 2.5rem;
    }

    section p {
        font-size: 1.1rem;
    }

    .card-grid {
        gap: 30px;
    }

    .card {
        padding: 25px 30px;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    ul {
        font-size: 1.05rem;
    }

    .industry-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
        padding: 0 15px;
    }

    .industry-card {
        padding: 20px;
    }

    .industry-card h3 {
        font-size: 1.4rem;
    }

    .industry-card ul {
        font-size: 0.95rem;
    }

    #rec_job_listing_div {
        min-height: 500px;
    }

    .resume-upload-section {
        padding: 30px 20px;
    }

    .resume-upload-section p {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }

    .upload-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .form-container {
        padding: 25px;
    }

    .form-container iframe {
        height: 700px;
    }

    .contact-main-section {
        padding: 30px;
        gap: 30px;
        margin: 50px auto;
    }

    .contact-main-section h2 {
        font-size: 2.5rem;
    }

    .contact-cards-wrapper {
        gap: 20px;
        /* Slightly less gap between cards */
    }

    .info-card,
    .form-card {
        padding: 25px;
        min-width: 320px;
        /* Adjust min-width for smaller screens */
    }

    .info-card h3 {
        font-size: 1.6rem;
    }

    .contact-item {
        font-size: 1.05rem;
    }

    .contact-item i {
        font-size: 1.5rem;
    }

    .form-card iframe {
        min-height: 350px;
    }
}

/* Small screens (Mobile, Tablets in portrait) */
@media (max-width: 768px) {
    body {
        padding-top: 20px;
        /* Keep consistent padding */
    }

    .navbar {
        padding: 10px 20px;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-logo {
        height: 30px;
    }

    /* Hide regular navigation links */
    .navbar-links-wrapper {
        position: fixed;
        top: 60px;
        /* Start below the fixed navbar */
        left: 0;
        width: 100%;
        height: calc(100% - 60px);
        /* Fill remaining viewport height */
        background-color: #2C3E50;
        /* Match navbar background */
        flex-direction: column;
        justify-content: flex-start;
        /* Align content to top */
        align-items: center;
        padding-top: 20px;
        /* Padding inside the mobile menu */
        transform: translateX(100%);
        /* Start off-screen to the right */
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .navbar-links-wrapper.open {
        transform: translateX(0);
        /* Slide in */
    }

    .navbar-links {
        flex-direction: column;
        /* Stack links vertically */
        width: 100%;
        /* Take full width */
        gap: 20px;
        /* Space between vertical links */
        text-align: center;
        padding-left: 20px;
        /* 👈 Add space on the left */
        padding-right: 20px;
        /* 👈 Add space on the right */
        box-sizing: border-box;
    }

    .navbar-links li {
        width: 100%;
    }

    .navbar-links li a {
        font-size: 1.3rem;
        /* Larger font for mobile menu */
        display: block;
        /* Make links fill space for easier tapping */
        padding: 15px 0;
        /* More padding for tap target */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        /* Separator */
    }

    .navbar-links li:last-child a {
        border-bottom: none;
        /* No separator on last item */
    }

    .navbar-links li a::after {
        bottom: 5px;
        /* Adjust underline position for mobile menu */
    }

    /* Show hamburger icon */
    .hamburger {
        display: flex;
        /* Show hamburger icon */
    }

    /* Hero section adjustments */
    .hero {
        height: 50vh;
        /* Taller hero on smaller screens for better visual impact */
        margin-bottom: 0;
        /* Removed margin-bottom as it's handled by section margin-top */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero .cta {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    /* Section adjustments */
    section {
        padding: 50px 20px;
        margin: 40px auto;
    }

    section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    section h2::after {
        width: 60px;
        height: 4px;
        margin-top: 10px;
    }

    section p {
        font-size: 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        /* Stack cards on top of each other */
        gap: 25px;
    }

    .card {
        padding: 20px 25px;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    ul {
        font-size: 1rem;
        padding-left: 20px;
        /* Adjusted padding for smaller screens */
        margin: 30px auto;
    }

    ul li {
        padding-left: 0px;
        /* Adjusted padding for smaller screens (no checkmark) */
    }

    .industry-grid {
        grid-template-columns: 1fr;
        /* Stack cards on mobile */
        gap: 20px;
        padding: 0;
    }

    .industry-card {
        padding: 18px;
    }

    .industry-card h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .industry-card h3::after {
        margin: 10px auto 0;
    }

    .industry-card ul {
        font-size: 0.9rem;
    }

    #rec_job_listing_div {
        min-height: 400px;
    }

    .resume-upload-section {
        padding: 25px 15px;
    }

    .resume-upload-section p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .upload-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .form-container {
        padding: 20px;
    }

    .form-container iframe {
        height: 600px;
    }

    .contact-main-section {
        padding: 25px;
        gap: 25px;
        margin: 40px auto;
    }

    .contact-main-section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .contact-main-section h2::after {
        width: 60px;
        height: 4px;
        margin-top: 10px;
    }

    .contact-cards-wrapper {
        flex-direction: column;
        /* Stack cards vertically on smaller screens */
        gap: 25px;
        /* Gap when stacked */
    }

    .info-card,
    .form-card {
        min-width: unset;
        /* Remove min-width to allow full width */
        width: 100%;
        /* Take full width of parent */
        padding: 20px;
    }

    .info-card h3 {
        font-size: 1.4rem;
    }

    .contact-item {
        font-size: 1rem;
        justify-content: flex-start;
        /* Keep left alignment */
        text-align: left;
    }

    .contact-item i {
        font-size: 1.3rem;
    }

    .form-card iframe {
        min-height: 300px;
        /* Adjust for stacked forms */
    }


}

/* Very small screens (e.g., iPhone SE) */
@media (max-width: 480px) {
    .navbar {
        padding: 8px 15px;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .navbar-logo {
        height: 25px;
    }

    .navbar-links-wrapper {
        top: 55px;
        /* Adjust for potentially smaller navbar height */
        height: calc(100% - 55px);
    }

    .navbar-links li a {
        font-size: 1.1rem;
        padding: 12px 0;
    }

    .hero {
        height: 55vh;
        /* Even taller to ensure content fits */
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .cta {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    section {
        padding: 40px 15px;
        margin: 30px auto;
    }

    section h2 {
        font-size: 1.7rem;
        margin-bottom: 25px;
    }

    section p {
        font-size: 0.95rem;
    }

    .card {
        padding: 18px 20px;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    ul {
        font-size: 0.95rem;
        padding-left: 15px;
    }

    ul li {
        padding-left: 0px;
        /* Adjusted padding for smallest screens (no checkmark) */
    }

    .industry-card {
        padding: 15px;
    }

    .industry-card h3 {
        font-size: 1.1rem;
    }

    .industry-card ul {
        font-size: 0.85rem;
    }

    #rec_job_listing_div {
        min-height: 300px;
    }

    .resume-upload-section {
        padding: 20px 10px;
    }

    .upload-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .form-container {
        padding: 15px;
    }

    .form-container iframe {
        height: 500px;
    }

    .contact-main-section {
        padding: 20px;
        gap: 20px;
        margin: 30px auto;
    }

    .contact-main-section h2 {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }

    .info-card,
    .form-card {
        padding: 15px;
    }

    .info-card h3 {
        font-size: 1.2rem;
    }

    .contact-item {
        font-size: 0.95rem;
        gap: 10px;
    }

    .contact-item i {
        font-size: 1.2rem;
    }

    .form-card iframe {
        min-height: 250px;
    }

    footer {
        padding: 30px 15px;
        font-size: 0.9rem;
    }
}

html {
    scroll-behavior: smooth;
}

.contact-item .text-content p {
    margin: 0;
    text-align: left !important;
}
