/* Global Reset & Box Sizing */
:root {
    --primary-color: #0d1b2a;
    /* Deep Navy */
    --secondary-color: #1b263b;
    /* Lighter Navy */
    --accent-color: #00e0ff;
    /* Electric Cyan */
    --text-color: #e0e6ed;
    /* Off-white for text on dark */
    --heading-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #00b4d8, var(--accent-color));
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 224, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 224, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: rgba(0, 224, 255, 0.1);
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

/* Header & Nav */
header {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: var(--glass-border);
}

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

.logo a {
    display: block;
    background-color: #ffffff;
    padding: 5px;
    /* Minimal padding to maximize logo size inside */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 224, 255, 0.2);
    transition: var(--transition);
    overflow: hidden;
    /* Ensure no spillover */
}

.logo a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 224, 255, 0.4);
}

.logo img {
    height: 60px;
    /* Adjusted to match header height */
    max-width: 250px;
    /* Allow it to be wider */
    width: auto;
    object-fit: contain;
    display: block;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    font-weight: 500;
    font-size: 1rem;
}

nav a:not(.btn-primary):hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at top right, #1b263b, #0d1b2a);
    overflow: hidden;
    padding-top: 80px;
    /* Header offset */
}

/* Abstract Tech Background Elements */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    filter: blur(150px);
    opacity: 0.1;
    top: -100px;
    right: -100px;
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: #712cf9;
    /* Purple accent */
    filter: blur(120px);
    opacity: 0.1;
    bottom: -50px;
    left: -100px;
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #a0aab5;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Services Section */
.services {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

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

.service-card {
    background: var(--card-bg);
    border: var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    /* Slightly lighter on hover */
    border-color: rgba(0, 224, 255, 0.3);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #a0aab5;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--secondary-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: var(--primary-color);
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    border: var(--glass-border);
}

.stat-box .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-box .label {
    font-size: 1rem;
    color: #a0aab5;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--secondary-color);
    padding: 50px;
    border-radius: 30px;
    border: var(--glass-border);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-detail {
    margin-top: 30px;
    font-size: 1.2rem;
}

.contact-detail a {
    color: var(--accent-color);
    font-weight: 600;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    border-top: var(--glass-border);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}