/* Ross Dynamics - Main Stylesheet */

:root {
    --red: #bb0103;
    --blue: #1207a3;
    --dark-bg: #0a0a0f;
    --card-bg: #12121a;
    --card-border: #1e1e2a;
    --text-primary: #f0f0f5;
    --text-secondary: #8a8a9a;
    --gradient-red: linear-gradient(135deg, #bb0103 0%, #8a0102 100%);
    --gradient-blue: linear-gradient(135deg, #1207a3 0%, #0d0570 100%);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background:
        linear-gradient(to bottom,
            rgba(10, 10, 15, 0) 0px,
            rgba(10, 10, 15, 0) 700px,
            rgba(10, 10, 15, 1) 1100px
        ),
        linear-gradient(rgba(10, 10, 15, 0.78), rgba(10, 10, 15, 0.78)),
        url('../assets/back.png') center top / cover no-repeat;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    padding: 30px 0 10px;
    text-align: center;
    position: relative;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
}

.logo {
    max-width: 400px;
    height: auto;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    padding: 30px 0 40px;
    text-align: center;
}

.tagline {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.05em;
}

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

.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: 16px;
}

.section-heading {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 48px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 20px 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--red);
}

.service-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card h3 .icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-red);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    padding-top: 1px;
}

.service-card.blue h3 .icon {
    background: var(--gradient-blue);
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: var(--text-secondary);
    padding: 5px 0;
    border-bottom: 1px solid var(--card-border);
    font-size: 0.85rem;
}

.service-card li:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    padding: 28px 0;
    border-top: 1px solid var(--card-border);
    text-align: center;
    margin-top: auto;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    header {
        padding: 40px 0 20px;
    }

    .hero {
        padding: 30px 0 40px;
    }

    .services {
        padding: 0 0 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px;
    }

    .service-card li {
        padding: 8px 0;
        font-size: 0.9rem;
    }

    .logo {
        max-width: 280px;
    }

    footer {
        padding: 30px 0;
    }
}
