/
home
/
whiteglobeco
/
public_html
/
Upload File
HOME
/* manufacturing-style2.css — alternative style (centered hero + diagonal image feel) */ /* Reset */ * { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; } html,body { height: 100%; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial; background:#f6f8fb; color:#083045 } /* Topbar/header */ .topbar { background: linear-gradient(180deg, rgba(3,81,163,0.04), transparent); padding:12px 0; border-bottom:1px solid rgba(3,81,163,0.02); } .topbar-inner { max-width:1200px; margin:0 auto; padding:0 20px; display:flex; justify-content:space-between; align-items:center; } .brand { font-weight:800; color:#00345c; } .topnav a { color:#2e5169; text-decoration:none; margin-left:18px; font-weight:600 } /* ============================================================================ 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; } } /* HERO */ .hero { padding:48px 20px 36px; } .hero-inner { max-width:1200px; margin:0 auto; display:grid; grid-template-columns: 1fr 420px; gap:28px; align-items:center; } /* Hero content */ .kicker { display:inline-block; background:rgba(0,91,176,0.07); color:#003c7d; padding:6px 10px; border-radius:8px; font-weight:700; font-size:12px; letter-spacing:0.3px } .hero-content h1 { font-size:34px; color:#07243b; margin:14px 0 8px; line-height:1.03; font-weight:800 } .sub { color:#3a5a6e; font-size:16px; max-width:720px; margin-bottom:16px } /* Hero CTAs */ .hero-ctas { display:flex; gap:12px } .btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 16px; border-radius:10px; font-weight:700; cursor:pointer; text-decoration: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.16) } .btn.ghost { background: linear-gradient(90deg,#005bb0,#0077d8); color:#fff; border: none; box-shadow: 0 10px 30px rgba(3,81,163,0.12) } .hero-image { width: 100%; max-width: 460px; height: 280px; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(9,30,66,0.12); border: 1px solid rgba(0,0,0,0.05); } .hero-image img { width: 100%; height: 100%; object-fit: cover; /* 🔥 prevents distortion */ object-position: center; display: block; } /* Main area */ .site { max-width:1200px; margin:28px auto; padding:0 20px; } /* Card base */ .card { background:#fff; padding:22px; border-radius:12px; box-shadow: 0 14px 40px rgba(9,30,66,0.05); border:1px solid rgba(10,30,60,0.03); margin-bottom:18px } .overview.card { padding:20px } /* Grid three tiles */ .grid-three { display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; margin:12px 0 20px; } .tile { background:#fff; padding:16px; border-radius:10px; border:1px solid rgba(6,40,90,0.04); box-shadow: 0 8px 20px rgba(9,30,66,0.03) } .tile-icon { font-size:22px; margin-bottom:8px } .tile h3 { color:#00345c; margin-bottom:6px } .tile ul { color:#425e78; margin-left:14px; line-height:1.5 } /* Offerings */ .offerings .offers { display:grid; grid-template-columns: repeat(2, 1fr); gap:14px; margin-top:12px } .offer { padding:14px; border-radius:10px; border:1px solid rgba(6,40,90,0.04); background:linear-gradient(180deg,#fff,#fbfdff); box-shadow:0 10px 26px rgba(9,30,66,0.03) } .offer .icon { font-size:20px; margin-bottom:8px } .offer h4 { margin-bottom:8px; color:#003c7d } .offer p { color:#345368 } /* Metrics row */ .metrics-row { display:flex; gap:14px; margin:18px 0; } .metric-card { flex:1; padding:16px; border-radius:10px; text-align:center; background:linear-gradient(180deg,#fff,#fbfdff); border:1px solid rgba(6,40,90,0.04); box-shadow:0 10px 24px rgba(9,30,66,0.03) } .metric-num { font-size:26px; font-weight:800; color:#0077d8; margin-bottom:6px } .metric-label { color:#425e78 } /* Case study */ .case-body h3 { margin-bottom:8px; color:#00345c } .case-body p { color:#325065 } /* CTA strip */ .cta-strip { background: linear-gradient(90deg,#0077d8,#005bb0); color:#fff; padding:18px; border-radius:10px; margin:20px 0; box-shadow:0 16px 42px rgba(3,81,163,0.10) } .cta-inner { display:flex; justify-content:space-between; align-items:center; gap:12px; max-width:1200px; margin:0 auto } /* Footer */ .site-footer { padding:18px 20px; text-align:center; color:#6b879a } /* Responsive */ @media (max-width: 1100px) { .hero-inner { grid-template-columns: 1fr; gap:18px; text-align:center } .hero-image { transform: rotate(0deg) translateY(0); margin: 0 auto; } .grid-three { grid-template-columns: 1fr; } .offerings .offers { grid-template-columns: 1fr; } .metrics-row { flex-direction: column; } .cta-inner { flex-direction: column; align-items:flex-start; } .topnav { display:none } } @media (max-width: 520px) { .hero-content h1 { font-size:22px } .hero-image { height:160px } .btn { padding:10px 12px } } .hero { padding-top: 80px; /* increase this value until it looks perfect */ }