body { background: #fff; color: #444; font-family: "Open Sans", sans-serif; }

a { color: #007bff; transition: 0.5s; }

a:hover, a:active, a:focus { color: #0b6bd3; outline: none; text-decoration: none; }

p { padding: 0; margin: 0 0 30px 0; }

h1, h2, h3, h4, h5, h6 { font-family: "Montserrat", sans-serif; font-weight: 400; margin: 0 0 20px 0; padding: 0; }

/* Back to top button */
.back-to-top { position: fixed; display: none; background: #007bff; color: #fff; width: 44px; height: 44px; text-align: center; line-height: 1; font-size: 16px; border-radius: 50%; right: 15px; bottom: 100px; transition: background 0.5s; z-index: 11; }

.back-to-top i { padding-top: 12px; color: #fff; }

/* Prelaoder */
#preloader { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; overflow: hidden; background: #fff; }

#preloader:before { content: ""; position: fixed; top: calc(50% - 30px); left: calc(50% - 30px); border: 6px solid #f2f2f2; border-top: 6px solid #007bff; border-radius: 50%; width: 60px; height: 60px; -webkit-animation: animate-preloader 1s linear infinite; animation: animate-preloader 1s linear infinite; }

@-webkit-keyframes animate-preloader { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
@keyframes animate-preloader { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.main-nav { /* Drop Down */ /* Deep Drop Down */ }

.main-nav, .main-nav * {  padding: 0; list-style: none; }

.main-nav { margin: 5px 0; }

.main-nav > ul > li { position: relative; white-space: nowrap; float: left; }

.main-nav a { display: block; position: relative; color: #004289; padding: 10px 15px; transition: 0.3s; font-size: 14px; font-family: "Montserrat", sans-serif; font-weight: 500; }

.main-nav a:hover, .main-nav .active > a, .main-nav li:hover > a { color: #007bff; text-decoration: none; }

.main-nav .drop-down ul { display: block; position: absolute; left: 0; top: calc(100% + 30px); z-index: 99; opacity: 0; visibility: hidden; padding: 10px 0; background: #fff; box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25); transition: ease all 0.3s; }

.main-nav .drop-down:hover > ul { opacity: 1; top: 100%; visibility: visible; }

.main-nav .drop-down li { min-width: 180px; position: relative; }

.main-nav .drop-down ul a { padding: 10px 20px; font-size: 13px; color: #004289; }

.main-nav .drop-down ul a:hover, .main-nav .drop-down ul .active > a, .main-nav .drop-down ul li:hover > a { color: #007bff; }

.main-nav .drop-down > a:after { content: "\f107"; font-family: FontAwesome; padding-left: 10px; }

.main-nav .drop-down .drop-down ul { top: 0; left: calc(100% - 30px); }

.main-nav .drop-down .drop-down:hover > ul { opacity: 1; top: 0; left: 100%; }

.main-nav .drop-down .drop-down > a { padding-right: 35px; }

.main-nav .drop-down .drop-down > a:after { content: "\f105"; position: absolute; right: 15px; }

/* Mobile Navigation */
.mobile-nav { position: fixed; top: 0; bottom: 0; z-index: 9999; overflow-y: auto; left: -260px; width: 260px; padding-top: 18px; background: rgba(19, 39, 57, 0.8); transition: 0.4s; }

.mobile-nav * { margin: 0; padding: 0; list-style: none; }

.mobile-nav a { display: block; position: relative; color: #fff; padding: 10px 20px; font-weight: 500; }

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a { color: #74b5fc; text-decoration: none; }

.mobile-nav .drop-down > a:after { content: "\f078"; font-family: FontAwesome; padding-left: 10px; position: absolute; right: 15px; }

.mobile-nav .active.drop-down > a:after { content: "\f077"; }

.mobile-nav .drop-down > a { padding-right: 35px; }

.mobile-nav .drop-down ul { display: none; overflow: hidden; }

.mobile-nav .drop-down li { padding-left: 20px; }

.mobile-nav-toggle { position: fixed; right: 0; top: 0; z-index: 9998; border: 0; background: none; font-size: 24px; transition: all 0.4s; outline: none !important; line-height: 1; cursor: pointer; text-align: right; }

.mobile-nav-toggle i { margin: 18px 18px 0 0; color: #004289; }

.mobile-nav-overly { width: 100%; height: 100%; z-index: 9997; top: 0; left: 0; position: fixed; background: rgba(19, 39, 57, 0.8); overflow: hidden; display: none; }

.mobile-nav-active { overflow: hidden; }

.mobile-nav-active .mobile-nav { left: 0; }

.mobile-nav-active .mobile-nav-toggle i { color: #fff; }

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
/* Sections Header
--------------------------------*/
.section-header h3 { font-size: 36px; color: #003068; text-align: center; font-weight: 500; position: relative; }

.section-header p { text-align: center; margin: auto; font-size: 15px; padding-bottom: 60px; color: #556877; width: 50%; }

/* Section with background
--------------------------------*/
.section-bg { background: #ecf5ff; }

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/
@media (min-width: 992px) { #testimonials .testimonial-item p { width: 80%; } }
@media (max-width: 991px) { #header { height: 60px; padding: 10px 0; }
  #header .logo h1 { font-size: 28px; padding: 8px 0; }
  #intro { padding: 140px 0 60px 0; }
  #intro .intro-img { width: 80%; float: none; margin: 0 auto 25px auto; }
  #intro .intro-info { width: 80%; float: none; margin: auto; text-align: center; }
  #why-us .card { margin: 0; } }
@media (max-width: 768px) { .back-to-top { bottom: 15px; } }
@media (max-width: 767px) { #intro .intro-info {  width: 100% !important;}.isotope { margin: 0 !important;}
#intro .intro-info { width: 100%; }
  #intro .intro-info h2 { font-size: 34px; margin-bottom: 30px; }
  .section-header p { width: 100%; }
  #testimonials .testimonial-item { text-align: center; }
  #testimonials .testimonial-item .testimonial-img { float: none; margin: auto; }
  #testimonials .testimonial-item h3, #testimonials .testimonial-item h4, #testimonials .testimonial-item p { margin-left: 0; } }
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header { height: 80px; z-index: 997; transition: all 0.5s; padding: 15px 0; background: #fff; box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.3); }

#header.header-scrolled, #header.header-pages { height: 80px; padding: 15px 0; }

#header .logo h1 { font-size: 36px; margin: 0; padding: 0; line-height: 1; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; }

#header .logo h1 a, #header .logo h1 a:hover { color: #00366f; text-decoration: none; }

#header .logo img { 
  padding: 0;
  margin: 0;
  max-height: 60px;
  width: auto;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
  transition: none !important;
}

#header .logo {
  display: block;
  line-height: 1;
}

#header .logo a {
  display: block;
  text-decoration: none;
}

/* Ensure header logo is never affected by animations */
#header .logo img.img-fluid {
  opacity: 1 !important;
  transform: none !important;
}

.main-pages { margin-top: 60px; }

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#intro { 
  width: 100%; 
  position: relative; 
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  background-attachment: fixed;
  padding: 140px 0 60px 0;
  overflow: hidden;
}

#intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
  z-index: 1;
}

#intro .container {
  position: relative;
  z-index: 2;
}

#intro .intro-img { 
  width: 50%; 
  float: right;
  display: flex;
  align-items: center;
  justify-content: center;
}

#intro .intro-info { 
  width: 50%; 
  float: left;
}

#intro .intro-info h2 { color: #fff; margin-bottom: 40px; font-size: 48px; font-weight: 700; }
#intro .intro-info h3 { color: #fff; font-size: 22px; }

#intro .intro-info h2 span { color: #74b5fc; text-decoration: underline; }

#intro .intro-info .btn-get-started, #intro .intro-info .btn-services { font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 1px; display: inline-block; padding: 10px 32px; border-radius: 50px; transition: 0.5s; margin: 0 20px 20px 0; color: #fff; }

#intro .intro-info .btn-get-started { background: #007bff; border: 2px solid #007bff; color: #fff; }

#intro .intro-info .btn-get-started:hover { background: none; border-color: #fff; color: #fff; }

#intro .intro-info .btn-services { border: 2px solid #fff; }

#intro .intro-info .btn-services:hover { background: #007bff; border-color: #007bff; color: #fff; }

@media (max-width: 574px) { #intro { padding: 100px 0 20px 0; } }
/* About Us Section - Enhanced
--------------------------------*/
#about { 
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); 
  padding: 80px 0; 
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23007bff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  z-index: 1;
}

#about .container {
  position: relative;
  z-index: 2;
}

.company-highlight {
  background: linear-gradient(45deg, #007bff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.lead-text {
  font-size: 1.2rem;
  color: #666;
  margin-top: 10px;
  font-weight: 500;
}

.about-intro {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  border-left: 4px solid #007bff;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}

.stats-mini {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.stat-mini {
  text-align: center;
}

.stat-mini strong {
  display: block;
  font-size: 1.5rem;
  color: #007bff;
  font-weight: 700;
}

.stat-mini span {
  font-size: 0.9rem;
  color: #666;
}

#about .about-container .background { margin: 20px 0; }

#about .about-container .content { background: #fff; }

#about .about-container .title { color: #333; font-weight: 700; font-size: 32px; }

#about .about-container p { line-height: 26px; }

#about .about-container p:last-child { margin-bottom: 0; }

#about .about-container .icon-box { background: #fff; background-size: cover; padding: 0 0 30px 0; }

#about .about-container .icon-box .icon { float: left; background: #fff; width: 64px; height: 64px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; text-align: center; border-radius: 50%; border: 2px solid #007bff; transition: all 0.3s ease-in-out; }

#about .about-container .icon-box .icon i { color: #007bff; font-size: 24px; }

#about .about-container .icon-box:hover .icon { background: #007bff; }

#about .about-container .icon-box:hover .icon i { color: #fff; }

#about .about-container .icon-box .title { margin-left: 80px; font-weight: 600; margin-bottom: 5px; font-size: 18px; }

#about .about-container .icon-box .title a { color: #283d50; }

#about .about-container .icon-box .description { margin-left: 80px; line-height: 24px; font-size: 14px; }

#about .about-extra { padding-top: 60px; }

#about .about-extra h4 { font-weight: 600; font-size: 24px; }

/* Services Section
--------------------------------*/
#services { padding: 60px 0 40px 0; box-shadow: inset 0px 0px 12px 0px rgba(0, 0, 0, 0.1); }

#services .box { 
  padding: 30px; 
  position: relative; 
  overflow: hidden; 
  border-radius: 10px; 
  margin: 0 10px 40px 10px; 
  background: #fff; 
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1); 
  transition: all 0.3s ease-in-out;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#services .box:hover { -webkit-transform: translateY(-5px); transform: translateY(-5px); }

#services .icon { 
  position: absolute; 
  left: -5px; 
  top: calc(50% - 28px);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

#services .icon i { 
  font-size: 32px; 
  line-height: 1; 
  transition: 0.5s;
}

#services .title { margin-left: 40px; font-weight: 700; margin-bottom: 15px; font-size: 18px; }

#services .title a { color: #111; }

#services .box:hover .title a { color: #007bff; }

#services .description { font-size: 14px; margin-left: 40px; line-height: 24px; margin-bottom: 0; }

/* Portfolio Section
--------------------------------*/
#portfolio { padding: 60px 0; box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1); }

#portfolio #portfolio-flters { padding: 0; margin: 5px 0 35px 0; list-style: none; text-align: center; }

#portfolio #portfolio-flters li { cursor: pointer; margin: 15px 15px 15px 0; display: inline-block; padding: 6px 20px; font-size: 12px; line-height: 20px; color: #007bff; border-radius: 50px; text-transform: uppercase; background: #ecf5ff; margin-bottom: 5px; transition: all 0.3s ease-in-out; }

#portfolio #portfolio-flters li:hover, #portfolio #portfolio-flters li.filter-active { background: #007bff; color: #fff; }

#portfolio #portfolio-flters li:last-child { margin-right: 0; }

#portfolio .portfolio-item { position: relative; overflow: hidden; margin-bottom: 30px; }

#portfolio .portfolio-item .portfolio-wrap { overflow: hidden; position: relative; border-radius: 6px; margin: 0; }

#portfolio .portfolio-item .portfolio-wrap:hover img { opacity: 0.4; transition: 0.3s; }

#portfolio .portfolio-item .portfolio-wrap .portfolio-info { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; text-align: center; opacity: 0; transition: 0.2s linear; }

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 { font-size: 22px; line-height: 1px; font-weight: 700; margin-bottom: 14px; padding-bottom: 0; }

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 a { color: #fff; }

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 a:hover { color: #007bff; }

#portfolio .portfolio-item .portfolio-wrap .portfolio-info p { padding: 0; margin: 0; color: #e2effe; font-weight: 500; font-size: 14px; text-transform: uppercase; }

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview, #portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details { display: inline-block; line-height: 1; text-align: center; width: 36px; height: 36px; background: #007bff; border-radius: 50%; margin: 10px 4px 0 4px; }

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview i, #portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details i { padding-top: 6px; font-size: 22px; color: #fff; }

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover, #portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover { background: #3395ff; }

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover i, #portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover i { color: #fff; }

#portfolio .portfolio-item .portfolio-wrap:hover { background: #003166; }

#portfolio .portfolio-item .portfolio-wrap:hover .portfolio-info { opacity: 1; }

/* Testimonials Section
--------------------------------*/
#testimonials { padding: 60px 0; box-shadow: inset 0px 0px 12px 0px rgba(0, 0, 0, 0.1); }

#testimonials .section-header { margin-bottom: 40px; }

#testimonials .testimonial-item .testimonial-img { 
  width: 120px; 
  border-radius: 50%; 
  border: 4px solid #fff; 
  float: left;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
}

#testimonials .testimonial-item h3 { font-size: 20px; font-weight: bold; margin: 10px 0 5px 0; color: #111; margin-left: 140px; }

#testimonials .testimonial-item h4 { font-size: 14px; color: #999; margin: 0 0 15px 0; margin-left: 140px; }

#testimonials .testimonial-item p { font-style: italic; margin: 0 0 15px 140px; }

#testimonials .owl-nav, #testimonials .owl-dots { margin-top: 5px; text-align: center; }

#testimonials .owl-dot { display: inline-block; margin: 0 5px; width: 12px; height: 12px; border-radius: 50%; background-color: #ddd; }

#testimonials .owl-dot.active { background-color: #007bff; }

/* Team Section
--------------------------------*/
#team { background: #fff; padding: 60px 0; box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1); }

#team .member { text-align: center; margin-bottom: 20px; position: relative; border-radius: 50%; overflow: hidden; }

#team .member .member-info { opacity: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; position: absolute; bottom: 0; top: 0; left: 0; right: 0; transition: 0.2s; }

#team .member .member-info-content { margin-top: 50px; transition: margin 0.2s; }

#team .member:hover .member-info { background: rgba(0, 62, 128, 0.7); opacity: 1; transition: 0.4s; }

#team .member:hover .member-info-content { margin-top: 0; transition: margin 0.4s; }

#team .member h4 { font-weight: 700; margin-bottom: 2px; font-size: 18px; color: #fff; }

#team .member span { font-style: italic; display: block; font-size: 13px; color: #fff; }

#team .member .social { margin-top: 15px; }

#team .member .social a { transition: none; color: #fff; }

#team .member .social a:hover { color: #007bff; }

#team .member .social i { font-size: 18px; margin: 0 2px; }

/* Clients Section
--------------------------------*/
#clients { 
  padding: 60px 0; 
  box-shadow: inset 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
  text-align: center;
}

#clients .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#clients .clients-wrap { 
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 auto;
  padding: 0 15px;
  justify-content: center;
  justify-items: center;
  max-width: 800px;
}

@media (max-width: 768px) {
  #clients .clients-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  #clients .clients-wrap {
    grid-template-columns: 1fr;
  }
}

#clients .client-logo { padding: 64px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; border-right: 1px solid #d6eaff; border-bottom: 1px solid #d6eaff; overflow: hidden; background: #fff; height: 160px; }

#clients .client-logo { 
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 180px;
  width: 200px;
  text-align: center;
}

#clients .client-logo img {
  max-height: 80px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

#clients .client-name {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

#clients .client-logo:hover { 
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.15);
}

#clients .client-logo:hover img { 
  transform: scale(1.1);
  filter: brightness(1.1);
}

#clients img { 
  transition: all 0.4s ease-in-out;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

#why-us { padding: 60px 0; background: #004a99; }

#why-us .section-header h3, #why-us .section-header p { color: #fff; }

#why-us .card { background: #00458f; border-color: #00458f; border-radius: 10px; margin: 0 15px; padding: 15px 0; text-align: center; color: #fff; transition: 0.3s ease-in-out; height: 100%; }

#why-us .card:hover { background: #003b7a; border-color: #003b7a; }

#why-us .card i { font-size: 48px; padding-top: 15px; color: #bfddfe; }

#why-us .card h5 { font-size: 22px; font-weight: 600; }

#why-us .card p { font-size: 15px; color: #d8eafe; }

#why-us .card .readmore { color: #fff; font-weight: 600; display: inline-block; transition: 0.3s ease-in-out; border-bottom: #00458f solid 2px; }

#why-us .card .readmore:hover { border-bottom: #fff solid 2px; }

#why-us .counters { padding-top: 40px; }

#why-us .counters span { font-family: "Montserrat", sans-serif; font-weight: bold; font-size: 48px; display: inline; color: #fff; }

#why-us .counters p { padding: 0; margin: 0 0 20px 0; font-family: "Montserrat", sans-serif; font-size: 14px; color: #cce5ff; }

/* Contact Section
--------------------------------*/
#contact { box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1); padding: 60px 0; overflow: hidden; }

#contact .section-header { padding-bottom: 30px; }

#contact .contact-about h3 { font-size: 36px; margin: 0 0 10px 0; padding: 0; line-height: 1; font-family: "Montserrat", sans-serif; font-weight: 300; letter-spacing: 3px; text-transform: uppercase; color: #003068; }

#contact .contact-about p { font-size: 14px; line-height: 24px; font-family: "Montserrat", sans-serif; color: #888; }

#contact .social-links { padding-bottom: 20px; }

#contact .social-links a { font-size: 18px; display: inline-block; background: #fff; color: #003068; line-height: 1; padding: 8px 0; margin-right: 4px; border-radius: 50%; text-align: center; width: 36px; height: 36px; transition: 0.3s; border: 1px solid #003068; }

#contact .social-links a:hover { background: #003068; color: #fff; }

#contact .info { color: #283d50; }

#contact .info i { font-size: 32px; color: #003068; float: left; line-height: 1; }

#contact .info p { padding: 0 0 10px 36px; line-height: 28px; font-size: 14px; }

#contact .form #sendmessage { color: #003068; border: 1px solid #003068; display: none; text-align: center; padding: 15px; font-weight: 600; margin-bottom: 15px; }

#contact .form #errormessage { color: red; display: none; border: 1px solid red; text-align: center; padding: 15px; font-weight: 600; margin-bottom: 15px; }

#contact .form #sendmessage.show, #contact .form #errormessage.show, #contact .form .show { display: block; }

#contact .form .validation { color: red; display: none; margin: 0 0 20px; font-weight: 400; font-size: 13px; }

#contact .form input, #contact .form textarea { border-radius: 0; box-shadow: none; font-size: 14px; }

#contact .form button[type="submit"] { background: #00469c; border: 0; border-radius: 20px; padding: 8px 30px; color: #fff; transition: 0.3s; }
#contact .form button[type="submit"]:hover { background: #003068; cursor: pointer; }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer { background: #00428a; padding: 0 0 30px 0; color: #eee; font-size: 14px; }

#footer .footer-top { background: #004a99; padding: 60px 0 30px 0; }

#footer .footer-top .footer-info { margin-bottom: 30px; }

#footer .footer-top .footer-info h3 { 
  font-size: 28px; 
  margin: 0 0 20px 0; 
  padding: 2px 0 2px 0; 
  line-height: 1.2; 
  font-family: "Montserrat", sans-serif; 
  color: #fff; 
  font-weight: 600; 
  letter-spacing: 1px; 
  text-transform: none;
  background: linear-gradient(45deg, #00d4ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#footer .footer-top .footer-info p { font-size: 13px; line-height: 24px; margin-bottom: 0; font-family: "Montserrat", sans-serif; color: #ecf5ff; }

#footer .footer-top .social-links a { font-size: 18px; display: inline-block; background: #007bff; color: #fff; line-height: 1; padding: 8px 0; margin-right: 4px; border-radius: 50%; text-align: center; width: 36px; height: 36px; transition: 0.3s; }

#footer .footer-top .social-links a:hover { background: #0067d5; color: #fff; }

#footer .footer-top h4 { font-size: 14px; font-weight: bold; color: #fff; text-transform: uppercase; position: relative; padding-bottom: 10px; }

#footer .footer-top .footer-links { margin-bottom: 30px; }

#footer .footer-top .footer-links ul { list-style: none; padding: 0; margin: 0; }

#footer .footer-top .footer-links ul li { padding: 8px 0; }

#footer .footer-top .footer-links ul li:first-child { padding-top: 0; }

#footer .footer-top .footer-links ul a { color: #ecf5ff; }

#footer .footer-top .footer-links ul a:hover { color: #74b5fc; }

#footer .footer-top .footer-contact { margin-bottom: 30px; }

#footer .footer-top .footer-contact p { line-height: 26px; }

#footer .footer-top .footer-newsletter { margin-bottom: 30px; }

#footer .footer-top .footer-newsletter input[type="email"] { border: 0; padding: 6px 8px; width: 65%; }

#footer .footer-top .footer-newsletter input[type="submit"] { background: #007bff; border: 0; width: 35%; padding: 6px 0; text-align: center; color: #fff; transition: 0.3s; cursor: pointer; }

#footer .footer-top .footer-newsletter input[type="submit"]:hover { background: #0062cc; }

#footer .copyright { text-align: center; padding-top: 30px; }

#footer .credits { text-align: center; font-size: 13px; color: #f1f7ff; }

#footer .credits a { color: #bfddfe; }

#footer .credits a:hover { color: #f1f7ff; }

/* Footer Logo */
.footer-logo {
  margin-bottom: 20px;
  text-align: left;
}

.footer-logo img {
  max-height: 60px;
  width: auto;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
  transition: none !important;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  margin: 0;
}

/* Ensure footer logo is never affected by animations */
#footer .footer-logo img {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}



/************** AI-Enhanced Styles - 2024 *************/

/* Hero Section Enhancements */
.ai-highlight {
  background: linear-gradient(45deg, #007bff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.rotating-text {
  min-height: 60px;
  display: block;
}

.text-rotate {
  animation: fadeInUp 0.5s ease-in-out;
}

.hero-description {
  font-size: 18px;
  color: #e0e0e0;
  margin: 20px 0;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: space-around;
  margin: 30px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00d4ff;
}

.stat-plus {
  font-size: 1.5rem;
  color: #00d4ff;
}

.stat-item p {
  margin: 5px 0 0 0;
  font-size: 14px;
  color: #e0e0e0;
}

.hero-buttons {
  margin: 30px 0;
}

.trust-indicators {
  margin-top: 20px;
}

.trust-badge {
  display: inline-block;
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  margin: 5px 10px 5px 0;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

/* AI Service Box */
.ai-service {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  transform: scale(1.05);
}

.new-badge {
  background: #ff6b6b;
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 10px;
  animation: pulse 2s infinite;
}

.service-features {
  margin-top: 15px;
  margin-bottom: 15px;
}

.ai-service .description {
  margin-bottom: 15px;
}

.ai-service .service-pricing {
  margin-top: 0;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  margin-right: 5px;
  display: inline-block;
  margin-bottom: 5px;
}

/* Enhanced Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Testimonials */
.testimonial-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  margin: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card Features */
.card-features {
  margin-top: 15px;
}

.feature-bullet {
  display: block;
  color: #00d4ff;
  font-size: 12px;
  margin: 5px 0;
  font-weight: 500;
}

/* AI Showcase Section */
#ai-showcase {
  padding: 80px 0;
}

.ai-tools {
  margin-bottom: 40px;
}

.ai-tool-card {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.ai-tool-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 123, 255, 0.2);
}

.tool-icon {
  margin-bottom: 20px;
}

.tool-icon i {
  font-size: 48px;
}

.ai-tool-card h4 {
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.ai-tool-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.capability-card {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 212, 255, 0.1));
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #007bff;
  transition: all 0.3s ease;
}

.capability-card:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15);
}

.capability-card h5 {
  color: #007bff;
  margin-bottom: 15px;
  font-weight: 600;
}

.capability-card h5 i {
  margin-right: 10px;
  font-size: 18px;
}

.capability-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Service Pricing */
.service-pricing {
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 13px;
  margin: 10px 0;
  text-align: center;
  font-weight: 500;
}

.service-pricing strong {
  font-weight: 700;
}

/* Payment Methods */
.payment-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: center;
}

.payment-info h6 {
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.payment-methods {
  margin: 15px 0;
}

.payment-badge {
  background: #007bff;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  margin: 3px;
  display: inline-block;
  font-weight: 500;
}

.free-consultation {
  color: #28a745;
  font-size: 14px;
  margin-top: 15px;
  margin-bottom: 0;
}

.free-consultation i {
  margin-right: 8px;
}

/* Final CTA Section */
#final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

#final-cta h3 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

#final-cta .lead {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-options {
  margin: 40px 0;
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  height: 100%;
}

.cta-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.cta-card i {
  font-size: 48px;
  color: #00d4ff;
  margin-bottom: 20px;
}

.cta-card h5 {
  color: white;
  margin-bottom: 15px;
  font-weight: 600;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-cta {
  background: linear-gradient(45deg, #00d4ff, #007bff);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
  color: white;
  text-decoration: none;
}

.final-stats {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-final {
  text-align: center;
  margin-bottom: 20px;
}

.stat-final strong {
  display: block;
  font-size: 2rem;
  color: #00d4ff;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-final span {
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  #final-cta h3 {
    font-size: 2rem;
  }
  
  .stat-final strong {
    font-size: 1.5rem;
  }
}

/* Enhanced Contact Form */
.contact-options {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.contact-option {
  padding: 20px;
  transition: all 0.3s ease;
}

.contact-option:hover {
  transform: translateY(-5px);
}

.contact-option i {
  font-size: 32px;
  color: #007bff;
  margin-bottom: 15px;
}

.contact-option h6 {
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-option p {
  color: #666;
  font-size: 13px;
  margin: 0;
}

.form-control {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-submit-enhanced {
  background: linear-gradient(45deg, #007bff, #00d4ff);
  border: none;
  color: white;
  padding: 15px 40px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-submit-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
  background: linear-gradient(45deg, #0056b3, #00a8cc);
}

.btn-submit-enhanced i {
  margin-right: 8px;
}

.form-note {
  color: #666;
  font-size: 12px;
  margin-top: 10px;
  font-style: italic;
}

.form-check-label {
  color: #555;
  font-size: 14px;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #007bff;
  border-color: #007bff;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.fab-contact {
  background: linear-gradient(45deg, #007bff, #00d4ff);
  color: white;
  padding: 15px 20px;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: pulse-fab 2s infinite;
}

.fab-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 123, 255, 0.6);
  color: white;
  text-decoration: none;
}

.fab-phone {
  background: #28a745;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
  transition: all 0.3s ease;
}

.fab-phone:hover {
  transform: scale(1.1);
  color: white;
  text-decoration: none;
}

.fab-whatsapp {
  background: #25d366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  color: white;
  text-decoration: none;
}

.fab-text {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes pulse-fab {
  0% { box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4); }
  50% { box-shadow: 0 5px 30px rgba(0, 123, 255, 0.8); }
  100% { box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4); }
}

@media (max-width: 768px) {
  .floating-actions {
    right: 15px;
    bottom: 80px;
  }
  
  .fab-contact {
    padding: 12px 15px;
  }
  
  .fab-text {
    display: none;
  }
  
  .fab-contact {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
  }
}

.testimonial-item h4 {
  color: #00d4ff;
  font-size: 14px;
  margin: 5px 0 15px 0;
  font-weight: 500;
}

.rating {
  margin: 5px 0 10px 140px;
}

.rating i {
  color: #ffd700;
  font-size: 14px;
  margin-right: 2px;
}

.project-tags {
  margin-top: 15px;
  text-align: center;
}

.tag {
  background: linear-gradient(45deg, #007bff, #00d4ff);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 11px;
  margin: 2px;
  display: inline-block;
  font-weight: 500;
}

/* Counter Plus Signs */
.counter-plus {
  color: #00d4ff;
  font-weight: 700;
  font-size: 48px;
  display: inline;
  vertical-align: top;
}

/* Technologies & Expertise Section */
#technologies {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.tech-expertise {
  margin-top: 40px;
}

.tech-category {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
  border-top: 4px solid #007bff;
}

.tech-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.15);
}

.tech-category h4 {
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

.tech-category h4 i {
  color: #007bff;
  margin-right: 10px;
}

.tech-category p {
  color: #666;
  margin-top: 15px;
  line-height: 1.6;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.tech-tag {
  background: linear-gradient(45deg, #007bff, #00d4ff);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
}

/* Why Us Section Enhancement */
#why-us .card {
  background: linear-gradient(135deg, #004a99 0%, #0066cc 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

#why-us .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.3);
  background: linear-gradient(135deg, #0066cc 0%, #007bff 100%);
}

#why-us .card i {
  background: linear-gradient(45deg, #00d4ff, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .stat-item {
    padding: 10px;
  }
  
  .trust-indicators {
    text-align: center;
  }
  
  .trust-badge {
    display: block;
    margin: 5px auto;
    width: fit-content;
  }
  
  .testimonial-item {
    margin: 10px 0;
  }
  
  .project-tags {
    text-align: left;
  }
}


  
  .isotope-pager .pager {
    display: inline-block;
  }
  /* Elegant Portfolio Filters */
  #portfolio-flters {
    padding: 0;
    margin: 20px 0 50px 0;
    list-style: none;
    text-align: center;
  }
  
  #portfolio-flters li {
    cursor: pointer;
    display: inline-block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #666;
    margin: 0 30px;
    transition: all 0.3s ease;
    position: relative;
    background: none;
    border-radius: 0;
    text-transform: capitalize;
  }
  
  #portfolio-flters li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }
  
  #portfolio-flters li:hover {
    color: #007bff;
  }
  
  #portfolio-flters li:hover::after {
    width: 100%;
  }
  
  #portfolio-flters li.filter-active {
    color: #007bff;
    font-weight: 600;
  }
  
  #portfolio-flters li.filter-active::after {
    width: 100%;
  }
  
  @media (max-width: 768px) {
    #portfolio-flters li {
      margin: 0 15px;
      font-size: 14px;
    }
  }
  /* 
  .filters li.active a{
    color: #e3ca66;
    border: 1px solid #e3ca66;
    border-radius: 15px;
    box-shadow: -1px 1px 11px rgba(0,0,0,.4);
    padding: 10px 25px;
    
  } */
  
  
  
  .isotope-pager a{
    margin: 6px 1px;
      display: inline-block;
      width: 50px;
      /* height: 60px; */
      line-height: 31px;
      color: #b6b6b6;
      font-weight: 600;
      transition: 0.3s;
      /* position: relative; */
      /* padding-right: 26px; */
      box-shadow: -1px 1px 11px rgba(0,0,0,.1);
      border-radius: 25px;
      background-color: #232323;
      border: .5px solid #e3ca66;
    text-decoration:none;
  }
  
  .isotope-pager a:hover{
    color: #fff;
    border: .5px solid #ffeeac;
    box-shadow: -1px 1px 10px 3px rgba(0,0,0,.1);
  }
  
  .isotope-pager .active{
    color: #e3ca66 !important;
      box-shadow: -1px 1px 10px 5px rgba(0,0,0,.1);
      border-radius: 25px;
      background-color: #161616;
      border: 1px dotted #e3ca66;
  }
  
  .isotope-pager .prev{
    border-radius: 30px 0 0 30px;
  }
  
  .isotope-pager .next{
    border-radius: 0 30px 30px 0;
  }
  
  .isotope-pager a::before,.isotope-pager a:after{
    content: "";
    position: absolute;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
  }
  .isotope-pager .num::before,.next::before{
    border-right: 20px solid #2c3e50;
    right: 100%;
  }
  
  .isotope-pager .num:after,.prev:after{
    border-right: 20px solid #f1f1f1;
    right: 0;
  }
.grid_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.grid-item:hover .grid_overlay {
  transform: translateY(0);
}

.overlay {
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
  

  @media screen and (max-width: 1024px) and (min-width: 768px) {

    .grid-item {
      display: inline-block;
          width: 300px;
      }
  } 
  
  a.popupimg img {
    padding: 20px;
}

/* Professional Portfolio Grid Layout */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  background: #fff;
  height: 280px;
  border: 15px solid #007bff;
  display: none;
}

.portfolio-item[data-page="1"] {
  display: block;
}

.portfolio-pagination {
  text-align: center;
  margin-top: 40px;
}

.page-btn {
  background: #fff;
  border: 2px solid #007bff;
  color: #007bff;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-btn:hover {
  background: #007bff;
  color: #fff;
}

.page-btn.active {
  background: #007bff;
  color: #fff;
}

.portfolio-item a {
  display: block;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.4s ease;
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
}

.portfolio-item:hover img {
  transform: scale(1.08) !important;
  filter: brightness(0.85);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent);
  padding: 25px 20px;
  transform: translateY(100%);
  transition: all 0.4s ease;
  z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.portfolio-overlay p {
  color: #00d4ff;
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-detail,
.btn-website {
  flex: 1;
  padding: 8px 15px;
  border-radius: 5px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-detail {
  background: #007bff;
  color: #fff;
  border: 2px solid #007bff;
}

.btn-detail:hover {
  background: #0056b3;
  border-color: #0056b3;
  color: #fff;
  text-decoration: none;
}

.btn-website {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-website:hover {
  background: #fff;
  color: #007bff;
  text-decoration: none;
}

/* Portfolio Detail Page - Disable Animations */
.portfolio-detail-img {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .portfolio-item {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}