/* =========================
   WebCraft Innovations
   Base Styles
   ========================= */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.6;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  /* =========================
     Navigation
     ========================= */
  
  .site-header {
    width: 100%;
    border-bottom: 1px solid #e8ebef;
  }
  
  .navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  
  .brand-logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
  }
  
  .nav-links {
    display: flex;
    gap: 32px;
  }
  
  .nav-links a {
    font-size: 0.95rem;
    color: #4d5668;
  }
  
  .nav-links a:hover {
    color: #172033;
  }

  .menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
  }
  
  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0f172a;
  }
  
  .menu-toggle span + span {
    margin-top: 6px;
  }
  
  /* =========================
     Hero
     ========================= */
  
  .hero {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
  }
  
  .hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px 110px;
  }
  
  .hero-eyebrow {
    margin-bottom: 18px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase; 
    color: #1677c8;
  }
  
  .hero h1 {
    max-width: 850px; 
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: #111827;
  }
  
  .hero-text {
    max-width: 720px;
    margin-top: 32px;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #596273;
  }
   
  /* =========================
     Hero Buttons
     ========================= */
  
  .hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 38px;
  }
  
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    transition:
      background-color 0.2s ease,
      color 0.2s ease,
      border-color 0.2s ease;
  }
  
  .button-primary {
    background: #1677c8;
    color: #ffffff;
    border: 1px solid #1677c8;
  }
  
  .button-primary:hover {
    background: #1264aa;
    border-color: #1264aa;
  }
  
  .button-secondary {
    background: transparent;
    color: #172033;
    border: 1px solid #cfd5dd;
  }
  
  .button-secondary:hover {
    border-color: #172033;
  }
  
  /* =========================
     Hero Note
     ========================= */
  
  .hero-note {
    margin-top: 34px;
    font-size: 0.9rem;
    color: #7a8290;
  }

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

.services {
    padding: 120px 32px;
    background: #f7f8fa;
  }
  
  .section-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-heading {
    max-width: 760px;
  }
  
  .section-eyebrow {
    margin-bottom: 18px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1677c8;
  }
  
  .section-heading h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: #111827;
  }
  
  .section-intro {
    max-width: 650px;
    margin-top: 26px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #596273;
  }
  
  /* Services Grid */
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 80px;
    border-top: 1px solid #dfe3e8;
  }
  
  .service {
    min-height: 280px;
    padding: 30px 30px 30px 0; 
    border-right: 1px solid #dfe3e8;
  }
  
  .service:not(:first-child) {
    padding-left: 30px;
  }
  
  .service:last-child {
    border-right: none;
  }
  
  .service-number {
    display: block;
    margin-bottom: 48px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #1677c8;
  }
  
  .service h3 {
    max-width: 220px;
    margin-bottom: 18px;
    font-size: 1.3rem;
    line-height: 1.25;
    color: #172033;
  }
  
  .service p {
    max-width: 240px;
    font-size: 0.95rem;
    line-height: 1.7; 
    color: #697283;
  }

  /* =========================
   Selected Work
   ========================= */

.work {
    padding: 130px 32px;
    background: #ffffff;
  }
  
  .work-heading {
    max-width: 800px;
  }
  
  .work-heading h2 {
    max-width: 760px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: #111827;
  }
  
  /* Featured Project */
  
  .featured-project {
    margin-top: 55px;
  }
  
  .project-image {
    overflow: hidden;
    border: 1px solid #e2e5e9;
    background: #f7f8fa;
  }
  
  .project-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Project Information */
  
  .project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding-top: 34px;
  }
  
  .project-type {
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1677c8;
  }
  
  .project-title h3 {
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #172033;
  }
  
  .project-description {
    max-width: 520px;
  }
  
  .project-description p {
    font-size: 1rem;
    line-height: 1.75;
    color: #596273;
  }
  
  .project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px; 
    font-size: 0.95rem;
    font-weight: 700;
    color: #172033;
  }
  
  .project-link span {
    color: #1677c8;
    transition: transform 0.2s ease;
  }
  
  .project-link:hover span {
    transform: translateX(4px);
  }

  /* =========================
   About
   ========================= */

.about {
    padding: 130px 32px;
    background: #111827;
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
  }
  
  .about .section-eyebrow {
    color: #4da3e3;
  }
  
  .about-heading h2 {
    max-width: 560px;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
    color: #ffffff;
  }
  
  .about-content {
    max-width: 540px;
    padding-top: 36px;
  }
  
  .about-content p {
    margin-bottom: 24px; 
    font-size: 1rem;
    line-height: 1.8;
    color: #aeb6c4;
  }
  
  .about-content .about-lead {
    font-size: 1.3rem;
    line-height: 1.6; 
    color: #ffffff;
  }
   
  /* About Principle */
  
  .about-principle {
    margin-top: 110px;
    padding-top: 42px;
    border-top: 1px solid #30394a;
  }
  
  .about-principle p {
    max-width: 950px; 
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: #ffffff;
  }

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

.contact {
    padding: 130px 32px 140px;
    background: #ffffff;
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 100px;
    margin-top: 24px;
  }
  
  .contact-heading h2 {
    max-width: 760px;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 1;
    letter-spacing: -0.05em; 
    color: #111827;
  }
  
  .contact-content {
    max-width: 420px;
    padding-top: 18px;
  }
  
  .contact-content p {
    font-size: 1.1rem;
    line-height: 1.75; 
    color: #596273;
  }
  
  .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px; 
    margin-top: 32px;
    padding-bottom: 6px;
    border-bottom: 2px solid #1677c8;
    font-size: 1rem;
    font-weight: 700;
    color: #172033;
  }
  
  .contact-link span {
    color: #1677c8;
    transition: transform 0.2s ease;
  }
  
  .contact-link:hover span {
    transform: translateX(4px);
  }

  /* =========================
   Footer
   ========================= */

.site-footer {
    padding: 34px 32px;
    background: #ffffff;
    border-top: 1px solid #e2e5e9;
  }
  
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }
  
  .footer-brand p {
    margin-bottom: 4px;
    font-size: 0.95rem;
    font-weight: 700; 
    color: #172033;
  }
  
  .footer-brand span,
  .footer-meta p {
    font-size: 0.8rem;
    color: #7a8290;
  }
  
  .footer-meta {
    display: flex;
    align-items: center;
    gap: 36px;
  }
  
  .back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 7px; 
    font-size: 0.8rem;
    font-weight: 600;
    color: #596273;
  }
  
  .back-to-top span {
    color: #1677c8;
    transition: transform 0.2s ease;
  }
  
  .back-to-top:hover {
    color: #172033;
  }
  
  .back-to-top:hover span {
    transform: translateY(-3px);
  }

  /* =========================
   Responsive
   ========================= */

  @media (max-width: 767px) {
    .navbar {
      padding: 20px 32px;
      flex-wrap: wrap;  
     }
  
    .brand {
      white-space: nowrap;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .nav-links {
      display: none;
    }

    .nav-links.nav-open {
      display: flex;
      flex-basis: 100%;
      flex-direction: column;
      gap: 0;
      padding: 16px 0 4px;
    }
      
    .nav-links.nav-open a {
      padding: 7px 0;
      font-size: 1rem;
    }

    .menu-toggle span {
      transition: transform 0.2s ease;
    }
      
    .menu-toggle[aria-expanded="true"] span:first-child {
      transform: translateY(4px) rotate(45deg);
    }
      
    .menu-toggle[aria-expanded="true"] span:last-child {
      transform: translateY(-4px) rotate(-45deg);
    }

    .services-grid {
      grid-template-columns: 1fr;
    }
      
    .service {
      min-height: 0;
      padding: 28px 0 30px;
      border-right: none;
      border-top: 1px solid #dfe3e8;
    }
      
    .service:not(:first-child) {
      padding-left: 0;
    }
      
    .service-number {
      margin-bottom: 24px;
    }
      
    .service h3 {
      max-width: none;
      margin-bottom: 14px;
    }
      
    .service p {
      max-width: 520px;
    }

    .work {
      padding: 80px 32px;
    }

    .featured-project {
      margin-top: 56px;
    }
      
    .project-image img {
      width: 100%;
      height: auto;
      display: block;
    }
      
    .project-details {
      grid-template-columns: 1fr;
      gap: 28px;
    }
      
    .project-title,
    .project-description {
      min-width: 0;
    }
      
    .project-description p {
      max-width: none;
    }
      
      /* About */

    .about-grid {
      grid-template-columns: 1fr;
      gap: 48px;
    }
  
    .about-heading,
    .about-content {
      min-width: 0;
    }
  
    .about-content {
      max-width: none;
    }
  
    .about-principle {
      margin-top: 64px;
    }
  
     /* Contact */
  
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  
    .contact-heading,
    .contact-content {
      min-width: 0;
    }
  
    .contact-content {
      max-width: none;
    }
  
      /* Footer */
  
    .footer-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 28px;
    }
  
    .footer-meta {
      width: 100%;
      justify-content: space-between;
    }
  }