
:root {
  --white-color:                  #ffffff;
  --primary-color:                #13547a;
  --secondary-color:              linear-gradient(135deg, #FFFFFF, #7BC5E8,   #2DABD5,#2FA6D4,#3597CF, #08497A, #033256   );
  --section-bg-color:             #f0f8ff;
  --custom-btn-bg-color:          #80d0c7;
  --custom-btn-bg-hover-color:    #13547a;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #7fffd4;
  --link-hover-color:             #13547a;

  --body-font-family:             'Open Sans', sans-serif;
  --title-font-family:            'Montserrat', sans-serif;

  --h1-font-size:                 58px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  20px;
  --menu-font-size:               14px;
  --btn-font-size:                18px;
  --copyright-font-size:          16px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-normal:           400;
  --font-weight-medium:           500;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
}
/* === Prevent horizontal overflow globally === */
html, body {
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font-family); 
  font-weight: var(--font-weight-semibold);
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  color: var(--primary-color);
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.section-overlay + .container {
  position: relative;
}

.tab-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
}

.nav-tabs {
  border-bottom: 1px solid #ecf3f2;
  margin-bottom: 40px;
 
}

.nav-tabs .nav-link {
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  color: var(--p-color);
  font-family: var(--title-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-medium);
  padding: 15px 25px;
  transition: all 0.3s;
  display: flex;
  justify-content: flex-end;
}

.nav-tabs .nav-link:first-child {
  margin-right: 20px;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus, 
.nav-tabs .nav-link:hover {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}
/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  padding-top: 150px;
  padding-bottom: 80px;
}

.site-header .container {
  height: 100%;
}

.breadcrumb-item+.breadcrumb-item::before,
.breadcrumb-item a:hover,
.breadcrumb-item.active {
  color: var(--white-color);
}

.site-header .custom-icon {
  color: var(--white-color);
  font-size: var(--h4-font-size);
}

.site-header .custom-icon:hover {
  color: var(--secondary-color);
}

/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .navbar {
  background: var(--secondary-color);
}

.navbar {
  height: 80px;
  background: transparent;
  border-bottom: 1px solid rgba(128, 208, 199, 0.35);
  z-index: 9;
  display: flex;
  
  
   
  
}
.navbar-brand img {
  max-height: 50px; /* Limits logo height */
  width: auto; /* Keeps aspect ratio */
  margin-top: 0px;
  margin-right: 0px;
  padding: 0px;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  
  display: flex; 
    align-items: center; /* Aligns logo and text in one line */
    gap: 0px; /* Adjusts spacing between logo and text */
    white-space: nowrap; /
}

.navbar-brand span {
  font-family: var(--title-font-family);
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
  display: flex;
    justify-content: flex-end; /* Aligns items to the right */
    width: 100%; 
    
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-family: var(--title-font-family); 
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  justify-content: flex-end;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}



.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section h1,
.hero-section h6 {
  margin-left: 50px; /* Adjust the value as needed */
}
.hero-section {
  background: linear-gradient(135deg,white, rgba(123, 197, 232, 1.0),rgba(45, 171, 213, 0.84),rgba(47, 166, 212, 0.86), rgba(53, 151, 207, 0.93),rgb(8, 73, 122),rgb(3, 50, 86));
  position: relative;
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 150px;
  overflow-x: hidden;
}

.hero-section .input-group {
  background-color: var(--white-color);
  border-radius: var(--border-radius-large);
  padding: 10px 15px;
}

.hero-section .input-group-text {
  background-color: transparent;
  border: 0;
}

.hero-section input[type="search"] {
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding-left: 0;
}

.hero-section button[type="submit"] { 
  
  display: block;
  margin: 15px 50px; /* Centers horizontally */
  padding: 20px 24px;
  font-size: 18px;
  height:auto;
  width:auto;
  color: white;
  background: var(--primary-color);
  border-radius: 5px;
  border:none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-section button[type="submit"]:hover {
  
  transform: scale(1.05); /* Slightly enlarges the button */
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2); /* Adds shadow effect */
}
@keyframes floatAnimation {
  0% {
    transform: translateY(-50%) perspective(800px) rotateY(-35deg) rotateX(20deg) translateY(0);
  }
  50% {
    transform: translateY(-50%) perspective(800px) rotateY(-34deg) rotateX(21deg) translateY(-10px);
  }
  100% {
    transform: translateY(-50%) perspective(800px) rotateY(-35deg) rotateX(20deg) translateY(0);
  }
}

.mainimg {
  position: absolute;
  right: 15%; /* Keep it towards the rightmost side */
  top: 50%;
  transform: translateY(-50%) perspective(800px) rotateY(-35deg) rotateX(20deg);
  max-width: 18vw; /* Adjust for responsiveness */
  height: auto;
  box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.5); /* Adds deep shadow for 3D effect */
  overflow-x: hidden;
  /* Floating Animation */
  animation: floatAnimation 3s ease-in-out infinite;
}



/*---------------------------------------
  TOPICS              
-----------------------------------------*/
.featured-section {
  background-color: var(--secondary-color);
  border-radius: 0 0 100px 100px;
  padding-bottom: 100px;
  overflow-x: hidden;
}

.featured-section .row {
  position: relative;
  bottom: 100px;
  margin-bottom: -100px;
}

.custom-block {
  
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.custom-block:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.custom-block > a {
  width: 100%;
}

.custom-block-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: 35px;
}

.custom-block .rounded-pill {
  border-radius: 5px !important;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 20px;
}

.custom-block-overlay {
  height: 100%;
  min-height: 350px;
  padding: 0;
}

.custom-block-overlay > a {
  height: 100%;
}

.custom-block-overlay .custom-block-image {
  border-radius: var(--border-radius-medium);
  display: block;
  height: 100%;
  margin-top: 0;
}

.custom-block-overlay-text {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  padding: 30px;
}

.social-share {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
  padding: 20px 35px;
}

.social-share .bi-bookmark {
  color: var(--white-color);
  font-size: var(--h5-font-size);
}

.social-share .bi-bookmark:hover {
  color: var(--secondary-color);
}

.bg-design {
  background-color: #00B0FF;
}

.bg-graphic {
  background-color: #00BFA6;
}

.bg-advertising {
  background-color: #F50057;
}

.bg-finance {
  background-color: #536DFE;
}

.bg-music {
  background-color: #F9A826;
}

.bg-education {
  background-color: #00BFA6;
}





/*---------------------------------------
  PAGINATION              
-----------------------------------------*/
.pagination {
  margin-top: 40px;
  overflow-x: hidden;
}

.page-link {
  border: 0;
  border-radius: var(--border-radius-small);
  color: var(--p-color);
  font-family: var(--title-font-family);
  margin: 0 5px;
  padding: 10px 20px;
}

.page-link:hover,
.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.page-item:first-child .page-link {
  margin-right: 10px;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
}

.active>.page-link, .page-link.active {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/*-----------------
      clients
-------------------*/
.client-portfolio {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0px;
  text-align: center;
  overflow-x: hidden;
}

.portfolio-title {
  font-size: 2.5rem;
  color: black;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}



.portfolio-title:after {
  content: '';
  position: absolute;
  width: 60%;
  height: 4px;
  background: linear-gradient(135deg, rgba(123, 197, 232, 1.0),rgba(45, 171, 213, 0.84),rgba(47, 166, 212, 0.86), rgba(53, 151, 207, 0.93),rgb(8, 73, 122),rgb(3, 50, 86));
  bottom: -10px;
  left: 20%;
  border-radius: 2px;
}

.portfolio-subtitle {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 40px;
  font-weight: 300;
}

.logo-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  padding: 20px;
}

.logo-card {
  perspective: 1000px;
  transition: all 0.5s ease;
}

.logo-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  border-radius: 50%;
  transition: all 0.5s ease;
  filter: grayscale(20%);
  transform: scale(0.9);
}

.logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,white, rgba(123, 197, 232, 1.0),rgba(45, 171, 213, 0.84),rgba(47, 166, 212, 0.86), rgba(53, 151, 207, 0.93),rgb(8, 73, 122),rgb(3, 50, 86));
  opacity: 0;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.logo-title {
  margin-top: 20px;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.logo-desc {
  color: #666;
  font-size: 0.9rem;
  margin-top: 5px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

/* Hover Effects */
.logo-card:hover {
  transform: translateY(-10px);
}

.logo-card:hover .logo-wrapper {
  transform: rotateY(10deg) scale(1.05);
  box-shadow: 0 15px 30px rgba(108, 99, 255, 0.2);
}

.logo-card:hover .logo-img {
  filter: grayscale(0%);
  transform: scale(1);
}

.logo-card:hover .logo-overlay {
  opacity: 0.3;
}

.logo-card:hover .logo-title {
  color: var(--primary-color);
}

.logo-card:hover .logo-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Animation for the entire section */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.client-portfolio {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .portfolio-title {
    font-size: 2rem;
  }
}
/*---------------------------------------
  TIMELINE              
-----------------------------------------*/
.timeline-section {
  overflow-x: hidden;
  position: relative;
  background: 
    linear-gradient(135deg,  
    rgba(47, 166, 212, 0.2), rgba(53, 151, 207, 0.3), rgba(8, 73, 122, 0.4), rgba(3, 50, 86, 0.5)), 
    url('../images/colleagues-working-cozy-office-medium-shot.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}



.timeline-container .vertical-scrollable-timeline {
  list-style-type: none;
  position: relative;
  padding-left: 0;
}

.timeline-container .vertical-scrollable-timeline .list-progress {
  width: 8px;
  height: 80%;
  background-color: var(--primary-color);
  position: absolute;
  left: 52px;
  top: 0;
  overflow: hidden;
}

.timeline-container .vertical-scrollable-timeline .list-progress .inner {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  background: var(--secondary-color);
  width: 100%;
}

.timeline-container .vertical-scrollable-timeline li {
  position: relative;
  padding: 20px 0px 65px 145px;
}

.timeline-container .vertical-scrollable-timeline li:last-child {
  padding-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li p {
  line-height: 24px;
  margin-bottom: 10px;
}

.timeline-container .vertical-scrollable-timeline li p:last-child {
  margin-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder {
  position: absolute;
  left: 0;
  top: 0;
  width: 104px;
  height: 104px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--secondary-color);
  border-radius: 50%;
  z-index: 1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder::before {
  content: "";
  width: 80px;
  height: 80px;
  border: 4px solid #fff;
  position: absolute;
  background: var(--secondary-color);
  border-radius: 50%;
  z-index: -1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder i {
  font-size: 25px;
  color: var(--white-color);
}

.timeline-container .vertical-scrollable-timeline li::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 8px;
  background-color: transparent;
  left: 52px;
  z-index: 0;
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder {
  background-color: var(--primary-color);
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder::before {
  background-color: var(--primary-color);
}


/*---------------------------------------
  FAQs              
-----------------------------------------*/
.faq-section .accordion-item {
  border: 0;
}

.faq-section .accordion-button {
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-semibold);
}

.faq-section .accordion-item:first-of-type .accordion-button {
  border-radius: var(--border-radius-large);
}

.faq-section .accordion-button:not(.collapsed) {
  border-radius: var(--border-radius-large);
  box-shadow: none;
  color: var(--primary-color);
}

.faq-section .accordion-body {
  color: var(--p-color);
  font-size: var(--btn-font-size);
  line-height: 40px;
}

/*---------------------------------------
  NEWSLETTER               
-----------------------------------------*/
.newsletter-image {
  border-radius: var(--border-radius-medium);
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  width: 100%;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color:black;
  text-align: center;
  overflow-x: hidden;
}
.contact-title {
  margin-bottom: 15px;
}
.contact-container {
  max-width: 800px;
  width: 50%;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  text-align: left;
}
.owner-info {
  flex: 1;
  padding-right: 20px;
}
.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  background:  #a7cee4;
  color: black;
  outline: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color:black;
}
.contact-form button {
  padding: 12px;
  border: none;
  background: #ffcc00;
  color: #333;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
.contact-form button:hover {
  background: #ffdb4d;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none; /* Hidden initially */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Close button inside the form */
.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  z-index: 10000;
}

/*---------------------------------------
  SUBSCRIBE FORM               
-----------------------------------------*/
.subscribe-form-wrap {
  padding: 50px;
}

.subscribe-form {
  width: 95%;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  border-radius: var(--border-radius-large);
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 20px;
  outline: none;
}

.form-floating>label {
  padding-left: 20px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-family: var(--title-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  border-bottom: 10px solid #78c4e7;
  position: relative;
  overflow-x: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 10px;
  border-style: solid;
  border-width: 0 0 200px 200px;
  border: transparent transparent var(--secondary-color) transparent;
  pointer-events: none;
}

.site-footer-title {
  color: var(--primary-color); 
}


.site-footer-links {
  padding-left: 0;
}

.site-footer-link-item {
  display: block;
  list-style: none;
  line-height: normal;
}

.site-footer-link {
  color: var(--secondary-color);
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-medium);
  line-height: normal;
}

.copyright-text {
  font-size: var(--copyright-font-size);
}




/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  /*try*/
  
  @media (max-width: 991.98px) {
    .navbar-collapse {
      text-align: center;
    }
  
    .navbar-nav {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .navbar-nav .nav-item {
      width: 100%;
    }
  
    .navbar-nav .nav-link {
      width: 100%;
      padding: 10px 0;
      color: var(--dark-color, #000); /* fallback to black */
      background-color: var(--light-color, #fff); /* fallback to white */
    }
  
    .navbar-nav .nav-link:hover {
      background-color: var(--secondary-color, #f0f0f0);
      color: var(--primary-color, #007bff);
    }
  
    .navbar-nav .dropdown-menu {
      background-color: var(--light-color, #fff);
      color: var(--dark-color, #000);
      text-align: center;
      border-radius: 6px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
     
    }
  
    .navbar-nav .dropdown-menu .dropdown-item {
      color: var(--dark-color, #000);
      padding: 10px;
    }
  
    .navbar-nav .dropdown-menu .dropdown-item:hover {
      background-color: var(--secondary-color, #f0f0f0);
      color: var(--primary-color, #007bff);
    }
  }
  

  .featured-section {
    border-radius: 0 0 80px 80px;
    padding-bottom: 50px;
  }

 

  .timeline-container .vertical-scrollable-timeline .list-progress {
    height: 75%;
  }

  .timeline-container .vertical-scrollable-timeline li {
    padding-left: 135px;
  }

  .subscribe-form-wrap {
    padding-top: 30px;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-container {
    width: 70%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-container {
    width: 90%;
    padding: 15px;
  }

  .contact-form input, .contact-form textarea {
    font-size: 13px;
    padding: 10px;
  }

  .contact-form button {
    font-size: 15px;
    padding: 10px;
  }

  .contact-form h2 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .contact-form h2 {
    font-size: 28px;
  }

  .contact-form input, .contact-form textarea {
    font-size: 12px;
    padding: 8px;
  }

  .contact-form button {
    font-size: 14px;
    padding: 8px;
  }
}


/* Responsive Footer Styling */
@media (max-width: 1024px) {
  .site-footer .row {
    flex-wrap: wrap;
  }

  .site-footer .col-lg-3,
  .site-footer .col-md-4,
  .site-footer .col-6 {
    width: 48%;
    margin-bottom: 20px;
  }

  .site-footer .site-footer-link-item {
    font-size: 15px;
  }

  .site-footer-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .site-footer .col-lg-3,
  .site-footer .col-md-4,
  .site-footer .col-6 {
    width: 100%;
    text-align: center;
  }

  .site-footer .navbar-brand,
  .site-footer .site-footer-links,
  .site-footer .site-footer-title {
    text-align: center;
    margin: 0 auto;
  }

  .site-footer .site-footer-links {
    padding: 0;
  }

  .site-footer .site-footer-link-item {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .site-footer a i {
    font-size: 26px;
    margin: 0 8px;
  }

  .site-footer input[type="text"] {
    font-size: 14px;
    padding: 8px;
  }

  .site-footer button {
    font-size: 13px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .site-footer .site-footer-link-item {
    font-size: 13px;
  }

  .site-footer .site-footer-title {
    font-size: 16px;
  }

  .site-footer input[type="text"] {
    font-size: 13px;
    padding: 6px;
  }

  .site-footer button {
    font-size: 12px;
    padding: 5px 8px;
  }

  .site-footer .navbar-brand span {
    font-size: 20px;
  }

  .site-footer p,
  .site-footer .copyright-text {
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .mainimg {
    display: none !important;
  }
}




/* Responsiveness for screens max-width 991px (tablets) */
@media (max-width: 991px) {
  #chat-label {
    display: none; /* Hide the "Chat with Us!" label on tablets and smaller screens */
  }

  #chat-button {
    bottom: 15px;
    left: 15px; /* Move to left side on mobile */
  }
}

/* Responsiveness for screens max-width 768px (small tablets) */
@media (max-width: 768px) {
  #chat-label {
    display: none; /* Hide the "Chat with Us!" label on smaller tablets */
  }

  #chat-button {
    bottom: 15px;
    left: 15px; /* Move to left side */
  }

  #chat-button button {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Responsiveness for screens max-width 480px (smartphones) */
@media (max-width: 480px) {
  #chat-label {
    display: none; /* Hide the "Chat with Us!" label on smartphones */
  }

  #chat-button {
    bottom: 10px;
    left: 10px; /* Move to left side */
  }

  #chat-button button {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

/* Extra small devices max-width 360px (small smartphones) */
@media (max-width: 360px) {
  #chat-label {
    display: none; /* Hide the "Chat with Us!" label on small smartphones */
  }

  #chat-button button {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}






/*effects*/
/* General Fade-in Effect */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When page loads */
.fade-in.loaded {
  opacity: 1;
  transform: translateY(0);
}




/* General Styles */
.scroll-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

/* Slide in from Right */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px); /* Start from the right */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from Bottom */
.slide-in-bottom {
  opacity: 0;
  transform: translateY(50px); /* Start from the bottom */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-bottom.show {
  opacity: 1;
  transform: translateY(0);
}
