/* Global Styles */
:root {
    --primary: #031b2f;
    --secondary: #f7941d;
    --accent: #ffcc00;
    --light: #f9f9f9;
    --dark: #020e1a;
    --text: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--text);
    overflow-x: hidden;
}

/* Hero Section with Particles */
.service-hero {
    background: linear-gradient(135deg, rgba(3, 27, 47, 0.9) 0%, rgba(7, 42, 72, 0.9) 100%);
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: textReveal 1s ease forwards 0.3s;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease forwards 0.6s;
}

/* Service Content */
.service-content {
    padding: 80px 0;
    position: relative;
}

.content-block {
    background: white;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin: 0 auto 60px;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.content-block.animated {
    opacity: 1;
    transform: translateY(0);
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--secondary);
    transition: width 0.5s ease;
}

.content-block:hover::before {
    width: 100%;
    opacity: 0.1;
}

.content-block h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.content-block p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background: rgba(247, 148, 29, 0.05);
    transition: all 0.5s ease;
    transform: translateY(0);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(247, 148, 29, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.feature-item h3 {
    font-size: 1.1rem;
    color: var(--primary);
}

/* Materials Slider */
.materials-slider {
    margin-top: 40px;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
    width: calc(250px * 10);
}

.material-card {
    min-width: 230px;
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.material-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.material-card h3 {
    font-size: 1rem;
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--secondary);
}

.cta-btn:hover {
    background: transparent;
    color: var(--secondary);
    box-shadow: 0 0 20px rgba(247, 148, 29, 0.5);
}

/* Animations */
@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 5));
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
    }

    50% {
        text-shadow: 0 0 20px rgba(255, 204, 0, 0.8);
    }

    100% {
        text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
    }
}

@keyframes pulse-grow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(247, 148, 29, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(247, 148, 29, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(247, 148, 29, 0);
    }
}

/* Animation Classes */
.text-reveal {
    animation: textReveal 1s ease forwards;
}

.slide-up {
    animation: slideUp 1s ease forwards;
}

.glow-text {
    animation: glow 3s ease infinite;
}

.pulse {
    animation: pulse 2s ease infinite;
}

.rotate {
    animation: rotate 10s linear infinite;
}

.pulse-grow {
    animation: pulse-grow 2s infinite;
}

.text-shimmer {
    background: linear-gradient(90deg, #fff, var(--secondary), #fff);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .content-block {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .content-block h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .content-block {
        padding: 20px;
    }
}