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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #14b8a6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --light: #f1f5f9;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #ec4899, #14b8a6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    line-height: 1.1;
}

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

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--gray);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transition: left 0.4s;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.5);
}

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

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

/* Floating Elements */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 60%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    bottom: 10%;
    left: 20%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(20px, 20px) rotate(270deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

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

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* Stats Section */
#stats {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 500;
}

/* About Section */
#about {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9);
    transition: transform 0.6s;
}

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

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3));
    opacity: 0;
    transition: opacity 0.4s;
}

.about-image:hover::before {
    opacity: 1;
}

.about-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: var(--primary);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.feature-text p {
    font-size: 1rem;
    color: var(--gray);
    margin: 0;
}

/* Why Choose Us Section */
#why-us {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(236, 72, 153, 0.03));
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--gray);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.why-us-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 25px;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.why-us-card:hover::before {
    opacity: 1;
}

.why-us-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.5s;
}

.why-us-card:hover .card-icon {
    transform: rotateY(180deg);
}

.why-us-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.why-us-card p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
}

/* Testimonials Section */
#testimonials {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 25px;
    padding: 3rem;
    transition: all 0.4s;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.testimonial-info h4 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.testimonial-info p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

.rating {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.star {
    color: #fbbf24;
    font-size: 1.3rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    font-style: italic;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
}

/* CTA Section */
#cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-us-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Page Header */
.page-header {
  padding: 10rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  z-index: -1;
}

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
}

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

.page-header p {
  font-size: 1.3rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Section */
#contact {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  opacity: 0;
  transition: opacity 0.4s;
}

.info-card:hover::before {
  opacity: 1;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.info-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  flex-shrink: 0;
  transition: transform 0.4s;
}

.info-card:hover .info-icon {
  transform: rotateY(180deg);
}

.info-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin: 0;
}

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

.info-card-content p {
  color: var(--gray);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.8;
}

.info-card-content a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.info-card-content a:hover {
  color: var(--secondary);
}

/* Social Links */
.social-links-contact {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link-contact {
  width: 50px;
  height: 50px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  text-decoration: none;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.social-link-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.4s;
}

.social-link-contact:hover::before {
  opacity: 1;
}

.social-link-contact i {
  position: relative;
  z-index: 1;
}

.social-link-contact:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
  border-color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 25px;
  padding: 3rem;
  transition: all 0.4s;
}

.contact-form-wrapper:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.form-header {
  margin-bottom: 2.5rem;
}

.form-header h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--gray);
  font-size: 1.05rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(15, 23, 42, 0.6);
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 15px;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  background: rgba(15, 23, 42, 0.8);
}

.form-control::placeholder {
  color: var(--gray);
}

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

/* Form Messages */
.form-messages {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
  align-items: center;
  gap: 0.8rem;
}

.form-messages.active {
  display: flex;
}

.form-messages i {
  font-size: 1.3rem;
}

.loading {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary);
}

.loading::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--primary);
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

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

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--error);
}

.sent-message {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 1.3rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 50px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  transition: left 0.4s;
}

.submit-btn:hover::before {
  left: 0;
}

.submit-btn span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Info Grid for smaller cards */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.info-card-small {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 15px;
  padding: 1.8rem;
  transition: all 0.4s;
  text-align: center;
}

.info-card-small:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.info-card-small .info-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.info-card-small h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.info-card-small p {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 8rem 2rem 4rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 2rem;
  }

  .info-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .info-card-header {
    flex-direction: column;
    text-align: center;
  }

  .social-links-contact {
    justify-content: center;
  }
}


/* Services Section */
#services {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

/* Service Card */
.service-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: var(--primary);
  box-shadow: 0 25px 70px rgba(99, 102, 241, 0.3);
}

/* Service Image */
.service-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  filter: brightness(0.8);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
  filter: brightness(1);
}

.service-image::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  z-index: 1;
}

/* Service Icon Overlay */
.service-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
  z-index: 2;
  transition: all 0.4s;
}

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

/* Service Content */
.service-content {
  padding: 2rem;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--white);
  transition: color 0.3s;
}

.service-content h3 a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s;
}

.service-content h3 a:hover {
  opacity: 0.8;
}

.service-content p {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 1.5rem;
}

/* Service Features */
.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary);
  transition: all 0.3s;
}

.service-card:hover .feature-tag {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
}

/* Learn More Button */
.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 50px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s;
  align-self: flex-start;
}

.service-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

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

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

/* CTA Section */
.services-cta {
  margin-top: 6rem;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  border-radius: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 0;
}

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

.services-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--white);
}

.services-cta p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

#services .cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

#services .btn-primary {
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

 #services .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  transition: left 0.4s;
}

 #services .btn-primary:hover::before {
  left: 0;
}

 #services .btn-primary span {
  position: relative;
  z-index: 1;
}

 #services .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

 #services .btn-secondary {
  padding: 1.2rem 2.5rem;
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s;
}

 #services .btn-secondary:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

   #services .page-header {
    padding: 8rem 2rem 4rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  #services .btn-primary,
  #services .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .service-image {
    height: 200px;
  }
}


/* Portfolio Section */
#portfolio {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Filter Buttons */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.filter-btn {
  padding: 0.8rem 2rem;
  background: rgba(30, 41, 59, 0.4);
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  color: var(--gray);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 5rem;
}

/* Portfolio Card */
.portfolio-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}

.portfolio-card:hover::before {
  opacity: 1;
}

.portfolio-card:hover {
  transform: translateY(-15px);
  border-color: var(--primary);
  box-shadow: 0 25px 70px rgba(99, 102, 241, 0.3);
}

/* Portfolio Image */
.portfolio-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  filter: brightness(0.85);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.15) rotate(2deg);
  filter: brightness(1.1) saturate(1.2);
}

/* Image Overlay */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(236, 72, 153, 0.8));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
  z-index: 2;
}

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

.overlay-content {
  text-align: center;
  color: var(--white);
}

.overlay-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: pulse-float 2s ease-in-out infinite;
}

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

.overlay-text {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Portfolio Content */
.portfolio-content {
  padding: 2.5rem;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-category {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  transition: all 0.3s;
  width: fit-content;
}

.portfolio-card:hover .portfolio-category {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
}

.portfolio-content h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}

.portfolio-content h3:hover {
  color: var(--primary);
}

.portfolio-content p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 1.5rem;
}

.portfolio-client {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 10px;
}

.portfolio-client i {
  color: var(--primary);
  font-size: 1.2rem;
}

.portfolio-client span {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Action Buttons */
.portfolio-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.portfolio-btn {
  flex: 1;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.portfolio-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.portfolio-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

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

.portfolio-btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* Empty State */
.portfolio-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
}

.portfolio-empty i {
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.portfolio-empty h3 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.portfolio-empty p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* CTA Section */
.portfolio-cta {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  border-radius: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.portfolio-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 0;
}

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

.portfolio-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--white);
}

.portfolio-cta p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

 #portfolio .cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

 #portfolio .btn-primary {
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

 #portfolio .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  transition: left 0.4s;
}

 #portfolio .btn-primary:hover::before {
  left: 0;
}

#portfolio .btn-primary span {
  position: relative;
  z-index: 1;
}

#portfolio .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

 #portfolio .btn-secondary {
  padding: 1.2rem 2.5rem;
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s;
  cursor: pointer;
}

 #portfolio .btn-secondary:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Stats Section */
.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
  padding: 3rem 0;
}

 #portfolio .stat-card {
  text-align: center;
}

 #portfolio .stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

 #portfolio .stat-label {
  color: var(--gray);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 8rem 2rem 4rem;
  }

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

  .portfolio-filters {
    gap: 0.8rem;
  }

  .filter-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }

  .portfolio-actions {
    flex-direction: column;
  }

  .portfolio-btn {
    width: 100%;
  }

   #portfolio .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

   #portfolio .btn-primary,
   #portfolio .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .portfolio-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Animation */
.portfolio-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.portfolio-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


#footer {
  background: var(--dark-light);
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.footer-top {
  padding: 5rem 0 3rem;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Footer Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
  transition: all 0.3s;
}

.footer-logo:hover {
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.8));
  transform: scale(1.05);
}

.footer-brand h3 {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.footer-description {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Social Links */
#footer .social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

#footer .social-link {
  width: 50px;
  height: 50px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

#footer .social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.4s;
}

#footer .social-link:hover::before {
  opacity: 1;
}

#footer .social-link i {
  position: relative;
  z-index: 1;
}

#footer .social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
  border-color: var(--primary);
}

#footer .social-link.facebook:hover {
  box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
}

#footer .social-link.whatsapp:hover {
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

#footer .social-link.twitter:hover {
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Footer Sections */
.footer-section h4 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

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

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

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s;
  padding: 0.3rem 0;
}

.footer-links a i {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s;
}

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

.footer-links a:hover i {
  transform: translateX(5px);
}

/* Contact Info */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s;
}

.contact-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary);
  transform: translateX(5px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.2rem;
  color: var(--white);
}
.contact-info {
  flex: 1;
}

.contact-info strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.contact-info a,
.contact-info span {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1rem;
}

.contact-info a:hover {
  color: var(--primary);
}

/* Newsletter Section */
.newsletter {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 1rem;
}

.newsletter h4 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.newsletter p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.newsletter-input::placeholder {
  color: var(--gray);
}

.newsletter-btn {
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Footer Bottom */
.footer-bottom {
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright {
  color: var(--gray);
  font-size: 0.95rem;
}

.copyright span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  z-index: 1000;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top {
    padding: 3rem 0 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
  }

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

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
  }
}

/* Animation for footer elements */
.footer-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.footer-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}