:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --dark-color: #1e1e2f;
    --light-color: #f8f9fa;
    --success-color: #4cc9f0;
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background: #F54964;
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff, var(--success-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    transition: transform 0.3s ease;
}

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

.navbar-brand span {
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, var(--success-color));
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

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

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(67, 97, 238, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 10, 31, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 0.8rem 1rem !important;
        border-radius: 8px;
    }
    
    .nav-link:hover {
        background: rgba(67, 97, 238, 0.1);
        transform: translateX(5px);
    }
    
    .nav-link::before {
        display: none;
    }
}

/* Mega Menu */
.dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    width: 500px;
    padding: 1.5rem;
    background: #F54964;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(67, 97, 238, 0.2);
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.mega-menu h6 {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.mega-menu a {
    display: block;
    color: #ffffff;
    padding: 0.6rem 0;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.mega-menu a:hover {
    color: #ffffff;
    padding-left: 10px;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .mega-menu {
        position: static;
        width: 100%;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);
    }
    
    .mega-menu h6 {
        color: #ffffff;
    }
    
    .mega-menu a {
        color: white;
    }
    
    .dropdown:hover .mega-menu {
        transform: translateY(0);
    }
}

/* Hero Carousel */
.hero-carousel {
    margin-top: 76px;
}

.carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-caption {
    z-index: 2;
    bottom: 50%;
    transform: translateY(50%);
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    padding: 2rem;
    border-radius: 20px;
    max-width: 60%;
    left: 5%;
    right: auto;
    text-align: left;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.carousel-caption .btn {
    animation: fadeInUp 1.2s ease;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

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

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

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: white;
    opacity: 0.5;
    transition: all 0.3s;
}

.carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.2);
    background-color: #ffffff;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Stats Section */
.stats-section {
    background: #F54964;
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background-color: white;
}

.testimonial-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    margin: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

/* Service Feature */
.service-feature {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Pricing Card */
.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    margin-bottom: 30px;
}

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

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    font-weight: normal;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 60px;
    margin-top: 76px;
}

/* About Content */
.about-content {
    padding: 80px 0;
}

.mission-vision {
    background-color: var(--light-color);
    padding: 60px 0;
}

.mv-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.mv-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.certification-badge {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin: 1rem 0;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-info {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-control,
.form-select {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(67,97,238,0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
}

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

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Service Content */
.service-content {
    padding: 80px 0;
}

/* Marketing Card */
.marketing-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.marketing-card:hover {
    transform: translateY(-5px);
}

.marketing-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.marketing-card-content {
    padding: 1.5rem;
}

.marketing-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.case-study {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* Tech Card */
.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: transform 0.3s;
}

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

.tech-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Process Step */
.process-step {
    text-align: center;
    margin-bottom: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Portfolio Item */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

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

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

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

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    border-radius: 2px;
}

.footer a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
}

.footer a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    display: inline-block;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-caption {
        max-width: 90%;
        left: 5%;
        padding: 1rem;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .carousel-item {
        height: 500px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
}