@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Space+Mono&family=Vidaloka&display=swap');

:root {
  --blue: #0078ff;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight:500;
    font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f2f2f2;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 5;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}



/* It removes the Bootstrap’s solid background */
.bg-body-tertiary {
  background-color: transparent !important;
}
.icon {
  height: 1.5rem;
}

.training-links {
  color: black;
  text-decoration: none;
  padding: 0.3rem;
  border-radius: 0.3rem;
}

.training-links:hover {
  color: var(--blue);
  transition: transform, bacbkground-color 0.2s ease-in-out;
}

.training-links:hover img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(98%) saturate(2500%)
    hue-rotate(190deg);
}

.cauresel-images img {
  height: 65vh;
  width: auto;
  object-fit: cover;
}

.redirect-btns button {

    border-radius: 1.5rem;
    border: none;
    outline: none;
    background: linear-gradient(45deg, #007bff, #0056b3);;
    color: white;
    padding: 15px;
}
.redirect-btns button:hover{
    background: linear-gradient(45deg, #0056b3, #007bff); 
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}
.nav-link:hover,
.visited {
  text-decoration-line: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 0.3rem;
  transition: text-decoration-line 0.3s ease-in-out;
  text-decoration-thickness: 2px;
  color: var(--blue) !important;
}

.carousel-item {
  transition: transform 0.5s ease-in-out;
}

.carousel-item h2 {
  color: white;
}

.carousel-overlay {
  position: relative;
}

.carousel-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /*Black with 50% opacity */
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  z-index: 2;
}

.nav-btn {
  filter: invert(1);
}

.heading-text {
  text-decoration-line: underline;
  text-underline-offset: 0.5rem;
  text-decoration-color: var(--blue);
}

.svg-img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  border-radius: 50%;
}
/* Services card is here */
.card-services {

    margin: 1rem;
    border: none;
    cursor: pointer;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

p {
  text-align: justify;
}

.card-services:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

.card-services:hover h5 {
  color: var(--blue);
}

.card-services h5 {
  font-weight: 700;
  margin: 1rem;
}
#digital-marketing-card {
  background-color: #ff689a3d;
}

#content-writing-card {
  background-color: #e98e063d;
}

#website-development-card {
  background-color: #41cf2e3d;
}

#graphic-design-card {
  background-color: #2282ff3d;
}

#social-media-management-card {
  background-color: #8660fe3d;
}

.card {
  border: none;
}

.about-us {
  font-size: 1rem;
  text-align: left;
}

.about-us ul li {
  text-align: justify;
  list-style: none;
  margin-bottom: 1rem;
}

.about-us ul svg {
  filter: brightness(0) saturate(100%) invert(30%) sepia(98%) saturate(2500%)
    hue-rotate(190deg);
}

.about-us-img {
  width: 100%;
}

.founder-text {
  padding-left: 5rem !important;
}

.clients-img {
  /* height: 7rem; */
  background-color: white;
  padding: 1rem;
}

.clients-img {
  max-width: 250px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.client-page {
  width: 100%;
  padding: 3rem;
  background-color: var(--blue);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.founder-detail {
  font-size: 1.2rem;
}

.founder-image {
  position: relative;
  overflow: hidden;
}

.founder-image:hover .founder-links {
  transform: translateY(-40px);
  transition: all 0.3s ease-in-out;
}

.founder-links {
  position: absolute;
  bottom: -60px;
  transform: translateY(0%);
  transition: transform 0.3s ease-in-out;
  left: 15%;
  width: 70%;
}

.founder-links h5,
.founder-links p {
  color: white;
}

.founder-detail img {
  width: 70%;
  border-radius: 2rem;
}

.founder-detail p {
  text-align: justify;
}

.founder-card {
  background-color: rgba(0, 0, 0, 0.426);
}

.socialmedia ul {
  list-style: none;
  gap: 1rem;
}

.footer {
  background-color: #21903b;
  color: white;
  font-family: Arial, sans-serif;
  padding: 40px 20px 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
}

.footer-container > div {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer h3 {
  text-decoration: underline;
  margin-bottom: 10px;
  font-size: 20px;
}

.footer p,
.footer a {
  font-size: 14px;
  color: white;
  line-height: 1.6;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

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

.footer-links ul li {
  margin-bottom: 6px;
}

.footer-social h3 {
  margin-bottom: 15px;
}

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

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

.social-list a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.social-list a:hover {
  color: #d4f7d4;
}

.social-list i {
  background-color: #ffffff30;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: background 0.3s, color 0.3s;
}

.social-list a:hover i {
  background-color: white;
  color: #28a745;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ffffff80;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
}
.send-message-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background-color: white;
  color: #28a745;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.send-message-btn:hover {
  background-color: #dff0d8;
}

input::placeholder,
textarea::placeholder {
  color: rgb(180, 180, 180);
}

textarea {
  min-height: 8rem;
}

#error {
  color: red;
  font-size: 1rem;
}

.gallery-card {
  /* background-color: #111; */
  /* border: 1px solid #fff; */
  background-color: white;
  border: 0.5px solid black;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  text-align: center;
  color: black;
}

.gallery-card:hover {
    box-shadow: 0 0 15px white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.6);
}

.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-card .card-body {
    padding: 15px;

}

.gallery-card .card-title {
  /* color: #fff; */
  font-weight: 600;
  margin-bottom: 10px;
}

.gallery-card .card-text {
  /* color: #e0e0e0; */
  font-size: 15px;
}
.work-card {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.6);
  border: none;

}
.work-card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

.work-card:hover h3 {
  color: var(--blue);
}

/* Dark Mode Switch Styles  */
.toggle-switch {
  position: relative;
  width: 60px;
  height: 10px;
  margin-left: 0;
  margin-right: 0;
  padding: 10px;
  margin-top: 0;
  --light:#0078FF;
  --dark: #060707;
  --link: rgb(27, 129, 112);
  --link-hover: rgb(24, 94, 82);
}

@media only screen and (max-width: 576px) {
  #logo {
    width: 10rem;
  }

  .clients-img {
    max-width: 60px;
  }


@media only screen and (max-width:576px) {
    #logo {
        width: 10rem;
    }

    .clients-img {
        max-width: 60px;
    }

    .toggle-switch {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 8px;
        padding: 8px;
        margin: 0;
        --light:#0078FF;
        --dark: #28292c;
        --link: rgb(27, 129, 112);
        --link-hover: rgb(24, 94, 82);
    }
    
    .navbar .toggle-switch {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
    

    
    .switch-label {
        height: 20px;
        border-radius: 12px;
        border-width: 2px;
    }
    
    .slider::before {
        top: 2px;
        left: 3px;
        width: 16px;
        height: 18px;
    }
    
    .checkbox:checked ~ .slider::before {
        transform: translateX(20px);
    }
}

@media only screen and (max-width:320px) {
    #logo {
        width: 6rem;
    }

    .toggle-switch {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 6px;
        padding: 6px;
        margin: 0;
        --light:#0078FF;
        --dark: #28292c;
        --link: rgb(27, 129, 112);
        --link-hover: rgb(24, 94, 82);
    }
        
    .switch-label {
        height: 16px;
        border-radius: 8px;
        border-width: 2px;
    }
    
    .navbar .toggle-switch {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
    

    
    .slider::before {
        top: 1px;
        left: 2px;
        width: 12px;
        height: 12px;
    }
    
    .checkbox:checked ~ .slider::before {
        transform: translateX(16px);
    }    
}

@media only screen and (max-width:768px) {
    .footer-links {
        flex-direction: row;
        margin: 2rem 0;
    }

    .founder-text {
        padding-left: 1rem !important;
    }

    .clients-img {
        max-width: 80px;
    }

    .toggle-switch {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 55px;
        height: 9px;
        padding: 9px;
        margin: 0;
        --light:#0078FF;
        --dark: #28292c;
        --link: rgb(27, 129, 112);
        --link-hover: rgb(24, 94, 82);
    }
    
    .navbar .toggle-switch {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
    

    
    .switch-label {
        height: 24px;
        border-radius: 14px;
        border-width: 2px;
    }
    
    .slider::before {
        top: 2px;
        left: 4px;
        width: 18px;
        height: 18px;
    }
    
    .checkbox:checked ~ .slider::before {
        transform: translateX(22px);
    }
}

@media (max-width:1412px) {
    .clients-img {
        max-width: 105px;
    }
    
    .toggle-switch {
        position: relative;
        width: 60px;
        height: 10px;
        padding: 10px;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        --light:#0078FF;
        --dark: #070708;
        --link: rgb(27, 129, 112);
        --link-hover: rgb(24, 94, 82);
    }
}

@media (max-width:991.5px) {
    .toggle-switch {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 55px;
        height: 9px;
        padding: 9px;
        margin: 0;
        --light:#0078FF;
        --dark: #28292c;
        --link: rgb(27, 129, 112);
        --link-hover: rgb(24, 94, 82);
    }
    
    .navbar .toggle-switch {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
}

.switch-label {
  position: absolute;
  width: 100%;
  height: 30px;
  background-color: var(--dark);
  border-radius: 25px;
  cursor: pointer;
  border: 3px solid var(--dark);
}

.checkbox {
  position: absolute;
  display: none;
}

.slider {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.checkbox:checked ~ .slider {
  background-color: var(--light);
}

.slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 5px;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  -webkit-box-shadow: inset 12px -4px 0px 0px var(--light);
  box-shadow: inset 12px -4px 0px 0px var(--light);
  background-color: var(--dark);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.checkbox:checked ~ .slider::before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
  background-color: var(--dark);
  -webkit-box-shadow: none;
  box-shadow: none;
}
/* Dark Mode Switch Styles for Body element*/
body.dark {
  background-color: #222;
}

body.dark .navbar .container-fluid {
  background-color: #292929;
  color: #fff;
}

body.dark .navbar-toggler {
  border-color: #fff;
  color: #f2f2f2;
  background-color: #f2f2f2;
}

body.dark .navbar .container-fluid .collapse .navbar-nav .nav-item .nav-link {
  color: #fff !important;
}

body.dark h1,
body.dark .support a {
  color: #fff;
}

/* Dark mode for about section */
body.dark .about-us {
  background-color: #222;
  color: #fff;
}

body.dark .about {
  background-color: #222;
  color: #fff;
}

/* Dark mode for contact section */
body.dark footer {
  background-color: #222;
  color: #fff;
}

body.dark .bg-body-tertiary {
  background-color: #292929 !important;
  color: #fff;
}

body.dark .bg-body-tertiary .container-fluid .d-flex {
  color: #fff;
  background-color: #292929;
}

body.dark
  .bg-body-tertiary
  .container-fluid
  .d-flex
  .training-links
  .d-flex
  .icon {
  color: #fff !important;
}

body.dark .d-flex .heading-text {
  color: #fff !important;
  background-color: #222;
}

body.dark .d-flex .text-center {
  color: #fff !important;
  background-color: #222;
}

body.dark .card {
  background-color: #222;
}

body.dark .card-services {
  color: #fff;
  background-color: #0b09097b;
}

body.dark .gallery-card {
  background-color: #0b09097b;
  color: #fff;
}

body.dark .gallery-card:hover {
  box-shadow: 0 0 15px white;
}

body.dark .container .text-center {
  color: white;
}

body.dark .copyright {
  color: #f2f2f2;
}

#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1e90ff, #00c6ff); /* vivid blue gradient */
  color: white;
  font-size: 24px;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

#backToTop:hover {
  transform: scale(1.15) rotate(360deg);
  background: linear-gradient(135deg, #0077ff, #00aaff); /* hover gradient */
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.35);
}

body.dark .icon {
  filter: invert(1);
}

body.dark .mb-0:hover {
  color: var(--blue);
  transition: transform, bacbkground-color 0.2s ease-in-out;
}

body.dark .mb-4:hover {
  color: var(--blue);
  transition: transform, bacbkground-color 0.2s ease-in-out;
}

body.dark .icon:hover {
  filter: brightness(0) saturate(100%) invert(30%) sepia(98%) saturate(2500%)
    hue-rotate(190deg);
}

body.dark .training-links:hover .mb-0 ,body.dark .training-links:hover img{
    color: var(--blue);
    transition: transform, bacbkground-color 0.2s ease-in-out;
     filter: brightness(0) saturate(100%) invert(30%) sepia(98%) saturate(2500%) hue-rotate(190deg)
}

body.dark .mb-4:hover{
    color: var(--blue);
}

.logo-wrapper {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  padding: 8px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#form-submit {
  transition: 0.4s;
  border: 2px solid rgb(24, 112, 255);
  box-sizing: border-box;
}

#form-submit:hover {
  background-color: rgb(24, 112, 255);
  border: 2px solid rgb(247, 245, 245);
  color: #fdfeff;
  transform: scale(1.05);
  transform: 0.4s;
}

@media screen and (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-top {
    width: 100%;
  }

  .footer-about-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left; /* keep left alignment of text */
    padding: 20px 0;
  }

  .footer-about {
    background-color: #28a745; /* or whatever green you're using */
    padding: 20px;
    border-radius: 8px;
    color: white;
    max-width: 500px;
  }
  .footer-about h3 {
    text-align: center;
    text-decoration: none;
    font-weight: bold;
  }
  .footer-about p {
    text-align: justify;
  }

  .footer-links,
  .footer-contact {
    width: 48%;
    float: left;
    margin-left: 5px;
    padding: 2px;
    background-color: #28a745; /* or whatever green you're using */
    border-radius: 8px;
    color: white;
    max-width: 500px;

  }

  .footer-links h3,
  .footer-contact h3,
  .footer-social h3{
    text-decoration: none;
    font-weight: bold;
  }

  .footer-contact p{
    text-align: justify;
  }
  .footer-links {
    padding-left: 20px;
    
  }

  .footer-social {
    text-align: center;
    padding: 2px;
    background-color: #28a745; /* or whatever green you're using */
    border-radius: 8px;
    color: white;
    max-width: 500px;
    padding-top: 10px;
  }

  .footer-social .social-list {
    display: flex;
    flex-wrap: wrap; /* allows wrapping on smaller screens */
    justify-content: center;
    gap: 10px;
    padding: 0;
    list-style: none;
  }

  .footer-social .social-list li {
    display: inline-block;
  }

  .footer-social .social-list li a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: background-color 0.3s ease;
  }

  .footer-social .social-list li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
}

.send-message-btn {
  display: none;
       .btn-custom-purple {
            background-color: #463896;
            border-color: #291987;
            color: white;
        }
        
        .btn-custom-purple:hover {
            background-color: #1f0d66;
            border-color: #1f0d66;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(41, 25, 135, 0.4);
            transition: all 0.3s ease;
        }
        
        .btn-custom-purple:focus,
        .btn-custom-purple:active {
            background-color: #1f0d66 !important;
            border-color: #1f0d66 !important;
            color: white !important;
            box-shadow: 0 0 0 0.2rem rgba(41, 25, 135, 0.25) !important;
        }
        /* === Navbar Custom Styling === */

.navbar {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    background-color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    max-height: 60px;
    object-fit: contain;
    vertical-align: middle;
}

/* Align all nav items vertically center */
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    color: #333;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #463896;
}

/* Dark Mode Toggle Switch Alignment */
.navbar .toggle-switch {
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

/* Responsive logo alignment fix */
@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        margin-right: auto;
    }

    .navbar-collapse {
        margin-top: 0.8rem;
    }

    .navbar-nav .nav-link {
        padding-left: 0;
    }

    .toggle-switch {
        margin-top: 1rem;
        padding-left: 0.5rem;
    }
}
