/* Core Styling Rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2b2b2b;
    background-color: #fcfcfc;
}

html {
    scroll-behavior: smooth;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.small-container {
    max-width: 600px;
    padding: 40px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

@media (max-width: 600px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: #1a2e40;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #d97706;
    margin: 10px auto 0 auto;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #64748b;
}

/* Navigation Menu */
.navbar {
    background-color: #1a2e40;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
}

.logo span {
    color: #d97706;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #d97706;
}

/* Hero Frame */
.hero-section {
    background-color: #2d3748;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 46, 64, 0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #cbd5e1;
}

.btn-primary {
    background-color: #d97706;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #b45309;
}

/* Capability Cards */
.services-section {
    background-color: #ffffff;
}

.card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #1a2e40;
    padding: 30px;
    border-radius: 4px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 12px;
    color: #1a2e40;
}

/* Project Items */
.projects-section {
    background-color: #f1f5f9;
}

.project-item {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.project-img-placeholder {
    background-color: #cbd5e1;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: 3px solid #d97706;
}

.project-info {
    padding: 25px;
}

.project-info h4 {
    color: #1a2e40;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

/* Form Styling */
.contact-section {
    background-color: #ffffff;
}

.contact-form {
    background: #f8fafc;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a2e40;
}

.btn-submit {
    width: 100%;
    background-color: #1a2e40;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #0f1c2a;
}


/* Added by WireHedz Section */
.center-scale-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;   /* Scales down dynamically on small screens */
  height: auto;      /* Prevents distortion */
}


/* Footer Section */
.footer {
    background-color: #0f1c2a;
    color: #94a3b8;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}
