/* General */
.primary-2 {
    color: #b433f5;
}

.bg-purple{
    background-color: #611584;;
}

.gradient-effect {
    background: linear-gradient(135deg, #8f19ca, #ce60e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.2rem;
    position: relative;
    color: #7f47ac;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.19)
}

.section-title::after {
    content: "";
    width: 150px;
    height: 3px;
    background: linear-gradient(135deg, #ff9d6c, #ff6cab);
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}


/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-icon {
    font-size: 3rem;
    color: #8f19ca;
    animation: spin 1.2s linear infinite;
}

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

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}


/* NAVBAR */
.login-btn-gradient {
    background: linear-gradient(135deg, #8f19ca, #ce60e1);
    color: #fff;
    transition: all 0.3s ease-in-out;
    border: none;
}

.login-btn-gradient:hover {
    background: linear-gradient(135deg, #6f149c, #9947a7);
    color: #fff;
    transform: translateY(-4px);
}

.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
    font-size: 18px;
}

.navbar-nav .nav-link:hover {
    color: #b433f5 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #b433f5;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.transition-navbar {
    transition: all 0.3s ease-in-out;
    background: transparent;
    border-bottom: none;
}

.transition-navbar .nav-link,
.transition-navbar .navbar-brand h1,
.transition-navbar .navbar-brand small {
    color: white !important;
}

.transition-navbar .navbar-toggler {
    border-color: white;
}

.navbar-scrolled {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: none;
}

.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-brand h1,
.navbar-scrolled .navbar-brand small {
    color: #212529 !important;
}

.navbar-scrolled .navbar-toggler {
    border-color: #212529;
}


/* login card */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
    backface-visibility: hidden;
    background: url("../images/bgs/grey-1.jpg") no-repeat;
    background-size: cover;
    border-radius: .75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
}

.flip-card-front {
    transform: rotateY(0deg);
}

.flip-card-back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
    left: 0;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.modal-body,
.modal-content {
    background-color: transparent !important;
}

.modal-dialog-centered {
    align-items: flex-start !important;
}


/* hero */
.hero-section {
    height: 90vh;
    overflow: hidden;
}

.hero-video {
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -2222;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
}

.hero-section h1 {
    text-shadow: 0 2px 8px rgba(160, 156, 156, 0.6);
    letter-spacing: 0.5px;
    font-family: 'Open Sans';
}

.hero-section p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
    font-family: 'Lato';
}


/* features */
.features-section {
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.15), transparent 70%);
}

.feature-card {
    position: relative;
    border-radius: 18px;
    padding: 2px;
    background-color: #b93ba4ff;
    overflow: hidden;
    transition: all 0.35s ease;
}

.feature-card .card-body {
    position: relative;
    border-radius: 16px;
    background: #fff;
    padding: 20px;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 -4px 12px rgba(0, 0, 0, 0.08);
}


.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
}

.icon-box {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9d6c, #ff6cab);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s;
}

.feature-card .content {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
}


/* about */
.about-card {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.about-card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.about-text {
    padding-top: 10px;
    text-align: justify;
    color: #3c2a50;
    font-weight: 200;
}

.about-section {
    background: linear-gradient(135deg, #8f19ca, #ce60e1);
}


/* cta */
.cta-section {
    background: url("../images/bgs/grey-1.jpg") no-repeat;
    background-size: cover;
}

.cta-title {
    font-size: 2.2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
    margin-bottom: 1rem;
    font-family: '';
}

.cta-btn {
    background: linear-gradient(135deg, #ff9d6c, #ff6cab);
    animation: pulse 2s infinite ease-in-out;
    color: white;
}

.cta-btn:hover {
    color: beige;
}


/* contact */
.contact-header {
    background: linear-gradient(135deg, #8f19ca, #ce60e1);
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
}

.icon-circle {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff9d6c, #ff6cab);
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover .icon-circle {
    transform: scale(1.1);
}

.contact-item h5 {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #333;
}

.contact-item a {
    text-decoration: none;
}


/* hr */
.hr-with-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 60%;
    margin: 4rem 0;
}

.hr-with-logo::before,
.hr-with-logo::after {
    content: "";
    height: 1px;
    background: #ccc;
    flex: 1;
}

.hr-logo {
    display: block;
    max-height: 48px;
    max-width: 160px;
    object-fit: contain;
}

/* logo-carousel */
@keyframes logo-slides {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.logo_items {
    display: inline-block;
    animation: 35s logo-slides infinite linear;
}

.logos:hover .logo_items {
    animation-play-state: paused;
}

.logo_items img {
    height: 100px;
}


/* footer */
.footer a {
    color: #ffffff; 
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover, .footer i:hover {
    color: #ffc107;
    text-decoration: none;
}