* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Abstract Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0718cd 10%, #283593 25%, #3949AB 50%, #5C6BC0 75%, #7986CB 100%);
    z-index: -2;
    overflow: hidden;
}

.background::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 70%;
    height: 100%;
    background: linear-gradient(45deg, rgba(57, 73, 171, 0.4) 0%, transparent 60%);
    border-radius: 50% 20% 40% 30%;
    transform: rotate(-25deg);
    animation: wave1 8s ease-in-out infinite alternate;
}

.background::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 80%;
    height: 90%;
    background: linear-gradient(315deg, rgba(40, 53, 147, 0.5) 0%, transparent 70%);
    border-radius: 40% 60% 30% 50%;
    transform: rotate(15deg);
    animation: wave2 10s ease-in-out infinite alternate;
}

@keyframes wave1 {
    0% { transform: rotate(-25deg) translateY(0px); }
    100% { transform: rotate(-15deg) translateY(-20px); }
}

@keyframes wave2 {
    0% { transform: rotate(15deg) translateY(0px); }
    100% { transform: rotate(25deg) translateY(15px); }
}

/* Floating Elements */
.floating-dots {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.dot:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.dot:nth-child(2) { top: 40%; right: 15%; animation-delay: 1s; }
.dot:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 2s; }
.dot:nth-child(4) { top: 60%; right: 25%; animation-delay: 3s; }
.dot:nth-child(5) { bottom: 20%; right: 10%; animation-delay: 4s; }

/* Additional dots (6 to 50) */
.dot:nth-child(6) { top: 10%; left: 50%; animation-delay: 5s; }
.dot:nth-child(7) { top: 80%; right: 40%; animation-delay: 6s; }
.dot:nth-child(8) { bottom: 10%; left: 70%; animation-delay: 7s; }
.dot:nth-child(9) { top: 50%; right: 50%; animation-delay: 8s; }
.dot:nth-child(10) { bottom: 40%; left: 30%; animation-delay: 9s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 60, 114, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Main Content */
main {
    padding-top: 100px;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: slideUp 1s ease-out 0.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Companies Grid */
.companies-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

.company-card {
    background: rgba(30, 59, 153, 0.537);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 34, 126, 0.553), transparent);
    transition: left 0.6s ease;
}

.company-card:hover::before {
    left: 100%;
}

.company-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.company-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a7bc8, #74a9e8);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.company-card:hover .company-icon {
    transform: scale(1.1);
}

.company-card h3 {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.company-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.company-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #74a9e8;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.company-link:hover {
    color: white;
    transform: translateX(5px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    .company-card {
        padding: 2rem;
    }
}

/* Scroll Animation */
.scroll-indicator {
    position: fixed;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
    margin-top: 8rem;
    margin-bottom: 4rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}
