:root {
    --primary: #0a2463; /* Deep Navy */
    --secondary: #4e6766; /* Steel Blue/Gray */
    --accent: #247ba0; /* Muted Cyan */
    --light: #f8f9fa;
    --white: #ffffff;
    --dark: #1a1a1a;
    --gray: #e9ecef;
    --text: #333333;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-text {
    color: var(--primary);
    padding: 0;
}

.btn-text:hover {
    color: var(--accent);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    background-color: var(--white);
    color: var(--primary);
}

.btn-large:hover {
    background-color: var(--gray);
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo img {
    height: 40px;
}

.logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

.header-contact .phone-link {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    background: url('../images/architecture.jpg') no-repeat center center/cover;
    padding-top: 80px;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.9) 0%, rgba(10, 36, 99, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 650px;
}

.badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-architecture-lines {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px,
        transparent 40px
    );
    z-index: 1;
}

/* Trust Strip */
.trust-strip {
    background: var(--primary);
    padding: 1.5rem 0;
    color: var(--white);
}

.trust-grid {
    display: flex;
    justify-content: space-around;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--light);
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
}

.service-segments {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-segment {
    display: flex;
    align-items: stretch;
    background: var(--white);
    min-height: 400px;
    border-bottom: 1px solid var(--gray);
}

.service-segment.reverse {
    flex-direction: row-reverse;
}

.segment-content {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.segment-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.segment-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.segment-image {
    flex: 1;
    overflow: hidden;
}

.segment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-segment:hover .segment-image img {
    transform: scale(1.05);
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: var(--primary);
    color: var(--white);
}

.section-header.inverted h2 {
    color: var(--white);
}

.section-header.inverted p {
    color: var(--accent);
    font-weight: 600;
}

.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 4rem;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 2rem;
    border: 4px solid var(--primary);
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: var(--transition);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.step-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.process-line {
    flex: 0.2;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 30px;
}

/* Gallery */
.gallery {
    padding: 6rem 0;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(10, 36, 99, 0.9));
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Value Section */
.value-stability {
    padding: 6rem 0;
    background: var(--light);
}

.value-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.value-list {
    list-style: none;
    margin-top: 2rem;
}

.value-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.value-list i {
    color: var(--accent);
}

.value-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--primary);
}

/* CTA Block */
.cta-block {
    padding: 6rem 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

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

.full-width {
    width: 100%;
}

.contact-info-wrapper h3 {
    margin-bottom: 1.5rem;
}

.contact-info-wrapper p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.map-container {
    margin-top: 2rem;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--gray);
}

/* Footer */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand .logo span {
    color: var(--white);
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .service-segment, .service-segment.reverse { flex-direction: column; }
    .segment-content { padding: 3rem 2rem; }
    .process-flow { flex-direction: column; gap: 2rem; }
    .process-line { display: none; }
    .value-content, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .nav-links { display: none; }
}
