/**
* TRIUNUM custom dark corporate style based on Arsha / BootstrapMade structure.
* Color identity:
* Primary background: #0D1B2A / #0A2342
* Secondary accents: #7FC8A9 / #1F8F5B
* CTA only: #C17A4B / #D4A373
* Text: #F2F6F4 / #E7F3EE
*/

:root {
  --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Jost", sans-serif;
  --nav-font: "Poppins", sans-serif;

  --background-color: #0D1B2A;
  --background-deep: #0A2342;
  --default-color: #E7F3EE;
  --heading-color: #F2F6F4;
  --accent-color: #7FC8A9;
  --accent-deep: #1F8F5B;
  --cta-color: #C17A4B;
  --cta-hover: #D4A373;
  --surface-color: rgba(242, 246, 244, 0.055);
  --surface-color-strong: rgba(242, 246, 244, 0.09);
  --border-color: rgba(127, 200, 169, 0.22);
  --contrast-color: #ffffff;

  --nav-color: rgba(242, 246, 244, 0.9);
  --nav-hover-color: #7FC8A9;
  --nav-mobile-background-color: #0A2342;
  --nav-dropdown-background-color: #0A2342;
  --nav-dropdown-color: #E7F3EE;
  --nav-dropdown-hover-color: #7FC8A9;

  scroll-behavior: smooth;
}

.light-background {
  --background-color: #0A2342;
  --surface-color: rgba(242, 246, 244, 0.065);
}

.dark-background {
  --background-color: #0D1B2A;
  --default-color: #F2F6F4;
  --heading-color: #F2F6F4;
  --surface-color: rgba(127, 200, 169, 0.09);
  --contrast-color: #ffffff;
}

* { box-sizing: border-box; }

body {
  color: var(--default-color);
  background: radial-gradient(circle at top left, rgba(127, 200, 169, 0.10), transparent 28%), var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: var(--cta-hover);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

p { color: rgba(231, 243, 238, 0.78); }

/* Header */
.header {
  --background-color: rgba(10, 35, 66, 0.92);
  --heading-color: #F2F6F4;
  color: var(--default-color);
  background: rgba(10, 35, 66, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(127, 200, 169, 0.14);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.index-page .header { background: rgba(10, 35, 66, 0.42); }
.index-page.scrolled .header { background: rgba(10, 35, 66, 0.94); box-shadow: 0 10px 35px rgba(0,0,0,0.28); }

.header .logo { line-height: 1; }
.header .logo img { max-height: 36px; margin-right: 8px; }
.header .logo h1, .header .sitename {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: #F2F6F4;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.header .btn-getstarted, .header .btn-getstarted:focus {
  color: #fff;
  background: var(--cta-color);
  font-size: 14px;
  padding: 9px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
  box-shadow: 0 10px 28px rgba(193, 122, 75, 0.28);
}
.header .btn-getstarted:hover { color: #fff; background: var(--cta-hover); transform: translateY(-1px); }

@media (max-width: 1200px) {
  .header .logo { order: 1; }
  .header .btn-getstarted { order: 2; margin: 0 15px 0 0; padding: 6px 15px; }
  .header .navmenu { order: 3; }
}

/* Navigation */
@media (min-width: 1200px) {
  .navmenu { padding: 0; }
  .navmenu ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; }
  .navmenu li { position: relative; }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu li:hover>a, .navmenu .active, .navmenu .active:focus { color: var(--nav-hover-color); }
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 10px;
    z-index: 99;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }
  .navmenu .dropdown ul li { min-width: 200px; }
  .navmenu .dropdown ul a { padding: 10px 20px; font-size: 15px; color: var(--nav-dropdown-color); }
  .navmenu .dropdown ul a:hover { color: var(--nav-dropdown-hover-color); }
  .navmenu .dropdown:hover>ul { opacity: 1; top: 100%; visibility: visible; }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle { color: var(--nav-color); font-size: 28px; line-height: 0; margin-right: 10px; cursor: pointer; transition: color 0.3s; }
  .navmenu { padding: 0; z-index: 9997; }
  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 14px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  }
  .navmenu a, .navmenu a:focus { color: var(--nav-dropdown-color); padding: 10px 20px; font-family: var(--nav-font); font-size: 17px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; }
  .navmenu a:hover, .navmenu .active, .navmenu .active:focus { color: var(--nav-dropdown-hover-color); }
  .mobile-nav-active { overflow: hidden; }
  .mobile-nav-active .mobile-nav-toggle { color: #fff; position: absolute; font-size: 32px; top: 15px; right: 15px; margin-right: 0; z-index: 9999; }
  .mobile-nav-active .navmenu { position: fixed; overflow: hidden; inset: 0; background: rgba(13, 27, 42, 0.82); transition: 0.3s; }
  .mobile-nav-active .navmenu>ul { display: block; }
}

/* Global sections */
section, .section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 72px 0;
  scroll-margin-top: 88px;
  overflow: clip;
}

.section-title { text-align: center; padding-bottom: 54px; position: relative; }
.section-title h2 { font-size: 32px; font-weight: 800; margin-bottom: 18px; padding-bottom: 20px; text-transform: uppercase; position: relative; color: var(--accent-color); }
.section-title h2:before { content: ""; position: absolute; display: block; width: 160px; height: 1px; background: rgba(127, 200, 169, 0.35); left: 0; right: 0; bottom: 1px; margin: auto; }
.section-title h2:after { content: ""; position: absolute; display: block; width: 60px; height: 3px; background: var(--cta-color); left: 0; right: 0; bottom: 0; margin: auto; }
.section-title p { margin-bottom: 0; color: rgba(231, 243, 238, 0.75); }

/* Hero */
.hero {
  width: 100%;
  min-height: 88vh;
  position: relative;
  padding: 130px 0 70px 0;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 75% 20%, rgba(127, 200, 169, 0.16), transparent 30%), linear-gradient(135deg, #0D1B2A 0%, #0A2342 100%);
}
.hero:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(127,200,169,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(127,200,169,.045) 1px, transparent 1px); background-size: 42px 42px; opacity: .35; pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--accent-color); font-family: var(--nav-font); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .82rem; margin-bottom: 16px; display: inline-block; }
.hero h1 { margin: 0; font-size: clamp(34px, 4vw, 56px); font-weight: 800; line-height: 1.1; color: #F2F6F4; }
.hero p { color: rgba(242, 246, 244, 0.78); margin: 18px 0 32px 0; font-size: 21px; line-height: 1.45; font-weight: 500; }
.hero .btn-get-started, .btn-primary, .php-email-form button[type=submit], .footer .footer-newsletter .newsletter-form input[type=submit] {
  color: #fff;
  background: var(--cta-color);
  border: 0;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .5px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  transition: 0.35s;
  box-shadow: 0 14px 32px rgba(193, 122, 75, 0.26);
}
.hero .btn-get-started:hover, .btn-primary:hover, .php-email-form button[type=submit]:hover, .footer .footer-newsletter .newsletter-form input[type=submit]:hover { color: #fff; background: var(--cta-hover); transform: translateY(-2px); }
.hero .btn-watch-video { font-size: 16px; transition: 0.5s; margin-left: 25px; color: #F2F6F4; font-weight: 600; }
.hero .btn-watch-video i { color: var(--accent-color); font-size: 32px; transition: 0.3s; line-height: 0; margin-right: 8px; }
.hero .btn-watch-video:hover, .hero .btn-watch-video:hover i { color: var(--cta-hover); }
.hero .animated { animation: up-down 2.2s ease-in-out infinite alternate-reverse both; filter: drop-shadow(0 22px 46px rgba(0,0,0,.42)); }
@keyframes up-down { 0% { transform: translateY(10px); } 100% { transform: translateY(-10px); } }

@media (max-width: 640px) {
  .hero h1 { font-size: 31px; line-height: 1.18; }
  .hero p { font-size: 17px; line-height: 1.45; }
  .hero-actions { flex-direction: column; gap: 12px; align-items: flex-start; }
  .hero .btn-watch-video { margin-left: 0; }
}

/* Cards and content */
.about ul { list-style: none; padding: 0; }
.about ul li { padding-bottom: 10px; display: flex; align-items: flex-start; color: rgba(231,243,238,.84); }
.about ul i { font-size: 20px; padding-right: 8px; color: var(--accent-color); }
.about .read-more { color: #fff; background: var(--cta-color); font-family: var(--heading-font); font-weight: 600; font-size: 16px; letter-spacing: .4px; padding: 10px 28px; border-radius: 50px; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; border: 0; box-shadow: 0 12px 28px rgba(193,122,75,.22); }
.about .read-more:hover { background: var(--cta-hover); color: #fff; }
.about .read-more i { font-size: 18px; margin-left: 6px; transition: .3s; }
.about .read-more:hover i { transform: translateX(5px); }

.why-us { padding: 45px 0; }
.why-us .content h3 { font-weight: 400; font-size: 34px; }
.why-us .content h3 span { color: #F2F6F4; }
.why-us .content h3 strong { color: var(--accent-color); }
.why-us .faq-container .faq-item { background: var(--surface-color); position: relative; padding: 22px; margin-bottom: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.22); overflow: hidden; border: 1px solid var(--border-color); border-radius: 16px; }
.why-us .faq-container .faq-item h3 { font-weight: 600; font-size: 17px; line-height: 24px; margin: 0 30px 0 0; transition: 0.3s; cursor: pointer; color: #F2F6F4; }
.why-us .faq-container .faq-item h3 span { color: var(--accent-color); padding-right: 5px; font-weight: 700; }
.why-us .faq-container .faq-item h3:hover, .why-us .faq-container .faq-active h3 { color: var(--accent-color); }
.why-us .faq-container .faq-item .faq-content { display: grid; grid-template-rows: 0fr; transition: 0.3s ease-in-out; visibility: hidden; opacity: 0; }
.why-us .faq-container .faq-item .faq-content p { margin-bottom: 0; overflow: hidden; }
.why-us .faq-container .faq-item .faq-toggle { position: absolute; top: 24px; right: 20px; font-size: 16px; line-height: 0; transition: 0.3s; cursor: pointer; color: var(--accent-color); }
.why-us .faq-container .faq-active .faq-content { grid-template-rows: 1fr; visibility: visible; opacity: 1; padding-top: 12px; }
.why-us .faq-container .faq-active .faq-toggle { transform: rotate(90deg); color: var(--accent-color); }
.why-us .why-us-img { display: flex; align-items: center; justify-content: center; }
.why-us .why-us-img img { max-height: 70%; filter: drop-shadow(0 18px 45px rgba(0,0,0,.35)); }

.services .service-item, .work-process .steps-item, .contact .info-wrap, .contact .php-email-form {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  border-radius: 22px;
}
.services .service-item { padding: 42px 28px; transition: all ease-in-out 0.35s; height: 100%; }
.services .service-item .icon { margin-bottom: 14px; }
.services .service-item .icon i { color: var(--accent-color); font-size: 38px; transition: 0.3s; }
.services .service-item h4 { font-weight: 700; margin-bottom: 15px; font-size: 20px; }
.services .service-item h4 a { color: #F2F6F4; }
.services .service-item p { line-height: 1.65; font-size: 14px; margin-bottom: 0; }
.services .service-item:hover { transform: translateY(-10px); border-color: rgba(127,200,169,.55); box-shadow: 0 22px 65px rgba(127,200,169,.12); }
.services .service-item:hover h4 a { color: var(--accent-color); }

.work-process .steps-item { height: 100%; transition: all 0.3s ease-in-out; overflow: hidden; }
.work-process .steps-item:hover { transform: translateY(-10px); box-shadow: 0 25px 70px rgba(127,200,169,.14); }
.work-process .steps-item:hover .steps-number { background: var(--cta-hover); color: #fff; }
.work-process .steps-image { position: relative; height: 280px; overflow: hidden; }
.work-process .steps-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.work-process .steps-item:hover .steps-image img { transform: scale(1.08); }
.work-process .steps-content { position: relative; padding: 40px 30px 30px; }
.work-process .steps-content .steps-number { position: absolute; left: 30px; top: -30px; width: 60px; height: 60px; background: var(--cta-color); color: #fff; border-radius: 50%; font-family: var(--heading-font); font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease-in-out; }
.work-process .steps-content h3 { font-size: 24px; font-weight: 700; margin-bottom: 15px; color: #F2F6F4; }
.work-process .steps-content p { font-size: 15px; color: rgba(231,243,238,.74); margin-bottom: 25px; }
.work-process .steps-features .feature-item { display: flex; align-items: center; margin-bottom: 12px; }
.work-process .steps-features .feature-item i { color: var(--accent-color); font-size: 18px; margin-right: 10px; }
.work-process .steps-features .feature-item span { font-size: 14px; color: rgba(231,243,238,.82); }

/* CTA */
.call-to-action { padding: 120px 0; position: relative; clip-path: inset(0); }
.call-to-action img { position: fixed; top: 0; left: 0; display: block; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: saturate(.82) brightness(.58); }
.call-to-action:before { content: ""; background: rgba(13, 27, 42, 0.72); position: absolute; inset: 0; z-index: 2; }
.call-to-action .container { position: relative; z-index: 3; }
.call-to-action h3 { color: #F2F6F4; font-size: 30px; font-weight: 800; }
.call-to-action p { color: rgba(242,246,244,.82); }
.call-to-action .cta-btn { font-family: var(--heading-font); font-weight: 700; font-size: 16px; letter-spacing: .6px; display: inline-block; padding: 13px 40px; border-radius: 50px; transition: 0.4s; margin: 10px; border: 0; color: #fff; background: var(--cta-color); box-shadow: 0 14px 32px rgba(193,122,75,.28); }
.call-to-action .cta-btn:hover { color: #fff; background: var(--cta-hover); transform: translateY(-2px); }

/* Subscribe */
.subscribe .cta-content h2 { color: var(--accent-color); font-weight: 800; }
.subscribe .form-control, .footer .footer-newsletter .newsletter-form, .contact .php-email-form input[type=text], .contact .php-email-form input[type=email], .contact .php-email-form textarea {
  background: rgba(242,246,244,.06);
  border: 1px solid rgba(127,200,169,.24);
  color: #F2F6F4;
}
.subscribe .form-control::placeholder, .footer .footer-newsletter .newsletter-form input[type=email]::placeholder { color: rgba(231,243,238,.55); }
.subscribe .form-control:focus, .contact .php-email-form input:focus, .contact .php-email-form textarea:focus { border-color: var(--accent-color); box-shadow: 0 0 0 .18rem rgba(127,200,169,.12); background: rgba(242,246,244,.08); color: #F2F6F4; }

/* Contact */
.contact .info-wrap { padding: 30px; height: 100%; }
.contact .info-item { margin-bottom: 28px; }
.contact .info-item i { font-size: 22px; color: var(--accent-color); width: 48px; height: 48px; background: rgba(127,200,169,.10); display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-right: 15px; border: 1px solid rgba(127,200,169,.22); }
.contact .info-item h3 { padding: 0; font-size: 18px; font-weight: 700; margin-bottom: 5px; color: var(--accent-color); }
.contact .info-item p { padding: 0; margin-bottom: 0; font-size: 14px; }
.contact iframe { border-radius: 18px; filter: grayscale(1) invert(.88) contrast(.85); opacity: .84; }
.contact .php-email-form { height: 100%; padding: 30px; }
.contact .php-email-form label { color: rgba(242,246,244,.85); }
.contact .php-email-form button[type=submit] { padding: 12px 34px; }

.php-email-form .error-message { display: none; background: #df1529; color: #fff; text-align: left; padding: 15px; margin-bottom: 24px; font-weight: 600; border-radius: 12px; }
.php-email-form .sent-message { display: none; color: #fff; background: #1F8F5B; text-align: center; padding: 15px; margin-bottom: 24px; font-weight: 600; border-radius: 12px; }
.php-email-form .loading { display: none; background: var(--surface-color); text-align: center; padding: 15px; margin-bottom: 24px; color: var(--default-color); border-radius: 12px; }

/* Footer */
.footer { color: var(--default-color); background: #0A2342; font-size: 14px; padding-bottom: 50px; position: relative; border-top: 1px solid rgba(127,200,169,.18); }
.footer .footer-newsletter { background: rgba(127,200,169,.045); padding: 50px 0; border-bottom: 1px solid rgba(127,200,169,.12); }
.footer .footer-newsletter h4 { font-size: 24px; color: var(--accent-color); }
.footer .footer-newsletter .newsletter-form { margin-top: 30px; margin-bottom: 15px; padding: 6px 8px; position: relative; display: flex; transition: 0.3s; border-radius: 50px; }
.footer .footer-newsletter .newsletter-form input[type=email] { border: 0; padding: 8px 14px; width: 100%; background: transparent; color: #F2F6F4; }
.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible { outline: none; }
.footer .footer-top { padding-top: 50px; }
.footer h4 { font-size: 16px; font-weight: 700; position: relative; padding-bottom: 12px; color: var(--accent-color); }
.footer .footer-links { margin-bottom: 30px; }
.footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-links ul i { margin-right: 3px; font-size: 12px; line-height: 0; color: var(--accent-color); }
.footer .footer-links ul li { padding: 10px 0; display: flex; align-items: center; }
.footer .footer-links ul a { color: rgba(231,243,238,.75); line-height: 1; }
.footer .footer-links ul a:hover { color: var(--accent-color); }
.footer .footer-about a { color: #F2F6F4; font-size: 28px; font-weight: 700; text-transform: uppercase; font-family: var(--heading-font); }
.footer .footer-contact p { margin-bottom: 5px; }
.footer .social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(127,200,169,.35); font-size: 16px; color: rgba(231,243,238,.78); margin-right: 10px; transition: 0.3s; }
.footer .social-links a:hover { color: #fff; border-color: var(--accent-color); background: rgba(127,200,169,.12); }
.footer .copyright { padding-top: 25px; padding-bottom: 25px; border-top: 1px solid rgba(231,243,238,.10); }
.footer .credits { margin-top: 6px; font-size: 13px; }

/* Preloader and scroll */
#preloader { position: fixed; inset: 0; z-index: 999999; overflow: hidden; background: #0D1B2A; transition: all 0.6s ease-out; }
#preloader:before { content: ""; position: fixed; top: calc(50% - 30px); left: calc(50% - 30px); border: 6px solid #ffffff; border-color: var(--accent-color) transparent var(--cta-color) transparent; border-radius: 50%; width: 60px; height: 60px; animation: animate-preloader 1.5s linear infinite; }
@keyframes animate-preloader { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.scroll-top, .floating-call { position: fixed; right: 15px; z-index: 99999; background-color: var(--cta-color); width: 44px; height: 44px; border-radius: 50px; transition: all 0.4s; box-shadow: 0 14px 32px rgba(193,122,75,.28); }
.scroll-top { visibility: hidden; opacity: 0; bottom: -15px; }
.scroll-top i, .floating-call i { font-size: 24px; color: #fff; line-height: 0; }
.scroll-top:hover, .floating-call:hover { background-color: var(--cta-hover); color: #fff; transform: translateY(-2px); }
.scroll-top.active { visibility: visible; opacity: 1; bottom: 15px; }
.floating-call { bottom: 68px; display: none !important; }

@media (max-width: 768px) {
  [data-aos-delay] { transition-delay: 0 !important; }
  section, .section { padding: 58px 0; }
  .floating-call { display: flex !important; }
}
