:root {
    --primary-bg: #FFFFFF; /* Clean White */
    --surface-bg: #F8FAFC; /* Pearl Gray */
    --surface-bg-hover: #F1F5F9;
    --navy-blue: #0F172A; /* Deep Navy Blue */
    --accent-orange: #F97316; /* Electrician Orange */
    --text-main: #475569; /* Slate Blue-Gray */
    --text-muted: #64748B;
    --white: #FFFFFF;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --border-color: rgba(15, 23, 42, 0.1);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--primary-bg);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Glassmorphism utilities */
.glass {
    background: var(--surface-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.5rem; line-height: 1.3; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-main); }

/* Text Gradients (Removed for corporate feel) */
.text-gradient {
    color: var(--navy-blue);
    display: inline-block;
}

a { color: var(--navy-blue); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--accent-orange); }

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

.section {
    padding: 6rem 0;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--accent-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
    color: var(--white);
    background: #EA580C;
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--navy-blue);
    color: var(--navy-blue);
}
.btn-outline:hover {
    background: rgba(15, 23, 42, 0.05);
    transform: translateY(-2px);
}

/* Header & Navigation */
header {
    background: var(--navy-blue);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}
.logo span {
    color: var(--accent-orange);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
nav a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}
nav a:hover, nav a.active {
    color: var(--white);
}
nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 0 8rem;
    text-align: center;
    overflow: hidden;
}
/* Modern glowing orb background effect */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.15) 0%, rgba(0, 229, 255, 0.1) 40%, rgba(11, 14, 20, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}
.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
}

/* Services/Features Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--navy-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.card:hover {
    transform: translateY(-4px);
    background: var(--surface-bg);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: rgba(15, 23, 42, 0.2);
}
.card:hover::before {
    transform: scaleX(1);
}
.card h3 { color: var(--navy-blue); margin-bottom: 1rem; }

/* Portfolio Section */
.portfolio-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
@media(min-width: 768px) {
    .portfolio-item { flex-direction: row; }
}
.portfolio-item:hover {
    background: var(--surface-bg);
    border-color: rgba(15, 23, 42, 0.2);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.portfolio-content {
    padding: 2.5rem;
    flex: 1;
}
.portfolio-content h3 { color: var(--navy-blue); font-size: 1.8rem; margin-bottom: 1rem; }
.portfolio-content h4 { color: var(--navy-blue); font-size: 1.1rem; margin-bottom: 0.5rem; margin-top: 1.5rem; font-weight: 600; }
.portfolio-content p { color: var(--text-main); margin-bottom: 1rem; }

/* Image Text Section - adapted to modern abstract blocks if images are absent */
.img-text-section {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}
@media(min-width: 992px) {
    .img-text-section { flex-direction: row; }
    .img-text-section > * { flex: 1; }
}
.abstract-visual {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    background: var(--navy-blue);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}
.form-control {
    width: 100%;
    padding: 1.2rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--navy-blue);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Footer */
footer {
    background: var(--navy-blue);
    border-top: 1px solid var(--navy-blue);
    padding: 4rem 0 2rem;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-col h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.8rem; }
.footer-col a { color: rgba(255, 255, 255, 0.7); }
.footer-col a:hover { color: var(--accent-orange); }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Page Headers */
.page-header {
    background: var(--navy-blue);
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.page-header h1, .page-header p {
    color: var(--white);
}

/* Utilities */
.cta-wrapper { margin-top: 2rem; }

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
