@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary: #0b132b;
    --primary-light: #1c2541;
    --accent: #cda066;
    --accent-hover: #b88b54;
    --text: #2b2b2b;
    --text-light: #5a5a5a;
    --bg: #ffffff;
    --bg-alt: #f4f5f7;
    --border: #e0e0e0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --header-height: 90px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.8rem; }

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

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

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

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Utilities */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-light { color: var(--text-light); }
.bg-alt { background-color: var(--bg-alt); }
.bg-dark { background-color: var(--primary); color: white; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: white; }
.bg-dark p { color: rgba(255,255,255,0.8); }

.section {
    padding: 8rem 0;
}

.section-sm {
    padding: 4rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--accent);
    color: white;
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}
.btn-accent:hover {
    background-color: var(--primary);
    color: white;
}

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

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

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.main-header.scrolled, .main-header.solid-header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    height: 80px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}
.main-header.scrolled .nav-logo a, .main-header.solid-header .nav-logo a {
    color: var(--primary);
}

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

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

.main-header.scrolled .nav-links a, .main-header.solid-header .nav-links a {
    color: var(--primary);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: white;
    transition: var(--transition);
}

.main-header.scrolled .menu-toggle span, .main-header.solid-header .menu-toggle span {
    background-color: var(--primary);
}

/* Hero Sections */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 19, 43, 0.9) 0%, rgba(11, 19, 43, 0.6) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.page-header {
    padding-top: 180px;
    padding-bottom: 100px;
    background-color: var(--primary);
    color: white;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    z-index: 0;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: white; }
.page-header p { font-size: 1.2rem; max-width: 700px; margin: 0 auto; color: rgba(255,255,255,0.8); }

/* Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Decorative */
.accent-line {
    width: 60px;
    height: 2px;
    background-color: var(--accent);
    margin-bottom: 2rem;
}
.text-center .accent-line {
    margin: 0 auto 2rem;
}

/* Service Cards (Elegant) */
.service-card {
    background: var(--bg);
    padding: 3rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-family: serif;
    font-style: italic;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    flex-grow: 1;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
}
.service-link::after {
    content: '→';
    margin-left: 8px;
    transition: var(--transition);
}
.service-card:hover .service-link::after {
    transform: translateX(5px);
}

/* Case Study / Industry Block */
.image-content-block {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    background: var(--bg);
    border: 1px solid var(--border);
}
.image-content-block:last-child { margin-bottom: 0; }
.icb-image {
    flex: 1 1 50%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}
.icb-content {
    flex: 1 1 50%;
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.icb-reverse { flex-direction: row-reverse; }

/* Stat blocks */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}
.bg-dark .stat-grid { border-top-color: rgba(255,255,255,0.1); }
.stat-item h4 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    font-weight: 600;
}

/* Footer */
.main-footer {
    background-color: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 6rem 0 2rem;
    border-top: 5px solid var(--accent);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.footer-brand p { max-width: 300px; }

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-2 { gap: 2rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .icb-content { padding: 3rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .section { padding: 5rem 0; }
    
    .grid-2 { grid-template-columns: 1fr; }
    
    .menu-toggle { display: flex; z-index: 1001; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active { right: 0; }
    .nav-links li { margin: 0 0 2rem 0; width: 100%; }
    .nav-links a { color: white; font-size: 1.5rem; display: block; }
    
    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: white; }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: white; }
    
    .main-header { background-color: var(--primary); }
    .nav-logo a { color: white !important; }
    .menu-toggle span { background-color: white !important; }
    
    .image-content-block { flex-direction: column; }
    .icb-image { min-height: 300px; }
    .icb-content { padding: 2.5rem 1.5rem; }
    .icb-reverse { flex-direction: column; }
    
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand p { max-width: 100%; }
}
