/* ========================================
   TEK MASROVING PVT LTD - Main Stylesheet
   ======================================== */

/* Global Styles */
* {
    font-family: 'Manrope', sans-serif;
    scroll-behavior: smooth;
}

/* ========================================
   PRELOADER
   ======================================== */
.loader-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a1928;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #ff6b00;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   MOBILE FULLSCREEN MENU
   ======================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(12px);
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin: 1.5rem 0;
}

.mobile-nav-list a {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.mobile-nav-list a:hover {
    color: #ff6b00;
}

/* ========================================
   PARALLAX HELPER
   ======================================== */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* ========================================
   INDUSTRY CARD OVERLAY HOVER
   ======================================== */
.industry-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: all 0.3s;
}

.industry-card img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.industry-card:hover img {
    transform: scale(1.05);
}

.industry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #000000cc, transparent);
    padding: 1rem;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   VIDEO MODAL
   ======================================== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal iframe {
    width: 80%;
    height: 60%;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .video-modal iframe {
        width: 95%;
        height: 40%;
    }
}

/* ========================================
   MARQUEE ANIMATION FOR CLIENTS
   ======================================== */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    display: inline-flex;
    gap: 2rem;
    animation: scroll 25s linear infinite;
}

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

.client-badge {
    background: white;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.client-badge i {
    color: #ff6a1a;
    font-size: 1.2rem;
}

/* ========================================
   BOUNCE ARROW
   ======================================== */
.bounce-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ========================================
   HERO CONTENT ANIMATIONS
   ======================================== */
.hero-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.hero-content h1 {
    transition-delay: 0.2s;
}

.hero-content p {
    transition-delay: 0.4s;
}

.hero-content .hero-buttons {
    transition-delay: 0.6s;
}

/* ========================================
   SCROLL ANIMATION FOR CARDS
   ======================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FEATURE CARD HOVER EFFECTS
   ======================================== */
.feature-card:hover {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
}

.feature-card:hover .icon-wrapper {
    background: white !important;
    color: #ff6b00 !important;
}

.feature-card:hover h3 {
    color: white !important;
}

.feature-card:hover p {
    color: white !important;
}

/* ========================================
   ABOUT SECTION IMAGE ANIMATION
   ======================================== */
.about-image-wrapper {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-image-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-content-wrapper {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-content-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   ABOUT SECTION NEW STYLES
   ======================================== */
.about-two-left-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-two-left-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-two-right-content {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-two-right-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-tow-experience-years {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-tow-experience-years.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FACILITY CARDS SCROLL REVEAL
   ======================================== */
.facility-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.facility-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FUNFACT CARDS
   ======================================== */
.funfact-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.funfact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.funfact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

/* ========================================
   INDUSTRY CARDS SCROLL REVEAL
   ======================================== */
.industry-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.industry-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FLIP CARD STYLES
   ======================================== */
.flip-card {
    perspective: 1000px;
    height: 400px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-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: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.flip-card-front {
    background: white;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.flip-card:hover .flip-card-front img {
    transform: scale(1.1);
}

.flip-card-back {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    color: white;
}

.flip-card-back h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.flip-card-back p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.flip-card-back .facility-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

@media (max-width: 768px) {
    .flip-card {
        height: 300px;
    }
    .flip-card-back h3 {
        font-size: 1.2rem;
    }
    .flip-card-back p {
        font-size: 0.85rem;
    }
}

/* ========================================
   PAGE HEADER (Contact Page)
   ======================================== */
.page-header {
    background-image: url('../images/contact-header.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header .overlay {
    background: rgba(0, 0, 0, 0.65);
    padding: 8rem 0 6rem;
}

/* Contact card hover */
.contact-card {
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}

/* ========================================
   ABOUT PAGE SPECIFIC STYLES
   ======================================== */
/* Parallax Background */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Carousel */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Card hover effects */
.mission-vision-card {
    transition: all 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.2);
}

.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Certificate badge pulse */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
    }
}

.cert-badge:hover {
    animation: pulse-glow 1.5s infinite;
}

/* ========================================
   PRODUCTS PAGE SPECIFIC STYLES
   ======================================== */
/* Product Card Hover */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.2);
}
