/* Global Reset & Variables */
:root {
    --primary-color: #90c12e;
    /* Vibrant Green */
    --secondary-color: #2b2e34;
    /* Charcoal Gray */
    --accent-color: #a8d644;
    /* Light Green */
    --dark-color: #2b2e34;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-color: #444;
    --footer-bg: #2b2e34;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(144, 193, 46, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(144, 193, 46, 0.4);
}

.w-100 {
    width: 100%;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 70px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links li a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--dark-color);
    padding: 8px 15px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Hero Slider */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    display: flex;
    align-items: flex-end;
    /* Text at bottom */
    padding-bottom: 80px;
    background: #000;
}

/* Background Image Container */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: scale(1);
    transition: transform 6s ease-out;
    /* Slow Zoom Effect */
    background-size: cover;
    background-position: center;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Zoom Effect on Active */
.slide.active .slide-bg {
    transform: scale(1.1);
}

.hero-text {
    position: relative;
    z-index: 3;
    text-align: center;
    /* Center aligned as per request */
    width: 100%;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transform: translateY(30px);
    transition: transform 1s ease-out, opacity 1s ease-out;
    opacity: 0;
}

.slide.active .hero-text {
    transform: translateY(0);
    opacity: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    border-radius: 5px;
}

.slider-btn:hover {
    background: var(--primary-color);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active,
.dot:hover {
    background: var(--white);
    transform: scale(1.2);
}

/* Section General */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--dark-color);
    position: relative;
}

/* About Us */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.vision-mission-item {
    margin-bottom: 20px;
}

.vision-mission-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.team-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.team-header img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.team-info h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-info .designation {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.team-info .company {
    color: #666;
    font-size: 0.85rem;
}

.team-body h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.team-body ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.team-body li {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-body p {
    font-size: 20px;
    color: #555;
    line-height: 1.5;
}

/* Clients Section Styling */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.client-logo img {
    height: auto;
    transition: transform 0.3s;
}

.client-logo img:hover {
    transform: scale(1.05);
}

.logo-large {
    max-height: 100px;
}

.logo-small {
    max-height: 80px;
}

/* Lightbox Styles */

/* Verticals */
.verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.vertical-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    text-align: center;
    border: 1px solid #eee;
}

.vertical-card:hover {
    transform: translateY(-5px);
}

.vertical-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.vertical-card h3 {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px;
    font-size: 1.3rem;
    margin: 0;
}

.vertical-card p {
    padding: 15px;
    font-size: 20px;
}

/* Process Grid & Cards */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.process-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(144, 193, 46, 0.1);
    z-index: -1;
    line-height: 1;
}

.process-card .step-icon {
    width: 50px;
    height: 50px;
    background: rgba(144, 193, 46, 0.1);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: 0.3s;
}

.process-card:hover .step-icon {
    background: var(--primary-color);
    color: white;
}

.process-card .step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-weight: 700;
}

.process-card .step-content p {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
}

/* Gallery */
.gallery-filters {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    border: 1px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    padding: 8px 20px;
    margin: 0 5px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
}

.gallery-item img:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-col p {
    font-size: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    font-size: 20px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 20px;
    color: #ccc;
}

/* Careers Section */
#careers {
    background-color: var(--white);
}

.career-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.career-info h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.career-info p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #555;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.career-form-container {
    background: var(--light-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.premium-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.premium-form .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.premium-form label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.premium-form input,
.premium-form select,
.premium-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 18px;
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.captcha-group {
    margin-top: 10px;
}

.captcha-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #e9ecef;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.captcha-code {
    background: #000;
    color: var(--primary-color);
    padding: 5px 15px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 5px;
    border-radius: 4px;
    user-select: none;
    text-shadow: 0 0 5px rgba(144, 193, 46, 0.5);
    min-width: 120px;
    text-align: center;
}

.refresh-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s, transform 0.3s;
    padding: 5px;
}

.refresh-btn:hover {
    color: var(--primary-color);
    transform: rotate(180deg);
}

.captcha-flex input {
    flex: 1;
    margin-bottom: 0 !important;
}

.form-status {
    margin-top: 15px;
    font-size: 18px;
    text-align: center;
}

.form-status.success {
    color: var(--primary-color);
    font-weight: 600;
}

.form-status.error {
    color: #e74c3c;
    font-weight: 600;
}

/* Media Queries */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .about-grid,
    .career-grid,
    .team-grid {
        gap: 30px;
    }

    .career-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: 0.5s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin-bottom: 20px;
    }

    .nav-links li a {
        font-size: 1.1rem;
    }

    .hero-slider-container {
        height: 500px;
    }

    .hero-text h1 {
        font-size: 2rem !important;
    }

    .hero-text p {
        font-size: 1rem !important;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    /* Standard Spacing for Mobile */
    .container {
        padding: 0 20px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .clients-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .logo-large,
    .logo-small {
        max-height: 70px;
    }

    .captcha-flex {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .captcha-code {
        width: 100%;
    }

    .step-number {
        font-size: 3rem;
        top: 0;
        right: 0;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .premium-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .career-form-container {
        padding: 20px;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.gallery-item img {
    cursor: pointer;
}