/**
* Vismi AI Technologies — main.css
* Based on Axis Template by BootstrapMade.com
* Customised for vismiai.com
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --heading-font: "Montserrat", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* IMPROVED: Brand-consistent colour palette — navy/teal accent matching logo */
:root {
  --background-color: #ffffff;
  --default-color: #666666;
  --heading-color: #000000;
  --accent-color: #1B3A6B;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}


:root {
  --nav-color: #999999;
  --nav-hover-color: #1B3A6B;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #666666;
  --nav-dropdown-hover-color: #1B3A6B;
}

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060f5a;
  --default-color: #e3e3e3;
  --heading-color: #ffffff;
  --accent-color: #bdb5b5;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  padding-top: 75px;
}

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

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

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

/* PHP Email Form Messages */
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  background-color: #ffffff;
  color: var(--default-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header .logo { line-height: 1; }

.header .logo img {
  max-height: 60px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 400;
  color: var(--heading-color);
}

.scrolled .header { isolation: isolate; border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); }

.scrolled .header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

/*--------------------------------------------------------------
# Navigation Menu — Desktop
--------------------------------------------------------------*/
@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: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a i, .navmenu a:focus i { font-size: 12px; line-height: 0; margin-left: 5px; transition: 0.3s; }
  .navmenu li:last-child a { padding-right: 0; }
  .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: 4px; z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  .navmenu .dropdown ul li { min-width: 200px; }
  .navmenu .dropdown ul a { padding: 10px 20px; font-size: 15px; text-transform: none; color: var(--nav-dropdown-color); }
  .navmenu .dropdown ul a i { font-size: 12px; }
  .navmenu .dropdown ul a:hover, .navmenu .dropdown ul .active:hover, .navmenu .dropdown ul li:hover > a { color: var(--nav-dropdown-hover-color); }
  .navmenu .dropdown:hover > ul { opacity: 1; top: 100%; visibility: visible; }
  .navmenu .dropdown .dropdown ul { top: 0; left: -90%; visibility: hidden; }
  .navmenu .dropdown .dropdown:hover > ul { opacity: 1; top: 0; left: -100%; visibility: visible; }
}

/* Navigation Menu — Mobile */
@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: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto; transition: 0.3s; z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 18px; font-weight: 300;
    display: flex; align-items: center;
    justify-content: space-between;
    white-space: nowrap; transition: 0.3s;
  }
  .navmenu a i, .navmenu a:focus i {
    font-size: 12px; line-height: 0; margin-left: 5px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }
  .navmenu a i:hover, .navmenu a:focus i:hover { background-color: var(--accent-color); color: var(--contrast-color); }
  .navmenu a:hover, .navmenu .active, .navmenu .active:focus { color: var(--nav-dropdown-hover-color); }
  .navmenu .active i, .navmenu .active:focus i { background-color: var(--accent-color); color: var(--contrast-color); transform: rotate(180deg); }
  .navmenu .dropdown ul { position: static; display: none; z-index: 99; padding: 10px 0; margin: 10px 20px; background-color: var(--nav-dropdown-background-color); border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); box-shadow: none; transition: all 0.5s ease-in-out; }
  .navmenu .dropdown ul ul { background-color: rgba(33, 37, 41, 0.1); }
  .navmenu .dropdown > .dropdown-active { display: block; background-color: rgba(33, 37, 41, 0.03); }
  .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(33, 37, 41, 0.8); transition: 0.3s; }
  .mobile-nav-active .navmenu > ul { display: block; }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top { padding-top: 50px; border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); }
.footer .footer-about .logo { line-height: 1; margin-bottom: 25px; }
.footer .footer-about .logo img { max-height: 40px; margin-right: 6px; }
.footer .footer-about .logo span { color: var(--heading-color); font-size: 30px; font-weight: 400; letter-spacing: 1px; font-family: var(--heading-font); }
.footer .footer-about p { font-size: 14px; font-family: var(--heading-font); }

.footer .social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px; transition: 0.3s;
}
.footer .social-links a:hover { color: var(--accent-color); border-color: var(--accent-color); }
.footer h4 { font-size: 18px; font-weight: 400; position: relative; padding-bottom: 12px; }
.footer .footer-links { margin-bottom: 30px; }
.footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-links ul i { padding-right: 2px; font-size: 12px; line-height: 0; }
.footer .footer-links ul li { padding: 10px 0; display: flex; align-items: center; }
.footer .footer-links ul li:first-child { padding-top: 0; }
.footer .footer-links ul a { color: color-mix(in srgb, var(--default-color), transparent 20%); display: inline-block; line-height: 1; }
.footer .footer-links ul a:hover { color: var(--accent-color); }
.footer .footer-contact p { margin-bottom: 5px; }
.footer .copyright { padding-top: 25px; padding-bottom: 25px; background-color: color-mix(in srgb, var(--default-color), transparent 95%); }
.footer .copyright p { margin-bottom: 0; }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed; inset: 0; z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  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(--accent-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 Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed; visibility: hidden; opacity: 0;
  right: 15px; bottom: 15px; z-index: 99999;
  background-color: var(--accent-color);
  width: 40px; height: 40px;
  border-radius: 4px; transition: all 0.4s;
}
.scroll-top i { font-size: 24px; color: var(--contrast-color); line-height: 0; }
.scroll-top:hover { background-color: color-mix(in srgb, var(--accent-color), transparent 20%); color: var(--contrast-color); }
.scroll-top.active { visibility: visible; opacity: 1; }

@media screen and (max-width: 768px) {
  [data-aos-delay] { transition-delay: 0 !important; }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section, .section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 87px;
  overflow: clip;
}
@media (max-width: 1199px) { section, .section { scroll-margin-top: 66px; } }

/*--------------------------------------------------------------
# Section Titles
--------------------------------------------------------------*/
.section-title { text-align: center; padding-bottom: 60px; position: relative; }
.section-title h2 { font-size: 2.8rem; font-weight: 300; line-height: 1.2; color: var(--heading-color); margin-bottom: 1.5rem; letter-spacing: -1px; }
@media (max-width: 768px) { .section-title h2 { font-size: 2.5rem; } }
.section-title .subtitle { display: inline-block; font-size: 0.875rem; font-weight: 400; color: var(--accent-color); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; position: relative; }
.section-title .subtitle::after { content: ""; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 40px; height: 1px; background: var(--accent-color); }
.section-title p { font-size: 1.125rem; line-height: 1.8; color: color-mix(in srgb, var(--default-color), transparent 25%); max-width: 900px; margin: 0 auto; text-wrap: balance; }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero { padding: 120px 0 100px; position: relative; overflow: hidden; }
.hero .hero-content h1 { font-size: 3.5rem; font-weight: 300; line-height: 1.2; margin-bottom: 2rem; color: var(--heading-color); }
@media (max-width: 768px) { .hero .hero-content h1 { font-size: 2.5rem; } }
.hero .hero-content p { font-size: 1.125rem; line-height: 1.7; margin-bottom: 3rem; color: color-mix(in srgb, var(--default-color), transparent 20%); }
.hero .hero-image { position: relative; }
.hero .hero-image img { border-radius: 12px; box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%); }
@media (max-width: 992px) {
  .hero { padding: 80px 0 60px; }
  .hero .row { flex-direction: column-reverse; }
  .hero .col-lg-6:first-child { margin-top: 3rem; }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about { padding-top: 120px; padding-bottom: 120px; }
.about .content h2 { font-size: 42px; font-weight: 300; line-height: 1.3; margin-bottom: 30px; font-family: var(--heading-font); }
@media (max-width: 768px) { .about .content h2 { font-size: 32px; } }
.about .content .lead { font-size: 20px; font-weight: 400; line-height: 1.7; margin-bottom: 40px; color: color-mix(in srgb, var(--default-color), transparent 15%); }
.about .content p { font-size: 16px; line-height: 1.8; margin-bottom: 25px; color: color-mix(in srgb, var(--default-color), transparent 25%); }
.about .image-wrapper { position: relative; }
.about .image-wrapper img { border-radius: 12px; box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 90%); }
@media (max-width: 992px) { .about .row { text-align: center; } .about .content { margin-bottom: 60px; } }

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services { background-color: color-mix(in srgb, var(--background-color), var(--accent-color) 2%); }

.services .service-item {
  padding: 60px 40px;
  background-color: var(--surface-color);
  border-radius: 8px;
  transition: all 0.4s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* ✅ IMPROVED: Top border accent uses brand navy colour */
.services .service-item::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #1B3A6B, #0D7377);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-in-out;
}

.services .service-item:hover { transform: translateY(-8px); box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 90%); }
.services .service-item:hover::before { transform: scaleX(1); }
.services .service-item:hover .service-icon { transform: scale(1.1); }

/* ✅ IMPROVED: Service icon uses brand navy gradient */
.services .service-item .service-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #1B3A6B, #0D7377);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
  transition: transform 0.4s ease-in-out;
  flex-shrink: 0;
}
.services .service-item .service-icon i { font-size: 32px; color: var(--contrast-color); }
.services .service-item h3 { font-size: 24px; font-weight: 300; margin-bottom: 20px; line-height: 1.3; }
.services .service-item p { font-size: 16px; line-height: 1.7; color: color-mix(in srgb, var(--default-color), transparent 20%); margin-bottom: 32px; flex-grow: 1; }

@media (max-width: 768px) {
  .services .service-item { padding: 40px 24px; }
  .services .service-item .service-icon { width: 64px; height: 64px; margin-bottom: 24px; }
  .services .service-item .service-icon i { font-size: 28px; }
  .services .service-item h3 { font-size: 20px; margin-bottom: 16px; }
  .services .service-item p { margin-bottom: 10px; }
}

/* ✅ IMPROVED: Know More button — brand teal-to-navy gradient */
.card-btn { margin-top: auto; }

.know-more-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #1B3A6B, #0D7377);
  color: #fff !important;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(27, 58, 107, 0.25);
}

.know-more-btn:hover {
  background: linear-gradient(135deg, #0D7377, #1B3A6B);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(27, 58, 107, 0.4);
}

.know-more-btn::after { content: " →"; margin-left: 6px; transition: 0.3s; }
.know-more-btn:hover::after { margin-left: 12px; }

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us { padding: 100px 0; }
.why-us .content { margin-bottom: 60px; }
.why-us .content h2 { font-size: 2.5rem; font-weight: 300; margin-bottom: 30px; line-height: 1.2; }
@media (max-width: 768px) { .why-us .content h2 { font-size: 2rem; } }
.why-us .content p { font-size: 1.125rem; line-height: 1.7; color: color-mix(in srgb, var(--default-color), transparent 20%); margin: 0; }
.why-us .image-wrapper img { border-radius: 8px; box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 85%); transition: transform 0.4s ease-in-out; }
.why-us .image-wrapper img:hover { transform: translateY(-8px); }
.why-us .features-grid { margin-top: 80px; }
.why-us .feature-item { display: flex; gap: 25px; padding: 40px 0; transition: transform 0.3s ease-in-out; }
.why-us .feature-item:hover { transform: translateY(-5px); }
.why-us .feature-item:hover .icon-wrapper { background-color: var(--accent-color); color: var(--contrast-color); transform: scale(1.1); }
@media (max-width: 768px) { .why-us .feature-item { flex-direction: column; text-align: center; gap: 20px; padding: 30px 0; } }
.why-us .icon-wrapper { flex-shrink: 0; width: 70px; height: 70px; border-radius: 50%; background-color: color-mix(in srgb, var(--accent-color), transparent 90%); color: var(--accent-color); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; transition: all 0.4s ease-in-out; }
@media (max-width: 768px) { .why-us .icon-wrapper { margin: 0 auto; } }
.why-us .feature-content { flex: 1; }
.why-us .feature-content h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 15px; line-height: 1.3; }
.why-us .feature-content p { font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--default-color), transparent 25%); margin: 0; }
@media (max-width: 992px) { .why-us .content { margin-bottom: 40px; text-align: center; } .why-us .features-grid { margin-top: 60px; } }

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact { padding: 120px 0 100px; }
.contact .info-item { margin-bottom: 80px; }
.contact .info-item .info-icon { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--accent-color), transparent 90%); display: flex; align-items: center; justify-content: center; margin-bottom: 32px; }
.contact .info-item .info-icon i { font-size: 24px; color: var(--accent-color); }
.contact .info-item .info-content h4 { font-size: 24px; font-weight: 400; margin-bottom: 16px; color: var(--heading-color); letter-spacing: -0.3px; }
.contact .info-item .info-content p { font-size: 16px; line-height: 1.7; color: color-mix(in srgb, var(--default-color), transparent 25%); margin: 0; }
.contact .contact-details .detail-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 48px; }
.contact .contact-details .detail-item:last-child { margin-bottom: 0; }
.contact .contact-details .detail-item .detail-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.contact .contact-details .detail-item .detail-icon i { font-size: 18px; color: var(--accent-color); }
.contact .contact-details .detail-item .detail-content { flex: 1; }
.contact .contact-details .detail-item .detail-content .detail-label { display: block; font-size: 13px; font-weight: 500; color: color-mix(in srgb, var(--default-color), transparent 40%); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px; }
.contact .contact-details .detail-item .detail-content .detail-value { display: block; font-size: 16px; color: var(--default-color); line-height: 1.6; }
.contact .form-header { margin-bottom: 48px; }
.contact .form-header h3 { font-size: 32px; font-weight: 300; color: var(--heading-color); margin: 0; letter-spacing: -0.4px; }
.contact .form-wrapper { background-color: var(--surface-color); padding: 20px 30px; border-radius: 10px; }
.contact .form-wrapper .form-group { margin-bottom: 32px; }
.contact .form-wrapper .form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--heading-color); margin-bottom: 12px; letter-spacing: 0.2px; }
.contact .form-wrapper .form-group input, .contact .form-wrapper .form-group select, .contact .form-wrapper .form-group textarea { width: 100%; border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%); border-radius: 8px; padding: 16px 20px; font-size: 15px; color: var(--default-color); background-color: var(--surface-color); transition: all 0.3s ease; font-family: inherit; }
.contact .form-wrapper .form-group input:focus, .contact .form-wrapper .form-group select:focus, .contact .form-wrapper .form-group textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%); }
.contact .form-wrapper .form-group input::placeholder, .contact .form-wrapper .form-group textarea::placeholder { color: color-mix(in srgb, var(--default-color), transparent 60%); }
.contact .form-wrapper .form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* ✅ IMPROVED: Submit button uses brand navy colour */
.contact .form-wrapper .submit-btn {
  background: linear-gradient(135deg, #1B3A6B, #0D7377);
  color: var(--contrast-color);
  border: none; border-radius: 8px;
  padding: 18px 36px;
  font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 12px;
  cursor: pointer; transition: all 0.3s ease; letter-spacing: 0.3px;
}
.contact .form-wrapper .submit-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%); }

@media (max-width: 768px) {
  .contact { padding: 80px 0 60px; }
  .contact .info-item { margin-bottom: 50px; }
  .contact .form-header h3 { font-size: 24px; }
}

/*--------------------------------------------------------------
# ✅ NEW: Terms of Service Page
--------------------------------------------------------------*/
.terms-of-service .tos-header { margin-bottom: 60px; }
.terms-of-service .tos-header .last-updated { display: inline-block; padding: 8px 20px; background-color: color-mix(in srgb, var(--accent-color), transparent 90%); border-radius: 30px; color: var(--accent-color); font-size: 0.95rem; margin-bottom: 20px; }
.terms-of-service .tos-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.terms-of-service .tos-header p { color: color-mix(in srgb, var(--default-color), transparent 30%); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }
.terms-of-service .tos-content .content-section { margin-bottom: 50px; scroll-margin-top: 100px; }
.terms-of-service .tos-content .content-section:last-child { margin-bottom: 0; }
.terms-of-service .tos-content .content-section h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--heading-color); }
.terms-of-service .tos-content .content-section p { color: color-mix(in srgb, var(--default-color), transparent 20%); line-height: 1.7; margin-bottom: 20px; }
.terms-of-service .tos-content .content-section .list-items { list-style: none; padding: 0; margin: 20px 0; }
.terms-of-service .tos-content .content-section .list-items li { position: relative; padding-left: 25px; margin-bottom: 12px; color: color-mix(in srgb, var(--default-color), transparent 20%); }
.terms-of-service .tos-content .content-section .list-items li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background-color: var(--accent-color); }

/*--------------------------------------------------------------
# ✅ NEW: Privacy Policy Page
--------------------------------------------------------------*/
.privacy .privacy-content { font-size: 16px; line-height: 1.7; }
.privacy .privacy-content .last-updated { background: color-mix(in srgb, var(--accent-color), transparent 95%); padding: 20px; border-radius: 10px; margin-bottom: 40px; border-left: 4px solid var(--accent-color); }
.privacy .privacy-content .last-updated p { margin: 0; color: var(--heading-color); }
.privacy .privacy-content .privacy-section { margin-bottom: 50px; }
.privacy .privacy-content .privacy-section h3 { font-size: 28px; margin-bottom: 25px; color: var(--heading-color); position: relative; padding-bottom: 15px; }
.privacy .privacy-content .privacy-section h3:after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: var(--accent-color); border-radius: 2px; }
.privacy .privacy-content .privacy-section p { margin-bottom: 20px; color: var(--default-color); }
.privacy .privacy-content .privacy-section ul, .privacy .privacy-content .privacy-section ol { margin: 20px 0; padding-left: 30px; }
.privacy .privacy-content .privacy-section ul li, .privacy .privacy-content .privacy-section ol li { margin-bottom: 10px; color: var(--default-color); }

/*--------------------------------------------------------------
# ✅ NEW: Blog / News Section styles
--------------------------------------------------------------*/
.blog-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px color-mix(in srgb, var(--default-color), transparent 88%); }
.blog-card .blog-img img { width: 100%; height: 220px; object-fit: cover; }
.blog-card .blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card .blog-category { font-size: 12px; font-weight: 600; color: var(--accent-color); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.blog-card .blog-title { font-size: 1.1rem; font-weight: 500; color: var(--heading-color); margin-bottom: 12px; line-height: 1.4; }
.blog-card .blog-excerpt { font-size: 14px; color: color-mix(in srgb, var(--default-color), transparent 20%); line-height: 1.65; flex: 1; margin-bottom: 1rem; }
.blog-card .blog-footer { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: color-mix(in srgb, var(--default-color), transparent 40%); border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); padding-top: 1rem; }
.blog-card .read-more { color: var(--accent-color); font-weight: 500; font-size: 13px; text-decoration: none; }
.blog-card .read-more:hover { text-decoration: underline; }

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 { padding: 120px 0; min-height: 100vh; display: flex; align-items: center; }
.error-404 .error-content { margin-bottom: 80px; text-align: center; }
.error-404 .error-content .error-number { font-size: 8rem; font-weight: 300; color: var(--accent-color); margin-bottom: 20px; }
@media (max-width: 768px) { .error-404 .error-content .error-number { font-size: 6rem; } }
.error-404 .error-content .error-title { font-size: 3rem; font-weight: 300; color: var(--heading-color); margin-bottom: 30px; }
.error-404 .error-content .error-description { font-size: 1.125rem; line-height: 1.8; color: color-mix(in srgb, var(--default-color), transparent 20%); margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }
.error-404 .error-content .error-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.error-404 .error-content .error-actions .btn-primary { display: inline-flex; align-items: center; padding: 16px 32px; background: linear-gradient(135deg, #1B3A6B, #0D7377); color: var(--contrast-color); border: none; border-radius: 6px; text-decoration: none; font-weight: 500; transition: all 0.3s ease; }
.error-404 .error-content .error-actions .btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.error-404 .error-content .error-actions .btn-secondary { display: inline-flex; align-items: center; padding: 16px 32px; background: transparent; color: var(--heading-color); border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%); border-radius: 6px; text-decoration: none; font-weight: 500; transition: all 0.3s ease; }
.error-404 .error-content .error-actions .btn-secondary:hover { border-color: var(--accent-color); color: var(--accent-color); transform: translateY(-2px); }

/*--------------------------------------------------------------
# ✅ NEW: Regional landing page styles (/singapore, /india etc.)
--------------------------------------------------------------*/
.region-hero {
  background: linear-gradient(135deg, #1B3A6B 0%, #0D7377 100%);
  color: #fff;
  padding: 80px 0 60px;
}
.region-hero h1 { color: #fff; font-weight: 300; }
.region-hero p { color: rgba(255,255,255,0.85); font-size: 1.125rem; }

/*--------------------------------------------------------------
# ✅ NEW: Utility — back to top link in service pages
--------------------------------------------------------------*/
.back-to-home {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-color); font-size: 14px;
  font-weight: 500; text-decoration: none;
  margin-bottom: 2rem;
}
.back-to-home:hover { gap: 10px; }

/*--------------------------------------------------------------
# ✅ NEW: Cookie / Consent banner (for Australian Privacy Act)
--------------------------------------------------------------*/
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1B3A6B; color: #fff;
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  z-index: 99999;
  font-size: 14px;
}
.cookie-banner a { color: #7fb3f5; }
.cookie-banner .cookie-accept {
  background: #0D7377; color: #fff;
  border: none; border-radius: 6px;
  padding: 8px 20px; cursor: pointer;
  font-size: 14px; font-weight: 500;
  white-space: nowrap;
}
.cookie-banner .cookie-accept:hover { background: #085041; }

/*--------------------------------------------------------------
# Page Title & Breadcrumbs
--------------------------------------------------------------*/
.page-title { text-align: center; padding: 40px 0 20px 0; border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); }
.page-title .title-wrapper { max-width: 800px; margin: 0 auto; padding: 1rem 0; }
.page-title .title-wrapper h1 { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 400; color: var(--heading-color); }
.page-title .title-wrapper p { font-size: 1.1rem; color: color-mix(in srgb, var(--default-color), transparent 20%); margin: 0; line-height: 1.6; }
@media (max-width: 768px) { .page-title .title-wrapper h1 { font-size: 2rem; } .page-title .title-wrapper p { font-size: 1rem; } }

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details { padding: 80px 0; }
.service-details .service-content .service-hero { margin-bottom: 60px; }
.service-details .service-content .service-hero .service-image { border-radius: 8px; width: 100%; height: 400px; object-fit: cover; }
.service-details .service-content .service-description { margin-bottom: 80px; }
.service-details .service-content .service-description .service-title { font-size: 2.5rem; font-weight: 300; margin-bottom: 24px; line-height: 1.3; }
.service-details .service-content .service-description .lead { font-size: 1.25rem; font-weight: 300; line-height: 1.7; color: color-mix(in srgb, var(--default-color), transparent 20%); margin-bottom: 32px; }
.service-details .service-content .service-description p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 24px; color: color-mix(in srgb, var(--default-color), transparent 15%); }
.service-details .service-sidebar .sidebar-widget { background-color: var(--surface-color); border-radius: 8px; padding: 32px; margin-bottom: 32px; border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); }
.service-details .service-sidebar .sidebar-widget h4 { font-size: 1.3rem; font-weight: 400; margin-bottom: 24px; }

/* ✅ IMPROVED: CTA widget uses brand gradient */
.service-details .service-sidebar .cta-widget { background: linear-gradient(135deg, #1B3A6B, #0D7377); color: var(--contrast-color); }
.service-details .service-sidebar .cta-widget .cta-content { text-align: center; }
.service-details .service-sidebar .cta-widget .cta-content h4 { color: var(--contrast-color); margin-bottom: 16px; }
.service-details .service-sidebar .cta-widget .cta-content p { color: rgba(255,255,255,0.85); margin-bottom: 24px; line-height: 1.6; }
.service-details .service-sidebar .cta-widget .cta-content .btn-cta { display: inline-block; background-color: var(--contrast-color); color: #1B3A6B; padding: 12px 24px; border-radius: 6px; text-decoration: none; font-weight: 500; transition: all 0.3s ease; }
.service-details .service-sidebar .cta-widget .cta-content .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,0.15); }

@media (max-width: 768px) {
  .service-details { padding: 60px 0; }
  .service-details .service-content .service-hero .service-image { height: 300px; }
  .service-details .service-sidebar { margin-top: 40px; }
}