:root {
    --primary-color: #2563eb;
    --secondary-color: #0f172a;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --white: #ffffff;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background-color: #1e4fd0;
    border-color: #1e4fd0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    margin-left: 4rem;
    margin-right: 4rem;
    padding: 0,5rem 0;
    transition: all 0.4s ease;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    border-bottom-left-radius: 35px;
    border-top-right-radius: 35px;
    border-top-left-radius: 35px;
}

.navbar.scrolled {
    padding: 0.2rem 0;
    
}

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

.navbar-brand:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-color);
    padding: 0.8rem 1.2rem;
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 1.2rem;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
    width: calc(100% - 2.4rem);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: var(--white);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    right: -300px;
    top: -300px;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    left: -200px;
    bottom: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero .subtitle {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.hero-buttons {
    margin-top: 2.5rem;
}

.hero-buttons .btn {
    margin-right: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.8;
    z-index: 1;
}

.scroll-indicator i {
    margin-top: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

.service-card {
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    background-color: var(--white);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

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

/* Case Study Section */
.case-study-section {
    padding: 100px 0;
    background-color: #f1f5f9;
}

.case-study-image-container {
    position: relative;
    height: 450px;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-image {
    position: absolute;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.image-1 {
    width: 200px;
    height: 150px;
    top: -30px;
    right: -30px;
    z-index: 2;
}

.image-2 {
    width: 180px;
    height: 180px;
    bottom: -40px;
    left: -20px;
    z-index: 2;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.feature-list li i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background-color: var(--white);
}

.stat-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: #f1f5f9;
}

.testimonial-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
    height: 400px;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    padding: 50px;
    text-align: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 25px;
    border: 5px solid rgba(37, 99, 235, 0.1);
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    right: -200px;
    top: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.cta-section::after {
    content: "";
    position: absolute;
    left: -200px;
    bottom: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

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

.footer h4, .footer h5 {
    color: var(--white);
    margin-bottom: 25px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: var(--white);
    margin-right: 15px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

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

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

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

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

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .case-study-image-container {
        height: 350px;
        margin-bottom: 50px;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: var(--white);
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 300px;
    object-fit: cover;
}

.card-body {
    padding: 2.5rem;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.card-text {
    font-size: 1.1rem;
    color: rgba(26, 31, 54, 0.8);
    line-height: 1.7;
}

/* Team Members */
.team-member {
    text-align: center;
    margin-bottom: 4rem;
}

.team-member img {
    width: 320px;
    height: 320px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-member:hover img {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.team-member h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.team-member p {
    font-size: 1.1rem;
    color: rgba(26, 31, 54, 0.8);
}
