/*
Theme Name: Nofanezile One-Page Theme
Theme URI: https://example.com/nofanezile-onepage
Author: Nofanezile PTY LTD
Version: 1.0
Text Domain: nofanezile-onepage
*/

/* File: style.css */
/* Modernized CSS for Nofanezile One-Page Theme */

/* Modernized CSS for Nofanezile One-Page Theme */

:root {
  --primary-color: #004E7C;
  --secondary-color: #F5A623;
  --neutral-100: #F9FAFB;
  --neutral-900: #2D3748;
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--neutral-900);
  background: var(--neutral-100);
}

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

a:hover {
  color: var(--secondary-color);
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.98);
  z-index: 100;
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75em 2em;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
}

.site-header nav a {
  font-weight: 600;
  padding-bottom: 0.25em;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.3s;
}

.site-header nav a:hover {
  border-bottom-color: var(--secondary-color);
}



#about.section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.about-icon {
  color: #004E7C; /* Customize color as needed */
  flex: 0 0 auto;
  text-align: center;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 15px;
}

.about-content p {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
}

/* Hero Section */
#hero {
  margin-top: 70px;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://unsplash.com/photos/a-couple-of-cranes-that-are-next-to-a-building-HyYcp2w8tYo') center/cover;
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-family: var(--heading-font);
  font-size: 3.5rem;
  margin-bottom: 0.5em;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 1.2em;
}

.hero-content .btn-primary {
  background: var(--primary-color);
  color: #fff;
  padding: 0.75em 1.75em;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, background 0.3s ease;
}

.hero-content .btn-primary:hover {
  transform: translateY(-3px);
  background: var(--secondary-color);
}

.site-footer {
    background-color: #004E7C;
    color: #ffffff;
    padding: 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    margin: 5px 10px;
}

.footer-content a {
    color: #F5A623;
    text-decoration: none;
}


/* Sections */
.section {
  padding: 5em 0;
}

.section h2 {
  font-family: var(--heading-font);
  font-size: 2.8rem;
  margin-bottom: 1em;
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  transform: translateX(-50%);
}

.section .container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Company Details */
#company-details ul {
  list-style: none;
  padding: 0;
  line-height: 1.6;
}

#company-details strong {
  width: 200px;
  color: var(--neutral-900);
}

/* Empowerment, Vision, Mission & Values */
#empowerment ul {
  list-style: disc;
  margin-left: 2em;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5em;
}

.service-card {
  background: #fff;
  padding: 2em;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card img {
  width: 65px;
  margin-bottom: 1em;
}

/* About Section */
#about .about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  align-items: center;
}

#about img {
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Contact */
.contact-details p {
  margin-bottom: 0.75em;
}

/* Footer */
.site-footer {
  background: var(--neutral-900);
  color: #fff;
  text-align: center;
  padding: 2em;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}



/* Navigation */
.site-header { position: fixed; top:0; left:0; width: 100%; background: rgba(255,255,255,0.95); z-index: 100; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 1em; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1em; }
.site-header nav a { padding: .5em 1em; font-weight: 600; }

/* Hero */
#hero { margin-top: 60px; height: 80vh; display: flex; align-items: center; justify-content: center; background: url('https://images.unsplash.com/photo-1641800225511-5710861e950f?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat; position: relative; }
#hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.hero-content { position: relative; text-align: center; color: #fff; }
.hero-content h1 { font-family: var(--heading-font); font-size: 3rem; margin-bottom: .5em; }
.hero-content p { font-size: 1.25rem; margin-bottom: 1em; }
.hero-content .btn-primary { background: var(--primary-color); color: #fff; padding: .75em 1.5em; border-radius: 4px; text-decoration: none; }

/* Sections */
.section { padding: 6em 0; }
.section h2 { text-align: center; font-family: var(--heading-font); font-size: 2.5rem; margin-bottom: 1em; }
.section .container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Company Details */
#company-details ul { list-style: none; padding: 0; }
#company-details li { margin-bottom: .5em; }
#company-details strong { display: inline-block; width: 180px; }

/* Empowerment, Vision, Mission & Values */
#empowerment h2 { margin-top: 2em; }
#empowerment ul { list-style: disc; margin-left: 1.5em; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 2em; }
.service-card { background: #fff; padding: 2em; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); text-align: center; }
.service-card img { width: 60px; margin-bottom: 1em; }
.service-card h3 { font-size: 1.5rem; margin-bottom: .5em; }

/* About */
#about .about-flex { display: flex; flex-wrap: wrap; gap: 2em; align-items: center; }
#about .about-image, #about .about-content { flex: 1; min-width: 300px; }
#about img { width: 100%; border-radius: 8px; }

/* Contact */
.contact-details p { margin-bottom: .5em; }

/* Footer */
.site-footer { background: #333; color: #fff; text-align: center; padding: 2em 0; }
