/**
 * Template Name: Bell - v4.8.1 (Improved)
 * Template URL: https://bootstrapmade.com/bell-free-bootstrap-4-template/
 * Author: BootstrapMade.com
 * License: https://bootstrapmade.com/license/
 */

/* ==================================================
   CSS Custom Properties
   ================================================== */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent-color: #f97316;
  --accent-dark: #ea580c;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --text-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-blue: #f0fdf4;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --font-primary: "Inter", Helvetica, Arial, sans-serif;
  --font-secondary: "Outfit", Helvetica, Arial, sans-serif;
  --transition-base: 0.3s;
  --border-radius-base: 8px;
  --section-padding: 100px 0;
}

/* ==================================================
   General Styles
   ================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}

p {
  line-height: 1.55;
  color: var(--text-dark);
  font-family: var(--font-primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.875rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  margin-bottom: clamp(1.5rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

a {
  transition: var(--transition-base);
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  color: var(--primary-light);
}

/* ==================================================
   Back to top button
   ================================================== */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all var(--transition-base);
}

.back-to-top i {
  font-size: 28px;
  color: var(--text-white);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--primary-light);
  color: var(--text-white);
}

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

/* ==================================================
   Buttons
   ================================================== */
.btn {
  background-color: var(--primary-color);
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--text-white);
  padding: 14px 40px;
  border-radius: var(--border-radius-base);
  transition: all var(--transition-base);
  border: none;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2), 0 2px 4px -1px rgba(37, 99, 235, 0.1);
}

.btn:hover {
  background-color: var(--accent-color);
  color: var(--text-white);
}

.btn:focus {
  color: var(--text-white);
}

.btn-ghost {
  border: 2px solid var(--text-white);
  background-color: transparent;
  border-radius: var(--border-radius-base);
  font-weight: 600;
}

.btn-ghost:hover {
  background-color: var(--text-white);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ==================================================
   Sections
   ================================================== */
section {
  padding: var(--section-padding);
}

.card {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 12px;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ==================================================
   Header
   ================================================== */
#header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  height: 80px;
  transition: all var(--transition-base);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

#header #logo h1 {
  font-size: 2rem;
  margin: 0;
  line-height: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header #logo h1 a,
#header #logo h1 a:hover {
  color: var(--primary-color);
}

#header #logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
  width: auto;
}

.scrolled-offset {
  margin-top: 70px;
}

/* ==================================================
   Header Social Links
   ================================================== */
.header-social-links {
  margin: 0 0 0 30px;
}

.header-social-links a {
  color: var(--text-light);
  padding-left: 12px;
  display: inline-block;
  line-height: 0px;
  transition: var(--transition-base);
}

.header-social-links a i {
  line-height: 0;
  font-size: 24px;
}

.header-social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .header-social-links {
    margin: 0 15px 0 0;
  }
}

/* ==================================================
   Navigation Menu
   ================================================== */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  transition: var(--transition-base);
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: var(--primary-color);
}

/* Dropdown */
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 30px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: var(--text-white);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: var(--transition-base);
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  color: #555;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: var(--primary-color);
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: var(--text-white);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: var(--transition-base);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(34, 34, 34, 0.9);
  transition: var(--transition-base);
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 8px;
  background-color: var(--text-white);
  overflow-y: auto;
  transition: var(--transition-base);
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #555;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: var(--primary-color);
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: var(--text-white);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: var(--primary-color);
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/* ==================================================
   Hero Section
   ================================================== */
.hero {
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(37, 99, 235, 0.8) 100%), url(../img/cover.jpg) center center / cover no-repeat;
  padding: 0;
  color: var(--text-white);
  width: 100%;
  min-height: 100vh;
}

.hero::after {
  content: "";
  z-index: 0;
  position: absolute;
  background: rgba(15, 23, 42, 0.4);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-brand {
  margin-bottom: clamp(2rem, 5vw, 4.688rem);
  display: inline-block;
}

.hero-brand img {
  max-width: min(400px, 80vw);
  height: auto;
}

.hero-brand:hover {
  opacity: 0.75;
}

.tagline {
  font-family: var(--font-primary);
  font-size: clamp(1.125rem, 3vw, 1.625rem);
  margin: clamp(1.5rem, 4vw, 2.813rem) 0;
  color: var(--text-white);
}

/* ==================================================
   Stats Section
   ================================================== */
.stats-row {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.stats-col .circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: clamp(120px, 20vw, 160px);
  height: clamp(120px, 20vw, 160px);
  font-family: var(--font-primary);
  font-weight: 500;
  color: #666;
  border: 6px solid var(--primary-color);
  border-radius: 50%;
  padding: 1rem;
  position: relative;
  text-align: center;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.stats-col .circle .stats-no {
  color: var(--text-white);
  width: clamp(50px, 10vw, 70px);
  height: clamp(50px, 10vw, 70px);
  line-height: clamp(50px, 10vw, 70px);
  top: -15px;
  right: -10px;
  font-family: var(--font-primary);
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  background-color: var(--accent-color);
  position: absolute;
  border-radius: 50%;
  font-weight: 700;
}

/* ==================================================
   Welcome Section
   ================================================== */
.welcome {
  color: var(--text-white);
  background: url("../img/parallax-bg.jpg") center center / cover no-repeat;
  padding: clamp(3rem, 8vw, 5.313rem) 0;
  position: relative;
}

.welcome::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.welcome .container {
  position: relative;
  z-index: 1;
}

.welcome h2 {
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.welcome p {
  color: var(--text-white);
  margin-bottom: 2rem;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.gadgets-img {
  max-width: 100%;
  height: auto;
}

/* ==================================================
   Features Section
   ================================================== */
.features {
  padding-bottom: clamp(1rem, 3vw, 2.813rem);
}

.features h2 {
  color: var(--primary-color);
}

.feature-col {
  padding-bottom: clamp(1.5rem, 4vw, 2.813rem);
}

.feature-col>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--text-white);
  height: 100%;
  border-radius: 16px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: var(--text-white);
  font-size: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  line-height: 0;
  flex-shrink: 0;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.feature-col h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.feature-col p {
  font-family: var(--font-secondary);
  font-size: clamp(0.813rem, 2vw, 0.875rem);
  color: var(--text-light);
  margin: 0;
}

/* ==================================================
   CTA Section
   ================================================== */
.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  padding: clamp(3rem, 5vw, 4rem) 0;
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.5);
}

.cta h2 {
  margin-bottom: 0.313rem;
  color: var(--text-white);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.cta p {
  color: var(--text-white);
  margin-bottom: 0;
  opacity: 0.75;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.cta .btn-ghost {
  display: inline-block;
  margin-top: 0.5rem;
}

/* ==================================================
   Portfolio Section
   ================================================== */
.portfolio {
  background-color: var(--bg-blue);
  padding-bottom: 0;
}

.portfolio h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.portfolio-grid {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.portfolio-grid .row {
  margin: 0;
}

.portfolio-grid .row>div {
  padding: 0;
}

.portfolio-grid img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-base);
}

.portfolio-grid .card:hover img {
  transform: scale(1.05);
}

.portfolio-over {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base) ease;
  padding: 1rem;
}

.portfolio-over .card-title {
  color: var(--text-white);
  font-size: clamp(1.25rem, 4vw, 1.875rem);
  margin-bottom: 0.5rem;
}

.portfolio-over .card-text {
  color: var(--text-white);
  opacity: 0.75;
  padding: 0 clamp(1rem, 5vw, 2.813rem);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.card:hover .portfolio-over {
  opacity: 1;
  visibility: visible;
}

/* ==================================================
   Team/Portfolio Items Section
   ================================================== */
.team h2 {
  color: var(--primary-color);
}

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

.team .card-title-wrap {
  padding: 1rem 1.5rem;
  position: relative;
  z-index: 9;
  background-color: var(--text-white);
  transition: all var(--transition-base);
}

.team .card-title-wrap .card-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--text-dark);
  display: block;
  margin: 0;
}

.team .card-title-wrap .card-text {
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  color: var(--text-light);
  display: block;
  margin: 0;
}

.team-over {
  padding: clamp(1rem, 5vw, 2.813rem) 1rem;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base) ease;
  overflow-y: auto;
}

.team-over p {
  color: var(--text-white);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  margin: 0;
  padding: 0 1rem;
  line-height: 1.6;
}

.team .card:hover .team-over {
  opacity: 1;
  visibility: visible;
}

.team .card:hover .card-title-wrap {
  background-color: var(--primary-color);
}

.team .card:hover .card-title-wrap .card-title,
.team .card:hover .card-title-wrap .card-text {
  color: var(--text-white);
}

/* ==================================================
   Contact Section
   ================================================== */
#contact {
  background: var(--bg-light);
  padding: clamp(3rem, 8vw, 5rem) 0;
}

#contact h2 {
  font-family: var(--font-primary);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

#contact .info i {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--primary-color);
  flex-shrink: 0;
}

#contact .info p {
  padding: 0 0 0.5rem 0;
  line-height: 1.5;
  margin: 0;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

#contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 1rem 0;
  font-weight: 400;
  font-size: 13px;
}

#contact .php-email-form .error-message {
  display: none;
  color: var(--text-white);
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

#contact .php-email-form .sent-message {
  display: none;
  color: var(--text-white);
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

#contact .php-email-form .loading {
  display: none;
  background: var(--text-white);
  text-align: center;
  padding: 15px;
}

#contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

#contact .php-email-form input,
#contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  padding: 0.75rem;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

#contact .php-email-form input:focus,
#contact .php-email-form textarea:focus {
  border-color: var(--primary-color);
}

#contact .php-email-form button[type=submit] {
  background: var(--primary-color);
  border: 0;
  padding: 10px 24px;
  color: var(--text-white);
  transition: var(--transition-base);
}

#contact .php-email-form button[type=submit]:hover {
  background: var(--primary-light);
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ==================================================
   Footer
   ================================================== */
.site-footer {
  background-color: var(--bg-dark);
  padding: 0;
}

.site-footer h2,
.site-footer p {
  color: var(--text-white);
}

.site-footer p {
  opacity: 0.75;
  line-height: 2.0925;
}

.site-footer h2,
.site-footer .btn {
  margin-bottom: 1.5rem;
}

.site-footer .bottom {
  background-color: var(--bg-darker);
  padding: 1.25rem 0;
}

.site-footer .bottom .list-inline,
.site-footer .bottom p {
  margin: 0;
}

.site-footer .bottom .list-inline a {
  color: var(--text-white);
  font-family: var(--font-secondary);
  margin-right: 15px;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.site-footer .bottom .list-inline a:hover {
  color: var(--primary-color);
}

.site-footer .credits {
  color: #ddd;
  font-size: 0.875rem;
}

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

/* ==================================================
   Responsive Styling
   ================================================== */
@media (max-width: 992px) {
  section {
    padding: clamp(2rem, 6vw, 3rem) 0;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .feature-col {
    margin-bottom: 1.5rem;
  }

  .feature-col:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  #header {
    height: 60px;
  }

  .scrolled-offset {
    margin-top: 60px;
  }

  .stats-row {
    margin-top: 2rem;
  }

  .stats-col {
    margin-bottom: 1.5rem;
  }

  .site-footer .list-inline {
    text-align: center;
    padding-bottom: 1rem;
  }

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

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-brand img {
    max-width: 90vw;
  }

  .cta .btn-ghost {
    padding: 10px 30px;
    font-size: 0.875rem;
  }

  #contact .info {
    text-align: center;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 1.75rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 30px;
    font-size: 0.875rem;
  }
}

/* ==================================================
   Utility Classes
   ================================================== */
.h-100 {
  height: 100% !important;
}

.text-lg-end {
  text-align: left;
}

@media (min-width: 992px) {
  .text-lg-end {
    text-align: right !important;
  }
}