/* GLOBAL STYLE SHEET - UNITED ENTERPRISES (unitedenterprises.sbs) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Theme Colors */
  --primary: #0F766E;
  --primary-light: #14B8A6;
  --accent: #F59E0B;
  --bg-main: #FFFFFF;
  --bg-tint: #F0FDFA;
  --text-main: #0F172A;
  --text-muted: #475569;
  --white: #FFFFFF;
  --border-color: #E2E8F0;
  
  /* Fonts */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacers & Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* SaaS style soft shadows */
  --shadow-sm: 0 2px 8px rgba(15, 118, 110, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(15, 118, 110, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(15, 118, 110, 0.12);
}

/* RESETS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

/* DYNAMIC DIAGONAL SECTIONS */
.diagonal-section {
  position: relative;
  background: var(--bg-tint);
  padding: 10rem 0;
  margin: 4rem 0;
  z-index: 1;
}

.diagonal-section::before {
  content: '';
  position: absolute;
  top: -4rem;
  left: 0;
  width: 100%;
  height: 8rem;
  background: var(--bg-tint);
  transform: skewY(-2deg);
  z-index: -1;
}

.diagonal-section::after {
  content: '';
  position: absolute;
  bottom: -4rem;
  left: 0;
  width: 100%;
  height: 8rem;
  background: var(--bg-tint);
  transform: skewY(-2deg);
  z-index: -1;
}

/* STICKY HEADER */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(20, 184, 166, 0.1);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  transition: var(--transition);
}

/* BRAND LOGO */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.25);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-title);
}

.logo-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 700;
}

/* NAVIGATION MENU */
.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* NAV AUTH */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

#userGreetingNav {
  display: none;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}

.btn-logout {
  font-size: 0.8rem;
  color: #EF4444;
  cursor: pointer;
  font-weight: 700;
}

.btn-nav-login {
  color: var(--primary);
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
}

.btn-nav-register {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.2);
}

.btn-nav-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
}

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 4px;
  transition: var(--transition);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.35);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-main);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(15, 118, 110, 0.05);
  transform: translateY(-2px);
}

/* SAAS STYLE FLOATING CARD */
.floating-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(20, 184, 166, 0.08);
  transition: var(--transition);
}

.floating-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 184, 166, 0.2);
}

/* FORM ELEMENTS */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.35rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}

/* TOAST INJECTOR */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toast {
  background: var(--text-main);
  color: var(--white);
  padding: 1rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.35s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast span:first-child {
  color: var(--primary-light);
  font-size: 1.2rem;
}

/* FOOTER */
.site-footer {
  background: var(--text-main);
  color: #94A3B8;
  padding: 6.5rem 0 3.5rem 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1.1fr;
  gap: 4.5rem;
  margin-bottom: 5rem;
}

.footer-brand p {
  line-height: 1.7;
  margin-top: 1.2rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.6rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--primary-light);
}

.footer-links li {
  margin-bottom: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-contact-list li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.footer-contact-list li span:first-child {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}

/* SCROLLBAR AESTHETIC */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 20px;
  border: 2.5px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: var(--white);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.mobile-open {
    left: 0;
  }
  .nav-auth {
    display: none; /* In mobile drawer instead */
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .section-padding {
    padding: 5rem 0;
  }
}
