/* ============================================================
   HOYWIK PROGRAMMES
   MAIN.CSS
   Fully Responsive Website Stylesheet
   Mobile + Tablet + Laptop + Desktop + Large Screens

   Primary Font:
   Gill Sans MT
   ============================================================ */


/* ============================================================
   1. ROOT VARIABLES
   ============================================================ */

:root {

  /* Typography */
  --default-font:
    "Gill Sans MT",
    "Gill Sans",
    "Trebuchet MS",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  --heading-font:
    "Gill Sans MT",
    "Gill Sans",
    "Trebuchet MS",
    system-ui,
    sans-serif;

  --nav-font:
    "Gill Sans MT",
    "Gill Sans",
    "Trebuchet MS",
    system-ui,
    sans-serif;


  /* Brand colours */
  --background-color: #ffffff;
  --surface-color: #ffffff;

  --default-color: #444444;
  --heading-color: #171717;

  --accent-color: #17c917;
  --accent-dark: #109b10;
  --accent-light: #eaf9ea;

  --contrast-color: #ffffff;


  /* Navigation */
  --nav-color: #333333;
  --nav-hover-color: #17c917;

  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #333333;
  --nav-dropdown-hover-color: #17c917;


  /* Layout */
  --container-width: 1200px;
  --container-wide: 1400px;

  --header-height: 72px;

  --section-padding: 70px;

  --mobile-padding: 16px;


  /* Borders / shadows */
  --border-color: #e5e5e5;

  --shadow-small:
    0 2px 12px rgba(0, 0, 0, 0.08);

  --shadow-medium:
    0 5px 25px rgba(0, 0, 0, 0.10);

  --shadow-large:
    0 10px 40px rgba(0, 0, 0, 0.14);


  /* Radius */
  --radius-small: 5px;
  --radius-medium: 10px;
  --radius-large: 15px;
}


/* ============================================================
   2. GLOBAL RESET
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  margin: 0;
  padding: 0;

  font-size: 16px;

  scroll-behavior: smooth;

  scroll-padding-top: var(--header-height);

  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 0;

  color: var(--default-color);

  background: var(--background-color);

  font-family: var(--default-font);

  font-size: 16px;

  line-height: 1.6;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.mobile-nav-active {
  overflow: hidden;
  touch-action: none;
}


/* ============================================================
   3. GENERAL ELEMENTS
   ============================================================ */

main {
  display: block;
  width: 100%;
}

section,
.section {
  width: 100%;

  padding: var(--section-padding) 0;

  scroll-margin-top: var(--header-height);

  overflow: visible;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

ul,
ol {
  margin-top: 0;
}

li,
p,
span,
div {
  overflow-wrap: break-word;
}

hr {
  margin: 25px 0;

  border: 0;

  border-top: 1px solid var(--border-color);
}


/* ============================================================
   4. IMAGES AND MEDIA
   ============================================================ */

img {
  display: block;

  max-width: 100%;

  height: auto;
}

figure {
  margin: 0;
}

video,
iframe,
embed,
object {
  display: block;

  max-width: 100%;
}

iframe {
  width: 100%;
}


/* ============================================================
   5. LINKS
   ============================================================ */

a {
  color: var(--accent-color);

  text-decoration: none;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

a:hover {
  color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(23, 201, 23, 0.25);

  outline-offset: 2px;
}


/* ============================================================
   6. BUTTONS / FORM CONTROLS
   ============================================================ */

button,
input,
textarea,
select {
  font-family: var(--default-font);

  font-size: 16px;
}

button,
a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}


/* ============================================================
   7. HEADINGS
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;

  color: var(--heading-color);

  font-family: var(--heading-font);

  font-weight: 700;

  line-height: 1.2;

  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

h5 {
  font-size: 1.15rem;
}

h6 {
  font-size: 1rem;
}


/* ============================================================
   8. CONTAINERS
   ============================================================ */

.container {
  width: 100%;

  margin-left: auto;
  margin-right: auto;

  padding-left: 15px;
  padding-right: 15px;
}

.container-fluid {
  width: 100%;

  margin-left: auto;
  margin-right: auto;

  padding-left: 15px;
  padding-right: 15px;
}


/* Desktop container */

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: var(--container-width);
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: var(--container-wide);
  }
}


/* ============================================================
   9. HEADER - UNIFIED CONTACT PAGE STYLE
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(14, 14, 26, 0.96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
}

.header .container {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}


/* ============================================================
   10. LOGO - UNIFIED
   ============================================================ */

.header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 60%;
  line-height: 1;
  min-width: 0;
  text-decoration: none;
}

.header .logo img {
  width: auto;
  max-width: 180px;
  max-height: 48px;
  margin-right: 8px;
  border-radius: 50%;
}

.header .sitename,
.header .logo h1 {
  margin: 0;
  color: var(--accent-color) !important;
  font-family: var(--heading-font);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.header .sitename span,
.header .logo span {
  color: inherit !important;
}


/* ============================================================
   11. HEADER SOCIAL LINKS - UNIFIED
   ============================================================ */

.header-social-links {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  margin-left: 15px;
}

.header-social-links a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65) !important;
  border-radius: 50%;
  transition: color 0.25s ease, background 0.25s ease;
}

.header-social-links a:hover {
  color: var(--accent-color) !important;
  background: rgba(23, 201, 23, 0.10);
}


/* ============================================================
   12. DESKTOP NAVIGATION - UNIFIED
   ============================================================ */

@media (min-width: 1200px) {

  .navmenu {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .navmenu > ul {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .navmenu > ul > li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.72) !important;
    font-family: var(--nav-font);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 30px;
    transition: color 0.25s ease, background 0.25s ease;
  }

  .navmenu a:hover,
  .navmenu a.active,
  .navmenu a:focus {
    color: var(--accent-color) !important;
    background: rgba(23, 201, 23, 0.10) !important;
  }

  .navmenu a i {
    margin-right: 6px;
    font-size: 16px;
    line-height: 1;
  }


  /* Desktop dropdown */

  .navmenu .dropdown > ul {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    box-shadow: var(--shadow-large);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 10000;
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navmenu .dropdown > ul li {
    position: relative;
    width: 100%;
  }

  .navmenu .dropdown > ul a {
    width: 100%;
    min-height: 44px;
    padding: 10px 18px;
    color: #333333 !important;
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    white-space: normal;
    border-radius: 0;
  }

  .navmenu .dropdown > ul a:hover,
  .navmenu .dropdown > ul a.active {
    color: var(--accent-color) !important;
    background: var(--accent-light);
  }


  /* Nested desktop dropdown */

  .navmenu .dropdown .dropdown > ul {
    top: -8px;
    left: calc(100% + 5px);
  }

  .mobile-nav-toggle {
    display: none !important;
  }
}


/* ============================================================
   13. MOBILE / TABLET NAVIGATION - UNIFIED
   ============================================================ */

@media (max-width: 1199px) {

  :root {
    --header-height: 70px;
  }

  .header {
    min-height: var(--header-height);
    background: #ffffff !important;
    color: #222222 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header .container {
    min-height: var(--header-height);
  }


  /* Hamburger */

  .mobile-nav-toggle {
    width: 48px;
    height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    color: #222222 !important;
    background: transparent;
    border: 0;
    border-radius: 7px;
    font-size: 30px !important;
    line-height: 1;
    z-index: 100001;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus {
    color: var(--accent-color) !important;
    background: var(--accent-light);
  }


  /* Hide desktop social icons */

  .header-social-links {
    display: none !important;
  }


  /* Navigation container */

  .navmenu {
    position: static;
    display: block;
    margin: 0;
    padding: 0;
  }


  /* Mobile menu */

  .navmenu > ul {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    display: none;
    flex-direction: column;
    margin: 0;
    padding: 10px 15px 40px;
    list-style: none;
    overflow-x: hidden;
    overflow-y: auto;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 100000;
    -webkit-overflow-scrolling: touch;
  }


  /* Open menu */

  .mobile-nav-active .navmenu > ul {
    display: flex !important;
  }


  /* Main menu items */

  .navmenu > ul > li {
    width: 100%;
    flex: 0 0 auto;
    border-bottom: 1px solid #eeeeee;
  }

  .navmenu > ul > li:last-child {
    border-bottom: 0;
  }


  /* Main menu links */

  .navmenu > ul > li > a,
  .navmenu > ul > li > a:focus {
    width: 100%;
    min-height: 54px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 13px 12px;
    color: #222222 !important;
    background: transparent !important;
    font-family: var(--nav-font);
    font-size: 17px !important;
    font-weight: 600;
    line-height: 1.35;
    text-transform: none !important;
    white-space: normal;
    border-radius: 7px;
  }

  .navmenu > ul > li > a i {
    margin-right: 10px;
    font-size: 18px;
    width: 24px;
    text-align: center;
  }

  .navmenu > ul > li > a:hover,
  .navmenu > ul > li > a.active,
  .navmenu > ul > li > a:focus {
    color: var(--accent-color) !important;
    background: var(--accent-light) !important;
  }


  /* Dropdown arrow */

  .navmenu > ul > li > a i.bi-chevron-down,
  .navmenu > ul > li > a i.bi-chevron-right {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 10px;
    color: var(--accent-color);
    background: var(--accent-light);
    border-radius: 50%;
    font-size: 12px;
    transition: transform 0.25s ease, background-color 0.25s ease;
  }

  .navmenu .active > a i.bi-chevron-down,
  .navmenu .dropdown > a.active i.bi-chevron-down {
    transform: rotate(180deg);
    color: #ffffff;
    background: var(--accent-color);
  }


  /* Mobile dropdown */

  .navmenu .dropdown > ul {
    position: static !important;
    width: calc(100% - 16px);
    display: none;
    margin: 0 8px 10px;
    padding: 5px 0;
    list-style: none;
    background: #f7f7f7;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .navmenu .dropdown > .dropdown-active {
    display: block !important;
  }


  /* Dropdown links */

  .navmenu .dropdown > ul > li {
    width: 100%;
    border-bottom: 1px solid #e8e8e8;
  }

  .navmenu .dropdown > ul > li:last-child {
    border-bottom: 0;
  }

  .navmenu .dropdown > ul a,
  .navmenu .dropdown > ul a:focus {
    width: 100%;
    min-height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    color: #333333 !important;
    background: transparent !important;
    font-family: var(--nav-font);
    font-size: 16px !important;
    font-weight: 500;
    line-height: 1.4;
    text-transform: none !important;
    white-space: normal;
    border-radius: 6px;
  }

  .navmenu .dropdown > ul a:hover,
  .navmenu .dropdown > ul a.active {
    color: var(--accent-color) !important;
    background: var(--accent-light) !important;
  }


  /* Nested dropdown */

  .navmenu .dropdown > ul ul {
    position: static !important;
    width: calc(100% - 16px);
    margin: 0 8px 8px;
    padding: 0;
    background: #eeeeee !important;
    border-radius: 6px;
  }


  /* Mobile scrollbar */

  .navmenu > ul::-webkit-scrollbar {
    width: 4px;
  }

  .navmenu > ul::-webkit-scrollbar-track {
    background: #f5f5f5;
  }

  .navmenu > ul::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
  }
}


/* ============================================================
   14. SMALL PHONES
   ============================================================ */

@media (max-width: 576px) {

  :root {
    --header-height: 64px;
    --section-padding: 50px;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  .container,
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .header .container {
    min-height: 64px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .header .sitename,
  .header .logo h1 {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.35rem;
  }

  .header .logo img {
    max-width: 130px;
    max-height: 40px;
  }

  .mobile-nav-toggle {
    width: 46px;
    height: 46px;
    font-size: 27px !important;
  }

  .navmenu > ul {
    padding: 8px 12px 35px;
  }

  .navmenu > ul > li > a {
    min-height: 54px;
    font-size: 17px !important;
  }

  .navmenu > ul > li > a i {
    font-size: 16px;
    width: 20px;
  }

  section,
  .section {
    padding: var(--section-padding) 0;
  }
}


/* ============================================================
   15. VERY SMALL PHONES
   ============================================================ */

@media (max-width: 380px) {

  body {
    font-size: 15.5px;
  }

  .header .sitename,
  .header .logo h1 {
    font-size: 1.2rem;
  }

  .header .logo img {
    max-width: 110px;
  }

  .mobile-nav-toggle {
    width: 44px;
    height: 44px;
    font-size: 25px !important;
  }

  .navmenu > ul > li > a {
    min-height: 52px;
    font-size: 16px !important;
  }

  .navmenu .dropdown > ul a {
    min-height: 46px;
    font-size: 15px !important;
  }
}


/* ============================================================
   16. SECTION TITLES
   ============================================================ */

.section-title {
  max-width: 850px;
  margin: 0 auto 45px;
  padding: 0 15px;
  text-align: center;
}

.section-title h2 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 18px;
  color: var(--heading-color);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  transform: translateX(-50%);
}

.section-title p {
  margin-bottom: 0;
  color: #555555;
  font-size: 16px;
  line-height: 1.65;
}


/* ============================================================
   17. PAGE TITLE / BREADCRUMBS
   ============================================================ */

.page-title {
  padding: 30px 0;
  background: #ffffff;
}

.page-title h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  margin: 0 8px;
  color: #999999;
}


/* ============================================================
   18. HERO
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  padding: 0 !important;
  overflow: hidden;
}

.hero .carousel {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
}

.hero .carousel-item {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .container {
  position: relative;
  width: calc(100% - 30px);
  max-width: 1100px;
  margin: 0 auto 45px;
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border-top: 4px solid var(--accent-color);
  box-shadow: var(--shadow-medium);
  z-index: 2;
}

.hero h2 {
  margin-bottom: 15px;
  color: var(--heading-color);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.2;
}

.hero p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero .btn-get-started {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 6px;
  padding: 10px 28px;
  color: #ffffff;
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
}

.hero .btn-get-started:hover {
  color: #ffffff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}


/* ============================================================
   19. ABOUT
   ============================================================ */

.about {
  background: #ffffff;
}

.about .inner-title {
  margin: 0 0 25px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.2;
}

.about .our-story {
  height: 100%;
  padding: clamp(25px, 4vw, 45px);
  background: #f8f8f8;
  border-left: 4px solid var(--accent-color);
}

.about .our-story h4 {
  margin-bottom: 10px;
  color: #777777;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about .our-story h3 {
  margin-bottom: 15px;
  color: var(--heading-color);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.about .our-story p {
  font-size: 16px;
  line-height: 1.7;
}

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

.about ul li {
  display: flex;
  align-items: flex-start;
  padding: 7px 0;
  line-height: 1.5;
}

.about ul i {
  flex-shrink: 0;
  margin: 3px 10px 0 0;
  color: var(--accent-color);
  font-size: 18px;
}


/* ============================================================
   20. PROGRAMS
   ============================================================ */

.programs {
  background: #fafafa;
}

.programs .service-item {
  height: 100%;
  padding: clamp(30px, 4vw, 55px) 25px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.programs .service-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-medium);
}

.programs .service-item .icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-color);
  background: var(--accent-light);
  border-radius: 50%;
}

.programs .service-item .icon i {
  font-size: 34px;
}

.programs .service-item h3 {
  margin: 0 0 15px;
  font-size: 22px;
}

.programs .service-item p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.65;
}


/* ============================================================
   21. PORTFOLIO
   ============================================================ */

.portfolio {
  background: #ffffff;
}

.portfolio .portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 0 auto 30px;
  padding: 0;
  list-style: none;
}

.portfolio .portfolio-filters li {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  color: #444444;
  background: #f5f5f5;
  border-radius: 5px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.portfolio .portfolio-item img {
  width: 100%;
  transition: transform 0.5s ease;
}

.portfolio .portfolio-item:hover img {
  transform: scale(1.04);
}


/* ============================================================
   22. PARTNERS / CLIENTS - IMPROVED
   ============================================================ */

.clients,
.partners {
  width: 100%;
  padding: 70px 0;
  background: #ffffff;
}

.clients .section-title,
.partners .section-title {
  margin-bottom: 40px;
}

/* Partner Grid */
.clients .clients-wrap,
.partners .partners-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

/* Individual Partner */
.clients .client-logo,
.partners .partner-logo {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.clients .client-logo:hover,
.partners .partner-logo:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color);
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.12);
}

/* Partner Logo Images */
.clients .client-logo img,
.partners .partner-logo img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 90% !important;
  max-height: 110px !important;
  object-fit: contain;
  margin: 0 auto;
  padding: 0;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transition: transform 0.25s ease;
}

.clients .client-logo:hover img,
.partners .partner-logo:hover img {
  transform: scale(1.05);
}


/* ============================================================
   22a. PARTNERS - RESPONSIVE
   ============================================================ */

/* Large Desktop */
@media (min-width: 1400px) {
  .clients,
  .partners {
    padding: 85px 0;
  }

  .clients .clients-wrap,
  .partners .partners-wrap {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 25px;
  }

  .clients .client-logo,
  .partners .partner-logo {
    min-height: 190px;
    padding: 30px;
  }

  .clients .client-logo img,
  .partners .partner-logo img {
    max-height: 115px;
  }
}

/* Desktop / Laptop */
@media (min-width: 992px) and (max-width: 1399px) {
  .clients .clients-wrap,
  .partners .partners-wrap {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .clients .client-logo,
  .partners .partner-logo {
    min-height: 170px;
    padding: 25px;
  }

  .clients .client-logo img,
  .partners .partner-logo img {
    max-height: 100px;
  }
}

/* Tablets */
@media (min-width: 577px) and (max-width: 991px) {
  .clients,
  .partners {
    padding: 60px 0;
  }

  .clients .clients-wrap,
  .partners .partners-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .clients .client-logo,
  .partners .partner-logo {
    min-height: 150px;
    padding: 20px;
  }

  .clients .client-logo img,
  .partners .partner-logo img {
    max-height: 90px;
  }
}

/* Mobile Phones */
@media (max-width: 576px) {
  .clients,
  .partners {
    padding: 50px 0;
  }

  .clients .section-title,
  .partners .section-title {
    margin-bottom: 30px;
  }

  .clients .clients-wrap,
  .partners .partners-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .clients .client-logo,
  .partners .partner-logo {
    min-height: 125px;
    padding: 15px;
    border-radius: 8px;
  }

  .clients .client-logo img,
  .partners .partner-logo img {
    max-width: 95%;
    max-height: 75px;
    padding: 3px;
  }
}

/* Very Small Phones */
@media (max-width: 380px) {
  .clients,
  .partners {
    padding: 45px 0;
  }

  .clients .clients-wrap,
  .partners .partners-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .clients .client-logo,
  .partners .partner-logo {
    min-height: 110px;
    padding: 12px;
  }

  .clients .client-logo img,
  .partners .partner-logo img {
    max-height: 65px;
  }
}


/* ============================================================
   23. SKILLS
   ============================================================ */

.skills .progress {
  height: auto;
  margin-bottom: 20px;
  background: transparent;
}

.skills .progress .skill {
  display: block;
  margin-bottom: 7px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
}

.skills .progress .skill .val {
  float: right;
}

.skills .progress-bar-wrap {
  width: 100%;
  height: 10px;
  overflow: hidden;
  background: #eeeeee;
  border-radius: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  background: var(--accent-color);
  border-radius: 10px;
  transition: width 0.9s ease;
}


/* ============================================================
   24. TEAM
   ============================================================ */

.team .team-member {
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team .team-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .member-img img {
  width: 100%;
  height: auto;
}

.team .team-member .member-info {
  padding: 22px 15px;
  text-align: center;
}

.team .team-member .member-info h4 {
  margin: 0 0 5px;
  font-size: 19px;
}

.team .team-member .member-info span {
  display: block;
  color: #777777;
  font-size: 15px;
}


/* ============================================================
   25. TESTIMONIALS
   ============================================================ */

.testimonials .testimonial-item {
  height: 100%;
  padding: clamp(20px, 4vw, 30px);
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  box-shadow: var(--shadow-small);
}

.testimonials .testimonial-item .testimonial-img {
  width: 80px;
  height: 80px;
  float: left;
  margin: 0 15px 8px 0;
  object-fit: cover;
  border: 4px solid #f5f5f5;
  border-radius: 50%;
}

.testimonials .testimonial-item h3 {
  margin: 10px 0 4px;
  font-size: 19px;
}

.testimonials .testimonial-item h4 {
  margin: 0;
  color: #777777;
  font-size: 15px;
}

.testimonials .testimonial-item p {
  margin-top: 15px;
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
}


/* ============================================================
   26. FEATURES
   ============================================================ */

.features .features-item {
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.features .features-item:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-small);
}

.features .features-item i {
  flex-shrink: 0;
  margin-right: 12px;
  color: var(--accent-color);
  font-size: 30px;
}

.features .features-item h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}


/* ============================================================
   27. SERVICE DETAILS
   ============================================================ */

.service-details .programs-list {
  margin-bottom: 25px;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: var(--shadow-small);
}

.service-details .programs-list a {
  display: block;
  margin: 5px 0;
  padding: 12px 15px;
  color: #555555;
  border-left: 3px solid #dddddd;
  border-radius: 2px;
}

.service-details .programs-list a:hover,
.service-details .programs-list a.active {
  color: var(--heading-color);
  background: var(--accent-light);
  border-left-color: var(--accent-color);
}


/* ============================================================
   28. PRICING
   ============================================================ */

.pricing .pricing-item {
  height: 100%;
  padding: clamp(25px, 4vw, 40px);
  background: #f8fff8;
  border: 1px solid #dff2df;
  border-radius: var(--radius-large);
}

.pricing h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  margin-bottom: 15px;
  color: var(--accent-color);
  font-size: clamp(2.2rem, 6vw, 3rem);
}

.pricing ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing ul li {
  display: flex;
  align-items: flex-start;
  padding: 9px 0;
  line-height: 1.5;
}


/* ============================================================
   29. BLOG
   ============================================================ */

.blog-posts article {
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  box-shadow: var(--shadow-small);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-posts article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.blog-posts .post-img {
  overflow: hidden;
}

.blog-posts .post-img img {
  width: 100%;
  transition: transform 0.5s ease;
}

.blog-posts article:hover .post-img img {
  transform: scale(1.04);
}

.blog-posts .post-content {
  padding: clamp(20px, 4vw, 30px);
}

.blog-posts .post-title {
  margin-bottom: 15px;
  color: var(--heading-color);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

.blog-posts article p {
  font-size: 16px;
  line-height: 1.65;
}


/* ============================================================
   30. BLOG DETAILS
   ============================================================ */

.blog-details .article {
  padding: clamp(20px, 4vw, 35px);
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  box-shadow: var(--shadow-small);
}

.blog-details .post-img {
  margin: calc(clamp(20px, 4vw, 35px) * -1) calc(clamp(20px, 4vw, 35px) * -1) 25px;
  overflow: hidden;
}

.blog-details .post-img img {
  width: 100%;
}

.blog-details .title {
  margin: 20px 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.25;
}

.blog-details .content {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.75;
}

.blog-details .content h3 {
  margin-top: 30px;
  font-size: 22px;
}


/* ============================================================
   31. CONTACT
   ============================================================ */

.contact {
  padding-top: 20px;
}

.contact .info {
  height: 100%;
  padding: clamp(25px, 4vw, 40px);
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  box-shadow: var(--shadow-small);
}

.contact .info h3 {
  margin-bottom: 25px;
  font-size: 24px;
}

.contact .info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact .info-item + .info-item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eeeeee;
}

.contact .info-item i {
  flex-shrink: 0;
  color: var(--accent-color);
  font-size: 23px;
}

.contact .info-item h4 {
  margin: 0 0 5px;
  font-size: 18px;
}

.contact .info-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}


/* ============================================================
   32. FORMS
   ============================================================ */

.contact input,
.contact textarea,
.comment-form input,
.comment-form textarea,
.contact select {
  width: 100%;
  display: block;
  color: var(--default-color);
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  box-shadow: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact input:focus,
.contact textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus,
.contact select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(23, 201, 23, 0.10);
}

.contact input {
  min-height: 50px;
  padding: 10px 15px;
}

.contact textarea {
  min-height: 220px;
  padding: 12px 14px;
  resize: vertical;
}

.contact button[type="submit"],
.comment-form .btn-primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 30px;
  color: #ffffff;
  background: var(--accent-color);
  border: 0;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
}

.contact button[type="submit"]:hover,
.comment-form .btn-primary:hover {
  color: #ffffff;
  background: var(--accent-dark);
}


/* ============================================================
   33. FOOTER
   ============================================================ */

.footer {
  width: 100%;
  color: #555555;
  background: #ffffff;
  border-top: 1px solid #eeeeee;
  font-size: 15px;
}

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

.footer .footer-about .logo {
  margin-bottom: 20px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 25px;
  font-weight: 700;
}

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

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

.footer .footer-links ul a {
  color: #666666;
}

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

.footer .copyright {
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #eeeeee;
}


/* ============================================================
   34. SEARCH WIDGET
   ============================================================ */

.search-widget form {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 3px 8px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 50px;
}

.search-widget input {
  width: 100%;
  min-width: 0;
  padding: 7px 10px;
  color: var(--default-color);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 16px;
}

.search-widget button {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #555555;
  background: transparent;
  border: 0;
}

.search-widget button:hover {
  color: var(--accent-color);
}


/* ============================================================
   35. SCROLL TO TOP
   ============================================================ */

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  color: #ffffff;
  background: var(--accent-color);
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 9998;
  transition: opacity 0.25s ease, visibility 0.25s ease, background-color 0.25s ease;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

.scroll-top:hover {
  color: #ffffff;
  background: var(--accent-dark);
}


/* ============================================================
   36. PRELOADER
   ============================================================ */

#preloader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 999999;
}

#preloader::before {
  content: "";
  width: 55px;
  height: 55px;
  border: 5px solid var(--accent-color);
  border-right-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  animation: preloader-spin 1s linear infinite;
}

@keyframes preloader-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* ============================================================
   37. TABLETS
   ============================================================ */

@media (min-width: 577px) and (max-width: 1199px) {

  :root {
    --header-height: 70px;
    --section-padding: 60px;
  }

  .header .sitename,
  .header .logo h1 {
    font-size: 1.7rem;
  }

  .navmenu > ul {
    padding-left: 25px;
    padding-right: 25px;
  }

  .navmenu > ul > li > a {
    min-height: 58px;
    font-size: 18px !important;
  }

  .hero .container {
    margin-bottom: 35px;
    padding: 30px;
  }
}


/* ============================================================
   38. MOBILE HERO
   ============================================================ */

@media (max-width: 767px) {

  .hero .carousel,
  .hero .carousel-item {
    min-height: calc(75vh - var(--header-height));
    min-height: calc(75dvh - var(--header-height));
  }

  .hero .container {
    width: calc(100% - 24px);
    margin-bottom: 20px;
    padding: 22px 16px;
  }

  .hero h2 {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
  }

  .hero p {
    font-size: 15px;
  }

  .hero .btn-get-started {
    width: 100%;
    max-width: 260px;
    margin: 5px auto;
  }
}


/* ============================================================
   39. MOBILE CARDS / COLUMNS
   ============================================================ */

@media (max-width: 767px) {

  .programs .service-item,
  .team .team-member,
  .pricing .pricing-item,
  .features .features-item {
    margin-bottom: 20px;
  }

  .section-title {
    margin-bottom: 35px;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .portfolio .portfolio-filters {
    gap: 5px;
  }

  .portfolio .portfolio-filters li {
    min-height: 40px;
    padding: 7px 13px;
    font-size: 14px;
  }

  .contact .info {
    margin-bottom: 25px;
  }

  .contact textarea {
    min-height: 200px;
  }
}


/* ============================================================
   40. LARGE DESKTOP SCREENS
   ============================================================ */

@media (min-width: 1400px) {

  body {
    font-size: 17px;
  }

  .section-title p {
    font-size: 17px;
  }

  .navmenu a {
    font-size: 15px;
  }

  .hero .container {
    max-width: 1150px;
    padding: 40px;
  }

  section,
  .section {
    padding: 85px 0;
  }
}


/* ============================================================
   41. ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   42. PRINT
   ============================================================ */

@media print {

  .header,
  .mobile-nav-toggle,
  .scroll-top,
  #preloader {
    display: none !important;
  }

  body {
    color: #000000;
    background: #ffffff;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }

  section,
  .section {
    padding: 20px 0;
  }
}