:root {
    --primary: #1a237e;
    --secondary: #00bcd4;
    --accent: #ff4081;
    --dark: #121212;
    --light: #f5f5f7;
    --gradient-primary: linear-gradient(135deg, #1a237e 0%, #283593 50%, #303f9f 100%);
    --gradient-secondary: linear-gradient(135deg, #00bcd4 0%, #00acc1 50%, #0097a7 100%);
    --gradient-accent: linear-gradient(135deg, #ff4081 0%, #f50057 50%, #c51162 100%);
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.logo-img {
width: clamp(120px, 18vw, 300px);
}

.navbar {
    background: var(--gradient-primary);
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: clamp(0.8rem, 4vw, 1.3rem);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.freshers-jobs-link {
    background-color: var(--accent);
    color: white !important;
    border-radius: 30px;
    padding: 0.5rem 1.0rem !important;
    font-weight: 600;
    font-size: clamp(0.5rem, 3vw,1.0rem);
    letter-spacing: clamp(0.05rem, 1vw, 0.2rem);
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.3);
    transition: all 0.3s ease;
}

.freshers-jobs-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 64, 129, 0.4);
}

/* Split Hero Section */
.split-hero {
    min-height: 65vh;
    display: flex;
    flex-wrap: wrap;
}

.hero-half {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-half::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
    text-align: center;
}

.hero-title {
    font-size: clamp(1.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(0.8rem, 4vw, 1.3rem);
    margin-bottom: 2rem;
    letter-spacing: 0.2rem;
    opacity: 0.9;
}

.hero-bullets {
    font-size: clamp(0.8rem, 4vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}
/* Full width freshers hiring */

/* Freshers Hero Section */
.freshers-hero-full {    
    background: linear-gradient(rgba(5, 112, 131, 0.8), rgba(7, 121, 136, 0.8)), url('https://knowbbies.com/img/hire-freshers-bg.png');            
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.freshers-hero-content {
    position: relative;
    z-index: 2;
}

.freshers-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.freshers-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.freshers-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.freshers-hero-stat {
    text-align: center;
}

.freshers-hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
}

.freshers-hero-stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Solution Section */
.solution-section {
    padding: 5rem 0;
    background: white;
}

.solution-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
    height: 100%;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.solution-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.solution-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.solution-subtitle {
    color: #121212;
    font-weight: 600;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.solution-features li {
    padding: 0.8rem 0;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
}

.solution-features li:last-child {
    border-bottom: none;
}

.solution-features li i {
    color: var(--secondary);
    margin-right: 1rem;
    margin-top: 0.2rem;
    font-size: 1.2rem;
}

/* Benefits Section */
.freshers-benefits-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.freshers-benefit-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.freshers-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.freshers-benefit-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.freshers-benefit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Talent Showcase */
.talent-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.talent-section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    color: var(--primary);
}

.talent-section-subtitle {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: rgb(27, 26, 26);    
    margin-left: auto;
    margin-right: auto;
}

.talent-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.talent-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.talent-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.talent-role {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.talent-body {
    padding: 2rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.skill-tag {
    background: var(--gradient-primary);
    color: rgb(238, 238, 238);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    font-size: clamp(0.5rem, 2vw, 1rem);
}

.talent-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.talent-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
}

.talent-features li i {
    color: var(--secondary);
    margin-right: 0.8rem;
    margin-top: 0.2rem;
}

/* Process Section */
.freshers-process-section {
    padding: 5rem 0;
    background: white;
}

.freshers-process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.freshers-process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 80%;
    height: 2px;
    background: var(--secondary);
    opacity: 0.3;
    z-index: 1;
}

.freshers-process-step:last-child::after {
    display: none;
}

.freshers-step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

/* Testimonials */
.freshers-testimonials-section {
    padding: 5rem 0;
    background: white;
}

.freshers-testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 1rem;
    position: relative;
}

.freshers-testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.freshers-testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.freshers-client-info {
    display: flex;
    align-items: center;
}

.freshers-client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}


/* Full width Employee Engagement Page css*/
/* Hero Section - More Impactful */
.engagement-hero-full {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.85) 0%, rgba(48, 63, 159, 0.85) 100%), 
                url('https://knowbbies.com/img/website-hero-images-test-1.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content-full {
    position: relative;
    z-index: 2;
}

.hero-title-full {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-full {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-stats-full {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

.hero-stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.btn-hero {
    background-color: white;
    color: var(--primary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: clamp(1rem, 4vw, 2rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--primary);
}

.engagement-hero {
    background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(26, 35, 126, 0.8)), url('https://knowbbies.com/img/website-hero-images-test-1.png');
    background-size: cover;
    background-position: center;
}

.freshers-hero {
    background: linear-gradient(rgba(0, 188, 212, 0.8), rgba(0, 188, 212, 0.8)), url('https://knowbbies.com/img/website-hero-images-test-4.png');
    background-size: cover;
    background-position: center;
}

/* Descriptive Text Section */
.descriptive-section {
    padding: 4rem 0;
    background-color: white;
}

.descriptive-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.descriptive-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: none;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--secondary);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Activities Showcase - More Visual */
.activities-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.activities-section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    color: var(--primary);
}

.activities-section-subtitle {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    margin-bottom: 2rem;
    position: relative;
}

.activity-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.activity-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.activity-image {
    height: 220px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.activity-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.activity-content {
    padding: 2rem;
}

.activity-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.activity-highlight {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.activity-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
}

.activity-features li:last-child {
    border-bottom: none;
}

.activity-features li i {
    color: var(--secondary);
    margin-right: 0.8rem;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

/* Results Section */
.results-section {
    padding: 5rem 0;    
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.result-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.result-card:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.result-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.result-text {
    color: #666;
    font-size: 1.1rem;
}


/* Gallery Section - Improved */
.gallery-section {
    padding: 5rem 0;
    background: white;
}

.gallery-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.gallery-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) #f1f1f1;
}

/* Custom scrollbar for webkit browsers */
.gallery-scroll::-webkit-scrollbar {
    width: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    height: 250px;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-note {
    font-size: 0.9rem;
}

/* Modal Styling */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background: var(--gradient-primary);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body img {
    max-height: 60vh;
    object-fit: contain;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Impact Statement Section */
.impact-section {
    padding: 5rem 0;
    background: white;
    text-align: center;
}

.impact-quote {
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--primary);
    line-height: 1.6;
}

.impact-author {
    font-weight: 600;
    color: var(--primary);
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

/* Industries Section */
.industries-section {
    padding: 5rem 0;
    background-color: white;
}

.industry-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.industry-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.stats-section {
    background: var(--dark);
    color: white;
    padding: 5rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.8;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.2;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

/* About Hero Section */
.about-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 64, 129, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 188, 212, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
    background-color: white;
}

.mission-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s ease;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 1;
}

.mission-content {
    position: relative;
    z-index: 2;
}

.mission-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.mission-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Values Section */
.about-values-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    color: var(--primary);
}

.about-section-subtitle {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-value-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.about-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.about-value-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background-color: white;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.team-image {
    height: 250px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    margin-top: 3rem;
}

.team-content {
    padding: 2rem;
}

.team-name {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-position {
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: center;
}

/* Stats Section */
.about-stats-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
}

.about-stat-item {
    text-align: center;
}

.about-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.about-stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Policy Content Section */
.policy-content {
    padding: 4rem 0;
    background-color: white;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--secondary);
}

.policy-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #444;
}

.policy-list {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.policy-note {
    background: #f8f9fa;
    border-left: 4px solid var(--secondary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.policy-note strong {
    color: var(--primary);
}

/* CTA Section */
.freshers-cta-section {
    background: linear-gradient(rgba(5, 112, 131, 0.8), rgba(7, 121, 136, 0.8)), url('https://knowbbies.com/img/hire-freshers-bg.png');            
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.freshers-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.freshers-cta-content {
    position: relative;
    z-index: 2;
}

.freshers-cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.freshers-cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.freshers-btn-cta {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 64, 129, 0.4);
    margin: 0 0.5rem 1rem;
}

.freshers-btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 64, 129, 0.5);
    background-color: #e91e63;
    color: white;
}

.freshers-btn-outline-light {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    margin: 0 0.5rem 1rem;
}

.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* CTA Section - More Compelling */
.cta-section-ee {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section-ee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://knowbbies.com/img/website-hero-images-test-1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title-ee {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.btn-cta {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 64, 129, 0.4);
    margin: 0 0.5rem 1rem;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 64, 129, 0.5);
    background-color: #e91e63;
    color: white;
}

.btn-outline-light {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    margin: 0 0.5rem 1rem;
}

.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .split-hero {
        flex-direction: column;
    }
    
    .hero-half {
        min-height: 50vh;
    }
    
    .descriptive-title {
        font-size: 1.8rem;
    }

    .gallery-scroll {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        max-height: 500px;
        gap: 1rem;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-overlay h5 {
        font-size: 1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.8rem;
    }

    .hero-title-full {
        font-size: 2.5rem;
    }
    
    .activities-section-title {
        font-size: 2.2rem;
    }
    
    .hero-stats-full {
        gap: 1.5rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .impact-quote {
        font-size: 1.5rem;
    }
    .freshers-hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .freshers-hero-stats {
        gap: 1.5rem;
    }
    
    .freshers-hero-stat-number {
        font-size: 2rem;
    }
    
    .freshers-process-step::after {
        display: none;
    }

    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-section-title {
        font-size: 2.2rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .mission-card {
        padding: 2rem;
    }
    
    .mission-title {
        font-size: 1.8rem;
    }
}

/* Technology Icons Strip Styles */
.tech-strip-section {
    background: var(--dark);
    overflow: hidden;
    position: relative;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.5rem;
}

.tech-strip-container {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.tech-strip-track {
    display: flex;
    animation: scroll-horizontal 30s linear infinite;
    gap: 2rem;
    padding: 0 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #1a237e 0%, #303f9f 100%);
    color: white;
}

.tech-item:hover i {
    color: white;
    transform: scale(1.2);
}

.tech-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #1a237e;
    transition: all 0.3s ease;
}

.tech-item span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.lead-modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;    
}

.lead-modal-header {
    background: linear-gradient(135deg, #1a237e 0%, #303f9f 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 1.5rem 2rem;    
}

.lead-modal-body {
    padding: 2rem;
}

.form-control {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 2px solid #06305a;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #1a237e;
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.25);
}

.captcha-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    border: 2px solid #e9ecef;
}

.captcha-text {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 3px;
    background: linear-gradient(45deg, #666, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.5rem;
    border: 1px dashed #ccc;
    border-radius: 5px;
    user-select: none;
}

.btn-submit {
    background: linear-gradient(135deg, #1a237e 0%, #303f9f 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.loader {
    display: none;
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1a237e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.refresh-captcha {
    background: none;
    border: none;
    color: #1a237e;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.refresh-captcha:hover {
    color: #303f9f;
    background: #f8f9fa;
}

.btn-open-modal {
    background: linear-gradient(135deg, #1a237e 0%, #303f9f 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-open-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.4);
}

/* Animation for continuous scrolling */
@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}

/* Pause animation on hover */
.tech-strip-track:hover {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1.3rem;
    }
    
    .tech-strip-track {
        gap: 1rem;
        animation-duration: 20s;
    }
    
    .tech-item {
        min-width: 80px;
        padding: 0.8rem 1rem;
    }
    
    .tech-item i {
        font-size: 2rem;
    }
    
    .tech-item span {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {

    .hero-title-full {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .activities-section-title {
        font-size: 1.8rem;
    }
    
    .tech-strip-track {
        gap: 0.5rem;
        animation-duration: 15s;
    }
    
    .tech-item {
        min-width: 70px;
        padding: 0.6rem 0.8rem;
    }
    
    .tech-item i {
        font-size: 1.8rem;
    }
    
    .tech-item span {
        font-size: 0.75rem;
    }

    .gallery-scroll {
        grid-template-columns: 1fr;
        max-height: 400px;
        gap: 0.8rem;
    }
    
    .gallery-item {
        height: 180px;
    }
    
    .modal-dialog {
        margin: 1rem;
    }

    .freshers-hero-title {
        font-size: 2rem;
    }
    
    .freshers-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .talent-section-title {
        font-size: 1.8rem;
    }
    
    .solution-card {
        padding: 2rem 1.5rem;        
    }

    .about-hero-title {
        font-size: 2rem;
    }
    
    .about-section-title {
        font-size: 1.8rem;
    }
}

/* Alternative: Static grid layout for mobile */
@media (max-width: 480px) {
    .tech-strip-container {
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .tech-strip-track {
        animation: none;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    /* Hide duplicated items on mobile */
    .tech-strip-track .tech-item:nth-child(n+9) {
        display: none;
    }
}
