/* Global Styles */
:root {
    --primary: #4db5ff;     /* Sky blue - primary brand color */
    --secondary: #2a97e5;   /* Darker blue */
    --accent1: #7c5bf2;     /* Purple accent */
    --accent2: #ff7849;     /* Orange accent */
    --accent3: #25d366;     /* Green accent */
    --accent4: #fd7e14;     /* Bright orange accent */
    --accent5: #dc2626;     /* Red accent */
    --accent6: #8b5cf6;     /* Indigo accent */
    --accent7: #10b981;     /* Emerald accent */
    --text-dark: #1a202c;
    --text-light: #718096;
    --white: #ffffff;
    --bg-light: #f7f9fc;
    --gradient-1: linear-gradient(120deg, var(--primary), var(--accent1));
    --gradient-2: linear-gradient(120deg, var(--accent1), var(--accent4));
    --gradient-3: linear-gradient(120deg, var(--accent2), var(--accent5));
    --gradient-4: linear-gradient(120deg, var(--accent3), var(--accent7));
}

/* Keyframes Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

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

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

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

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(77, 181, 255, 0.3);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--gradient-2);
    color: var(--white);
    border: none;
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(124, 91, 242, 0.3);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    background-image: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(77, 181, 255, 0.3);
    transform: translateY(-3px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2 span {
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-header h2 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background: var(--gradient-1);
    bottom: 5px;
    left: 0;
    opacity: 0.1;
    z-index: -1;
}

.section-header p {
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.logo h1 {
    animation: fadeIn 0.8s ease-out forwards;
}

.logo h1::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent1);
    border-radius: 50%;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 2s infinite ease-in-out;
    box-shadow: 0 0 8px rgba(124, 91, 242, 0.5);
}

.logo span {
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-left: 2px;
    background-size: 200% auto;
    animation: textShine 3s linear infinite;
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

.logo span::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent2);
    border-radius: 50%;
    right: -10px;
    bottom: 8px;
    animation: float 3s infinite ease-in-out;
    box-shadow: 0 0 8px rgba(255, 120, 73, 0.5);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

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

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.main-nav a.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Main */
.hero-main {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-main:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.05;
    z-index: -1;
}

.hero-main:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: var(--accent1);
    opacity: 0.05;
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.client-avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background-color: #e2e8f0;
    margin-left: -15px;
}

.avatar:first-child {
    margin-left: 0;
}

.stat-value {
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.divider {
    width: 1px;
    height: 40px;
    background-color: #e2e8f0;
}

.hero-image {
    flex: 1;
    position: relative;
}

.image-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    background-color: #e2e8f0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    transition: transform 0.5s ease;
}

.image-container:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(77, 181, 255, 0.3), rgba(124, 91, 242, 0.3));
    mix-blend-mode: multiply;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background-color: var(--white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.trusted {
    bottom: -20px;
    left: -20px;
    max-width: 260px;
}

.innovative {
    top: -20px;
    right: -20px;
    background: linear-gradient(to right, var(--primary), var(--accent1));
    color: var(--white);
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trusted .card-icon {
    background-color: #e6f7ef;
    color: #25d366;
}

.innovative .card-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.card-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Hero Banners */
.hero-banner {
    padding: 100px 0;
    margin: 40px 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.hero-banner:before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.05;
    top: -100px;
    right: -100px;
    z-index: 0;
}

.hero-banner:nth-child(odd):before {
    background-color: var(--accent1);
}

.hero-banner:nth-child(even):before {
    background-color: var(--accent2);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.banner-content.reverse {
    flex-direction: row-reverse;
}

.banner-text {
    flex: 1;
}

.banner-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.banner-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.banner-buttons {
    display: flex;
    gap: 15px;
}

.banner-image {
    flex: 1;
    position: relative;
}

.blue-gradient .overlay {
    background: linear-gradient(to right, rgba(77, 181, 255, 0.3), rgba(42, 151, 229, 0.3));
}

.purple-gradient .overlay {
    background: linear-gradient(to right, rgba(124, 91, 242, 0.3), rgba(157, 78, 221, 0.3));
}

.amber-gradient .overlay {
    background: linear-gradient(to right, rgba(255, 120, 73, 0.3), rgba(220, 38, 38, 0.3));
}

.dev-card {
    bottom: -20px;
    left: 20px;
}

.dev-card .card-icon {
    background-color: #e1f0ff;
    color: var(--primary);
}

.strategy-card {
    top: -20px;
    right: 20px;
    background: linear-gradient(to right, var(--accent1), #9d4edd);
    color: var(--white);
}

.results-card {
    bottom: -20px;
    left: -20px;
}

.results-card .card-icon {
    background-color: #e6f7ef;
    color: #25d366;
}

.business-card {
    top: -20px;
    left: 20px;
}

.business-card .card-icon {
    background-color: #fff3e0;
    color: #ff9800;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-bottom: 4px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(247, 249, 252, 0.4) 100%);
    z-index: -1;
}

.service-card:nth-child(1) {
    border-bottom-color: var(--primary);
}

.service-card:nth-child(2) {
    border-bottom-color: var(--accent1);
}

.service-card:nth-child(3) {
    border-bottom-color: var(--accent2);
}

.service-card:nth-child(4) {
    border-bottom-color: var(--accent3);
}

.service-card:nth-child(5) {
    border-bottom-color: var(--accent6);
}

.service-card:nth-child(6) {
    border-bottom-color: var(--accent6);
}

.service-card:nth-child(7) {
    border-bottom-color: #859b86;
}

.service-card:nth-child(8) {
    border-bottom-color: #1335e7;
}

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

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    z-index: -1;
}

.service-card:hover .card-icon {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon.blue {
    background: linear-gradient(135deg, #4db5ff, #2a97e5);
    color: white;
}

.card-icon.purple {
    background: linear-gradient(135deg, #7c5bf2, #9d4edd);
    color: white;
}

.card-icon.teal {
    background: linear-gradient(135deg, #25d366, #10b981);
    color: white;
}

.card-icon.orange {
    background: linear-gradient(135deg, #ff7849, #fd7e14);
    color: white;
}

.card-icon.indigo {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.service-link:hover {
    color: var(--secondary);
}

.service-link i {
    transition: transform 0.3s ease;
}

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

/* Work Process */
.work-process {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 220px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-light);
}

.step-arrow {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Team Section */
.team {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #e2e8f0;
    margin: 0 auto 20px;
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.bio {
    color: var(--text-light);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f7f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.team-cta {
    text-align: center;
    margin-top: 50px;
}

/* Footer */
.footer {
    background-color: #121c2b;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about {
    margin-right: 20px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
}

.footer-logo {
    animation: fadeIn 0.8s ease-out forwards;
}

.footer-logo::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent1);
    border-radius: 50%;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 2s infinite ease-in-out;
    box-shadow: 0 0 8px rgba(124, 91, 242, 0.5);
}

.footer-logo span {
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-left: 2px;
    background-size: 200% auto;
    animation: textShine 3s linear infinite;
}

.footer-logo span::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent2);
    border-radius: 50%;
    right: -10px;
    bottom: 6px;
    animation: float 3s infinite ease-in-out;
    box-shadow: 0 0 8px rgba(255, 120, 73, 0.5);
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-about .social-links {
    justify-content: flex-start;
}

.footer h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

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

.footer ul li a {
    opacity: 0.8;
}

.footer ul li a:hover {
    opacity: 1;
    color: var(--primary);
}

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

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-content, 
    .banner-content {
        flex-direction: column;
    }
    
    .banner-content.reverse {
        flex-direction: column;
    }
    
    .hero-text,
    .banner-text,
    .hero-image,
    .banner-image {
        width: 100%;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

@media screen and (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 1000;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .banner-text h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .floating-card {
        max-width: 200px;
        padding: 10px;
    }
}