/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #020617;
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.85) 0%, rgba(99, 102, 241, 0.85) 100%),
        url('https://i.giphy.com/media/26tn33aiTi1jkl6H6/giphy.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
    position: relative;
    z-index: 2;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-img {
    max-width: min(100%, 300px);
    height: auto;
    object-fit: contain;
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    opacity: 0.9;
    margin: 0 auto 30px;
    animation: fadeIn 1.5s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    max-width: 800px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #0ea5e9;
    position: relative;
    animation: fadeIn 1s ease;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    margin: 15px auto;
    border-radius: 3px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 20px;
}

.service-card {
    cursor: pointer;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.service-card:active {
    transform: translateY(-5px) scale(0.98);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
    transition: all 0.3s ease;
}

/* Service Backgrounds */
.web-dev::before {
    background-image: url('https://i.giphy.com/media/juua9i2c2fA0AIp2iq/giphy.webp');
}

.app-dev::before {
    background-image: url('https://i.giphy.com/media/3oKIPEqDGUULpEU0aQ/giphy.webp');
}

.seo::before {
    background-image: url('https://i.giphy.com/media/LHZyixOnHwDDy/giphy.webp');
}

.digital-marketing::before {
    background-image: url('https://media0.giphy.com/media/gHiRWOaXGGHOY5w6f3/giphy.gif');
}

.social-media::before {
    background-image: url('https://i.giphy.com/media/3ohs4kI2X9r7O8ZtoA/giphy.webp');
}

.post-creations::before {
    background-image: url('https://i.giphy.com/media/3o7TKMt1VVNkHV2PaE/giphy.webp');
}

.service-icon {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: #6366f1;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: #0ea5e9;
}

.service-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 12px;
    color: #0ea5e9;
}

.service-card p {
    color: #cbd5e1;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* About Section */
.about {
    background: #0f172a;
    padding: 60px 0;
    margin: 40px 0;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}



.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.about-text {
    width: 100%;
}

.about-text h2 {
    color: #0ea5e9;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
    text-align: center;
}

.about-text p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 15px;
    color: #e2e8f0;
    text-align: center;
}

.about-image {
    width: 100%;
    max-width: 500px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.about-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border: 4px solid white;
    loading="lazy";
}

/* CTA Section */
.cta {
    background: #0f172a;
      margin-bottom: 60px; /* Add spacing below the CTA */

}

.cta .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.cta p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin: 0 auto 25px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 700px;
}

.cta-button {
    display: inline-block;
    background: #38bdf8;
    color: #0f172a;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Lead Form Styles */
/* Enhanced Form Styling */
/* Lead Form - Enhanced Dark UI */

.lead-form-container {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
    max-width: 700px;
    margin: 50px auto;
}

.lead-form-container h2 {
    color: #38bdf8;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
}

.lead-form-container h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: #0f172a;
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 1rem;
    transition: 0.3s;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #38bdf8;
    outline: none;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.submit-btn {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease;
    width: 100%;
    margin-top: 15px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}
.typed-heading {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  color: #0c0c0c;
  white-space: nowrap;
  overflow: hidden;
}
#typed-text {
  display: inline;
}


.success-message {
  display: none;            /* Start hidden */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

.success-message.show {
  display: block;           /* Show when JS adds .show */
  opacity: 1;
  visibility: visible;
}


.submit-btn i.fa-spinner {
    margin-right: 10px;
}




.success-message h3 {
    color: #38bdf8;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.success-message p {
    color: #94a3b8;
    font-size: 1rem;
}

.success-message i {
    color: #4CAF50;
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.close-form {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #0ea5e9;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-form:hover {
    opacity: 1;
}

.close-form:hover {
    opacity: 1;
}

/* Footer */
footer {
    background: #0f172a;
    border-top: 2px solid #1e293b;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.3);
}



footer .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.contact-info {
    margin-bottom: 25px;
}

.contact-info p {
    margin: 10px 0;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.contact-info i {
    margin-right: 8px;
    width: 18px;
    font-size: 1rem;
}

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

.social-links a {
    display: inline-block;
    color: white;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    text-shadow: 0 3px 10px rgba(255, 255, 255, 0.3);
}

.copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    opacity: 0.8;
    text-align: center;
    padding: 0px 0px 25px 0px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    header {
        padding: 80px 20px;
    }

    .about-content {
        flex-direction: row;
        align-items: center;
    }

    .about-text {
        text-align: left;
    }

    .about-text p {
        text-align: left;
    }

    .services-grid {
        gap: 25px;
    }

    .cta {
        padding: 80px 20px;

    }
}

@media (min-width: 992px) {
    .container {
        padding: 0 30px;
    }

    .service-card {
        padding: 30px;
    }

    .submit-btn {
        padding: 15px 35px;
    }
}

@media (max-width: 768px) {
    .lead-form-container {
        padding: 30px 20px;
        margin: 50px auto;
        border-radius: 12px;
    }

    .lead-form-container h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 15px;
    }

    .submit-btn {
        padding: 14px 20px;
    }

    @media (max-width: 768px) {
        .cta {
            background-size: cover;
            /* Switch to cover on mobile */
            min-height: 250px;
        }
    }
}