/*
Theme Name: Transvative Enterprise
Author: Eazaz
Description: Custom IT Outsourcing Theme
Version: 1.0
*/

:root {
    --primary-blue: #4A90E2;
    --light-blue: #E8F4F8;
    --accent-blue: #2B5876;
    --dark-text: #1a1a2e;
    --medium-text: #4a5568;
    --light-text: #718096;
    --white: #ffffff;
    --shadow: rgba(74, 144, 226, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 88, 118, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero h1 strong {
    font-weight: 600;
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--medium-text);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
    animation: fadeInUp 1s ease-out 0.8s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--shadow);
    background: var(--accent-blue);
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-weight: 400;
}

.section-subtitle {
    text-align: center;
    color: var(--medium-text);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(74, 144, 226, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-blue), rgba(74, 144, 226, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.service-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
    font-weight: 500;
}

.service-card p {
    color: var(--medium-text);
    line-height: 1.7;
}

.service-card ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
    color: var(--medium-text);
}

.service-card li {
    margin-bottom: 0.5rem;
}

/* Why Choose Us Section */
.why-choose {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-blue) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 4px 15px var(--shadow);
}

.benefit-item h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--accent-blue);
}

.benefit-item p {
    color: var(--medium-text);
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--white);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-weight: 400;
}

.contact-intro p {
    color: var(--medium-text);
    font-size: 1.1rem;
}

.contact-form {
    background: var(--light-blue);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-blue);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

.submit-button:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
}

/* Footer */
.footer {
    background: var(--accent-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.footer p {
    opacity: 0.9;
}

/* Stats Section */
.stats {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpStat 0.6s ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUpStat {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Crimson Pro', serif;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Technologies Section */
.technologies {
    padding: 6rem 2rem;
    background: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.tech-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--light-blue);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.3), transparent);
    transition: left 0.5s ease;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow);
    background: linear-gradient(135deg, var(--light-blue), rgba(74, 144, 226, 0.15));
}

.tech-name {
    font-weight: 600;
    color: var(--accent-blue);
    font-size: 1.1rem;
}

/* Process Section */
.process {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--white) 100%);
}

.process-steps {
    max-width: 1000px;
    margin: 3rem auto 0;
    display: grid;
    gap: 2rem;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 25px var(--shadow);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Crimson Pro', serif;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.6rem;
    color: var(--accent-blue);
    margin-bottom: 0.8rem;
}

.step-content p {
    color: var(--medium-text);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 2rem;
    background: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.testimonial-card {
    background: var(--light-blue);
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.3;
    font-family: 'Crimson Pro', serif;
}

.testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px var(--shadow);
}

.testimonial-text {
    color: var(--medium-text);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    color: var(--accent-blue);
    font-weight: 600;
}

.testimonial-role {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Scroll Animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating particles animation */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: 2s; }
.particle:nth-child(3) { left: 50%; animation-delay: 4s; }
.particle:nth-child(4) { left: 70%; animation-delay: 6s; }
.particle:nth-child(5) { left: 90%; animation-delay: 8s; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    50% { transform: translateY(0) scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .logo {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .benefits-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Form Success Message */
.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Theme toggle button */
.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(43,88,118,0.08);
    color: var(--accent-blue);
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.theme-toggle:hover { transform: translateY(-2px); }

/* Dark theme using data attribute on html */
html[data-theme="dark"] {
    --white: #0b0f19; /* page background */
    --dark-text: #e6eef7;
    --medium-text: #b8c4d6;
    --light-text: #9aa6bb;
    --light-blue: #071428;
    --primary-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --shadow: rgba(0,0,0,0.45);
}

/* Ensure smooth transitions when switching themes */
html, body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

html[data-theme="dark"] .theme-toggle {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--white);
    box-shadow: none;
}

