/* CloudStart Solutions v1.1 
    Theme: Enterprise Cloud (Dark Mode)
*/

:root {
    --primary: #0078d4;      /* Azure Blue */
    --primary-light: #00f2fe; /* Accent Cyan */
    --bg-dark: #030a12;      /* Deep Space Blue */
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #f4f7f9;
    --text-muted: #a0aec0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 10, 18, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    height: 35px; /* Adjusted for modern nav feel */
    width: auto;
    display: block;
    transition: var(--transition);
}

.brand-logo:hover {
    filter: drop-shadow(0 0 8px var(--primary-light));
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-light);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 180px 0 120px;
    text-align: center;
    /* Animated Gradient Background */
    background: linear-gradient(-45deg, #030a12, #061727, #003a66, #030a12);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
}

.btn-primary:hover {
    background: #0086ed;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.4);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--glass-border);
    border-color: var(--primary-light);
}

/* --- Services Grid --- */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-light);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Expertise/Tech Stack --- */
.expertise-content {
    text-align: center;
    max-width: 800px; /* This keeps the paragraph from stretching too wide on big monitors */
    margin: 0 auto;   /* This centers the container itself */
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This is the magic line that centers the tags! */
    gap: 12px;
    margin-top: 30px;
}

.tech-tags span {
    background: rgba(0, 120, 212, 0.1);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

/* --- Footer --- */
.footer {
    padding: 80px 0 40px;
    background: #02080e;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer h2 {
    margin-bottom: 20px;
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Consider a hamburger menu later */
}