/* Atlantic Data Solutions - Premium Theme */
:root {
    /* Color Palette */
    --bg-dark: #0f172a;
    /* Slate 900 */
    --bg-card: #1e293b;
    /* Slate 800 */
    --text-primary: #f1f5f9;
    /* Slate 100 */
    --text-secondary: #94a3b8;
    /* Slate 400 */
    --accent-cyan: #06b6d4;
    /* Cyan 500 */
    --accent-purple: #8b5cf6;
    /* Violet 500 */
    --accent-blue: #3b82f6;
    /* Blue 500 */
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    --gradient-text: linear-gradient(to right, #22d3ee, #8b5cf6);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Gradient Text Utility */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-cyan);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav>ul>li {
    position: relative;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    display: block;
}

nav>ul>li>a:hover {
    color: var(--accent-cyan);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    width: max-content;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

nav li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin-bottom: 0.5rem;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu a {
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    display: block;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
}



.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-blue);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: transform 0.2s, background 0.2s;
}

.btn:hover {
    background: var(--accent-cyan);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--bg-card);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.05);
}

.card h3 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Footer */
footer {
    background: #020617;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text-secondary);
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Utility */
.mb-4 {
    margin-bottom: 1rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        padding: 1rem;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav>ul>li {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        padding-left: 1.5rem;
        display: none;
    }

    nav li:hover .dropdown-menu {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}