/* =====================================================
   HP WebCO
   Version 1.0
   Foundation Styles
===================================================== */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

section {
  padding: 90px 0;
}

/* ---------- Color Palette ---------- */
:root {

   --primary-blue: #1E40AF;
   --primary-blue-dark: #1E3A8A;

    --dark-gray: #1F2937;
    --medium-gray: #4B5563;
    --light-gray: #dfe1e6;

    --white: #FFFFFF;

    --max-width: 1200px;

}

/* ---------- Reset ---------- */

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

/* ---------- Smooth Scrolling ---------- */

html{
    scroll-behavior:smooth;
}

/* ---------- Body ---------- */

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
  color: #111;
  background: #fff;
}

h1, h2, h3 {
  letter-spacing: -0.5px;
}

/* ---------- Images ---------- */

img{

    max-width:100%;

    display:block;

}

/* ---------- Links ---------- */

a{

    text-decoration:none;

    color:inherit;

}

/* ---------- Lists ---------- */

ul,
ol{

    list-style:none;

}

/* ---------- Main Container ---------- */

.container{

    width:90%;

    max-width:var(--max-width);

    margin:auto;

}

/* ---------- Section Spacing ---------- */

section{

    padding:90px 0;

}

/* ---------- Headings ---------- */

h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 15px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
}
/* ---------- Paragraphs ---------- */

p{

    color:var(--medium-gray);

    font-size:1.05rem;

}

/* =====================================================
   Header
===================================================== */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #111;
}

/* Layout container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* HEADER */
.header {
  background: #134b58;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

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

.logo img {
  height: 45px;
  width: auto;
  transition: transform 0.2s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

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

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    color: #0b2d5c;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* NAV */
.nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav a:hover {
  color: #3b82f6;
}


/* CTA BUTTON */
.cta-button {
  background: #3b82f6;
  color: white;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 6px;
}

/* POLISH ADD-ON (Step 4 upgrade) */
.cta-button {
  transition: all 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}


/* HERO */
.hero {
  padding: 90px 0;
  text-align: center;
  background: #f9fafb;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  color: #000000;
  max-width: 600px;
  margin: 0 auto 25px;
}

.hero-buttons .btn {
  display: inline-block;
  padding: 12px 18px;
  margin: 5px;
  border-radius: 6px;
  text-decoration: none;
}

.btn.primary {
    background-color: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn.secondary {
    background-color: #3b82f6;
    color: white;
    border: 2px solid #3b82f6;
}

/* =====================================================
   Why Choose Section
===================================================== */

.features{
    margin-top:25px;
}

.features li{
    background:var(--white);
    padding:15px 18px;
    margin-bottom:10px;
    border-left:4px solid var(--primary-blue);
    color:var(--medium-gray);
    font-weight:500;
}

/* =====================================================
   Services Section
===================================================== */

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:20px;
    margin-top:30px;
}

.service-card{
    background:var(--white);
    padding:25px;
    border:1px solid #E5E7EB;
    border-radius:8px;
    transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 20px rgba(0,0,0,0.08);
}

.service-card h3{
    margin-bottom:10px;
    color:var(--primary-blue);
}

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

/* =====================================================
   Portfolio Section
===================================================== */

.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:20px;
    margin-top:30px;
}

.portfolio-card{
    background:var(--light-gray);
    padding:25px;
    border-radius:8px;
    border-left:4px solid var(--primary-blue);
}

.portfolio-card h3{
    margin-bottom:10px;
    color:var(--dark-gray);
}

.portfolio-card p{
    font-size:0.95rem;
}

.portfolio-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 26px;
    background-color: #4f8ef7;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-btn:hover {
    background-color: #3d79da;
    transform: translateY(-2px);
}

/* =====================================================
   Process Section
===================================================== */

.process-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:20px;
    margin-top:30px;
}

.process-step{
    background:var(--white);
    padding:25px;
    border-radius:8px;
    border:1px solid #E5E7EB;
}

.process-step h3{
    color:var(--primary-blue);
    margin-bottom:10px;
}

.process-step p{
    font-size:0.95rem;
}

/* =====================================================
   Contact Section
===================================================== */

.contact-box{
    background:var(--white);
    padding:30px;
    border-radius:8px;
    border:1px solid #E5E7EB;
    margin-top:25px;
    text-align:center;
}

.contact-box p{
    margin-bottom:10px;
}

.contact-box .button{
    margin-top:15px;
}

/* =====================================================
   HEADER + NAV (NEW)
===================================================== */

.main-header{
    background:var(--white);
    border-bottom:1px solid #E5E7EB;
    padding:20px 0;
}

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

.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo-box{
    background:var(--primary-blue);
    color:white;
    font-weight:700;
    padding:8px 10px;
    border-radius:6px;
}

.logo-text{
    font-weight:700;
    font-size:1.2rem;
}

/* NAV */

.main-nav{
    display:flex;
    gap:25px;
}

.main-nav a{
    font-weight:600;
    color:var(--dark-gray);
}

.main-nav a:hover{
    color:var(--primary-blue);
}

/* =====================================================
   HERO (UPGRADED)
===================================================== */

.hero{
    background:var(--light-gray);
    padding:100px 0;
}

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

.hero-text h1{
    font-size:3rem;
    margin-bottom:20px;
}

.hero-text p{
    font-size:1.1rem;
    margin-bottom:25px;
}

.hero-buttons{
    display:flex;
    gap:15px;
}

/* SECONDARY BUTTON */

.button.secondary{
    background:transparent;
    color:var(--primary-blue);
    border:2px solid var(--primary-blue);
}

.button.secondary:hover{
    background:var(--primary-blue);
    color:white;
}

/* HERO IMAGE PLACEHOLDER */

.placeholder-box{
    background:var(--white);
    border:2px dashed #CBD5E1;
    height:300px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--medium-gray);
    font-weight:600;
    border-radius:10px;
}

.services {
  padding: 80px 0;
  background: #ffffff;
  text-align: center;
}

.services h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: #f9fafb;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #eee;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  color: #555;
}

/* mobile responsiveness */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio {
  padding: 80px 0;
  background: #f9fafb;
  text-align: center;
}

.portfolio h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.portfolio-subtext {
  color: #666;
  margin-bottom: 40px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
}

.portfolio-placeholder {
  height: 160px;
  background: #e5e7eb;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* mobile */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #c0c1c2;
}

.service-card,
.portfolio-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.btn, .cta-button {
  transition: all 0.2s ease;
}

.btn:hover, .cta-button:hover {
  transform: scale(1.05);
}

.contact {
  padding: 80px 0;
  background: #ffffff;
  text-align: center;
}

.contact-subtext {
  color: #666;
  margin-bottom: 30px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  outline: none;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3b82f6;
}

.contact-form button {
  background: #3b82f6;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s;
}

.contact-form button:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.footer {
    width: 100%;
    background-color: #0b2d5c;
    color: white;
    padding: 0;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0;
}


.footer-brand {
    display: flex;
    flex-direction: column;
}


.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}


.footer-logo img {
    height: 45px;
    width: auto;
}


.footer-logo span {
    color: white;
    font-size: 24px;
    font-weight: 700;
}


.footer-brand p {
    margin-top: 10px;
    color: #d1d5db;
    font-size: 15px;
}


.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.footer-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}


.footer-links a:hover {
    color: #60a5fa;
}


.footer-bottom {
    text-align: center;
    border-top: 1px solid #184eb8;
    padding-top: 15px;
    padding-bottom: 15px;
    color: #ffffff;
    font-size: 14px;
}

.hero h1 {
  font-size: 46px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  max-width: 650px;
}

.grey-section {
  background: #e8ebee;
}

.nav-link {
  transition: color 0.2s ease;
}

.nav-link.active {
  color: #3b82f6;
  font-weight: 600;
}

p {
  color: #555;
}