/
home
/
whiteglobeco
/
public_html
/
Upload File
HOME
/* energy.css — Nexora blue themed Energy & Utilities page */ /* Reset & base */ * { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } html,body { height: 100%; } body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial; color: #0b1f38; background: #f6f8fb; line-height: 1.6; } /* ============================================================================ HEADER – Clean, Compact, Responsive ============================================================================ */ .header { width: 100%; padding: 10px 5%; display: flex; align-items: center; justify-content: space-between; background: #ffffff; height: 75px; position: fixed; top: 0; left: 0; z-index: 9999; box-shadow: 0 2px 10px rgba(0,0,0,0.05); } .logo-area { display: flex; align-items: center; } .logo-img { height: 55px; } /* ============================================================================ NAVIGATION MENU ============================================================================ */ .navbar .nav-links { display: flex; list-style: none; gap: 36px; align-items: center; } .navbar ul li { position: relative; } .navbar ul li a { text-decoration: none; font-size: 16px; font-weight: 600; color: #002D62; padding: 8px 0; transition: 0.25s; } .navbar ul li a:hover { color: #0096FF; } /* ============================================================================ STABLE DROPDOWN (DESKTOP) ============================================================================ */ .dropdown { position: relative; } .mega-menu { position: absolute; top: 55px; left: 0; width: 250px; padding: 20px 25px; background: #fff; border-radius: 14px; box-shadow: 0 12px 35px rgba(0,0,0,0.15); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease; pointer-events: none; } .dropdown:hover .mega-menu, .dropdown.hover-active .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; } .dropdown::after { content: ""; position: absolute; top: 100%; left: 0; width: 250px; height: 25px; } .mega-col h4 { font-size: 15px; font-weight: 700; color: #002D62; margin-bottom: 10px; } .mega-menu a { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: #002D62; text-decoration: none; transition: 0.2s ease; } .mega-menu a:hover { color: #0096FF; padding-left: 5px; } /* ============================================================================ MOBILE MENU ICON ============================================================================ */ .mobile-menu-icon { display: none; font-size: 32px; cursor: pointer; } /* ============================================================================ MOBILE RESPONSIVE ============================================================================ */ @media (max-width: 900px) { .mobile-menu-icon { display: block; } .navbar .nav-links { position: absolute; top: 75px; left: 0; width: 100%; flex-direction: column; background: #ffffff; padding: 20px 0; max-height: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: all 0.35s ease; } .nav-links.nav-active { max-height: 700px; opacity: 1; pointer-events: auto; border-bottom: 1px solid #eee; } .dropdown:hover .mega-menu { display: none; } .dropdown.open .mega-menu { display: block !important; position: static; opacity: 1 !important; visibility: visible !important; transform: none !important; pointer-events: auto; padding: 12px 20px; background: #f4f8ff; border-radius: 10px; box-shadow: none; } } /* Container */ .container { width: 92%; max-width: 1180px; margin: 0 auto; padding-left: 12px; padding-right: 12px; } /* Header */ .site-header { padding: 14px 0; background: linear-gradient(180deg, rgba(3,81,163,0.03), transparent); position: relative; z-index: 10; } .header-row { display:flex; justify-content:space-between; align-items:center; } .brand { font-weight:800; color:#00345c; font-size:18px; } .nav a { margin-left: 18px; color:#3b5f7f; text-decoration:none; font-weight:600; } .nav a:hover { color:#0077d8; } /* HERO Add safe top spacing to avoid overlap with fixed header. */ .hero { padding-top: 100px; /* adjust if your header height differs */ padding-bottom: 34px; background: linear-gradient(180deg,#f7fbff 0%, #f3f7fb 100%); border-bottom: 1px solid rgba(3,81,163,0.03); } .hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 30px; align-items: center; max-width:1180px; margin: 0 auto; } .eyebrow { display:inline-block; background: rgba(0,91,176,0.08); color:#003c7d; padding:6px 10px; border-radius:8px; font-weight:700; font-size:13px; } .hero-left h1 { font-size: 34px; line-height:1.02; font-weight:800; color:#07243b; margin-top:10px; } .lead { color:#3c586f; font-size:16px; margin-top:8px; max-width:700px; } /* Buttons - both CTAs the same blue */ .btn { display:inline-flex; align-items:center; gap:10px; padding:10px 18px; border-radius:10px; font-weight:700; text-decoration:none; cursor:pointer; border:none; transition: transform .16s ease, box-shadow .16s ease; } .btn.primary { background: linear-gradient(90deg,#005bb0,#0077d8); color:#fff; box-shadow: 0 10px 30px rgba(3,81,163,0.12); } .btn.primary:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(3,81,163,0.18); } /* Panel base */ .panel { background:#fff; padding:22px; border-radius:12px; box-shadow: 0 10px 30px rgba(12,36,64,0.04); margin-bottom:18px; border:1px solid rgba(10,30,60,0.02); } .panel h2 { font-size:22px; color:#00345c; margin-bottom:10px; } /* TRI grid */ .tri-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin: 18px 0; } .tri-col { background:#fff; padding:16px; border-radius:10px; border:1px solid rgba(6,40,90,0.04); box-shadow:0 8px 22px rgba(9,30,66,0.03); } .tri-col h3 { color:#00345c; margin-bottom:8px; } .tri-col ul { color:#425e78; margin-left:14px; line-height:1.5; } /* Offerings cards */ .cards { display:grid; grid-template-columns: repeat(2, 1fr); gap:16px; margin-top:12px; } .card { background:#fff; padding:18px; border-radius:12px; border:1px solid rgba(8,40,90,0.04); box-shadow:0 10px 26px rgba(9,30,66,0.03); transition: transform .18s ease; } .card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(9,30,66,0.06); } /* Metrics */ .metrics { display:flex; gap:14px; margin: 18px 0; } .metric { flex:1; background:linear-gradient(180deg,#fff,#fbfdff); padding:16px; border-radius:12px; text-align:center; border:1px solid rgba(6,40,90,0.04); box-shadow:0 10px 24px rgba(9,30,66,0.03); } .metric .num { font-size:28px; color:#0077d8; font-weight:800; margin-bottom:6px; } .metric .label { color:#425e78; } /* Case study */ .case-panel { padding:18px; border-left:4px solid #0077d8; } /* CTA */ .cta-strip { background: linear-gradient(90deg,#0077d8,#005bb0); color:#fff; padding:18px; border-radius:10px; margin-top:10px; box-shadow: 0 14px 38px rgba(3,81,163,0.10); } .cta-inner { display:flex; justify-content:space-between; align-items:center; gap:14px; max-width:1180px; margin:0 auto; } .cta-inner h3 { margin:0; font-size:18px; } /* Footer */ .site-footer { padding:20px 0; color:#6b879a; } /* Responsive */ @media (max-width: 1100px) { .hero-grid { grid-template-columns: 1fr; gap:18px; } .cards { grid-template-columns: 1fr; } .tri-grid { grid-template-columns: 1fr; } .metrics { flex-direction: column; } .cta-inner { flex-direction: column; align-items:flex-start; } } @media (max-width: 520px) { .hero-left h1 { font-size: 22px; } .hero-media { height: 160px; } .btn { padding: 9px 12px; font-size:14px; } .container { padding-left:10px; padding-right:10px; } } /* ================================ HERO IMAGE – ENERGY & UTILITIES ================================ */ .hero-media { width: 100%; max-width: 520px; height: 300px; border-radius: 16px; /* Image */ background-image: url("energy-hero.png"); background-size: cover; background-position: center; background-repeat: no-repeat; /* Professional depth */ box-shadow: 0 22px 60px rgba(0, 45, 98, 0.18); border: 1px solid rgba(0, 45, 98, 0.08); } @media (max-width: 768px) { .hero-media { max-width: 100%; height: 200px; border-radius: 14px; } }