


:root {
    --primary: #950dbe ;
    --secondary: #5646e5;
    --accent: #802597;
    --light: #f3f4f6;
}

body {
    background: #f8fafc;
    overflow-x: hidden;
}

.hero {
min-height: 100vh;
position: relative;
overflow: hidden;

background: 
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), /* Add a semi-transparent color */
    url("../img/companybg.jpeg") 
    no-repeat center center/cover;
background-blend-mode: overlay; /* Blend the color with the image */
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 20%, rgba(255,255,255,0.1) 20%, rgba(255,255,255,0.1) 21%, transparent 21%);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    color: white;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    animation: slideUp 1s ease-out;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.stat-card:hover {
    transform: translateY(-10px) rotateX(10deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1rem 0;
    counter-reset: stat-counter;
    animation: countUp 2s ease-out forwards;
}

.process-timeline {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    /* border: 1px solid blueviolet !important; */
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;    }

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
}

.companies-section {
    background: linear-gradient(135deg, #f6f7ff, #eef1ff);
    padding: 4rem 2rem;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.company-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.8), transparent);
    top: 0;
    left: -100%;
    transition: 0.5s;
}

.company-card:hover::before {
    left: 100%;
}

.placement-history {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.history-chart {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
    position: relative;
    overflow: hidden;
}

.chart-bar {
    position: absolute;
    bottom: 0;
    width: 40px;
    background: var(--primary);
    border-radius: 10px 10px 0 0;
    transition: height 1s ease;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.dot {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}
#heroPlacementChart{
    margin-bottom: 2rem;
}
.graph-container {
width: 100%;
height: 500px;
margin-top: 1rem;
padding: 1rem;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(5px);
border-radius: 20px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
.graph-container {
    height: 200px;
}
}
