/* RESET & BASE */ 

html {
    scroll-behavior: smooth;
}
body {
    letter-spacing: 0.2px;
}

h2 {
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

/* Adds a small orange line under every section heading */
h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #ff6600;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1f2933;
    line-height: 1.6;
    background-color: #ffffff;
}

/* GLOBAL SECTION SPACING */
section {
    padding: 80px 10%;
    text-align: center; /* Ensures text inside sections is centered by default */
}

/* HEADINGS & TEXT */
h1, h2, h3 {
    font-weight: 600;
    color: #003366;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 15px;
}

/* HEADER */
.site-header {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1500px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
 
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #003366;
    
}

.logo span {
    color: #003366; 
}
.subsidiary-tag {
    color: #ff6600; /* Matching Orange */
    font-size: 14px;
    font-weight: 500;
    margin-top: -2px; /* Pulls tagline closer to the logo */
}
.nav-menu a {
  margin: 0 15px;
  text-decoration: none;
  color: #0b2c4d;
  font-weight: 500;
}

.nav-menu a:hover {
  color: #ff7a00;
}

.btn-primary {
  background: #0b2c4d;
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary:hover {
  background: #ff7a00;
}

.logo span {
    color: #ff6600; /* Enertech Orange */
}


/* HEADER BASE */
.header {
    background: #ffffff; 
    border-bottom: 3px solid #003366; 
    padding: 10px 10%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.logo span {
    color: #ff6600; /* Enertech Orange */
}


/* HEADER BASE */
.header {
    background: #ffffff; 
    border-bottom: 3px solid #003366; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* CONTAINER TO CENTER CONTENT */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* LOGO STYLING */
.logo {
    font-size: 24px;
    font-weight: 700;
    color: #003366;
    text-transform: uppercase;
}

.logo span {
    color: #003366;/* Enertech Orange */
}
.subsidiary-tag {
    color: #ff6600; /* Matching Orange */
    font-size: 14px;
    font-weight: 500;
    margin-top: -2px; /* Pulls tagline closer to the logo */
}

/* NAVIGATION LINKS */
.header nav a {
    color: #003366;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.header nav a:hover {
    color: #ff6600;
}


/* HERO SECTION */
.hero {
  
    height: 100vh;
    background: linear-gradient(rgba(0, 31, 63, 0.6), rgba(0, 31, 63, 0.6)), url("images/hero.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.hero-content {
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(8px); /* Modern blur effect */
    padding: 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto; /* Keeps it centered */
}

/*brand-navy: #003366;
    --brand-orange: #ff6600;*/

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff; /* Override heading color for hero */
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e5e7eb;
}

/* HERO TEXT ANIMATION */
.hero-line {
    opacity: 0;
    transform: translateX(-40px);
    animation: fadeUp 1s ease forwards;
}

/* Animation delays */
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 1.2s; }
.delay-3 { animation-delay: 2.1s; }

/* Keyframes */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* WHY CHOOSE ENERTECH DESIGN */

.why-us {
    background: #ffffff;
    padding: 80px 20px;
}

/* Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Card */
.why-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.why-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation */
.why-card:nth-child(1) { transition-delay: 0.1s; }
.why-card:nth-child(2) { transition-delay: 0.2s; }
.why-card:nth-child(3) { transition-delay: 0.3s; }
.why-card:nth-child(4) { transition-delay: 0.4s; }

/* Orange accent bar */
.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #ff6600, #e65c00);
    transition: 0.6s ease;
}

.why-card:hover::before {
    height: 100%;
}

.why-card:hover {
    border-color: #ff6600;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transform: translateX(5px);
}

/* Icon */
.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255,102,0,0.1), rgba(255,102,0,0.05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6600;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, #ff6600, #e65c00);
    color: #ffffff;
    transform: scale(1.1);
}

.why-card h3 {
    margin-bottom: 1rem;
    color: #003366;
}

/* CONTACT SECTION */
/* ================= CONTACT PAGE ================= */

.contact-page {
  padding: 90px 20px;
  background: #f8f9fa;
}

/* GRID */
.contact-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* LEFT */
.contact-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #ff7a00;
  margin-bottom: 12px;
}

.contact-left h2 {
  color: #0b2c4d;
  margin-bottom: 15px;
}

.contact-intro {
  font-size: 15px;
  line-height: 1.7;
}

/* CONTACT CARDS */
.contact-cards {
  margin-top: 30px;
}

.contact-card {
  display: flex;
  gap: 15px;
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid #e5e7eb;
  transition: 0.3s ease;
}

.contact-card:hover {
  border-color: #ff7a00;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-card i {
  width: 45px;
  height: 45px;
  background: #0b2c4d;
  color: #ff7a00;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card strong {
  display: block;
  color: #0b2c4d;
  margin-bottom: 3px;
}

/* FORM */
.contact-right {
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0b2c4d;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid #ddd;
  background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff7a00;
  background: #fff;
}

/* BUTTON */
.contact-btn {
  width: 100%;
  background: #0b2c4d;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

.contact-btn:hover {
  background: #ff7a00;
}
.fas {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}


/* Product */

.products-section {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

.products-section .section-title {
    font-size: 2.75rem;
    color: #003366;
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;          /* 👈 SPACE BETWEEN ICON, TITLE & BUTTON */
    text-align: center;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.product-icon {
    font-size: 40px;
    color: #ff6600;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #003366;
}

.product-card p {
    font-size: 1rem;
    margin-bottom: 18px;
    color: #596a87;
}

.btn-learn {
    display: inline-block;
    padding: 10px 22px;
    background: #ff6600;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-learn:hover {
    background: #e65c00;
}

/* Product Details page*/

.product-detail {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.product-detail h1 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 20px;
}

.product-detail p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #596a87;
    margin-bottom: 30px;
}

.btn-back {
    display: inline-block;
    padding: 10px 18px;
    background: #003366;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}

/* FOOTER */

html, body {
  margin: 0;
  padding: 0;
}

/* FULL WIDTH FOOTER */
.site-footer {
  width: 100vw;
  background: linear-gradient(180deg, #021527, #010b16);
  color: #cfd8dc;
}

/* CENTER CONTENT */
.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

/* TEXT */
.footer-col h3,
.footer-col h4 {
  color: #ff7a00;
  margin-bottom: 15px;
}

.footer-col p,
.footer-col li {
  font-size: 14px;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col a {
  color: #cfd8dc;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ff7a00;
}

/* BOTTOM BAR */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #90a4ae;
}





