/* Global Styles */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Hind Siliguri', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(90deg, #4a6bff, #ff6b6b, #ffdd59, #59ff59, #4a6bff);
    background-size: 400% 400%;
    border-radius: 7px;
    animation: gradientBorder 3s ease infinite;
    opacity: 0.85;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

.primary-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    background-color: var(--primary-color);
    border-radius: 3px;
    z-index: -1;
}

.primary-btn:hover {
    background-color: #3a5bef;
    transform: translateY(-3px);
}

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

.secondary-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    background-color: #fff;
    border-radius: 3px;
    z-index: -1;
}

.secondary-btn:hover {
    color: #fff;
    transform: translateY(-3px);
}

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

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.contact-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(90deg, #4a6bff, #ff6b6b, #ffdd59, #59ff59, #4a6bff);
    background-size: 400% 400%;
    border-radius: 7px;
    animation: gradientBorder 3s ease infinite;
    opacity: 0.7;
}

.contact-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    background-color: var(--primary-color);
    border-radius: 3px;
    z-index: -1;
}

.contact-btn:hover::after {
    background-color: #3a5bef;
}

.contact-btn:hover {
    color: #fff;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    padding-top: 150px;
    background-color: #f9f9ff;
}

.hero-content {
    max-width: 600px;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    min-height: 120px;
    text-align: left;
    line-height: 1.3;
}

.highlight-text {
    display: inline-block;
    color: var(--primary-color);
    position: relative;
    font-weight: 700;
    background: linear-gradient(45deg, #4a6bff, #9c27b0, #e91e63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, #4a6bff, #9c27b0, #e91e63);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

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

.hero-image {
    max-width: 500px;
}

/* How We Work Section */
#how-we-work {
    background-color: #fff;
}

.work-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

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

.process-icon {
    width: 80px;
    height: 80px;
    background-color: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.process-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.process-item p {
    color: var(--secondary-color);
}

/* Portfolio Section */
#portfolio {
    background-color: #f9f9ff;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(90deg, #4a6bff, #ff6b6b, #ffdd59, #59ff59, #4a6bff);
    background-size: 400% 400%;
    border-radius: 7px;
    animation: gradientBorder 3s ease infinite;
    opacity: 0.6;
}

.filter-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    background-color: #fff;
    border-radius: 3px;
    z-index: -1;
}

.filter-btn:hover::after, .filter-btn.active::after {
    background-color: var(--primary-color);
}

.filter-btn:hover, .filter-btn.active {
    color: #fff;
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    transition: all 0.5s ease;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    transition: transform 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 107, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.portfolio-info {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-info p {
    margin-bottom: 20px;
}

.portfolio-info .btn {
    background-color: #fff;
    color: var(--primary-color);
}

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

/* Testimonials Section */
#testimonials {
    background-color: #fff;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    min-width: 48%;
    background-color: #f9f9ff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark-color);
}

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

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

.author-info h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
}

.author-info p {
    color: var(--secondary-color);
}

/* Footer Section */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer-about h3,
.footer-services h3,
.footer-contact h3,
.footer-newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

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

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

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

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

.footer-services ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-services ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

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

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Hind Siliguri', sans-serif;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #3a5bef;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .work-process {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    #hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .testimonial-item {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .work-process {
        grid-template-columns: 1fr;
    }
    
    .portfolio-items {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}