/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #0f172a;
    overflow-x: hidden;
}

section {
    padding: 6rem 2rem;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: 4rem 1.5rem;
    }
}

/* Section Headers */
section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

section .section-subtitle {
    text-align: center;
    color: #60a5fa;
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    section h2 {
        font-size: 2rem;
    }
    
    section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: #60a5fa;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(15, 23, 42, 0.98);
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }
}

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

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links .hire-us-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-links .hire-us-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.7; /* Reduced opacity for better text visibility */
}

.hero-content {
    max-width: 800px;
    width: 90%;
    padding: 3rem 2rem;
    margin: 0 1rem;
}

.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.hero-content h1.animate-text {
    animation-delay: 0.3s;
}

.hero-content p.animate-text {
    animation-delay: 0.6s;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #60a5fa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #3b82f6;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background-color: #1e293b;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    pointer-events: none;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
}

.services .section-subtitle {
    text-align: center;
    color: #60a5fa;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

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

.service-card {
    background: #0f172a;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid #2d3748;
    position: relative;
    overflow: hidden;
    flex: 0 0 300px;  /* Fixed width for each card */
    min-width: 300px;  /* Ensure minimum width */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.1));
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #60a5fa;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.service-card:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(-50%, -50%);
}

.service-card i {
    font-size: 3rem;
    color: #60a5fa;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
    color: #3b82f6;
}

.service-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card .service-description {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card .service-features {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
    padding: 0 1rem;
}

.service-card .service-features li {
    color: #94a3b8;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.service-card .service-features li::before {
    content: '→';
    color: #60a5fa;
    margin-right: 0.5rem;
    font-weight: bold;
}

.service-card .learn-more {
    display: inline-block;
    margin-top: 1.5rem;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-card .learn-more:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background-color: #0f172a;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    pointer-events: none;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.about .section-subtitle {
    text-align: center;
    color: #60a5fa;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid #2d3748;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: #60a5fa;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.about-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.about-icon {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #60a5fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #0f172a;
    transition: all 0.3s ease;
}

.about-card:hover .about-icon {
    background: #3b82f6;
    transform: translate(-50%, -50%) rotate(360deg);
}

.about-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.about-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    text-align: center;
    font-weight: 600;
}

.about-card p {
    color: #cbd5e1;
    padding: 0 1.5rem 2rem;
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Team Section */
.team {
    padding: 5rem 2rem;
    background-color: #1e293b;
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

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

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

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #2d3748;
    margin: 0 auto 1rem;
    border: 3px solid #60a5fa;
}

.team-member h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #cbd5e1;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background-color: #0f172a;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.contact-info {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;  /* Added padding top */
    border-top: 1px solid #2d3748;  /* Added separator line */
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background-color: #1e293b;
    border-radius: 10px;
    border: 1px solid #2d3748;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 280px;
}

.info-item:hover {
    transform: translateY(-5px);
    border-color: #60a5fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background-color: #2d3748;
}

.info-item i {
    font-size: 1.5rem;
    color: #60a5fa;
}

.info-item p {
    color: #e2e8f0;
    font-size: 1rem;
    margin: 0;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid #2d3748;
}

.map-container iframe {
    display: block;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: #1e293b;
    border: 1px solid #2d3748;
    border-radius: 5px;
    font-family: inherit;
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #60a5fa;
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

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

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #60a5fa;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background-color: #3b82f6;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 5rem 2rem 2rem;
    border-top: 1px solid #2d3748;
}

.footer-tagline {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

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

.footer-section h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #60a5fa;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-contact i {
    color: #60a5fa;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 1.5rem 2rem;
    }

    .footer-tagline {
        margin-bottom: 3rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-contact {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

/* Remove old styles */
.social-links {
    display: none;
}

/* Counter Section */
.counter {
    padding: 5rem 2rem;
    background-color: #1e293b;
    position: relative;
    overflow: hidden;
}

.counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    pointer-events: none;
}

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

.counter-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    border: 1px solid #2d3748;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.counter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.counter-item:hover::before {
    transform: translateX(0);
}

.counter-item i {
    font-size: 3rem;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin: 1rem 0;
    position: relative;
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.counter-number::after {
    content: '+';
    font-size: 2rem;
    position: absolute;
    margin-left: 5px;
}

.counter-item h3 {
    color: #e2e8f0;
    font-size: 1.2rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .counter-container {
        grid-template-columns: 1fr;
        align-items: center;
    }

    .counter-item {
        width: 100%;
        max-width: 300px;
    }
}

/* Process Section */
.process {
    padding: 5rem 2rem;
    background-color: #0f172a;
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    pointer-events: none;
}

.process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.process .section-subtitle {
    text-align: center;
    color: #60a5fa;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

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

.process-step {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    border: 1px solid #2d3748;
    transition: all 0.5s ease;
    overflow: hidden;
}

.process-step:hover {
    transform: translateY(-15px) scale(1.03);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(96, 165, 250, 0.1);
    transition: all 0.4s ease;
}

.process-step:hover .step-number {
    transform: scale(1.2) rotate(10deg);
    color: rgba(96, 165, 250, 0.3);
}

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

.step-content i {
    font-size: 2.5rem;
    color: #60a5fa;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.process-step:hover i {
    transform: scale(1.1);
    color: #3b82f6;
}

.step-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #cbd5e1;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process {
        padding: 4rem 1rem;
    }

    .process-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-step {
        padding: 1.5rem;
    }

    .step-number {
        font-size: 2.5rem;
    }
}

/* Quote Button */
.quote-btn {
    background-color: #60a5fa;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.quote-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.quote-btn:hover::before {
    left: 100%;
}

.quote-btn:hover {
    background-color: #3b82f6;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: #1e293b;
    margin: 15% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid #2d3748;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.modal-content p {
    color: #e2e8f0;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #60a5fa;
}

.refresh-quote {
    background-color: #60a5fa;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.refresh-quote:hover {
    background-color: #3b82f6;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .quote-btn {
        width: 100%;
        margin-top: 1rem;
    }

    .modal-content {
        margin: 20% auto;
        padding: 1.5rem;
    }
}

/* Coding Animation */
.coding-animation {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    font-family: 'Consolas', monospace;
    font-size: 1.2rem;
    color: #60a5fa;
    opacity: 0.3;
    z-index: 1;
    animation: fadeInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.code-line {
    margin: 0.5rem 0;
    white-space: nowrap;
    opacity: 0;
    animation: typingEffect 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.code-line:nth-child(1) { animation-delay: 0.3s; }
.code-line:nth-child(2) { animation-delay: 0.6s; }
.code-line:nth-child(3) { animation-delay: 0.9s; }
.code-line:nth-child(4) { animation-delay: 1.2s; }
.code-line:nth-child(5) { animation-delay: 1.5s; }
.code-line:nth-child(6) { animation-delay: 1.8s; }
.code-line:nth-child(7) { animation-delay: 2.1s; }

.keyword {
    color: #f472b6;
    transition: color 0.3s ease;
}

.string {
    color: #34d399;
    transition: color 0.3s ease;
}

@keyframes typingEffect {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    50% {
        opacity: 0.7;
        transform: translateX(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Floating Tech Icons */
.floating-tech {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    z-index: 1;
}

.floating-tech i {
    font-size: 3rem;
    color: #60a5fa;
    opacity: 0.7;
    animation: floatingAnimation 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transition: color 0.3s ease, transform 0.3s ease;
}

.floating-tech i:hover {
    color: #3b82f6;
    transform: scale(1.1);
}

.floating-tech i:nth-child(1) { animation-delay: 0s; }
.floating-tech i:nth-child(2) { animation-delay: 0.8s; }
.floating-tech i:nth-child(3) { animation-delay: 1.6s; }
.floating-tech i:nth-child(4) { animation-delay: 2.4s; }
.floating-tech i:nth-child(5) { animation-delay: 3.2s; }

@keyframes floatingAnimation {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(3deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(15px) rotate(-3deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate(-50px, -50%);
    }
    50% {
        opacity: 0.2;
        transform: translate(-25px, -50%);
    }
    100% {
        opacity: 0.3;
        transform: translate(0, -50%);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .coding-animation {
        opacity: 0.15; /* Reduce opacity further on medium screens */
        transform: scale(0.8) translateY(-50%); /* Scale down */
    }
    
    .floating-tech {
        right: 5%;
        opacity: 0.5; /* Reduce opacity */
    }

    .hero-content {
        padding: 1.5rem;
        background: rgba(30, 58, 138, 0.6);
    }
}

@media (max-width: 768px) {
    .coding-animation,
    .floating-tech {
        display: none; /* Hide on mobile */
    }

    .hero-content {
        width: 90%;
        padding: 1.5rem;
        background: rgba(30, 58, 138, 0.7);
    }

    #particles-js {
        opacity: 0.4; /* Reduce particles opacity on mobile */
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Smaller heading on mobile */
    }

    .hero-content p {
        font-size: 1.2rem; /* Smaller text on mobile */
    }
}

/* Reviews Section */
.reviews {
    padding: 5rem 2rem;
    background-color: #1e293b;
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    pointer-events: none;
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.reviews .section-subtitle {
    text-align: center;
    color: #60a5fa;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.reviews-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: hidden;
}

.reviews-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.review-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #2d3748;
    transition: all 0.4s ease;
    position: relative;
    opacity: 0.5;
    transform: scale(0.95);
}

.review-card:hover {
    border-color: #60a5fa;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.review-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: #60a5fa;
}

.review-content {
    position: relative;
}

.review-text {
    margin-bottom: 1.5rem;
    position: relative;
}

.review-text i {
    color: #60a5fa;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.6;
}

.review-text p {
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #2d3748;
    padding-top: 1.5rem;
}

.reviewer-details h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.reviewer-details p {
    color: #60a5fa;
    font-size: 0.9rem;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.prev-btn,
.next-btn {
    background: #60a5fa;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background: #3b82f6;
    transform: scale(1.1);
}

.prev-btn:disabled,
.next-btn:disabled {
    background: #64748b;
    cursor: not-allowed;
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .review-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 100%;
    }
    
    .reviews {
        padding: 4rem 1rem;
    }
}

/* Technologies Section */
.technologies {
    padding: 5rem 2rem;
    background-color: #0f172a;
    position: relative;
    overflow: hidden;
}

.technologies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    pointer-events: none;
}

.technologies h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.technologies .section-subtitle {
    text-align: center;
    color: #60a5fa;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

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

.tech-category {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #2d3748;
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-10px);
    border-color: #60a5fa;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tech-category h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.tech-category h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    border-radius: 2px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(96, 165, 250, 0.1);
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 2.5rem;
    color: #60a5fa;
    transition: all 0.3s ease;
}

.tech-item:hover i {
    transform: scale(1.1);
    color: #3b82f6;
}

.tech-item span {
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .technologies {
        padding: 4rem 1rem;
    }

    .tech-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tech-item {
        padding: 0.8rem;
    }

    .tech-item i {
        font-size: 2rem;
    }
}

/* Success Modal Styles */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    backdrop-filter: blur(5px);
}

.success-content {
    background: #1e293b;
    text-align: center;
    padding: 2.5rem !important;
}

.success-icon {
    margin-bottom: 1.5rem;
}

.success-icon i {
    font-size: 4rem;
    color: #22c55e;
    animation: scaleIn 0.5s ease-out;
}

.success-content h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.success-content p {
    color: #e2e8f0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.ok-button {
    background-color: #22c55e;
    color: white;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ok-button:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .success-content {
        width: 90%;
        padding: 2rem !important;
    }
    
    .success-icon i {
        font-size: 3rem;
    }
    
    .success-content h2 {
        font-size: 1.5rem;
    }
    
    .success-content p {
        font-size: 1rem;
    }
}

/* Projects Section */
.projects {
    padding: 5rem 2rem;
    background-color: #1e293b;
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    pointer-events: none;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.projects .section-subtitle {
    text-align: center;
    color: #60a5fa;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

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

.project-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #2d3748;
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #60a5fa;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.project-tech span {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.project-tech span:hover {
    background: rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .projects {
        padding: 4rem 1rem;
    }

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

    .project-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Consistent Container Width */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Card Styles */
.card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 15px;
    border: 1px solid #2d3748;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #60a5fa;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

/* Modal Styles */
.modal-content {
    max-width: 600px;
    width: 90%;
    margin: 15% auto;
    padding: 2rem;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 1.5rem;
    }
}

/* Spacing Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 2.5rem; padding-bottom: 2.5rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 2.5rem; padding-right: 2.5rem; }

/* Maintain aspect ratio for images */
.img-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Typography */
@media (max-width: 1024px) {
    html {
        font-size: 95%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 90%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 85%;
    }
} 