/* animations.css - Premium animations and enhanced design elements */

/* New Color Theme */
:root {
    --primary-color: #f6dc00;
    /* Deep blue - trust, professionalism */
    --secondary-color: #f0f4f4;
    /* Lighter blue - financial stability */
    --accent-color: #f6dc00;
    /* Warm gold - wealth, premium */
    --highlight-color: #f6dc00;
    /* Original yellow for consistency */
    --dark-color: #1e1b18;
    /* Near black - elegance */
    --light-color: #f8f9fa;
    /* Off-white - clean look */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --box-shadow: 0 10px 30px rgba(10, 36, 99, 0.1);
}

/* Hero Section Animations */
.intro {
    position: relative;
    overflow: hidden;
}

.intro-text h1 {
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.intro-text p {
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.intro-text .buttons {
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.intro-img {
    animation: floatIn 1.2s ease-out;
    position: relative;
}

.intro-img::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    animation: morphBackground 15s ease-in-out infinite alternate;
}

/* Company Showcase Animations */
/* Background with animated particles */
.company-showcase {
    background: radial-gradient(circle at top left, #f9f9f9, #ffffff);
    position: relative;
    overflow: hidden;
}

/* Particle effect using pseudo-elements */
.company-showcase::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200%;
    height: 200%;
    background: url('https://cdn.jsdelivr.net/gh/VincentGarreau/particles.js/demo/media/particles-bg.png') repeat;
    opacity: 0.08;
    animation: moveParticles 60s linear infinite;
}

@keyframes moveParticles {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-200px, -200px);
    }
}

/* Particle background covers section */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.company-showcase>*:not(#particles-js) {
    position: relative;
    z-index: 1;
}


/* Company Card */
.company-logo {
    background: linear-gradient(135deg, #f6dc00, #fff9cc, #ffffff);
    height: 180px;
    border-radius: 15px;
    box-shadow: 0px 0px 10px #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    padding: 15px;
}

/* Logos fixed size */
.company-logo img {
    /* max-width: 60px; */
    max-height: 60px;
    margin-bottom: 10px;
    object-fit: contain;
}

/* Text */
.company-logo p {
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
    color: #333;
}

/* Hover effect - corner fill */
.company-logo::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    /* background: linear-gradient(135deg, #f6dc00, #fff9cc, #ffffff); */
    background: #f0f4f4;
    transform: rotate(45deg);
    transition: all 0.6s ease;
    z-index: 0;
}

.company-logo:hover::after {
    top: 0;
    left: 0;
}

.company-logo:hover {
    color: #333;
    font-weight: bold;
    transform: translateY(-6px);
}

.company-logo:hover p {
    color: #333;
    font-weight: bold;
}

.company-logo * {
    position: relative;
    z-index: 1;
}


/* ===== Section Backgrounds ===== */
.available-shares {
    width: 100%;
    background: linear-gradient(135deg, #f6fafa, #ffffff);
    position: relative;
    overflow: hidden;
}

.available-shares::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(33, 92, 92, 0.05);
    border-radius: 50%;
}

.available-shares::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: rgba(33, 92, 92, 0.07);
    border-radius: 50%;
}

.investment-process {
    width: 100%;
    background: linear-gradient(135deg, #f0f4f4, #ffffff);
    position: relative;
    overflow: hidden;
}

.investment-process::before {
    content: "";
    position: absolute;
    top: 20%;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(33, 92, 92, 0.05);
    border-radius: 50%;
}

.investment-process::after {
    content: "";
    position: absolute;
    bottom: 15%;
    right: -120px;
    width: 350px;
    height: 350px;
    background: rgba(33, 92, 92, 0.06);
    border-radius: 50%;
}

/* ===== Share Cards ===== */
.share-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.share-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.share-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #f6dc00, #fff176);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.share-card:hover::before {
    transform: scaleX(1);
}

/* ===== Process Steps ===== */

.process-flow {
    position: relative;
    padding: 50px 0;
  }
  .process-flow svg {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 0;
  }

.process-step {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.process-step .step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: linear-gradient(135deg, #f6dc00, #ffeb6652);
    color: #fff;
    border-radius: 50%;
    font-weight: bolder;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(33, 92, 92, 0.1);
}


/* Feature Cards Animation */
.feature-card,
.why-card,
.share-card,
.process-step {
    transition: transform .3s ease, box-shadow .3s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid transparent;
}

.feature-card:hover,
.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-bottom: 4px solid var(--accent-color);
}

/* Contact Form Animation */
.contact-form-container {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--gradient-primary);
}

.contact-form-container input,
.contact-form-container textarea {
    transition: all 0.3s ease;
    border: 2px solid transparent !important;
    background-color: var(--light-color) !important;
    border-radius: 8px !important;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    border: 2px solid var(--secondary-color) !important;
    transform: translateY(-2px);
}

.contact-info-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

/* Newsletter Section */
.update-news {
    background: #f6dc008f ;
    color: white;
    position: relative;
    overflow: hidden;
}

.update-news::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -50px;
}

.update-news::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -70px;
    left: 10%;
}

.update-news input {
    border-radius: 30px !important;
    padding: 15px 25px !important;
    border: none !important;
    box-shadow: var(--box-shadow);
}

.update-news button {
    border-radius: 30px;
    background: var(--accent-color);
    color: var(--dark-color);
    font-weight: bold;
    padding: 10px 30px;
    transition: all 0.3s ease;
}

.update-news button:hover {
    background: var(--dark-color);
    color: white;
    transform: translateX(5px);
}

/* Button Animations */
.btn-fill,
.btn-outline {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.btn-fill::before,
.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-fill:hover::before,
.btn-outline:hover::before {
    left: 0;
}

.btn-fill:hover,
.btn-outline:hover {
    color: var(--dark-color);
    /* border-color: var(--accent-color); */
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes morphBackground {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .intro-text,
    .intro-img {
        animation: fadeInUp 1s ease-out;
    }

    .process-step,
    .feature-card,
    .why-card,
    .share-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .process-flow svg {
      display: none; /* hide line on mobile */
    }
  }