/* 

TemplateMo 562 Space Dynamic

https://templatemo.com/tm-562-space-dynamic

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer
10. preloader
11. search
12. portfolio

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  width: 50%;
}

.grid-item {
  float: left;
}

.grid-item img {
  display: block;
  max-width: 100%;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background-color: #fff;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 15px;
  line-height: 30px;
  color: #2a2a2a;
}

img {
  width: 100%;
  overflow: hidden;
}

/* 
/*
---------------------------------------------
Global Styles - Aligned with Logo Theme
---------------------------------------------
*/

html,
body {
    background: #f8f9fa; /* light grayish background */
    font-family: 'Poppins', sans-serif;
    color: #003262; /* deep blue as primary text color */
}

::selection {
    background: #ff3f34; /* red from logo */
    color: #fff;
}

::-moz-selection {
    background: #ff3f34;
    color: #fff;
}

@media (max-width: 991px) {
    html, body {
        overflow-x: hidden;
    }

    .mobile-top-fix {
        margin-top: 30px;
        margin-bottom: 0px;
    }

    .mobile-bottom-fix {
        margin-bottom: 30px;
    }

    .mobile-bottom-fix-big {
        margin-bottom: 60px;
    }
}

.page-section {
    margin-top: 120px;
}

.section-heading h2 {
    font-size: 30px;
    text-transform: capitalize;
    color: #003262;
    font-weight: 700;
    letter-spacing: 0.25px;
    position: relative;
    z-index: 2;
    line-height: 44px;
}

    .section-heading h2 em {
        font-style: normal;
        color: #ff3f34; /* red for emphasis */
    }

    .section-heading h2 span {
        color: #005fa3; /* lighter accent blue */
    }

.main-blue-button a {
    display: inline-block;
    background-color: #003262;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    text-transform: capitalize;
    padding: 12px 25px;
    border-radius: 23px;
    letter-spacing: 0.25px;
    transition: background-color 0.3s ease;
}

    .main-blue-button a:hover {
        background-color: #005fa3;
    }

.main-red-button a {
    display: inline-block;
    background-color: #ff3f34;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    text-transform: capitalize;
    padding: 12px 25px;
    border-radius: 23px;
    letter-spacing: 0.25px;
    transition: background-color 0.3s ease;
}

    .main-red-button a:hover {
        background-color: #e03228;
    }

.main-white-button a {
    display: inline-block;
    background-color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    color: #003262;
    text-transform: capitalize;
    padding: 12px 25px;
    border-radius: 23px;
    letter-spacing: 0.25px;
    border: 1px solid #003262;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .main-white-button a:hover {
        background-color: #003262;
        color: #ffffff;
    }

/* 
---------------------------------------------
header
--------------------------------------------- 
*/

.background-header {
  background-color: #fff!important;
  height: 80px!important;
  position: fixed!important;
  top: 0px;
  left: 0px;
  right: 0px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important;
}

.background-header .logo,
.background-header .main-nav .nav li a {
  color: #1e1e1e!important;
}

.background-header .main-nav .nav li:hover a {
  color: #fe3f40!important;
}

.background-header .nav li a.active {
  color: #fe3f40!important;
}

.header-area {
  background-color: #fafafa;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 100;
  height: 100px;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area .main-nav {
  min-height: 80px;
  background: transparent;
}

.header-area .main-nav .logo {
  line-height: 100px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  float: left;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.header-area .main-nav .logo h4 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: #03a4ed;
    line-height: 100px;
    float: left;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.logo h4 span {
  color: #fe3f40;
}

.background-header .main-nav .logo h4 {
  line-height: 80px;
}

.background-header .main-nav .nav {
  margin-top: 20px !important;
}

.header-area .main-nav .nav {
  float: right;
  margin-top: 30px;
  margin-right: 0px;
  background-color: transparent;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li {
  padding-left: 20px;
  padding-right: 20px;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
  padding-left: 40px;
}

.header-area .main-nav .nav li:last-child a ,
.background-header .main-nav .nav li:last-child a {
  color: #fff !important;
  padding: 0px 20px;
  font-weight: 400;
}

.header-area .main-nav .nav li:last-child a:hover,
.header-area .main-nav .nav li:last-child a.active {
  color: #fff !important;
}

.header-area .main-nav .nav li a {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: #2a2a2a;
  text-transform: capitalize;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  height: 40px;
  line-height: 40px;
  border: transparent;
  letter-spacing: 1px;
}

.header-area .main-nav .nav li a {
  color: #2a2a2a;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: #03a4ed!important;
}

.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
    color: #03a4ed!important;
    opacity: 1;
}

.header-area .main-nav .nav li:last-child a:hover ,
.background-header .main-nav .nav li:last-child a:hover {
  background-color: #03a4ed;
}

.header-area .main-nav .nav li.submenu {
  position: relative;
  padding-right: 30px;
}

.header-area .main-nav .nav li.submenu:after {
  font-family: FontAwesome;
  content: "\f107";
  font-size: 12px;
  color: #2a2a2a;
  position: absolute;
  right: 18px;
  top: 12px;
}

.background-header .main-nav .nav li.submenu:after {
  color: #2a2a2a;
}

.header-area .main-nav .nav li.submenu ul {
  position: absolute;
  width: 200px;
  box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  top: 50px;
  opacity: 0;
  transform: translateY(+2em);
  visibility: hidden;
  z-index: -1;
  transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.header-area .main-nav .nav li.submenu ul li {
  margin-left: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.header-area .main-nav .nav li.submenu ul li a {
  opacity: 1;
  display: block;
  background: #f7f7f7;
  color: #2a2a2a!important;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid #eee;
}

    .header-area .main-nav .nav li.submenu ul li a:hover {
        background: #fff;
        color: #03a4ed!important;
        padding-left: 25px;
    }

.header-area .main-nav .nav li.submenu ul li a:hover:before {
  width: 3px;
}

.header-area .main-nav .nav li.submenu:hover ul {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  transform: translateY(0%);
  transition-delay: 0s, 0s, 0.3s;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 33px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 40px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 23px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.background-header .main-nav .menu-trigger span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #1e1e1e;
}

.header-area.header-sticky {
  min-height: 80px;
}

.header-area .nav {
  margin-top: 30px;
}

.header-area.header-sticky .nav li a.active {
  color: #fe3f40;
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-area .main-nav:before {
    display: none;
  }
}

@media (max-width: 992px) {
  .header-area .main-nav .nav li:last-child  ,
  .background-header .main-nav .nav li:last-child {
    display: none;
  }
  .header-area .main-nav .nav li:nth-child(6),
  .background-header .main-nav .nav li:nth-child(6) {
    padding-right: 0px;
  }
}

@media (max-width: 767px) {
  .background-header .main-nav .nav {
    margin-top: 80px !important;
  }
  .header-area .main-nav .logo {
    color: #1e1e1e;
  }
  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    color: #fe3f40!important;
    opacity: 1;
  }
  .header-area.header-sticky .nav li.search-icon a {
    width: 100%;
  }
  .header-area {
    background-color: #f7f7f7;
    padding: 0px 15px;
    height: 100px;
    box-shadow: none;
    text-align: center;
  }
  .header-area .container {
    padding: 0px;
  }
  .header-area .logo {
    margin-left: 30px;
  }
  .header-area .menu-trigger {
    display: block !important;
  }
  .header-area .main-nav {
    overflow: hidden;
  }
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;
  }
  .background-header .nav {
    margin-top: 80px;
  }
  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }
  .header-area.header-sticky .nav {
    margin-top: 100px;
  }
  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0px !important;
    border: none !important;
    background: #f7f7f7 !important;
    color: #191a20 !important;
  }
  .header-area .main-nav .nav li a:hover {
    background: #eee !important;
    color: #fe3f40!important;
  }
  .header-area .main-nav .nav li.submenu ul {
    position: relative;
    visibility: inherit;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
    top: 0px;
    width: 100%;
    box-shadow: none;
    height: 0px;
  }
  .header-area .main-nav .nav li.submenu ul li a {
    font-size: 12px;
    font-weight: 400;
  }
  .header-area .main-nav .nav li.submenu ul li a:hover:before {
    width: 0px;
  }
  .header-area .main-nav .nav li.submenu ul.active {
    height: auto !important;
  }
  .header-area .main-nav .nav li.submenu:after {
    color: #3B566E;
    right: 25px;
    font-size: 14px;
    top: 15px;
  }
  .header-area .main-nav .nav li.submenu:hover ul, .header-area .main-nav .nav li.submenu:focus ul {
    height: 0px;
  }
}

@media (min-width: 767px) {
  .header-area .main-nav .nav {
    display: flex !important;
  }
}

/* 
---------------------------------------------
preloader
--------------------------------------------- 
*/

.js-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    z-index: 9999;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

.js-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@-webkit-keyframes dot {
    50% {
        -webkit-transform: translateX(96px);
        transform: translateX(96px);
    }
}

@keyframes dot {
    50% {
        -webkit-transform: translateX(96px);
        transform: translateX(96px);
    }
}

@-webkit-keyframes dots {
    50% {
        -webkit-transform: translateX(-31px);
        transform: translateX(-31px);
    }
}

@keyframes dots {
    50% {
        -webkit-transform: translateX(-31px);
        transform: translateX(-31px);
    }
}

.preloader-inner {
    position: relative;
    width: 142px;
    height: 40px;
    background: #fff;
}

.preloader-inner .dot {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 12px;
    left: 15px;
    background: #2A415B;
    border-radius: 50%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-animation: dot 2.8s infinite;
    animation: dot 2.8s infinite;
}

.preloader-inner .dots {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    margin-top: 12px;
    margin-left: 31px;
    -webkit-animation: dots 2.8s infinite;
    animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 16px;
    background: #2A415B;
    border-radius: 50%;
}



/* 
---------------------------------------------
Banner Style
--------------------------------------------- 
*/

.main-banner {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 120px 0px 0px 0px;
  position: relative;
  overflow: hidden;
}

.main-banner:after {
  content: '';
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 100px;
  width: 193px;
  height: 467px;
}

.main-banner:before {
  content: '';
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 100px;
  width: 98px;
  height: 290px;
}

.main-banner .left-content {
  margin-right: 45px;
}

.main-banner .left-content h6 {
  text-transform: uppercase;
  font-size: 18px;
  color: #fe3f40;
  margin-bottom: 15px;
}

.main-banner .left-content h2 {
  font-size: 50px;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 72px;
}

.main-banner .left-content h2 em {
  color: #03a4ed;
  font-style: normal;
}

.main-banner .left-content h2 span {
  color: #fe3f40;
}

.main-banner .left-content p {
  margin: 20px 0px;
}

.main-banner .left-content form {
  margin-top: 30px;
  width: 470px;
  height: 66px;
  position: relative;
}

.main-banner .left-content form button {
  position: absolute;
  right: 10px;
  top: 10px;
  display: inline-block;
  background-color: #fff;
  font-size: 15px;
  font-weight: 500;
  color: #fe3f40;
  text-transform: capitalize;
  padding: 12px 25px;
  border-radius: 23px;
  letter-spacing: 0.25px;
  outline: none;
  border: none;
}

.main-banner .left-content form input {
  width: 470px;
  height: 66px;
  background-color: #03a4ed;
  border-radius: 33px;
  border: none;
  outline: none;
  padding: 0px 25px;
  color: #fff;
  letter-spacing: 0.25px;
  font-size: 15px;
  font-weight: 300;
}

.main-banner .left-content form input::placeholder {
  color: #fff;
}



/* 
---------------------------------------------
About Us Style
--------------------------------------------- 
*/

#about {
  margin-top: 120px;
}

.about-us {
  background-image: url(../images/about-bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 140px 0px 120px 0px;
}

.about-us .left-image {
  margin-right: 45px;
}

.about-us .services .item {
  margin-bottom: 30px;
}

.about-us .services .item .icon {
  float: left;
  margin-right: 25px;
}

.about-us .services .item .icon img {
  max-width: 70px;
}

.about-us .services .item h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-us .services .item p {
  color: #fff;
}


/* 
---------------------------------------------
Services Style
--------------------------------------------- 
*/

.our-services {
  margin-top: 0px;
  padding-top: 120px;
}

.our-services .left-image {
  margin-right: 45px;
}

.our-services .section-heading h2 {
  margin-right: 100px;
}

.our-services .section-heading p {
  margin-top: 30px;
  margin-bottom: 60px;
}

.our-services .progress-skill-bar {
  margin-bottom: 30px;
  position: relative;
  width: 100%;
}

.our-services .progress-skill-bar span {
  position: absolute;
  top: 0;
  font-size: 18px;
  font-weight: 600;
  color: #03a4ed;
}

.our-services .first-bar span {
  left: 69%;
}

.our-services .second-bar span {
  left: 81%;
}

.our-services .third-bar span {
  left: 88%;
}

.our-services .progress-skill-bar h4 {
  font-size: 18px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 14px;
}

.our-services .progress-skill-bar .full-bar {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background-color: #f7eff1;
  position: relative;
  z-index: 1;
}

.our-services .progress-skill-bar .filled-bar {
  background: rgb(255,77,30);
  background: linear-gradient(105deg, rgba(255,77,30,1) 0%, rgba(255,44,109,1) 100%);
  height: 6px;
  border-radius: 3px;
  margin-bottom: -6px;
  position: relative;
  z-index: 2;
}

.our-services .first-bar .filled-bar {
  width: 71%;
}

.our-services .second-bar .filled-bar {
  width: 83%;
}

.our-services .third-bar .filled-bar {
  width: 90%;
}


/* 
---------------------------------------------
Portfolio
--------------------------------------------- 
*/

.our-portfolio {
  padding-top: 120px;
  margin-top: 0px;
}

.our-portfolio .section-heading h2 {
  text-align: center;
  margin: 0px 90px 0px 90px;
  margin-bottom: 120px;
  position: relative;
  z-index: 1;
}

.our-portfolio .item {
  position: relative;
}

.our-portfolio .item:hover .hidden-content {
  top: -100px;
  opacity: 1;
  visibility: visible;
}

.our-portfolio .item:hover .showed-content {
  top: 90px;
}

.our-portfolio .hidden-content {
  background: rgb(47, 47, 112);
  background: linear-gradient(105deg, rgb(137, 134, 208) 0%, rgb(51, 30, 90) 100%);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  opacity: 0;
  top: 0;
  visibility: hidden;
  position: absolute;
  z-index: 2;
  transition: all 0.5s;
}

.our-portfolio .hidden-content:after {
  width: 20px;
  height: 20px;
  position: absolute;
  background: rgb(47, 47, 112);
  content: '';
  left: 50%;
  bottom: -8px;
  margin-left: -5px;
  transform: rotate(45deg);
  background: linear-gradient(105deg, rgb(71, 89, 179) 0%, rgb(51, 30, 90) 100%);;
  z-index: -1;
}

.our-portfolio .hidden-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.our-portfolio .hidden-content p {
  color: #fff;
}

.our-portfolio .showed-content {
  top: 0px;
  position: relative;
  z-index: 3;
  background-color: #fff;
  text-align: center;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  transition: all 0.5s;
}

.our-portfolio .showed-content img {
  max-width: 100px;
}

/* 
---------------------------------------------
contact
--------------------------------------------- 
*/

.contact-us {
  padding: 160px 0px;
  background-image: url(../images/contact-bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.contact-us .section-heading h2,
.contact-us .section-heading h2 em,
.contact-us .section-heading h2 span {
  color: #fff;
}

.contact-us .section-heading p {
  color: #fff;
  margin-top: 30px;
}

.phone-info {
  margin-top: 40px;
}

.phone-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.phone-info h4 span i {
  width: 46px;
  height: 46px;
  display: inline-block;
  text-align: center;
  line-height: 46px;
  background-color: #fff;
  border-radius: 50%;
  color: #ff3b2c;
  font-size: 22px;
  margin-left: 30px;
  margin-right: 15px;
}

.phone-info h4 span a {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
}

form#contact .contact-dec {
  position: absolute;
  right: -166px;
  bottom: 0;
}

form#contact .contact-dec img {
  max-width: 178px;
}

form#contact {
  margin-left: 30px;
  position: relative;
  background-color: #fff;
  padding: 60px 30px;
  border-radius: 20px;
}

form#contact input {
  width: 100%;
  height: 46px;
  border-radius: 33px;
  background-color: #d1f3ff;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 300;
  color: #2a2a2a;
  padding: 0px 20px;
  margin-bottom: 20px;
}

form#contact input::placeholder {
  color: #2a2a2a;
}

form#contact textarea {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  max-height: 180px;
  min-height: 140px;
  height: 140px;
  border-radius: 20px;
  background-color: #d1f3ff;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 300;
  color: #2a2a2a;
  padding: 15px 20px;
  margin-bottom: 20px;
}

form#contact textarea::placeholder {
  color: #2a2a2a;
}

form#contact button {
  display: inline-block;
  background-color: #03a4ed;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  text-transform: capitalize;
  padding: 12px 25px;
  border-radius: 23px;
  letter-spacing: 0.25px;
  border: none;
  outline: none;
  transition: all .3s;
}

form#contact button:hover {
  background-color: #fe3f40;
}


/* 
---------------------------------------------
Footer Style
--------------------------------------------- 
*/

/* ======= MAIN FOOTER STYLING ======= */
.main-footer {
    background-color: #111; /* dark background */
    color: #fff; /* white text */
    padding: 60px 0 30px 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

/* Links */
.main-footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer a:hover {
    color: #00aaff; /* highlight color on hover */
}

/* Footer Columns */
.footer-col h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col ul {
    padding: 0;
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    display: inline-block;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #00aaff;
}

/* Social Links */
.footer-social {
    margin-top: 15px;
}

.footer-social a {
    display: inline-block;
    margin-right: 10px;
    font-size: 16px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background-color: #222;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #00aaff;
    color: #fff;
    transform: translateY(-3px);
}

/* Contact Info */
.contact-line {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.contact-line i {
    margin-right: 12px;
    font-size: 16px;
}

.contact-line a {
    color: #ccc;
    text-decoration: none;
}

.contact-line a:hover {
    color: #00aaff;
}

/* Footer Text Paragraph */
.footer-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #bbb;
}

/* Copyright Bar */
.copyright-bar {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 13px;
    color: #aaa;
}

.copyright-bar a {
    color: #00aaff;
}

.copyright-bar a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .footer-col {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .footer-social {
        text-align: center;
        margin-top: 15px;
    }
    .footer-col h5 {
        text-align: center;
    }
    .footer-col ul {
        text-align: center;
        padding-left: 0;
    }
}
/*


====== PARTNER ======


*/
.partners-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

/* Wrapper forces rectangle */
.partner-logo-wrapper {
  width: 300px;   /* rectangle width */
  height: 100px;   /* rectangle height */
  margin: 0 auto 0.5rem;
  overflow: hidden;
  border: 2px solid #ddd;
  border-radius: 0; /* ensures rectangle */
}

.partner-logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills container */
  display: block;
  transition: transform 0.3s;
}

.partner-logo-wrapper img:hover {
  transform: scale(1.05);
}

.partners-carousel .item p {
  margin: 0;
  font-size: 0.9rem;
  color: #212529;
  font-weight: 500;
}


/*


====== Services Detailed Section ======


*/
#services-detailed {
    background-color: #f8faff;
    padding: 80px 0;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

#services-detailed .section-heading {
    margin-bottom: 60px;
}

#services-detailed .section-heading h2 {
    font-size: 2.75rem;
}

#services-detailed .section-heading em {
    font-style: normal;
    color: var(--bs-primary);
}

#services-detailed .section-heading p {
    font-size: 1.125rem;
}

/* Badge styling */
#services-detailed .badge {
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Timeline Container */
.timeline-container {
    position: relative;
    padding: 0 0 50px;
}

.timeline-line {
    position: absolute;
    width: 3px;
    background-color: var(--bs-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

/* Timeline Step */
.timeline-step {
    position: relative;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.timeline-dot {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid var(--dot-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 0 5px #f8faff;
    transition: all 0.3s ease;
}

.timeline-dot i {
    font-size: 1.5rem;
    color: var(--dot-color);
}

/* Timeline Card */
.timeline-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--dot-primary);
}

/* Position cards left/right */
.timeline-card {
    width: 100%;
}

.timeline-step:nth-child(odd) .timeline-card {
    margin-left: 30px;
    text-align: left;
}

.timeline-step:nth-child(even) .timeline-card {
    margin-right: 30px;
    text-align: left;
}

/* Colors for headings inside timeline cards */
.timeline-card h4.text-primary { color: var(--bs-primary); }
.timeline-card h4.text-success { color: var(--bs-secondary); }
.timeline-card h4.text-warning { color: var(--bs-warning); }
.timeline-card h4.text-info { color: var(--bs-info); }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .timeline-line {
        left: 10px;
    }
    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
    }
    .timeline-step .timeline-card {
        margin-left: 20px !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    #services-detailed {
        padding: 50px 15px;
    }
    .timeline-line {
        left: 10px;
    }
    .timeline-step {
        flex-direction: row;
    }
    .timeline-dot {
        width: 50px;
        height: 50px;
    }
    .timeline-card {
        padding: 20px;
        margin-left: 15px !important;
        margin-right: 0 !important;
    }
    #services-detailed .section-heading h2 {
        font-size: 2rem;
    }
    #services-detailed .section-heading p {
        font-size: 1rem;
    }
    #services-detailed .badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* 
---------------------------------------------
responsive
--------------------------------------------- 
*/

@media (max-width: 1645px) {
  form#contact .contact-dec {
    display: none;
  }
}

@media (max-width: 992px) {
  .main-banner {
    padding-top: 196px;
  }
  .main-banner .left-content {
    margin-right: 0px;
    text-align: center;
    margin-bottom: 45px;
  }
  .main-banner:after {
    top: 76px;
    z-index: -1;
  }
  .main-banner .left-content form,
  .main-banner .left-content form input {
    width: 100%!important;
  }
  #about {
    margin-top: 0px;
  }
  .about-us {
    position: relative;
    background-image: none;
    padding: 0px;
  }
  .about-us .left-image {
    margin-right: 0px;
    position: absolute;
    bottom: -220px;
    right: 0;
  }
  .about-us .services {
    text-align: center;
  }
  .about-us .services .item  {
    background: rgb(255,77,30);
    background: linear-gradient(105deg, rgba(255,77,30,1) 0%, rgba(255,44,109,1) 100%);
    padding: 30px;
    border-radius: 20px;
    display: inline-block;
  }
  .about-us .services .item .right-text {
    text-align: left;
  }
  .our-services {
    margin-top: 200px;
  }
  .our-services .left-image {
    margin-right: 0px;
    margin-bottom: 45px;
  }
  .our-services .section-heading h2,
  .our-services .section-heading p {
    margin-right: 0px;
    text-align: center;
  }
  .our-portfolio .section-heading h2 {
    margin: 0px 0px 80px 0px;
  }
  .our-portfolio .item {
    margin-bottom: 15px;
  }
  .our-blog {
    margin-top: 0px;
  }
  .our-blog .top-dec {
    display: none;
  }
  .our-blog .section-heading h2 {
    margin-right: 0px;
    text-align: center;
    margin-bottom: 45px;
  }
  .our-blog .left-image .info .inner-content {
    position: relative;
    margin-right: 0px;
  }
  .our-blog .left-image .info .main-blue-button {
    position: relative;
    bottom: 0px;
    margin-top: 30px;
  }
  .our-blog .left-image {
    margin-bottom: 45px;
  }
  .contact-us {
    margin-top: 60px;
    padding: 120px 0px;
  }
  .contact-us .section-heading {
    text-align: center;
  }
  form#contact {
    margin-left: 0px;
    margin-top: 30px;
  }
  form#contact .contact-dec {
    display: none;
  }
  footer p {
    margin: 15px 0px 30px 0px;
  }
}

@media (max-width: 767px) {
  .about-us .left-image {
    bottom: -280px;
  }
  .our-blog .right-list {
    margin-left: 0px;
  }
  .our-blog .right-list ul li {
    display: inline-block;
    margin-top: 0px;
    padding-top: 30px;
    border-top: 1px solid #eee;
  }
  .our-blog .right-list .left-content {
    margin-right: 0px;
    width: 100%;
    margin-bottom: 15px;
  }
  .our-blog .right-list .right-image,
  .our-blog .right-list .right-image img {
    width: 100%;
  }
  .phone-info h4 span {
    display: block;
    margin-top: 15px;
  }
  .phone-info h4 span i {
    margin-left: 0px;
  }
}

/* Blog card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

/* Blog thumbnail overlay effect */
.blog-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
}

.blog-thumbnail::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(25, 103, 210, 0.1);
        opacity: 0;
        transition: opacity 0.3s ease;
}

.blog-thumbnail:hover::after {
        opacity: 1;
}

/* Contact form hover effects */
.contact-section .form-control {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .contact-section .form-control:focus {
        border-color: #1967d2;
        box-shadow: 0 0 0 0.25rem rgba(25, 103, 210, 0.15);
    }

.contact-section .btn-primary {
    transition: all 0.3s ease;
}

   .contact-section .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(25, 103, 210, 0.3);
    }

   /* Header Styles */
.header-area {
  transition: all 0.3s ease;
}

.nav-link {
  font-weight: 500;
  color: #333 !important;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #1967d2 !important;
}

.nav-link.active {
  color: #1967d2 !important;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: #1967d2;
  border-radius: 50%;
}

.dropdown-item:focus, 
.dropdown-item:hover {
  background-color: rgba(25, 103, 210, 0.1);
  color: #1967d2;
}

/* Mobile Menu Adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 20px 0;
    background-color: white;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .nav-item {
    margin-bottom: 5px;
  }
  
  .nav-link {
    padding: 10px 15px !important;
  }
  
  .dropdown-menu {
    border: none !important;
    box-shadow: none !important;
    padding-left: 20px;
  }
}


/* Header Styles */
.header-area {
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    position: relative;
    transition: all 0.3s ease;
}

    .nav-link:hover,
    .nav-link:focus {
        color: #1967d2 !important;
    }

    .nav-link.active {
        color: #1967d2 !important;
        font-weight: 600;
    }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            background-color: #1967d2;
            border-radius: 50%;
        }

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: rgba(25, 103, 210, 0.1);
    color: #1967d2;
}

/* Mobile Menu Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 20px 0;
        background-color: white;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .nav-item {
        margin-bottom: 5px;
    }

    .nav-link {
        padding: 10px 15px !important;
    }

    .dropdown-menu {
        border: none !important;
        box-shadow: none !important;
        padding-left: 20px;
    }
}



/* =========================
   Study in Australia Stylish Section
========================= */



.study-australia-section {
  background: #f8faff;
  color: #212529;
  font-family: 'Segoe UI', sans-serif;
  padding: 60px 20px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 1.5rem;
}

.section-title span {
  color: #ffd700; /* gold accent */
}

.overview-list {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  padding-left: 1rem;
  list-style: disc inside;
}

.overview-list li {
  margin-bottom: 0.75rem;
}

/* ================================
   Hero Section (Australian Flag Background)
================================= */
.hero {
  position: relative;
  margin-bottom: 50px;
  margin-top: 100px;
}

.hero-bg-overlay {
  position: relative;
  border-radius: 1rem;
  padding: 60px 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: center center / cover no-repeat;
}

.hero-bg-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
  border-radius: 1rem;
  z-index: 0;
}

.hero-bg-overlay h2 {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-bg-overlay span {
  color: #ffd700; /* default accent, override per country */
}

/* Country-specific backgrounds and accent colors */
.hero-newzealand {
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Seddon_Statue_in_Parliament_Grounds.jpg/1280px-Seddon_Statue_in_Parliament_Grounds.jpg') center center / cover no-repeat;
}
.hero-newzealand h2 span { color: #00247d; }

.hero-australia {
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Sydney_Australia._%2821339175489%29.jpg/500px-Sydney_Australia._%2821339175489%29.jpg') center center / cover no-repeat;
}
.hero-australia h2 span { color: #00247d; }

.hero-usa {
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/b/ba/New_york_times_square-terabass_%28cropped%29.jpg/960px-New_york_times_square-terabass_%28cropped%29.jpg') center center / cover no-repeat;
}
.hero-usa h2 span { color: #00247d; } /* red accent for USA */

.hero-canada {
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/5/57/Concord_Pacific_Master_Plan_Area.jpg/500px-Concord_Pacific_Master_Plan_Area.jpg') center center / cover no-repeat;
}
.hero-canada h2 span { color: #00247d; } /* red accent for Canada */

.hero-uk {
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/6/67/London_Skyline_%28125508655%29.jpeg/500px-London_Skyline_%28125508655%29.jpeg') center center / cover no-repeat;
}
.hero-uk h2 span { color: #00247d; } /* blue accent for UK */


.overview-list {
  position: relative;
  z-index: 1;
  color: #fff; /* white text */
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  padding-left: 1rem;
  list-style: disc inside;
}

.overview-list li {
  margin-bottom: 0.75rem;
}

.hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  margin-top: -50px; /* layered overlap effect */
  position: relative;
  z-index: 2;
}


.timeline {
  position: relative;
  margin: 3rem 0;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 4px;
  height: 100%;
  background: #007bff;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 40px;
}

.timeline-item .timeline-icon {
  position: absolute;
  left: -4px;
  top: 0;
  background: #007bff;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ================================
   Support & Living List
================================= */
.support-living h3 {
  color: #007bff;
  margin-bottom: 1rem;
}

.support-living ul {
  list-style: none;
  padding-left: 0;
}

.support-living ul li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 25px;
  font-size: 1rem;
}

.support-living ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #28a745;
}

/* Study Pathways Section */
.study-pathways-section {
  background-color: #f8faff;
  font-family: 'Segoe UI', sans-serif;
}

.study-pathways-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #007bff;
}

.pathway-card {
  border-radius: 1rem;
  border: none;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pathway-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.pathway-img-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.pathway-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.pathway-card:hover .pathway-img {
  transform: scale(1.1);
}

.pathway-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #007bff;
}

.pathway-desc {
  font-size: 0.95rem;
  color: #212529;
  line-height: 1.5;
}



/* =========================
   css for
========================= */

.card img.rounded-circle {
  width: 60px;        /* fixed width */
  height: 60px;       /* fixed height */
  object-fit: cover;  /* ensures image fills the circle */
  border-radius: 50%; /* makes it circular */
}
.why-aus-card {
  background: linear-gradient(145deg, #ffffff, #f7fafc);
  border: 1px solid rgba(0,0,0,0.05);
}

.why-feature .icon-box {
  width: 44px;
  height: 44px;
  background: #e8f2ff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  color: #0052cc;
  font-size: 20px;
}

.why-feature:hover i {
  transform: scale(1.15);
  transition: 0.3s;
}

.aqf-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.04);
}

.aqf-item {
  background: #f8f9fc;
  border: 1px solid #e7e8ef;
  text-align: left;
  cursor: default;
  transition: 0.25s ease;
}

.aqf-item:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.aqf-icon {
  font-size: 24px;
}
.visa-process-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
}

.visa-step {
  background: #f8faff;
  padding: 20px 10px;
  border-radius: 18px;
  transition: all 0.25s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.visa-step:hover {
  transform: translateY(-6px);
  background: #eef7ff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.step-icon {
  font-size: 28px;
  line-height: 1;
}
:root {
  --primary: #0e2973;
  --secondary:  rgba(3, 16, 56, 0.75);
}

.section {
  padding: 70px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--secondary);
}

.light-bg { background: #f8faff; }



/* Grid layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(270px,1fr));
  gap: 25px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  gap: 20px;
}

/* Cards */
.uk-card {
  background: #fff;
  padding: 28px;
  text-align: center;
  border-radius: 14px;
  border-top: 4px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.uk-card:hover {
  transform: translateY(-6px);
}

/* Education Boxes */
.edu-box {
  background: #fff;
  padding: 25px;
  border-left: 5px solid var(--primary);
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

/* Funds Table */
.table-box table {
  width: 100%;
  border-collapse: collapse;
}

.table-box th {
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
}

.table-box td, .table-box th {
  padding: 14px;
  border: 1px solid #ddd;
}

/* Work Rights */
.check-list {
  text-align: center;
  line-height: 2;
}

/* Intake Tags */
.tags {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.tags span {
  background: var(--primary);
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 500;
}

/* CTA */
.cta {
  text-align: center;
  background: var(--secondary);
  color: #fff;
  padding: 80px 20px;
}

.button-uk {
  display: inline-block;
  margin-top: 15px;
  background: var(--primary);
  padding: 12px 30px;
  color: #fff;
  border-radius: 50px;
  transition: 0.3s;
  font-weight: 600;
}

.button-uk:hover {
  opacity: 0.85;
}
/* MAIN COLORS */
:root {
  --primary: #14213D;
  --gold: #E1B352;
  --dark: #0B111F;
}

/* HERO */
.uk-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.65)),
  url('assets/images/uk-hero.jpg') center/cover no-repeat;
  padding: 140px 0;
}

/* Buttons */
.btn-main {
  background: var(--gold);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.btn-main:hover {
  background: #c79a3b;
}

/* Titles */
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}
.section-sub {
  color: #555;
}

/* Features */
.feature-card {
  background: #fff;
  padding: 35px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #ececec;
  transition: 0.3s;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.feature-icon {
  font-size: 42px;
  color: #2E5D86;
  margin-bottom: 15px;
}

/* Timeline */
.uk-timeline {
  background: #f7f8fc;
}
.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
}
.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: #2E5D86;
  top: 0;
  bottom: 0;
  left: 50%;
}
.timeline-item {
  padding: 20px 35px;
  width: 50%;
  background: #fff;
  position: relative;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; transform: translateX(0); }

/* Visa Process */
.visa-progress {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.visa-step {
  text-align: center;
  font-weight: 600;
  position: relative;
  padding: 18px;
  color: #2E5D86;
}
.visa-step span {
  display: block;
  background: #2E5D86;
  color: #fff;
  width: 55px;
  height: 55px;
  margin: auto auto 10px;
  border-radius: 50%;
  line-height: 55px;
  font-size: 20px;
}

/* Cost */
.cost-box {
  background: #fff;
  padding: 28px;
  border-radius: 14px;
  border: 1px solid #ececec;
  text-align: center;
  transition: 0.3s;
}
.cost-box:hover {
  transform: translateY(-6px);
}

/* Work */
.work-list li {
  display: inline-block;
  margin: 6px 10px;
  background: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  border: 1px solid #ececec;
}

/* CTA */
.cta-section {
  background: var(--primary);
  border-top: 5px solid var(--gold);
}

/* Responsive */
@media (max-width: 767px) {
  .timeline-item {
    width: 100%;
    left: 0 !important;
    margin-left: 0 !important;
  }
  .timeline::after {
    left: 0;
  }
}
/* HERO */

.hero-content {
  position: relative;
  max-width: 650px;
}
.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero-list li {
  list-style: none;
  margin-bottom: 6px;
}
.btn-usa {
  background: #b80a2e;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid #b80a2e;
  transition: 0.3s;
}
.btn-usa:hover {
  background: transparent;
  border-color: #fff;
}

/* USA CARD */
.usa-card {
  padding: 25px;
  background: #ffffff;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #e3e7ef;
  transition: 0.35s;
}
.usa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.icon-circle {
  width: 70px;
  height: 70px;
  background: #001b57;
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

/* EDUCATION FLOW */
.education-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.flow-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  flex: 1;
  border-bottom: 4px solid #003262;
  transition: 0.3s;
}
.flow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.flow-arrow i {
  font-size: 26px;
  color: #001b57;
}

/* MOBILE FIX */
@media(max-width: 768px){
  .education-flow {
    flex-direction: column;
  }
}
/* =========================
   CANADA SECTION PREMIUM
========================= */
.canada-section .section-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  color: #001b57;
}
.canada-section .section-subtext {
  font-size: 18px;
  color: #5f6368;
  text-align: center;
  margin-bottom: 50px;
}

/* Info Boxes */
.info-box {
  transition: 0.35s;
  background: #fff;
}
.info-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Visa Card */
.visa-card {
  background: #fff;
  border-left: 5px solid #1a4c82;
}
.visa-card .alert {
  border-radius: 50px !important;
  background: #f0f3f7 !important;
  transition: 0.3s;
}
.visa-card .alert:hover {
  background: #b80a2e !important;
  color: #fff;
  transform: translateY(-3px);
}

/* Fund + Insurance Cards */
.fund-card, .insurance-card {
  background: #fff;
  transition: 0.3s;
}
.fund-card:hover, .insurance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.fund-box {
  border-left: 4px solid #1a4c82;
}

/* Study Pathways AQF Cards */
.aqf-card {
  background: #fff;
  transition: 0.35s;
}
.aqf-item {
  background: #f8faff;
  border-radius: 14px;
  padding: 30px 20px;
  transition: 0.3s;
}
.aqf-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  background: #fff;
}
.aqf-icon {
  display: inline-block;
  background: #001b57;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  line-height: 60px;
}

/* Hover cards shared */
.hover-card {
  cursor: default;
  transition: all 0.35s ease;
}
.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.btn-success{
    color: #fff;
    background-color: #415da4;
    border-color: #415da4;
}
.btn-outline-success{
  border-color: #415da4;
}