:root {
    --bg-color: #0C0A07;
    --primary-color: #1F1B17;
    --accent-color: #FF5F00;
    --secondary-color: #00FFD1;
    --text-color: #F1EFEA;
    --soft-accent: #2E2822;
    --contrast-element: #F72585;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

h3 {
    font-size: 2rem;
    color: var(--accent-color);
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

p, h1, h2, h3, h4, h5, h6, li, a, span, label, input, textarea, select, th, td, div {
    color: #fff;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--soft-accent);
}

.navbar.scrolled {
    background-color: rgba(31, 27, 23, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(255, 95, 0, 0.1);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--secondary-color) !important;
}

.navbar-brand img {
    max-width: 140px;
    height: auto;
    display: block;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 95, 0, 0.2), transparent);
    transition: left 0.5s;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    background-color: rgba(255, 95, 0, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
    background-color: rgba(0, 255, 209, 0.1);
}

/* ===== HAMBURGER MENU ===== */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hamburger {
    margin-right: 25px;
    display: flex;
    flex-direction: column;
    width: 25px;
    height: 20px;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--primary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<sv g xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23FF5F00" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%2300FFD1" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23F72585" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></sv>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: slideInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    animation: slideInUp 1s ease-out 0.4s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(45deg, var(--accent-color), var(--contrast-element));
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 95, 0, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 209, 0.3);
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

/* ===== CARDS ===== */
.card {
    background-color: var(--soft-accent);
    border: none;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 95, 0, 0.2);
}

.card-title {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* ===== FORMS ===== */
.form-control {
    background-color: var(--soft-accent);
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: var(--primary-color);
    border-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 95, 0, 0.25);
}

.form-control::placeholder {
    color: rgba(241, 239, 234, 0.6);
}

.form-label {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-color);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--soft-accent);
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer p, .footer a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid var(--soft-accent);
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .btn-primary, .btn-outline-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-outline-primary {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
}

/* ===== ACCORDION STYLES ===== */
.accordion-item {
    background-color: var(--soft-accent);
    border: 1px solid var(--primary-color);
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--soft-accent);
    color: var(--text-color);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--accent-color);
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FF5F00'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300FFD1'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-button:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 95, 0, 0.25);
}

.accordion-body {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 1.5rem;
    border-top: 1px solid var(--primary-color);
}

/* ===== TABLE STYLES ===== */
.table {
    color: var(--text-color);
    border-color: var(--soft-accent);
}

.table th {
    border-color: var(--soft-accent);
    color: var(--secondary-color);
    font-weight: 600;
}

.table td {
    border-color: var(--soft-accent);
}

.table-dark {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.table-dark th,
.table-dark td {
    border-color: var(--soft-accent);
}

.table-bordered {
    border: 1px solid var(--soft-accent);
}

.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

/* ===== ALERT STYLES ===== */
.alert {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.alert-info {
    background-color: rgba(0, 255, 209, 0.1);
    color: var(--secondary-color);
    border-left: 4px solid var(--secondary-color);
}

.alert-success {
    background-color: rgba(0, 255, 0, 0.1);
    color: #00FF00;
    border-left: 4px solid #00FF00;
}

.alert-danger {
    background-color: rgba(247, 37, 133, 0.1);
    color: var(--contrast-element);
    border-left: 4px solid var(--contrast-element);
}

.alert-warning {
    background-color: rgba(255, 95, 0, 0.1);
    color: var(--accent-color);
    border-left: 4px solid var(--accent-color);
}

/* ===== BADGE STYLES ===== */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bg-accent {
    background-color: var(--accent-color) !important;
    color: var(--bg-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
    color: var(--bg-color) !important;
}

/* ===== FORM VALIDATION STYLES ===== */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: var(--secondary-color);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%2300FFD1' d='m2.3 6.73.94-.94 1.96 1.96 2.98-2.98.94.94-3.92 3.92z'/%3E%3C/svg%3E");
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: var(--contrast-element);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23F72585' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23F72585' stroke='none'/%3E%3C/svg%3E");
}

.invalid-feedback {
    color: var(--contrast-element);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ===== CLOSE BUTTON STYLES ===== */
.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
}

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

/* ===== LIST STYLES ===== */
.list-unstyled li {
    margin-bottom: 0.5rem;
}

.list-unstyled a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.list-unstyled a:hover {
    color: var(--accent-color);
}

/* ===== HERO SPECIFIC ANIMATIONS ===== */
.slide-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.slide-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--accent-color), var(--contrast-element));
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255, 95, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 95, 0, 0.4);
}

/* ===== FORM CHECK STYLES ===== */
.form-check-input {
    background-color: var(--soft-accent);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-check-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 95, 0, 0.25);
}

.form-check-label {
    color: var(--text-color);
    cursor: pointer;
}

/* ===== NOTIFICATION STYLES ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

/* ===== SELECT STYLES ===== */
select.form-control,
select.form-select {
    background-color: var(--soft-accent);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23FF5F00' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    padding-right: 2.5rem;
}

select.form-control:focus,
select.form-select:focus {
    background-color: var(--primary-color);
    border-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 95, 0, 0.25);
}

/* ===== PROGRESS BAR STYLES ===== */
.progress {
    background-color: var(--soft-accent);
    border-radius: 10px;
    height: 8px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* ===== TOOLTIP STYLES ===== */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--primary-color);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--primary-color);
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--primary-color);
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--primary-color);
}

/* ===== UTILITY CLASSES ===== */
.text-accent {
    color: var(--accent-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-contrast-element {
    color: var(--contrast-element);
}

.bg-soft {
    background-color: var(--soft-accent);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-accent {
    border-color: var(--accent-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(255, 95, 0, 0.1);
}

.shadow-custom-lg {
    box-shadow: 0 20px 40px rgba(255, 95, 0, 0.15);
}

.gradient-text {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--accent-color), var(--contrast-element));
}

.border-gradient {
    position: relative;
    background: var(--bg-color);
    border-radius: 10px;
}

.border-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    border-radius: 10px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

/* ===== LOADING ANIMATION ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--soft-accent);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* ===== PULSE ANIMATION ===== */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 95, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 95, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 95, 0, 0);
    }
}

/* ===== ENHANCED MOBILE STYLES ===== */
@media (max-width: 576px) {
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .accordion-button,
    .accordion-body {
        padding: 1rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .scroll-to-top,
    .notification,
    .btn,
    .hero::before {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section {
        padding: 1rem 0;
    }
    
    h1, h2, h3 {
        color: black !important;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    :root {
        --text-color: #FFFFFF;
        --bg-color: #000000;
        --accent-color: #FFD700;
        --secondary-color: #00FFFF;
    }
}

/* ===== FOCUS VISIBLE ENHANCEMENT ===== */
:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 4px;
}
/* ===== RIPPLE EFFECT ===== */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(20, 20, 20, 0.65);
    z-index: 9998;
    transition: opacity 0.3s;
    opacity: 1;
    pointer-events: all;
}

.cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    min-width: 320px;
    max-width: 95vw;
    width: 400px;
    background: var(--primary-color);
    border-radius: 22px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 12px 48px 0 rgba(0,0,0,0.35);
    padding: 2.2rem 1.7rem 1.5rem 1.7rem;
    z-index: 9999;
    text-align: center;
    animation: cookieBannerPopIn 0.45s cubic-bezier(.23,1.12,.32,1) both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

@keyframes cookieBannerPopIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.85);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.cookie-banner .bi-cookie {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.cookie-banner p {
    color: var(--text-color);
    font-size: 1.13rem;
    margin-bottom: 0.5rem;
}

.cookie-banner a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.2s;
}

.cookie-banner a:hover {
    color: var(--accent-color);
}

.cookie-banner .btn {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    margin: 0 0.3rem;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

#cookie-accept-btn {
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    color: #fff !important;
    border: none;
    box-shadow: 0 2px 12px 0 rgba(255,95,0,0.18);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-weight: 600;
    letter-spacing: 0.03em;
}

#cookie-manage-btn {
    font-weight: 500;
}

@media (max-width: 600px) {
    .cookie-banner {
        width: 98vw;
        min-width: unset;
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        border-radius: 14px;
        margin-bottom: 25px;
    }
    .cookie-banner .btn {
        min-width: 90px;
        font-size: 0.97rem;
        padding: 0.6rem 0.7rem;
        margin: 0.2rem 0.2rem;
    }
}

/* ===== SEARCH RESULTS ===== */
#searchResults {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    border: 1px solid var(--soft-accent);
    border-radius: 0 0 10px 10px;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-result-item {
    border-bottom: 1px solid var(--soft-accent);
    transition: background-color 0.3s ease;
}

.search-result-item:hover {
    background-color: var(--soft-accent);
}

.search-result-item:last-child {
    border-bottom: none;
}

/* ===== OFFICE HOURS STATUS ===== */
.office-hours-status {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse-status 2s infinite;
}

.status-indicator.open {
    background-color: #00ff00;
}

.status-indicator.closed {
    background-color: #ff6b6b;
}

@keyframes pulse-status {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(0, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

.status-indicator.closed {
    animation-name: pulse-status-closed;
}

@keyframes pulse-status-closed {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

/* ===== CHARACTER COUNTER ===== */
.character-counter {
    text-align: right;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ===== LAZY LOADING IMAGES ===== */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* ===== ENHANCED FORM STYLES ===== */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--accent-color);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating > .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 95, 0, 0.25);
}

/* ===== ENHANCED CARDS ===== */
.card-hover {
    transition: all 0.3s ease;
}

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

.card-header {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--bg-color);
    font-weight: 600;
    border-bottom: none;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
    border: 2px solid var(--soft-accent);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 95, 0, 0.1), transparent);
    transition: left 0.5s;
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 95, 0, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--accent-color), var(--contrast-element));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    background: var(--soft-accent);
    border-left: 4px solid var(--accent-color);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    border: 3px solid var(--accent-color);
}

/* ===== STATISTICS COUNTERS ===== */
.stat-counter {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--soft-accent);
}

/* ===== TIMELINE STYLES ===== */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: var(--soft-accent);
    border-radius: 10px;
    margin: 0 2rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -20px;
    border-left-color: var(--soft-accent);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    border-right-color: var(--soft-accent);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 1;
}

/* ===== ENHANCED MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }
    
    .timeline-content {
        margin-left: 4rem;
        margin-right: 0;
    }
    
    .timeline-content::before {
        left: -20px !important;
        border-right-color: var(--soft-accent) !important;
        border-left-color: transparent !important;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid var(--soft-accent);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .stat-counter {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .testimonial-card::before {
        font-size: 2rem;
        top: 5px;
        left: 10px;
    }
    
    .testimonial-avatar {
        width: 40px;
        height: 40px;
    }
    
    .timeline-content {
        margin-left: 3rem;
        padding: 1rem;
    }
    
    .timeline-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* ===== ADVANCED ANIMATIONS ===== */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80% {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }
    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.animate-fade-in-scale {
    animation: fadeInScale 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInFromLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInFromRight 0.6s ease-out;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out;
}

/* ===== ENHANCED SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

/* ===== SELECTION STYLES ===== */
::selection {
    background: var(--accent-color);
    color: var(--bg-color);
}

::-moz-selection {
    background: var(--accent-color);
    color: var(--bg-color);
}

/* ===== ENHANCED FOCUS STYLES ===== */
.btn:focus-visible,
.form-control:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 95, 0, 0.2);
}

/* ===== SKELETON LOADING ===== */
.skeleton {
    background: linear-gradient(90deg, var(--soft-accent) 25%, var(--primary-color) 50%, var(--soft-accent) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-text.large {
    height: 1.5rem;
}

.skeleton-text.small {
    height: 0.8rem;
    width: 60%;
}

.skeleton-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

/* ===== MODAL ENHANCEMENTS ===== */
.modal-content {
    background-color: var(--primary-color);
    border: 1px solid var(--soft-accent);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid var(--soft-accent);
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--bg-color);
    border-radius: 15px 15px 0 0;
}

.modal-footer {
    border-top: 1px solid var(--soft-accent);
    background-color: var(--soft-accent);
    border-radius: 0 0 15px 15px;
}

.modal-backdrop {
    background-color: rgba(12, 10, 7, 0.8);
    backdrop-filter: blur(5px);
}

/* ===== DROPDOWN ENHANCEMENTS ===== */
.dropdown-menu {
    background-color: var(--primary-color);
    border: 1px solid var(--soft-accent);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: var(--text-color);
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--soft-accent);
    color: var(--accent-color);
}

.dropdown-divider {
    border-color: var(--soft-accent);
}

/* ===== OFFCANVAS ENHANCEMENTS ===== */
.offcanvas {
    background-color: var(--primary-color);
    border-left: 2px solid var(--accent-color);
}

.offcanvas-header {
    border-bottom: 1px solid var(--soft-accent);
}

.offcanvas-title {
    color: var(--accent-color);
}

/* ===== BREADCRUMB ENHANCEMENTS ===== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: var(--text-color);
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--secondary-color);
    content: ">";
}

/* ===== SPINNER ENHANCEMENTS ===== */
.spinner-border {
    color: var(--accent-color);
}

.spinner-grow {
    color: var(--secondary-color);
}

/* ===== TOAST ENHANCEMENTS ===== */
.toast {
    background-color: var(--primary-color);
    border: 1px solid var(--soft-accent);
    color: var(--text-color);
}

.toast-header {
    background-color: var(--soft-accent);
    color: var(--text-color);
    border-bottom: 1px solid var(--primary-color);
}

/* ===== POPOVER ENHANCEMENTS ===== */
.popover {
    background-color: var(--primary-color);
    border: 1px solid var(--soft-accent);
    color: var(--text-color);
}

.popover-header {
    background-color: var(--soft-accent);
    color: var(--accent-color);
    border-bottom: 1px solid var(--primary-color);
}

.popover-arrow::before {
    border-color: var(--soft-accent);
}

.popover-arrow::after {
    border-color: var(--primary-color);
}

/* ===== ENHANCED UTILITIES ===== */
.text-gradient {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--contrast-element)) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color)) !important;
}

.border-gradient-primary {
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--accent-color), var(--secondary-color)) 1;
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(255, 95, 0, 0.3);
}

.shadow-glow-secondary {
    box-shadow: 0 0 20px rgba(0, 255, 209, 0.3);
}

/* ===== DARK MODE TOGGLE (if needed) ===== */
.theme-toggle {
    background: none;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* ===== PRINT OPTIMIZATIONS ===== */
@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
    
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    @page {
        margin: 1cm;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .card, .section {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

/* ===== FINAL RESPONSIVE TWEAKS ===== */
@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 0.6rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        margin-left: 2.5rem;
        padding: 0.8rem;
    }
    
    .timeline-icon {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    .ripple,
    .pulse,
    .loading,
    .skeleton {
        animation: none !important;
    }
    
    * {
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ===== FINAL POLISH ===== */
.smooth-edges {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.crisp-edges {
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-scroll {
    overflow: scroll;
}

.position-sticky {
    position: sticky;
    top: 80px;
    z-index: 10;
}

/* ===== CUSTOM HERO BACKGROUND IMAGE ===== */
.hero-bg-image {
    background: url('img/1.jpg') center center/cover no-repeat;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 10, 7, 0.7); /* dark overlay for readability */
    z-index: 1;
}

.hero-center-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
}

.hero-center-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
}

.hero-center-content p.lead {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #fff;
}

@media (max-width: 768px) {
    .hero-center-content h1 {
        font-size: 2rem;
    }
    .hero-center-content p.lead {
        font-size: 1.1rem;
    }
}

/* ===== CUSTOM VARIABLES ===== */

/* Mission/Vision Card Images */
.mission-img {
    width: 100%;
    max-width: 320px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12), 0 1.5px 6px rgba(0,0,0,0.10);
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

@media (max-width: 576px) {
    .mission-img {
        max-width: 100%;
        height: 120px;
        border-radius: 10px;
    }
}

#categories .card {
    flex: 1 1 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#categories .card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

#categories .card-body .text-center {
    margin-top: auto;
}

.bg-contrast-element {
    background-color: var(--contrast-element) !important;
    color: var(--bg-color) !important;
}

.contact-methods-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
}

.contact-methods-row > [class^="col-"] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 0;
    margin-right: 0;
    margin-bottom: 0;
}

.contact-methods-row .card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991.98px) {
    .contact-methods-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-methods-row > [class^="col-"] {
        max-width: 100%;
        min-width: 0;
        flex: 1 1 100%;
        margin-bottom: 1rem;
    }
    .contact-methods-row > [class^="col-"]:last-child {
        margin-bottom: 0;
    }
}

/* ===== ADDITIONAL SERVICES CARDS ALIGNMENT ===== */
#additional .card {
    min-height: 350px; /* Можно скорректировать под ваш макет */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#additional .card-title {
    font-size: 1.25rem;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#additional .card-text {
    font-size: 1rem;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#additional .text-center.text-accent {
    font-size: 1rem;
    margin-top: auto;
}

#additional .mb-3 > i {
    font-size: 3rem !important;
    display: inline-block;
    width: 3.5rem;
    height: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
}

/* Testimonials Section Avatar Images */
#testimonials .card-body img.rounded-circle {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 16px rgba(255, 95, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-right: 1rem;
}

#testimonials .card-body img.rounded-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(255, 95, 0, 0.25);
}

@media (max-width: 576px) {
    #testimonials .card-body img.rounded-circle {
        width: 56px;
        height: 56px;
    }
}

.team-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 16px rgba(255, 95, 0, 0.10);
    border: 3px solid var(--accent-color);
}

@media (max-width: 576px) {
    .team-img {
        width: 100px;
        height: 100px;
        margin-top: 0.7rem;
        margin-bottom: 0.7rem;
    }
}