﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    /*background: url('../img/internship.jpg') no-repeat center center/cover;*/
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Responsive for tablets and mobile */
@media (max-width: 768px) {
    .striped-marquee-wrapper {
        width: 90% !important; /* Use more screen space */
        padding: 15px; /* Add more padding */
        border-radius: 12px; /* Slightly smaller border radius */
    }

    .striped-marquee-text {
        font-size: 14px; /* Smaller font size */
    }
}

@media (max-width: 480px) {
    .striped-marquee-wrapper {
        width: 90% !important; /* Almost full width */
        padding: 12px;
        border-radius: 10px;
    }

    .striped-marquee-text {
        font-size: 10px!important; /* Even smaller for smaller screens */
    }
}

/* Wrapper with a sleek border and shadow */
.striped-marquee-wrapper {
    background-color: #fff;
    padding: 15px 20px;
    border: 2px solid #ff4d4d;
    border-radius: 12px;
    width: 25%;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Text styling with a bold, vibrant look */
.striped-marquee-text {
    font-size: 12px;
    font-weight: bold;
    color: #ff4d4d;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Subtle hover effect */
.striped-marquee-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}


.container1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 20px; /* Add padding for better spacing */
}


.card {
    background-color: rgba(255, 255, 255, 0.7); /* Slightly transparent white */
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: calc(33.33% - 20px);
    min-width: 280px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: fadeIn 0.8s ease;
    backdrop-filter: blur(8px); /* Adds a blur effect to the background */
    transform: perspective(1000px) translateZ(0);
    color: #333; /* Ensures text color is readable */
}

    .card:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        background-color: rgba(255, 255, 255, 0.85); /* Slightly darker on hover */
    }


.top-section {
    display: flex;
    align-items: center;
    /*margin-bottom: 10px;*/
}

.tag {
    color: #fff;
    background-color: #2563EB;
    padding: 5px 12px;
    border-radius: 5px 0 0 5px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    position: relative;
}

    .tag::after {
        content: "";
        position: absolute;
        top: 0;
        right: -10px;
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 10px solid #2563EB;
    }

.author {
    color: #2563EB;
    font-weight: bold;
    margin-left: 10px;
    font-size: 12px;
}

.title {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #555;
    font-size: 12px;
    margin-bottom: 10px;
}

.description {
    color: #777;
    margin-bottom: 15px;
    font-size: 13px;
}

.bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.button1 {
    background: linear-gradient(90deg, #2563EB, #00C6FF);
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.3s ease;
}

    .button1:hover {
        background: linear-gradient(90deg, #00C6FF, #2563EB);
        transform: scale(1.05);
        color: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .card {
        width: 100%;
    }
}

.header-logo-support {
    border-bottom: 1px solid #cecece;
    background-color: white !important;
}

.navigation {
    background-color: white !important;
}

.marquee-container {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    background-color: #fff;
    color: #fff;
    padding: 10px 0;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%; /* Start off-screen */
    color: red;
    animation: marquee 15s linear infinite;
    font-size: 0.8rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.bg_cover {
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    height: auto !important;
}


/*--------------------------- form loading -------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex; /* Using Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.loader-container {
    position: relative;
    width: 100px;
    height: 100px;
    /*top:50px;
    left:50px;*/
}

.rotating-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid transparent;
    animation: spin 5s linear infinite;
    top: -60px;
    left: -60px;
}

    .rotating-circle:nth-child(1) {
        border-top: 4px solid #6aaf08;
        animation-duration: 3s;
    }

    .rotating-circle:nth-child(2) {
        border-bottom: 4px solid black;
        animation-duration: 2s;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.loader-container img {
    position: absolute;
    /*   top: 0;
    left: 30%; */
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    animation: fadeBounce 2s infinite alternate;
}

/* Simple fade and bounce effect */
@keyframes fadeBounce {
    0% {
        opacity: 0.5; /* Start with low opacity */
        transform: translate(-50%, -50%) translateY(-10px); /* Move image up */
    }

    100% {
        opacity: 1; /* Full opacity */
        transform: translate(-50%, -50%) translateY(10px); /* Move image down */
    }
}
