/* ========================================
   MNM Placements - Enhanced Stylesheet
   Interactive Recruitment Website
   ======================================== */

/* ========== CSS Variables ========== */
:root {
    --primary-color: #8B7355;
    --primary-light: #D4C4A8;
    --primary-dark: #6B5745;
    --secondary-color: #F5E6D3;
    --accent-color: #1a365d;
    --text-dark: #2D3748;
    --text-light: #718096;
    --white: #FFFFFF;
    --light-bg: #FBF8F3;
    --border-color: #E2DED3;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========== Container ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Animated Marquee Header ========== */
.marquee-container {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 1000;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    display: inline-block;
    padding: 0 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* ========== Top Bar ========== */
.top-bar {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-left {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
}

.top-bar-left a:hover {
    color: var(--secondary-color);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ========== Navigation ========== */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.logo-sub {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-menu a {
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: var(--transition-normal);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

.nav-menu a.btn-nav {
    background-color: var(--primary-color);
    color: var(--white);
    margin-left: 10px;
}

.nav-menu a.btn-nav:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== Hero Carousel ========== */
.hero-carousel {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    height: 100%;
}

.carousel-slides {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomIn 10s ease-out forwards;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.carousel-slide.active .carousel-image {
    animation: zoomIn 10s ease-out forwards;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85), rgba(139, 115, 85, 0.75));
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    max-width: 800px;
}

.carousel-slide.active .carousel-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-content .highlight {
    color: var(--secondary-color);
}

.carousel-content p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-normal);
    cursor: pointer;
}

.indicator.active,
.indicator:hover {
    background-color: var(--white);
    transform: scale(1.3);
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-normal);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

/* ========== Stats Section ========== */
.stats-section {
    background-color: var(--white);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-item {
    background-color: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    display: inline-block;
}

.stat-suffix {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    display: inline-block;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    margin-top: 10px;
    font-weight: 500;
}

/* ========== Sections ========== */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.lead {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ========== About Preview Section ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.features-list {
    margin: 30px 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-dark);
}

.features-list i {
    color: var(--primary-color);
    font-size: 20px;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 14px;
    margin-top: 5px;
}

/* ========== Services Section ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border-radius: 50%;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== Industries Section ========== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.industry-card {
    perspective: 1000px;
    height: 450px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.industry-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.flip-card-front {
    background-color: var(--white);
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.industry-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.industry-content {
    padding: 30px;
    text-align: center;
}

.industry-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border-radius: 50%;
}

.industry-content h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.industry-content p {
    color: var(--text-light);
    font-size: 16px;
}

.flip-card-back h3 {
    font-size: 28px;
    margin-bottom: 25px;
}

.flip-card-back ul {
    margin-bottom: 30px;
}

.flip-card-back li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 16px;
}

.flip-card-back i {
    font-size: 16px;
}

.btn-flip {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-flip:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

/* ========== Countries Section ========== */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.country-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.country-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.country-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.country-card:hover .country-image {
    transform: scale(1.1);
}

.country-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
    z-index: 1;
}

.country-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
}

.country-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.country-content p {
    font-size: 16px;
    opacity: 0.9;
}

.country-flag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
}

/* ========== Client Logos Carousel ========== */
.clients-section {
    background-color: var(--white);
}

.clients-carousel {
    overflow: hidden;
    position: relative;
}

.clients-track {
    display: flex;
    gap: 60px;
    animation: scroll 25s linear infinite;
}

.client-logo {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--light-bg);
    transition: var(--transition-normal);
}

.client-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-normal);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 6 - 60px * 6));
    }
}

.clients-carousel:hover .clients-track {
    animation-play-state: paused;
}

/* ========== Testimonials Carousel ========== */
.testimonials-carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials-carousel {
    overflow: hidden;
    border-radius: 12px;
}

.testimonial-slides {
    position: relative;
    min-height: 350px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.testimonial-slide.active {
    opacity: 1;
    z-index: 1;
}

.testimonial-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 25px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
    font-style: italic;
    min-height: 100px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

.testimonial-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.testimonial-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-prev {
    left: -60px;
}

.testimonial-next {
    right: -60px;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    transition: var(--transition-normal);
    cursor: pointer;
}

.testimonial-indicator.active,
.testimonial-indicator:hover {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* ========== CTA Section ========== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9), rgba(139, 115, 85, 0.85));
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Footer ========== */
.footer {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li i {
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* ========== WhatsApp Floating Button ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ========== Progress Bar ========== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 10000;
    transition: width 0.2s ease;
}

/* ========== Scroll Animations ========== */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.fade-in-left.visible {
    animation: fadeInLeft 0.8s ease-out forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.fade-in-right.visible {
    animation: fadeInRight 0.8s ease-out forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Interactive Cards */
.interactive-card {
    transition: var(--transition-normal);
}

.interactive-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-prev {
        left: 10px;
    }
    
    .testimonial-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
        z-index: 998;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu a {
        width: 100%;
        padding: 15px;
        text-align: center;
    }
    
    .hero-carousel {
        height: 550px;
    }
    
    .carousel-content h1 {
        font-size: 36px;
    }
    
    .carousel-content p {
        font-size: 16px;
    }
    
    .carousel-prev {
        left: 15px;
    }
    
    .carousel-next {
        right: 15px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .stat-number,
    .stat-suffix {
        font-size: 36px;
    }
    
    .services-grid,
    .countries-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .back-to-top {
        bottom: 90px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-carousel {
        height: 450px;
    }
    
    .carousel-content h1 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 16px;
        min-height: auto;
    }
}