
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Ubuntu",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #fffdfd; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #5f687b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #10bc69; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #5f687b;  /* The default color of the main navmenu links */
  --nav-hover-color: #10bc69; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #fffdfd; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #5f687b; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #10bc69; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

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

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #10bc69;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #14eb83;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

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);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

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

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

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

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@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;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - 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: 16px;
    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;
  }
}

/* Navmenu - 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: 17px;
    font-weight: 500;
    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;
  }
}

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

.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 50px 0;
}

.footer .footer-newsletter h4 {
  font-size: 24px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .footer-top {
  padding-top: 50px;
}

.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 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 0px;
}

.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 li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-about a {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# 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: 44px;
  height: 44px;
  border-radius: 50px;
  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;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 40px 0 60px 0;
  display: flex;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 30px 0;
  font-size: 20px;
  font-weight: 400;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  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 {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
  --surface-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding-top: 0;
}

.featured-services .service-item {
  background-color: var(--surface-color);
  padding: 50px 30px;
  transition: all ease-in-out 0.4s;
  height: 100%;
}

.featured-services .service-item .icon {
  margin-bottom: 10px;
}

.featured-services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: 0.3s;
}

.featured-services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.featured-services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.featured-services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.featured-services .service-item:hover {
  transform: translateY(-10px);
}

.featured-services .service-item:hover h4 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  padding-top: 0;
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--accent-color);
  font-weight: 700;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: border ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  border-color: var(--accent-color);
}

.services .service-item:hover h3 {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-item {
  position: relative;
}

.portfolio .portfolio-item .portfolio-info {
  background-color: color-mix(in srgb, var(--surface-color), transparent 10%);
  opacity: 0;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 20px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid var(--background-color);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 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;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--default-color);
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/

:root{
  --blue:#007bff; --blue-600:#4bf994; --bg:#f8faff; --muted:#555;
}
*{box-sizing:border-box}
body{font-family:Inter,ui-sans-serif,system-ui,Arial; background:var(--bg); color:#111; margin:0; -webkit-font-smoothing:antialiased}
.wrap{max-width:1000px;margin:0 auto;padding:18px}
.site-header{background:white;box-shadow:0 2px 6px rgba(2,6,23,.06)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between}
.brand{font-weight:700;color:var(--blue);font-size:20px}
.main{padding-top:22px;padding-bottom:30px}
.card{background:white;border-radius:12px;padding:18px;margin-bottom:18px;box-shadow:0 6px 18px rgba(2,6,23,.04)}
.hero h1{color:var(--blue);margin-bottom:6px}
.muted{color:var(--muted)}
.calculator{max-width:360px}
.display{width:100%;font-size:20px;padding:10px;border-radius:8px;border:1px solid #010203;text-align:right;margin-bottom:10px}
.kbd{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.kbd button{padding:12px;border-radius:8px;border:1px solid rgba(0,0,0,.05);background:#3f9aef;font-size:16px;cursor:pointer}
.kbd button:hover{background:#68f9a4}
.kbd .wide{grid-column:span 4}
.row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}
input[type="number"], input[type="date"], select, input[type="text"]{padding:10px;border-radius:8px;border:1px solid #dbeafe;min-width:140px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.tile{text-decoration:none;background:var(--blue);color:white;padding:16px;border-radius:10px;display:block;text-align:center}
.tile:hover{background:var(--blue-600)}
.result{margin-top:12px;background:var(--blue-600);color:rgb(4, 0, 0);padding:10px;border-radius:8px;white-space:pre-line}
.site-footer{background:white;padding:16px;border-top:1px solid #eef2ff;text-align:center}
.sci-buttons{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:10px}
.buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
button{background:#a2c1f8;border:1px solid rgba(0,0,0,0.03);padding:10px;border-radius:8px;cursor:pointer}
button:hover{background:#4bf994}
.clear{background:#ff5252;color:white}
@media (max-width:640px){
  .wrap{padding:12px}
  .kbd{grid-template-columns:repeat(4,1fr)}
}

/*scientific calculator*/ 

/* 🧮 Calculator Box */
.calculator {
 width: 100%;
  max-width: 500px;
  background: #222;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.degbtn{
  font-size:12px;
  padding:10px 4px;
}

.hint {
  color: #9fb3ff;
  font-size: 12px;
  text-align: right;
  margin-bottom: 6px;
}

.display {
  background: #000;
  color: #0f0;
  font-size: 22px;
  padding: 10px;
  border-radius: 8px;
  text-align: right;
  overflow: auto;
  height: 56px;
}



.keys {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

button {
  background: #333;
  color: #fff;
  border: 0;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
 
}
button:hover { background: #444; }
button.op { background: #007bff; }
button.op:hover { background: #0069d9; }
button.equal { background: #28a745; }
button.equal:hover { background: #218838; }
button.ac { background: #dc3545; }
button.ac:hover { background: #c82333; }

.membar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  color: #cfe;
  justify-content: space-between;
}

.memdisplay { color: #8fb6ff; }

/*bim*/

button { background:#007bff; color:#fff; border:none; padding:10px 18px; font-size:16px; border-radius:6px; cursor:pointer; }
button:hover { background:#0056b3; }
.result { text-align:center; font-size:18px; margin-top:15px; background:#4bf994; padding:15px; border-radius:6px; }
.tabs { display:flex; justify-content:center; gap:10px; margin-bottom:15px; }
.tabs button { background:#ddd; color:#333; padding:8px 14px; border:none; border-radius:6px; cursor:pointer; }
.tabs button.active { background:#007bff; color:#fff; }
table { width:100%; border-collapse:collapse; margin-top:15px; }
th,td { border:1px solid #ccc; padding:8px; text-align:center; }
th { background:#007bff; color:#fff; }
.sub { font-size:13px; color:#555; }

/*montage*/
:root{--card-bg:#fff;--page-bg:#f4f6f9;--accent:#007bff;--muted:#6c7a9a}
    body{font-family:Arial,Helvetica,sans-serif;background:var(--page-bg);margin:0;color:#222}
    .wrap{max-width:1100px;margin:24px auto;padding:0 16px}
    .site-header{background:var(--accent);color:#fff;padding:14px 0}
    .site-header .wrap{display:flex;align-items:center}
    .brand{font-weight:700;font-size:20px;color:#fff;text-decoration:none}
    .main{padding:18px 0}
    .card{background:var(--card-bg);border-radius:10px;padding:18px;box-shadow:0 6px 20px rgba(15,23,42,0.06);margin-bottom:18px}
    h1{margin:0 0 8px;font-size:20px}
    .row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}
    .col{flex:1 1 160px;min-width:140px}
    label{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
    input[type="number"], input[type="text"], select{width:100%;padding:8px;border-radius:6px;border:1px solid #d6dbe6;font-size:14px}
    button{background:var(--accent);color:#fff;padding:10px 14px;border:0;border-radius:8px;cursor:pointer;font-weight:600}
    .result{margin-top:10px;font-size:16px}
    .grid-2{display:grid;grid-template-columns:1fr 360px;gap:16px;align-items:start}
    .summary{padding:12px;border-radius:8px;background:#fff;border:1px solid #eef2fb}
    .summary .big{font-size:20px;font-weight:700}
    .breakdown{display:flex;flex-direction:column;gap:6px;margin-top:10px;font-size:14px}
    .chart-wrap{background:#fff;padding:12px;border-radius:8px;border:1px solid #eef2fb}
    .controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
    table{width:100%;border-collapse:collapse;font-size:13px}
    th,td{padding:8px;border-bottom:1px solid #060707;text-align:center}
    th{background:#5f6163;text-align:left}
    .muted{color:var(--muted);font-size:13px}
    .small{font-size:13px;color:var(--muted)}
    .actions{display:flex;gap:8px;flex-wrap:wrap}
    @media (max-width:980px){ .grid-2{grid-template-columns:1fr} }
    /* small helper so print window looks similar */
    .print-summary { margin-bottom:12px; }
    .print-table th, .print-table td { padding:6px; border:1px solid #ddd; font-size:12px; text-align:right; }
    .print-table th { background:#f7fbff; text-align:left; }
    .print-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }


   

    /*calorie*/

    .card { padding:18px; border-radius:10px; background:#fff; box-shadow:0 6px 18px rgba(10,20,40,0.04); }
    .controls { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:12px; }
    .controls .col { min-width:180px; flex:1; }
    label { display:block; font-weight:600; margin-bottom:6px; color:#223; }
    input[type="number"], select { width:100%; padding:8px; border-radius:6px; border:1px solid #dde6f2; box-sizing:border-box; }
    .small-muted { color:#6c7a9a; font-size:13px; }
    .results-card { background:#4bf994; padding:14px; border-radius:8px; margin-top:12px; }
    .results-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px; }
    .result-big { font-size:22px; font-weight:800; color:#004080; }
    .btn-inline { background:#007bff; color:#fff; border:0; padding:8px 10px; border-radius:6px; cursor:pointer; margin-right:8px; }
    .zdiag { margin-top:12px; background:#fff; padding:10px; border-radius:8px; border:1px solid #eef6ff; }
    .note { font-size:13px; color:#6c7a9a; margin-top:8px; }
    .warning { color:#a33; font-weight:700; margin-top:8px; }
    .hidden { display:none; }
    .grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
    .tiny { font-size:12px; color:#556; }
    @media (max-width:820px) { .results-grid { grid-template-columns:1fr } .controls .col { min-width:120px } }



    .row{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  align-items:flex-start;
}

.field{
  flex:1;
  min-width:250px;
}

.field label{
  display:block;
  margin-bottom:8px;
  font-weight:600;
}

.height-inputs{
  display:flex;
  gap:10px;
}

.col{
  display:flex;
  align-items:center;
  gap:6px;
}

input[type="number"]{
  width:100%;
  padding:10px;
  box-sizing:border-box;
}



.converter-container{
    max-width:600px;
    margin:auto;
    padding:20px;
}

.converter-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:15px;
}

.converter-row label{
    min-width:130px;
    font-weight:600;
}

.converter-row input,
.converter-row select{
    flex:1;
    padding:10px;
    border:1px solid #ccc;
    border-radius:5px;
    font-size:15px;
}

.converter-row button{
    padding:10px 20px;
    border:none;
    border-radius:5px;
    cursor:pointer;
    background:#007bff;
    color:#fff;
    font-size:15px;
}

.converter-row button:hover{
    background:#0056b3;
}



/* Mobile */
@media (max-width: 768px){
    .converter-row{
        flex-direction:column;
        align-items:stretch;
    }

    .converter-row label{
        min-width:auto;
    }

    .converter-row button{
        width:100%;
    }
}
    

/* ---------- GPA Responsive Fix ---------- */

.card{
    overflow-x:auto;
}

.gpa-table{
    width:100%;
    border-collapse:collapse;
    display:block;
    overflow-x:auto;
    white-space:nowrap;
}

.gpa-table th,
.gpa-table td{
    padding:8px;
}

.gpa-table input,
.gpa-table select{
    width:100%;
    min-width:80px;
    box-sizing:border-box;
}

.result{
    word-wrap:break-word;
}

/* GPA Planning Section */
.row{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.col{
    flex:1;
    min-width:250px;
}

.col label{
    display:block;
    margin-bottom:12px;
}

.col input{
    width:100%;
    box-sizing:border-box;
}

/* Buttons */
button{
    max-width:100%;
}

/* Mobile */
@media (max-width:768px){

    .card{
        padding:15px;
    }

    h1{
        font-size:1.8rem;
    }

    h2{
        font-size:1.4rem;
    }

    .gpa-table{
        font-size:14px;
    }

    .gpa-table input{
        min-width:70px;
    }

    button{
        width:100%;
        margin-top:8px;
    }

    .row{
        flex-direction:column;
    }

    .col{
        min-width:100%;
    }
}
.btn-group{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:15px;
}

@media(max-width:768px){
    .btn-group{
        flex-direction:column;
    }
}
.gpa-table td input{
    width:100%;
}


/*new*/
/* Form rows */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.row .col,
.row .field {
  flex: 1;
  min-width: 180px;
}

/* Labels */
label {
  display: block;
  width: auto;
  margin-bottom: 0;
}

/* Inputs */
input,
select {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

/* Height section */
.height-inputs {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.height-inputs .col {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Mobile */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
    gap: 10px;
  }

  .row .col,
  .row .field {
    width: 100%;
    min-width: 100%;
  }

  .height-inputs {
    flex-direction: column;
  }
}

.wrap {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 25px;
    box-sizing: border-box;
}


/*calo*/

/* Calculator form layout */
.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.controls .col {
    flex: 1 1 250px;
    min-width: 250px;
}

.controls label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.controls input,
.controls select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Buttons */
.btn-inline,
button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Results section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

/* Hide elements */
.hidden {
    display: none !important;
}

/* Mobile */
@media (max-width: 768px) {

    .controls {
        flex-direction: column;
        gap: 10px;
    }

    .controls .col {
        min-width: 100%;
        width: 100%;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .btn-inline,
    button {
        width: 100%;
        margin: 5px 0;
    }

    .result-big {
        font-size: 1.5rem;
    }

    .small-muted,
    .tiny {
        font-size: 14px;
    }
  
}

.schedule-toggle{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:30px;
    margin:15px 0;
}

.radio-option{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0;
    padding:0;
    cursor:pointer;
    font-weight:500;
}

.radio-option input{
    margin:0;
    width:16px;
    height:16px;
}

/* Desktop */
.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

/* Tablet & Mobile */
@media (max-width: 991px){
  .grid-2{
    grid-template-columns:1fr;
  }

  .summary{
    order:1;
  }

  .chart-wrap{
    order:2;
  }
}

/* Footer responsive alignment */
@media (max-width: 768px) {

  .footer .footer-top .row {
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer .col-lg-4,
  .footer .col-md-12 {
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-links ul {
    padding-left: 0;
    list-style: none;
  }

  .footer .social-links {
    justify-content: center;
  }

  .footer-about a {
    justify-content: center;
  }

  .footer h4 {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer .social-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 768px) {

  .footer-links {
    text-align: center !important;
  }

  .footer-links ul {
    padding: 0 !important;
    margin: 0 auto !important;
    display: inline-block !important;
    text-align: left;
  }

  .footer-links li {
    text-align: left;
  }

}


.converter-rows label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.converter-rows select {
  width: 100%;
}
#uc-type {
  width: auto;
  min-width: 180px;
}


/*calori*/

.footer .footer-top .row {
  align-items: flex-start !important;
}

.footer .footer-about,
.footer .footer-links,
.footer .footer-social {
  margin-bottom: 0 !important;
  width: 300px;
}


.footer .footer-about p,
.footer .footer-social p {
  margin: 0 !important;
  display: none !important;
}

.footer .footer-social h4,
.footer .footer-links h4 {
  margin-bottom: 14px;
}

.footer .footer-social .social-links {
  margin-top: 0;
}

.footer .footer-links ul li {
  padding: 6px 0;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.contact-content-box {
      background: #fff;
      padding: 35px;
      border-radius: 12px;
      box-shadow: 0 4px 18px rgba(0,0,0,0.06);
      line-height: 1.8;
      height: 100%;
      
    }

    .contact-info-box {
      background: #fff;
      padding: 25px;
      border-radius: 12px;
      box-shadow: 0 4px 18px rgba(0,0,0,0.06);
      margin-bottom: 20px;
      
    }

    .contact-info-box h3 {
      font-size: 20px;
      margin-bottom: 10px;
    }

    .contact-form-box {
      background: #fff;
      padding: 35px;
      border-radius: 12px;
      box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    }

    .contact-form-box button {
      padding: 12px 28px;
      border: none;
      border-radius: 6px;
      background: #0d6efd;
      color: #fff;
      font-weight: 600;
    }

    .contact-form-box button:hover {
      background: #0b5ed7;
    }
    .contact-page-content {
      background: #fff;
      padding: 35px;
      border-radius: 12px;
      box-shadow: 0 4px 18px rgba(0,0,0,0.06);
      line-height: 1.8;
    }
    .contact-page-content {
      background: #fff;
      padding: 35px;
      border-radius: 12px;
      box-shadow: 0 4px 18px rgba(0,0,0,0.06);
      line-height: 1.8;
    }

    .about-page-content h2 {
      margin-top: 25px;
      margin-bottom: 12px;
      font-size: 26px;
    }

    .about-list li {
      margin-bottom: 10px;
    }

    .trust-box {
      background: #fff;
      padding: 25px;
      border-radius: 12px;
      height: 100%;
      box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    }

    .trust-box h3 {
      font-size: 20px;
      margin-bottom: 10px;
    }


    .hero p {
      font-size: 18px;
      line-height: 1.7;
    }

    .hero-buttons {
      margin-top: 20px;
    }

    .hero-buttons a {
      display: inline-block;
      padding: 12px 22px;
      margin-right: 10px;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 600;
    }

    .btn-main {
      background: #0d6efd;
      color: #fff;
    }

    .btn-light-custom {
      background: #f1f5f9;
      color: #222;
    }

    .stats-box {
      background: #fff;
     width:100%;
     padding: 20px;
    box-sizing:border-box;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 4px 18px rgba(0,0,0,0.08);
      height: 100%;
    }

    .stats-box h3 {
      font-size: 32px;
      color: #0d6efd;
      margin-bottom: 8px;
    }

    .calculator-search {
      max-width: 600px;
      margin: 0 auto 30px auto;
    }

    .calculator-search input {
      width: 100%;
      padding: 14px 18px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 16px;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 18px;
    }

    .tile {
      display: block;
      background: #fff;
      padding: 22px;
      border-radius: 12px;
      text-decoration: none;
      color: #222;
      font-weight: 600;
      box-shadow: 0 4px 18px rgba(0,0,0,0.08);
      transition: 0.3s;
    }

    .tile:hover {
      transform: translateY(-5px);
      color: #0d6efd;
    }

    .content-box {
      background: #fff;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 18px rgba(0,0,0,0.06);
      line-height: 1.8;
    }

    .popular-card {
      background: #fff;
      padding: 25px;
      border-radius: 12px;
      height: 100%;
      
      box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    }

    .popular-card h3 {
      font-size: 20px;
      margin-bottom: 12px;
    }

    .faq-item {
      background: #fff;
      padding: 22px;
      border-radius: 10px;
      margin-bottom: 15px;
      box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    }

    .faq-item h3 {
      font-size: 18px;
      margin-bottom: 8px;
    }
  
    @media (max-width: 1199px) {
  .navmenu .dropdown ul {
    display: none;
  }

  .navmenu .dropdown.active ul,
  .navmenu .dropdown ul.dropdown-active {
    display: block;
  }

  .navmenu .dropdown > a {
    cursor: pointer;
  }
}

@media (max-width: 1199px) {
  .navmenu .dropdown ul {
    display: none;
  }

  .navmenu .dropdown.dropdown-open ul {
    display: block;
  }
}