/* Base Styles */
:root {
    /* Modern Purple Color Scheme */
    --primary-color: #7C3AED;    /* Royal Purple */
    --primary-dark: #6D28D9;     /* Slightly darker purple */
    --secondary-color: #DB2777;  /* Pink accent */
    --accent-color: #A78BFA;     /* Light purple */
    
    /* Neutral Colors */
    --dark-color: #1F2937;       /* Dark gray */
    --light-color: #F9FAFB;      /* Light background */
    --gray-color: #6B7280;       /* Medium gray */
    --light-gray: #E5E7EB;       /* Light border */
    --white: #FFFFFF;            /* Pure white */
    --off-white: #F5F3FF;        /* Light purple tint */
    
    /* Additional Brand Colors */
    --success: #4bb543;         /* Green for success messages */
    --warning: #f9c74f;         /* Yellow for warnings */
    --danger: #ef476f;          /* Red for errors/danger */
    --info: #118ab2;            /* Info blue */
    
    /* UI Elements */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 8px;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #4895ef);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 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: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 6px rgba(45, 212, 191, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(45, 212, 191, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(45, 212, 191, 0.2);
}

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

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Logo styles */
.logo {
    flex-shrink: 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Navigation links container */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Navigation links */
.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 3px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
}

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

.nav-cta .btn {
    margin-left: 1.5rem;
    padding: 0.6rem 1.8rem;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(45, 212, 191, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Trusted By Section */
.trusted-by {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}

.trusted-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.trusted-badge i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1.2rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.logo-item:hover {
    transform: translateY(-3px);
}

.logo-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.logo-item span {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .trusted-logos {
        gap: 1.5rem;
    }
    
    .logo-item i {
        font-size: 1.5rem;
    }
    
    .logo-item span {
        font-size: 0.8rem;
    }
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f2ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: relative;
    height: 100%;
}

.floating-logo {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    transform-origin: center center;
}

.floating-logo .main-logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.floating-logo .main-logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

.hero-illustration {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/hero-pattern.svg') no-repeat center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    background: rgba(67, 97, 238, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-description {
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: 1rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #f9faff;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/dots-pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(67, 97, 238, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border: 1px solid var(--primary-color);
    position: relative;
    transform: translateY(-10px);
}

.service-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 60px 0;
    border-color: transparent var(--primary-color) transparent transparent;
}

.popular-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 5px 30px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    width: 150px;
    text-align: center;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    background: var(--gradient-accent);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    padding: 5px;
    background: transparent;
    border: none;
    outline: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animation for hamburger to X */
.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.service-card:hover h3::after {
    width: 80px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}


.service-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-features {
    text-align: left;
    margin: 1.5rem 0;
    padding: 0 1rem;
}

.service-features li {
    margin-bottom: 0.8rem;
    color: var(--gray-color);
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.services-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.services-cta p {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .services-cta {
        padding: 1.5rem;
    }
    
    .services-cta p {
        font-size: 1.2rem;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background-color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

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

/* Coming Soon Testimonials */
.coming-soon.testimonials {
    background-color: #f9f9ff;
    padding: 80px 0;
    text-align: center;
}

.testimonial-placeholder {
    background: white;
    border-radius: 10px;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.testimonial-placeholder:hover {
    transform: translateY(-5px);
}

.placeholder-content {
    padding: 20px;
}

.placeholder-content i {
    font-size: 48px;
    color: #6c63ff;
    margin-bottom: 20px;
    opacity: 0.8;
}

.placeholder-content h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 24px;
}

.placeholder-content p {
    color: #718096;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    margin: 3rem auto;
    max-width: 900px;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.8s ease-in-out;
}

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

.testimonial-slide.active {
    display: block;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

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

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.1;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 2rem;
    position: relative;
    font-style: italic;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    padding: 2px;
}

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

.author-info span {
    color: #6b7280;
    font-size: 0.9rem;
    display: block;
    margin: 0.2rem 0;
}

.testimonial-rating {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    gap: 1.5rem;
}

.testimonial-prev,
.testimonial-next {
    background: white;
    border: 1px solid #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.testimonial-dots {
    display: flex;
    gap: 0.8rem;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.8rem;
        margin: 0 0.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-controls {
        margin-top: 2rem;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    position: relative;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

/* Form Messages */
.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    display: none;
}

/* Success Message with Image */
.success-message-container {
    text-align: center;
    padding: 2rem;
}

.success-content {
    max-width: 400px;
    margin: 0 auto;
}

.success-image {
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    animation: bounceIn 0.8s ease-out;
}

.success-message-container h3 {
    color: #2b8a3e;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.success-message-container p {
    color: #2b8a3e;
    font-size: 1.1rem;
    line-height: 1.6;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.form-message.success {
    display: block;
    background-color: #e6ffed;
    color: #2b8a3e;
    border: 1px solid #40c057;
    padding: 0;
    overflow: hidden;
}

.form-message.error {
    display: block;
    background-color: #fff5f5;
    color: #e03131;
    border: 1px solid #ff8787;
}

/* Error Messages */
.error-message {
    color: #e03131;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

/* Form Loading State */
#submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

#submit-btn .spinner {
    margin-left: 8px;
    display: none;
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Inputs */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Form Input States */
input:invalid,
textarea:invalid,
select:invalid {
    border-color: #ff8787;
}

input:focus:invalid,
textarea:focus:invalid,
select:focus:invalid {
    box-shadow: 0 0 0 2px rgba(224, 49, 49, 0.2);
}

/* Form Group with Error */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: #ff8787;
}

/* Success State */
.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: #40c057;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: translateY(-3px);
}

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

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

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo p {
    margin-bottom: 1.5rem;
    color: var(--light-gray);
    opacity: 0.8;
}

.footer h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a,
.footer-services ul li a {
    color: var(--light-gray);
    opacity: 0.8;
    transition: var(--transition);
}

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

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

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

.newsletter-form button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--light-gray);
    opacity: 0.8;
    transition: var(--transition);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container,
    .about .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content,
    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        margin-top: 1rem;
    }
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.faq-item.active .faq-question {
    background: var(--primary-color);
    color: white;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: white;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--dark-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust based on content */
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: #4b5563;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.faq-cta p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* Responsive adjustments for FAQ */
@media (max-width: 768px) {
    .faq {
        padding: 4rem 0;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 1rem;
    }
    
    .faq-answer {
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
    
    .faq-cta {
        margin-top: 2.5rem;
    }
}
