.text-primary-second {
    color: #A8365A;
}

.bg-brand-gradient {
    background: linear-gradient(135deg, #fc6f22, #A8365A, #ba165f);
    position: relative;
    z-index: 1;
}

.bg-brand-gradient-only {
    background: linear-gradient(135deg, #fc6f22, #A8365A, #ba165f);
}

.bg-brand-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
    opacity: 0.9;
}

.bg-brand-gradient .text-primary, .bg-brand-gradient-only .text-primary,
.bg-brand-gradient h2, .bg-brand-gradient-only h2,
.bg-brand-gradient h5, .bg-brand-gradient-only h5,
.bg-brand-gradient p, .bg-brand-gradient-only p,
.bg-brand-gradient strong, .bg-brand-gradient-only strong,
.bg-brand-gradient span, .bg-brand-gradient-only span {
    color: #fff !important;
}

.bg-brand-gradient .text-primary-second {
    color: #ff8848 !important;
}

:root {
    --orange: #fc6f22;
    --pink: #ba165f;
}

.textured-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(252, 111, 34, 0.07) 100%, rgba(186, 22, 95, 0.07) 100%);
    overflow: hidden;
}

.textured-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 20% 80%, rgba(252, 111, 34, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(186, 22, 95, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(252, 111, 34, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-icon {
    position: absolute;
    opacity: 0.06;
    font-size: 24px;
    animation: float 20s infinite linear;
}

.geo-icon.orange { color: var(--orange); }
.geo-icon.pink { color: var(--pink); }

.geo-icon.size-sm { font-size: 16px; opacity: 0.1; }
.geo-icon.size-md { font-size: 32px; opacity: 0.12; }
.geo-icon.size-lg { font-size: 48px; opacity: 0.15; }
.geo-icon.size-xl { font-size: 64px; opacity: 0.2; }

@keyframes float {
    0% { transform: translateY(0px); }
    33% { transform: translateY(-10px); }
    66% { transform: translateY(5px); }
    100% { transform: translateY(0px); }
}

/* Icon positioning */
.geo-icon:nth-child(1) { top: 10%; left: 5%; animation-delay: -2s; }
.geo-icon:nth-child(2) { top: 20%; right: 10%; animation-delay: -4s; }
.geo-icon:nth-child(3) { top: 35%; left: 15%; animation-delay: -1s; }
.geo-icon:nth-child(4) { top: 45%; right: 20%; animation-delay: -6s; }
.geo-icon:nth-child(5) { top: 60%; left: 8%; animation-delay: -3s; }
.geo-icon:nth-child(6) { top: 70%; right: 15%; animation-delay: -5s; }
.geo-icon:nth-child(7) { top: 80%; left: 25%; animation-delay: -7s; }
.geo-icon:nth-child(8) { top: 15%; left: 50%; animation-delay: -8s; }
.geo-icon:nth-child(9) { top: 85%; right: 5%; animation-delay: -1.5s; }
.geo-icon:nth-child(10) { top: 25%; left: 70%; animation-delay: -4.5s; }
.geo-icon:nth-child(11) { top: 55%; right: 60%; animation-delay: -2.5s; }
.geo-icon:nth-child(12) { top: 75%; left: 60%; animation-delay: -6.5s; }
.geo-icon:nth-child(13) { top: 5%; right: 30%; animation-delay: -3.5s; }
.geo-icon:nth-child(14) { top: 90%; left: 40%; animation-delay: -5.5s; }
.geo-icon:nth-child(15) { top: 40%; right: 40%; animation-delay: -7.5s; }
.geo-icon:nth-child(16) { top: 65%; left: 80%; animation-delay: -1.8s; }
.geo-icon:nth-child(17) { top: 30%; right: 70%; animation-delay: -4.8s; }
.geo-icon:nth-child(18) { top: 85%; right: 80%; animation-delay: -2.8s; }

.banner-content {
    position: relative;
    z-index: 2;
}


.btn-primary {
    background-color: var(--pink);
    border-color: var(--pink);
}

.btn-primary:hover {
    background-color: #9d1350;
    border-color: #9d1350;
}

.btn-outline-primary {
    color: var(--pink);
    border-color: var(--pink);
}

.btn-outline-primary:hover {
    background-color: var(--pink);
    border-color: var(--pink);
}

.text-warning {
    color: var(--orange) !important;
}

/* Pattern Background */
.bg-pattern {
    position: relative;
    background-image: url('../images/patternBg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

/* Ensure content in bg-pattern sections is above the overlay */
.bg-pattern .row,
.bg-pattern .container,
.bg-pattern .col,
.bg-pattern .card {
    position: relative;
    z-index: 2;
}

/* Dark mode overlay for pattern background */
[data-bs-theme="dark"] .bg-pattern::before {
    background-color: rgba(33, 37, 41, 0.85); /* Bootstrap dark background with opacity */
}

/* Testimonials Section Styling */
.testimonials-section {
    position: relative;
    background-color: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.testimonial-icons {
    z-index: 0;
}

.testimonial-icons .geo-icon {
    opacity: 0.08;
}

.testimonial-icons .geo-icon.size-xl {
    font-size: 80px;
}

.testimonials-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(252, 111, 34, 0.1), rgba(186, 22, 95, 0.1));
    z-index: 0;
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: var(--pink);
    opacity: 0.7;
}

.testimonial-card {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--orange), var(--pink));
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-card .card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.testimonial-card .swiper-slide {
    position: relative;
    padding: 10px 5px;
}

.testimonial-card .swiper-slide::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 80px;
    font-family: serif;
    color: rgba(252, 111, 34, 0.1);
    z-index: 0;
}

.testimonial-card .swiper-slide::after {
    content: '"';
    position: absolute;
    bottom: -60px;
    right: -10px;
    font-size: 80px;
    font-family: serif;
    color: rgba(186, 22, 95, 0.1);
    z-index: 0;
}

.testimonial-card q {
    position: relative;
    z-index: 1;
}

.testimonial-card .avatar-img {
    border: 3px solid rgba(252, 111, 34, 0.2);
    transition: transform 0.3s ease;
}

.testimonial-card .avatar:hover .avatar-img {
    transform: scale(1.1);
}

/* Dark mode adjustments for testimonials */
[data-bs-theme="dark"] .testimonials-bg-overlay {
    background: linear-gradient(135deg, rgba(252, 111, 34, 0.15), rgba(186, 22, 95, 0.15));
}

[data-bs-theme="dark"] .testimonial-card {
    background: linear-gradient(to bottom right, rgba(33, 37, 41, 0.95), rgba(33, 37, 41, 0.98));
}

[data-bs-theme="dark"] .testimonial-card .card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
