:root {
    --primary-color: #4e57ef;
    --secondary-color: #4e57ef;
    --dark-color: #2a2d43;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.btn {
    border-radius: var(--border-radius);
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #3a42d1;
    border-color: #3a42d1;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(78, 87, 239, 0.2);
}

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

.btn-secondary:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.2);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.section-title:hover h2:after {
    width: 100%;
}

.section-title p {
    font-size: 18px;
    color: var(--gray-color);
}

.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
}

.navbar-brand img {
    height: 40px;
    transition: var(--transition);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 15px;
    position: relative;
}

.navbar-light .navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover:before,
.navbar-light .navbar-nav .nav-link.active:before {
    width: 80%;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

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

.hero-section {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(78, 87, 239, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(78, 87, 239, 0.1);
    z-index: 0;
}

.hero-section:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    z-index: 0;
}

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

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray-color);
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

.hero-image {
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

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

.about-section {
    position: relative;
    overflow: hidden;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.about-features {
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-feature-item i {
    font-size: 30px;
    margin-bottom: 15px;
}

.abBlock {
    align-items: center;
}

.about-feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 87, 239, 0.1);
    border-radius: 50%;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 24px;
    transition: var(--transition);
}

.about-feature-item:hover .about-feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.about-feature-item h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-feature-item p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.about-feature-item:hover {
    transform: translateY(-5px);
}

.services-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.serBlock > div{
    margin-top: 50px;
}

.service-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(78, 87, 239, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    z-index: -1;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item:hover:before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 87, 239, 0.1);
    border-radius: 50%;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 28px;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-description {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.service-link {
    font-weight: 500;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

.features-section {
    position: relative;
}

.feature-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border-bottom: 1px solid #dee2e6;
}

.feature-tab {
    padding: 15px 25px;
    font-weight: 500;
    color: var(--gray-color);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.feature-tab:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.feature-tab.active {
    color: var(--primary-color);
}

.feature-tab.active:after,
.feature-tab:hover:after {
    width: 100%;
}

.feature-tab-content {
    display: none;
}

.feature-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.feature-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.feature-image img {
    transition: var(--transition);
}

.feature-image:hover img {
    transform: scale(1.05);
}

.feature-details h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-details p {
    color: var(--gray-color);
    margin-bottom: 25px;
}

.feature-list {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 87, 239, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 16px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.feature-content {
    flex: 1;
    overflow: visible;
    display: block;
}

.testimonials-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-text {
    position: relative;
    padding-left: 25px;
    margin-bottom: 25px;
    font-style: italic;
    color: var(--gray-color);
}

.testimonial-text:before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid rgba(78, 87, 239, 0.1);
    transition: var(--transition);
    flex-shrink: 0;
}

.testimonial-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card:hover .testimonial-author-img {
    border-color: var(--primary-color);
}

.testimonial-rating {
    margin-bottom: 15px;
    color: #ffc107;
}

.testimonial-author-info {
    flex: 1;
    overflow: hidden;
}

.testimonial-author-info h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-author-info p {
    color: var(--gray-color);
    margin-bottom: 0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-position {
    color: var(--gray-color);
    font-size: 14px;
}

.testimonial-rating {
    margin-top: 10px;
    color: #ffc107;
}

.contact-section {
    position: relative;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 87, 239, 0.1);
    border-radius: 50%;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 20px;
    transition: var(--transition);
}

.contact-info-item:hover .contact-info-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(360deg);
}

.contact-info-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info-text p,
.contact-info-text a {
    color: var(--gray-color);
    margin-bottom: 0;
}

.contact-info-text a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    height: 50px;
    border-radius: var(--border-radius);
    border: 1px solid #ced4da;
    padding: 10px 20px;
    transition: var(--transition);
}

textarea.form-control {
    height: 150px;
    resize: none;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 87, 239, 0.25);
}

.map-container {
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-section {
    background-color: var(--dark-color);
    color: white;
    position: relative;
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    color: white;
    font-weight: 700;
    font-size: 24px;
}

.footer-logo img {
    height: 40px;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-widget h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links li a:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: white;
    padding-left: 20px;
}

.footer-links li a:hover:before {
    left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact p i {
    width: 30px;
    color: var(--secondary-color);
    margin-right: 10px;
}

.footer-newsletter {
    position: relative;
    margin-top: 20px;
}

.footer-newsletter input {
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--border-radius);
    padding: 10px 60px 10px 20px;
    width: 100%;
    color: white;
}

.footer-newsletter input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.footer-newsletter button {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    width: 50px;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: white;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: white;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(42, 45, 67, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent p {
    margin-bottom: 0;
}

.cookie-consent a {
    color: var(--secondary-color);
}

.cookie-consent a:hover {
    color: white;
}

.cookie-btn {
    padding: 8px 20px;
}

.privacy-section {
    padding: 150px 0 100px;
}

.privacy-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.privacy-content .lead {
    color: var(--gray-color);
    margin-bottom: 40px;
}

.privacy-block {
    margin-bottom: 40px;
}

.privacy-block h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.privacy-block h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px;
}

.privacy-block p,
.privacy-block ul {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.privacy-block ul {
    padding-left: 20px;
}

.privacy-block ul li {
    margin-bottom: 10px;
}

.contact-details {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 42px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 991.98px) {
    section {
        padding: 80px 0;
    }
    
    .hero-section {
        padding: 150px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
    
    .feature-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .feature-tab {
        white-space: nowrap;
    }
    
    .feature-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding: 15px 0;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 20px;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 130px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 30px;
        margin-top: 40px;
    }
    
    .footer-top {
        padding: 60px 0 20px;
    }
    
    .footer-bottom-links {
        margin-top: 15px;
        text-align: left !important;
    }
    
    .footer-bottom-links a {
        margin-left: 0;
        margin-right: 20px;
    }
    
    .privacy-section {
        padding: 120px 0 60px;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .service-item,
    .testimonial-item,
    .contact-form {
        padding: 20px;
    }
    
    .cookie-consent .row {
        text-align: center;
    }
    
    .cookie-consent .text-md-right {
        text-align: center !important;
        margin-top: 15px;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh !important;
        padding: 60px 20px 20px;
        background-color: white;
        z-index: 1000;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-toggler {
        z-index: 1001;
        position: relative;
    }
    
    .navbar-toggler.collapsed {
        position: static;
    }
    
    .navbar-nav {
        margin-top: 20px;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }
    
    .navbar-light .navbar-nav .nav-link:before {
        left: 0;
        transform: none;
    }
    
    .navbar-light .navbar-nav .nav-link:hover:before,
    .navbar-light .navbar-nav .nav-link.active:before {
        width: 30px;
    }
}

.btn,
.navbar-brand,
.nav-link,
.service-item,
.testimonial-item,
.about-feature-icon,
.service-icon,
.contact-info-icon,
.footer-links li a,
.feature-list-icon {
    transition: var(--transition);
}

.btn:hover,
.service-item:hover,
.testimonial-item:hover {
    transform: translateY(-5px);
}

.about-feature-icon:hover,
.service-icon:hover,
.feature-list-icon:hover {
    transform: scale(1.1);
}

.contact-info-icon:hover {
    transform: rotate(360deg);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.footer-links li a:hover {
    padding-left: 20px;
}

input:focus,
textarea:focus {
    transform: translateY(-3px);
}

.service-item::after,
.testimonial-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.service-item:hover::after,
.testimonial-item:hover::after {
    width: 100%;
}

.btn-primary {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(78, 87, 239, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(78, 87, 239, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(78, 87, 239, 0);
    }
}