/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Audiowide&display=swap');

:root {
    --bg-dark: #0f0f12;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --primary-color: #6366f1;
    --text-main: #ffffff;
    --text-muted: #d4d4d8;
    /* Ligther gray for better contrast */

    --glow-color: rgba(99, 102, 241, 0.5);
    --blur-amt: 12px;
}

/* Sticky Mobile Call Button */
.sticky-mobile-call {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    animation: bounceIn 1s;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography & Utils */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Custom styling for the Unealta brand logo in the navbar */
.navbar-logo-unealta {
    font-family: 'Audiowide', cursive;
    font-size: 1.7rem; /* Slightly larger as requested */
    text-transform: uppercase;
    line-height: 1; /* Adjust line height for better vertical alignment */
}

/* Navbar */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
}

.blur-bg {
    background: rgba(15, 15, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-link {
    font-weight: 500;
    font-size: 1.1rem;
    /* Increased from default */
    padding: 0.75rem 1rem !important;
    /* Larger touch target */
    color: var(--text-muted) !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: var(--border-color);
    color: var(--text-muted);
}

.btn-outline-light:hover {
    background: var(--bg-card);
    color: #fff;
    border-color: #fff;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
}

.glow-effect {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.glow-top-right {
    top: -200px;
    right: -200px;
}

.glow-bottom-left {
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(var(--blur-amt));
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.transform-scale-sm {
    transform: scale(1.05);
    z-index: 2;
}

@media (max-width: 991px) {
    .transform-scale-sm {
        transform: scale(1);
        z-index: 1;
        margin: 2rem 0;
    }
}

/* Forms */
.form-control {
    border-color: var(--border-color);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
    color: #fff;
}

.bg-black-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Bonus Card Highlight - Netflix Style */
.bonus-card {
    background: linear-gradient(135deg, #000 0%, #3a0ca3 100%);
    border: 2px solid #f72585;
    box-shadow: 0 0 50px rgba(247, 37, 133, 0.5);
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bonus-card:hover {
    transform: scale(1.05);
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* Accordion (FAQ) */
.accordion-item {
    background: transparent;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-card);
    color: #fff;
    box-shadow: none;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.1);
    color: #fff;
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-muted);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Custom Select */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select:focus {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
    color: #fff;
}

/* Modal Styles */
.modal-content.glass-card {
    background: rgba(15, 15, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.modal-header {
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-backdrop.show {
    opacity: 0.8;
}

/* Specific Modal Input Focus */
.modal-content .form-control:focus,
.modal-content .form-select:focus {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Mobile optimizations for Testimonials */
@media (max-width: 768px) {

    #testimonialCarousel .carousel-control-prev,
    #testimonialCarousel .carousel-control-next {
        display: none;
    }

    /* Redesign Testimonials Card for Mobile */
    #testimonialCarousel .carousel-item .row.align-items-center {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "image header"
            "review review";
        gap: 15px;
        align-items: center;
        text-align: left !important;
    }

    /* Image Container */
    #testimonialCarousel .col-md-3 {
        grid-area: image;
        margin-bottom: 0 !important;
        padding: 0;
        width: 80px;
        /* Fixed width for consistency */
    }

    /* Info Container (Name, Company, Stars) */
    #testimonialCarousel .col-md-9 {
        display: contents;
        /* Flattens the hierarchy */
    }

    #testimonialCarousel .col-md-9 .mb-3 {
        grid-area: header;
        margin-bottom: 0 !important;
        text-align: left;
        padding-left: 10px;
    }

    /* Review Text */
    #testimonialCarousel .col-md-9 p {
        grid-area: review;
        grid-column: 1 / -1;
        /* Spans full width */
        margin-top: 10px;
        font-size: 0.95rem;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(15, 15, 18, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    z-index: 1020;
    padding: 15px 0;
    display: flex;
    align-items: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
    body {
        padding-bottom: 80px;
    }
}

/* Custom WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border: none;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
    font-size: 1.1rem;
    padding: 0.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
    color: #fff;
}