:root {
  /* Brand Colors - Sticking strictly to logo colors */
  --clr-blue: #05b0bf;
  --clr-blue-dark: #00568c;
  --clr-blue-light: #e6f7f8;
  --clr-green: #3eb052;
  --clr-green-dark: #006937;
  
  /* Neutral Grays */
  --clr-dark: #0f1115;
  --clr-dark-lighter: #1e2128;
  
  --clr-text: #374151;
  --clr-text-light: #6b7280;
  
  /* Backgrounds & Borders */
  --clr-bg: #ffffff;
  --clr-bg-alt: #f9fafb;
  --clr-border: #e5e7eb;
  
  --nav-height: 140px;

  /* Subtle Aesthetics - Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { color: var(--clr-text); line-height: 1.6; background: var(--clr-bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Typography */
h1, h2, h3, h4, h5 { color: var(--clr-dark); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
h1 { font-size: 3.5rem; letter-spacing: -0.04em; } 
h2 { font-size: 2.5rem; letter-spacing: -0.03em; } 
h3 { font-size: 1.75rem; letter-spacing: -0.02em; } 
h4 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { font-size: 1.05rem; letter-spacing: 0; }


a { text-decoration: none; color: inherit; transition: color 0.2s; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.gap-2 { gap: 0.5rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; } .gap-12 { gap: 3rem; }
.flex { display: flex; } .flex-col { flex-direction: column; }
.items-center { align-items: center; } .items-start { align-items: flex-start; } .items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.w-full { width: 100%; } .h-full { height: 100%; }
.py-12 { padding: 1.5rem 0; } .py-16 { padding: 1.5rem 0; } .py-20 { padding: 2rem 0; } .py-24 { padding: 2.5rem 0; } .py-32 { padding: 3rem 0; }
.pt-32 { padding-top: 4rem; }
.hero-internal { padding-top: 80px; padding-bottom: 80px; }
.mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-8 { margin-top: 2rem; } .mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; } .mb-12 { margin-bottom: 3rem; }

.bg-dark { background: var(--clr-dark); color: white; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: white; }
.bg-dark p { color: #a1a1aa; }
.bg-light { background: var(--clr-bg-alt); }
.bg-white { background: white; }

.text-blue { color: var(--clr-blue); } .text-red { color: var(--clr-red); } .text-white { color: white; } .text-dark { color: var(--clr-dark); }
.italic { font-style: italic; }
.font-medium { font-weight: 500; } .font-bold { font-weight: 600; }
.rounded-xl { border-radius: 12px; } .rounded-2xl { border-radius: 20px; } .rounded-3xl { border-radius: 32px; }
.shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.shadow-lg { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); }
.p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; } .p-10 { padding: 2.5rem; } .p-12 { padding: 3rem; }
.block { display: block; } .border { border: 1px solid var(--clr-border); }
.object-cover { object-fit: cover; }
.relative { position: relative; } .absolute { position: absolute; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 9999px; font-weight: 500; cursor: pointer; border: none; font-size: 1rem; transition: all 0.2s ease; text-align: center; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-dark { background: var(--clr-dark); color: white; }
.btn-dark:hover { background: var(--clr-dark-lighter); color: white; }
.btn-blue { background: var(--clr-blue); color: white; }
.btn-blue:hover { background: var(--clr-blue-dark); color: white; }
.btn-outline-dark { background: transparent; color: var(--clr-dark); border: 1px solid var(--clr-dark); }
.btn-outline-dark:hover { background: var(--clr-dark); color: white; }
.btn-white { background: white; color: var(--clr-dark); }

/* Navbar */
.navbar { height: var(--nav-height); border-bottom: 1px solid var(--clr-border); display: flex; align-items: center; background: white; position: sticky; top: 0; z-index: 50; }
.logo-container { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 40px; width: auto; object-fit: contain; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.brand-name { color: var(--clr-dark); font-size: 1.5rem; letter-spacing: -0.04em; line-height: 1; margin-bottom: 2px; }
.brand-name-teal { color: var(--clr-blue); }
.brand-sub-container { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; }
.brand-line { flex-grow: 1; height: 1px; background-color: var(--clr-text-light); opacity: 0.3; }
.brand-sub { color: var(--clr-text); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }

.logo { display: inline-flex; align-items: center; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 32px; flex: 1; justify-content: center; }
.nav-links a.nav-item { font-weight: 500; font-size: 0.95rem; color: var(--clr-dark); letter-spacing: -0.01em; }
.nav-links a.nav-item:hover, .nav-links a.nav-item.active { color: var(--clr-blue); }

/* Footer */
.footer { background: var(--clr-dark); color: #a1a1aa; padding: 80px 0 30px; font-size: 0.9rem; }
.footer .brand-name { color: white; }
.footer .brand-name-teal { color: var(--clr-green); }
.footer .brand-sub { color: #a1a1aa; }
.footer-grid { display: grid; grid-template-columns: 5fr 2fr 5fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: white; font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 24px; text-transform: uppercase; font-weight: 600; }
.footer-col p, .footer-col a { display: flex; align-items: normal; gap: 10px; margin-bottom: 14px; color: #a1a1aa; }
.footer-col a:hover { color: white; }
.social-icons { display: flex; gap: 16px; margin-top: 24px; }
.social-icons a { color: #a1a1aa; transition: 0.2s; display: inline-flex; }
.social-icons a:hover { color: white; }
.subscribe-form { display: flex; flex-direction: column; gap: 12px; }
.subscribe-form input { width: 100%; padding: 12px 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; }

/* Modules Design & Tags */
.module-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--clr-bg-alt); padding: 6px 12px 6px 6px; border-radius: 99px; }
.module-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.module-icon-blue { background: var(--clr-blue-light); color: var(--clr-blue); }
.module-icon-green { background: #eefdf4; color: var(--clr-green); }
.module-label { text-transform: uppercase; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; color: var(--clr-text-light); }
.module-card { background: white; border-radius: 12px; padding: 24px; border: 1px solid var(--clr-border); display: flex; flex-direction: column; transition: all 0.3s ease; box-shadow: var(--shadow-sm); }
.module-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--clr-blue-light); }
.module-card h4 { font-size: 1.15rem; margin-top: 20px; margin-bottom: 8px; }
.module-card p { font-size: 0.9rem; color: var(--clr-text-light); margin-bottom: 20px; flex-grow: 1; }
.module-card-link { color: var(--clr-blue); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 4px; transition: color 0.2s; }
.module-card-link:hover { color: var(--clr-blue-dark); }

/* Cards */
.service-card { background: white; border: 1px solid var(--clr-border); padding: 24px; border-radius: 12px; transition: all 0.3s ease; box-shadow: var(--shadow-sm); }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d1d5db; }
.icon-box-gray { width: 48px; height: 48px; border-radius: 12px; background: var(--clr-bg-alt); display: flex; align-items: center; justify-content: center; }
.industry-card { border-radius: 12px; overflow: hidden; position: relative; height: 320px; background-size: cover; background-position: center; }
.industry-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,17,21,0.95), rgba(15,17,21,0.1)); }
.industry-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; z-index: 2; }
.industry-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; margin-bottom: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.form-card { background: white; padding: 40px; border-radius: 16px; border: 1px solid var(--clr-border); box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--clr-dark); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--clr-border); border-radius: 12px; font-family: inherit; font-size: 1rem; color: var(--clr-dark); background: var(--clr-bg-alt); }
.whatsapp-box { background: var(--clr-dark); color: white; padding: 32px; border-radius: 24px; text-align: center; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 3rem; font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; color: var(--clr-dark); margin-bottom: 1rem; margin-left: auto; margin-right: auto; max-width: 800px; }
.section-title.text-white { color: white; }
.section-desc { font-size: 1.2rem; color: var(--clr-text-light); max-width: 650px; margin: 0 auto; line-height: 1.6; font-weight: 400; }
.section-desc.text-white { color: rgba(255,255,255,0.8); }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; }
.partner-item { text-align: center; }
.partner-item img {
    height: 40px;
    object-fit: contain;
    max-width: 80%;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.1rem; }
}

@media (max-width: 768px) {
  .relative .absolute h3, .relative .absolute p {
    color: #000;
}
  /* Layout & Grids */
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .grid { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .py-24, .py-20, .py-16, .py-12 { padding: 3rem 0 !important; }
  .pt-32 { padding-top: 3rem !important; }
  
  /* Flex direction utilities */
  .flex-col-reverse-sm {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 1.5rem !important;
  }
  
  /* Hamburger Menu Default (Hidden on Desktop) */
.mobile-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}
.mobile-burger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--clr-blue);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.1rem; }
}

@media (max-width: 768px) {
  /* Layout & Grids */
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .grid { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .py-24, .py-20, .py-16, .py-12 { padding: 3rem 0 !important; }
  .pt-32 { padding-top: 3rem !important; }
  
  /* Flex direction utilities */
  .flex-col-reverse-sm {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 1.5rem !important;
  }
  
  /* Mobile Hamburger Navigation Setup */
  .navbar {
    height: auto !important;
    padding: 14px 0 !important;
    position: relative;
    z-index: 999;
  }
  .navbar .container {
    display: contents !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    gap: 8px !important;
  }
  .navbar .logo {
                display: flex !important;
            justify-content: left !important;
            width: 100% !important;
            margin: 0 auto 0 15px !important;
  }
   .navbar .logo img {
    height: 96px !important; /* Increased size by 50% to make it extremely prominent on mobile */
    max-width: 280px !important;
    object-fit: contain !important;
  }
  
  /* Mobile Burger Toggle (Absolutely positioned beside the centered logo) */
  .mobile-burger {
    display: flex !important;
    position: absolute !important;
    right: 16px !important;
    top: 28px !important; /* Adjusted for taller logo so it sits centered with the logo */
  }
  
  /* Animate Burger span transform to X when menu is active */
  .navbar.mobile-menu-open .mobile-burger span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .navbar.mobile-menu-open .mobile-burger span:nth-child(2) {
    opacity: 0;
  }
  .navbar.mobile-menu-open .mobile-burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Centered Contact button row directly below the logo */
  .navbar .nav-contact-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 2px !important;
  }
  .navbar .nav-contact-wrapper a.btn-sm {
    width: auto !important;
    max-width: 130px !important; /* Reduced max-width by another 25% */
    margin: 0 auto !important;
    padding: 5px 12px !important; /* Reduced padding for compact look */
    font-size: 0.75rem !important; /* Reduced font-size to 0.75rem for ultra mobile-friendliness */
    justify-content: center !important;
    border-radius: 99px !important;
    box-shadow: var(--shadow-sm);
  }

  /* Expandable navigation links dropdown panel */
  .navbar .nav-links {
    grid-column: 1 / -1 !important;
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    background: var(--clr-bg-alt) !important;
    border: 1px solid var(--clr-border) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    margin-top: 8px !important;
    box-shadow: var(--shadow-md) !important;
    gap: 6px !important;
    text-align: center !important;
  }
  .navbar.mobile-menu-open .nav-links {
    display: flex !important;
    position: absolute;
            top: 60px;
            border-radius: 0 !important;
  }
  .navbar .nav-links a.nav-item {
    display: block !important;
    width: 100% !important;
    font-size: 0.95rem !important;
    padding: 10px 14px !important;
    color: var(--clr-dark) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 6px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .navbar .nav-links a.nav-item:last-child {
    border-bottom: none !important;
  }
  .navbar .nav-links a.nav-item.active {
    background: var(--clr-blue-light) !important;
    color: var(--clr-blue) !important;
    border-color: var(--clr-blue-light) !important;
    font-weight: 600 !important;
  }

  /* Compact Footer Branding */
  .footer .logo img {
    height: 80px !important;
  }
  .footer {
    padding: 48px 0 24px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 16px;
    text-align: center;
  }
  
  /* Hero headers / Banner overlays responsive scaling */
  header, .hero-internal {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  header h1, .hero-internal h1 {
    font-size: 2rem !important; /* Smaller size for extreme safety on mobile screens */
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.02em !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  header h1 br, .hero-internal h1 br {
    display: none !important; /* Hide forced linebreaks to prevent clunky text sizing */
  }
  header p, .hero-internal p, .hero-desc-text {
    font-size: 1rem !important;
    max-width: 100% !important;
    margin-bottom: 24px !important;
  }
  header .flex, .hero-internal .flex {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  /* Rigid card and spacing overrides */
  .service-card {
    padding: 24px !important; /* Prevent text clipping inside cards on mobile */
  }
  
  /* Resolve Absolute Badge offscreen bleeding on index page */
  .relative .absolute {
    position: relative !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin-top: 16px;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: var(--shadow-md) !important;
  }
  .relative img {
    height: 280px !important;
    aspect-ratio: 16/9 !important;
  }

  /* Typography Fluid Compression */
  h1, [style*="font-size: 4rem"], [style*="font-size: 6rem"] {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  h2, .section-title, [style*="font-size: 3rem"], [style*="font-size: 3.5rem"] {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  h3, [style*="font-size: 1.8rem"] {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }
  h4 {
    font-size: 1.15rem !important;
  }
  p, .section-desc {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  /* Universal Button Optimization (excluding inline sizing) */
  .btn, a.btn, button.btn, [style*="padding: 16px"], [style*="padding: 14px"] {
    padding: 11px 20px !important;
    font-size: 0.925rem !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  /* Ultra-small screen adjustments */
  .container {
    padding: 0 16px !important;
  }
  .navbar .logo img {
    height: 44px !important;
  }
  header h1, .hero-internal h1, h1, [style*="font-size: 4rem"], [style*="font-size: 6rem"] {
    font-size: 1.75rem !important;
  }
  h2, .section-title, [style*="font-size: 3rem"], [style*="font-size: 3.5rem"] {
    font-size: 1.45rem !important;
  }
  .whatsapp-box {
    padding: 20px !important;
  }
}
