:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #4361ee 0%, #4895ef 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}


.navbar.scrolled,
.navbar.navbar-solid {
    background: var(--dark-color) !important;
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: #fff !important;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.btn-cta {
    background: var(--gradient-primary);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.4);
}

.hero-section {
    min-height: 100vh;
    background: var(--gradient-dark);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slider .carousel-item {
    height: 100vh;
}

.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.8) 100%);
    z-index: 1;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%234361ee" opacity="0.3"/></svg>');
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    z-index: 1;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.4);
    color: #fff;
}

.btn-outline-custom {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline-custom:hover {
    background: #fff;
    color: var(--dark-color);
}

.floating-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    opacity: 0.2;
    top: 20%;
    right: 10%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    opacity: 0.15;
    top: 50%;
    right: 30%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: #fff;
    opacity: 0.1;
    top: 70%;
    right: 5%;
    animation-delay: 4s;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

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

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eee;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 80px rgba(67, 97, 238, 0.25);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1) rotateY(180deg);
}

.service-card:hover h4,
.service-card:hover p {
    color: #fff;
}

.service-card:hover .btn-learn-more {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #fff;
    transition: all 0.5s ease;
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.btn-learn-more {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.about-section {
    background: var(--light-color);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(67, 97, 238, 0.3);
}

.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0;
}

.counter-box {
    text-align: center;
    padding: 2rem;
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.counter-text {
    color: #666;
    font-weight: 500;
}

.goal-section {
    background: var(--gradient-dark);
    color: #fff;
}

.goal-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.goal-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.portfolio-section {
    background: #fff;
}

.portfolio-filters {
    margin-bottom: 3rem;
}

.portfolio-filters .btn {
    margin: 0.25rem;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 0.95;
}

.portfolio-item:hover img {
    transform: scale(1.15);
}

.portfolio-overlay h5 {
    color: #fff;
    font-weight: 700;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.portfolio-overlay p {
    color: rgba(255,255,255,0.8);
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay h5,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

.team-section {
    background: var(--light-color);
}

.team-card {
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    border: 1px solid #eee;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-color);
    transition: all 0.4s ease;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.team-card h5 {
    font-weight: 700;
    color: var(--dark-color);
}

.team-card .role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 50%;
    color: var(--dark-color);
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-3px);
}

.testimonial-section {
    background: var(--light-color);
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    margin: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-size: 1.1rem;
    color: #555;
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.15);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-content h5 {
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--dark-color);
}

.contact-section {
    background: var(--gradient-dark);
    color: #fff;
}

.contact-form {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
}

.contact-form .form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

.contact-info-box {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(10px);
}

.contact-info-box i {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--accent-color);
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.footer {
    background: var(--dark-color);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    color: #fff;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.process-step:hover .process-number {
    transform: scale(1.2);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.4);
}

.services-detail-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.services-detail-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.alert-success-custom {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
}

.page-header {
    min-height: 40vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%234361ee" opacity="0.3"/></svg>');
    background-size: 50px 50px;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-shapes {
        display: none;
    }
    
    .navbar-collapse {
        background: var(--dark-color);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .navbar {
        background: var(--dark-color) !important;
    }
    
    .btn-cta {
        margin-top: 1rem;
        display: block;
        text-align: center;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1rem;
    }
    
    .hero-slider .carousel-item {
        height: 100vh;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
    }
    
    .contact-info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info-box i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .team-image {
        width: 120px;
        height: 120px;
    }
    
    .portfolio-item img {
        height: 200px;
    }
    
    .testimonial-card {
        margin: 0.5rem;
        padding: 1.5rem;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    .page-header {
        min-height: 30vh;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .policy-content h4 {
        font-size: 1.2rem;
    }
    
    .policy-content ul {
        padding-left: 1.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .navbar-brand img {
        height: 40px !important;
    }
    
    .whatsapp-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

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