/**
* Template Name: Presento - v3.7.0 (MODERNIZED & UPGRADED)
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: "Poppins", sans-serif;
    color: #444444;
    background-color: #fcfcfc; /* Slightly softer background */
}

a {
    color: #e03a3c;
    text-decoration: none;
    transition: 0.3s all ease;
}

a:hover {
    color: #e76668;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
    font-size: 2em;
    margin: 0.67em 0;
    color: #111111;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: linear-gradient(90deg, #ff6a4b 27%, #ff416a 75%);
    width: 45px;
    height: 45px;
    border-radius: 50%; /* Modern circle */
    transition: all 0.4s;
    box-shadow: 0 4px 15px rgba(255, 65, 106, 0.4);
}
.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 65, 106, 0.6);
    color: #fff;
}
.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Modern Glassmorphism */
    transition: all 0.5s;
    z-index: 997;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
#header.header-scrolled {
    padding: 10px 0;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
}
#header .logo {
    font-size: 28px;
    margin: 0;
    padding: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}
#header .logo a {
    color: #111111;
}
#header .logo a span {
    color: #e03a3c;
}
#header .logo img {
    max-height: 45px;
}

/*--------------------------------------------------------------
# Get Started Button (Modernized)
--------------------------------------------------------------*/
.get-started-btn, .btn-get-started, .btn-buy, button[type=submit] {
    background: linear-gradient(90deg, #ff6a4b 0%, #ff416a 100%);
    color: #fff !important;
    border-radius: 8px; /* Softer radius */
    padding: 10px 28px !important;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 65, 106, 0.3);
    border: none;
}
.get-started-btn:hover, .btn-get-started:hover, .btn-buy:hover, button[type=submit]:hover {
    background: linear-gradient(90deg, #e35052 0%, #d12a4c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 65, 106, 0.4);
}
@media (max-width: 992px) {
    .get-started-btn {
        margin: 0 15px 0 0;
        padding: 8px 20px !important;
    }
}

/*--------------------------------------------------------------
# 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-size: 15px; font-weight: 500;
    color: #333; white-space: nowrap; transition: 0.3s;
}
.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: #e03a3c;
}
.navbar .dropdown ul {
    display: block; position: absolute; left: 30px; top: calc(100% + 20px);
    margin: 0; padding: 15px 0; z-index: 99; opacity: 0; visibility: hidden;
    background: #fff; box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px; transition: 0.3s;
}
.navbar .dropdown ul li { min-width: 220px; }
.navbar .dropdown ul a { padding: 10px 20px; font-size: 14px; font-weight: 400; }
.navbar .dropdown:hover > ul { opacity: 1; top: 100%; visibility: visible; }

/*--------------------------------------------------------------
# MOBILE NAVIGATION (Completely Redesigned - Sleek Side Drawer)
--------------------------------------------------------------*/
.mobile-nav-toggle {
    color: #111; font-size: 28px; cursor: pointer; display: none;
    line-height: 0; transition: 0.5s; z-index: 9999;
}
@media (max-width: 991px) {
    .mobile-nav-toggle { display: block; }
    .navbar ul { display: none; }
}

/* The Overlay Backdrop */
.navbar-mobile {
    position: fixed; top: 0; right: 0; left: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(6px); /* Premium Blur */
    transition: 0.4s; z-index: 999;
}
.navbar-mobile .mobile-nav-toggle {
    position: absolute; top: 20px; right: 20px; color: #111;
}
/* The Side Panel */
.navbar-mobile ul {
    display: block; position: absolute;
    top: 0; right: 0; bottom: 0; left: auto;
    width: 80%; max-width: 320px; /* Slides from right */
    background-color: #fff; padding: 80px 20px 30px 20px;
    overflow-y: auto; transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}
.navbar-mobile a, .navbar-mobile a:focus {
    padding: 12px 15px; font-size: 16px; color: #222; font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Clean separators */
}
.navbar-mobile a:hover, .navbar-mobile .active { color: #e03a3c; }
.navbar-mobile .getstarted { margin: 20px 15px; text-align: center; justify-content: center; }

/* Mobile Dropdown Fixes */
.navbar-mobile .dropdown ul {
    position: static; display: none; margin: 0; padding: 0;
    background: #fcfcfc; box-shadow: none; border-radius: 0; border: none;
}
.navbar-mobile .dropdown ul a { padding: 10px 20px 10px 30px; font-size: 14px; font-weight: 400; border: none; }
.navbar-mobile .dropdown > .dropdown-active { display: block; }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%; height: 100vh;
    background: url("../img/hero-bg.jpg") top center no-repeat;
    background-size: cover; position: relative; padding-top: 82px;
}
#hero:before {
    content: ""; position: absolute; bottom: 0; top: 0; left: 0; right: 0;
    background: linear-gradient(to right, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.4)); /* Modern Gradient Overlay */
}
#hero h1 { margin: 0; font-size: 52px; font-weight: 800; color: #fff; line-height: 1.2; }
#hero h2 { color: #ddd; margin: 15px 0 0 0; font-size: 20px; font-weight: 400; line-height: 1.6; }
@media (max-width: 768px) {
    #hero { text-align: center; padding-top: 58px; }
    #hero h1 { font-size: 36px; }
    #hero h2 { font-size: 16px; }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section { padding: 80px 0; overflow: hidden; position: relative; }
.section-title { text-align: center; position: relative; margin-bottom: 50px; }
.section-title h2 {
    font-size: 36px; font-weight: 800; text-transform: uppercase;
    margin-bottom: 20px; padding-bottom: 20px; position: relative; color: #111;
}
.section-title h2::after {
    content: ""; position: absolute; display: block;
    width: 60px; height: 4px; border-radius: 2px;
    background: linear-gradient(90deg, #ff6a4b, #ff416a);
    bottom: 0; left: calc(50% - 30px);
}
.section-title p { font-size: 16px; color: #666; }

/* Dark Section Background */
.section-bg {
    padding: 100px 0; color: #fff; background-color: #121212;
}
.section-bg:before { display: none; /* Removed the ugly skew for a cleaner look */ }

/*--------------------------------------------------------------
# Services & Icon Boxes (Modern Dashboard Cards)
--------------------------------------------------------------*/
.services .icon-box, .about .icon-boxes .icon-box {
    margin-bottom: 25px; padding: 40px 30px;
    border-radius: 12px; /* Smooth corners */
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); /* Soft premium shadow */
    transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.02);
}
.section-bg .icon-box { background: #1a1a1a; box-shadow: none; border: 1px solid #2a2a2a; }

.services .icon-box:hover, .about .icon-boxes .icon-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
.section-bg .icon-box:hover { border-color: #e03a3c; }

.services .icon-box i, .about .icon-boxes .icon-box i {
    color: #e03a3c; font-size: 42px; margin-bottom: 20px; display: block;
}
.services .icon-box h4, .about .icon-boxes .icon-box h4 {
    font-weight: 700; margin-bottom: 15px; font-size: 20px; color: #111;
}
.section-bg .icon-box h4 { color: #fff; }
.services .icon-box p, .about .icon-boxes .icon-box p {
    line-height: 26px; font-size: 15px; color: #666; margin: 0;
}
.section-bg .icon-box p { color: #aaa; }

/*--------------------------------------------------------------
# Counts (Stats)
--------------------------------------------------------------*/
.counts { padding-top: 60px; padding-bottom: 60px; }
.counts .count-box {
    padding: 40px 30px; position: relative; text-align: center;
    background: #fff; border-radius: 12px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05); transition: 0.3s;
}
.counts .count-box:hover { transform: translateY(-5px); }
.counts .count-box i {
    position: absolute; width: 60px; height: 60px; top: -30px; left: 50%;
    transform: translateX(-50%); font-size: 28px; background: linear-gradient(90deg, #ff6a4b, #ff416a);
    color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0px 5px 20px rgba(255, 65, 106, 0.3);
}
.counts .count-box span { font-size: 42px; font-weight: 800; color: #111; margin-top: 15px; }
.counts .count-box p { font-size: 16px; font-weight: 500; color: #777; }

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
    padding: 40px 30px; background: #1a1a1a; text-align: center;
    border-radius: 16px; position: relative; overflow: hidden;
    border: 1px solid #2a2a2a; transition: 0.3s;
}
.pricing .box:hover { transform: translateY(-10px); border-color: #444; }
.pricing .box h3 { font-weight: 600; font-size: 20px; color: #fff; margin-bottom: 15px; }
.pricing .box h4 { font-size: 46px; font-weight: 700; color: #e03a3c; margin-bottom: 25px; }
.pricing .box h4 sup { font-size: 24px; top: -15px; }
.pricing .box h4 span { font-size: 16px; font-weight: 400; color: #aaa; }
.pricing .box ul { padding: 0; list-style: none; text-align: left; margin-bottom: 30px; }
.pricing .box ul li { padding-bottom: 15px; color: #ddd; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 15px; }
.pricing .box ul i { color: #18d26e; font-size: 20px; padding-right: 10px; vertical-align: middle; }
.pricing .box ul .na { color: #666; text-decoration: line-through; }
.pricing .box ul .na i { color: #666; }
.pricing .featured { background: linear-gradient(135deg, #e03a3c 0%, #b82224 100%); border: none; box-shadow: 0 15px 40px rgba(224, 58, 60, 0.3); }
.pricing .featured h3, .pricing .featured h4, .pricing .featured ul li, .pricing .featured ul i { color: #fff; }
.pricing .featured ul .na { color: rgba(255,255,255,0.6); }
.pricing .featured ul .na i { color: rgba(255,255,255,0.6); }

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq .faq-list { padding: 0; list-style: none; }
.faq .faq-list li {
    background: #fff; border-radius: 8px; margin-bottom: 15px;
    padding: 20px 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}
.faq .faq-list a {
    display: block; position: relative; font-size: 18px; font-weight: 600;
    color: #111; padding-right: 30px; cursor: pointer; transition: 0.3s;
}
.faq .faq-list i { font-size: 24px; position: absolute; right: 0; top: 0; color: #e03a3c; }
.faq .faq-list p { margin-bottom: 0; padding-top: 15px; color: #666; font-size: 15px; line-height: 1.6; }
.faq .faq-list a.collapsed { color: #444; }
.faq .faq-list a.collapsed:hover { color: #e03a3c; }

/*--------------------------------------------------------------
# Contact Form Inputs
--------------------------------------------------------------*/
.contact .php-email-form {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); padding: 40px; border-radius: 12px; background: #fff;
}
.contact .php-email-form input, .contact .php-email-form textarea {
    border-radius: 6px; padding: 12px 15px; border: 1px solid #ddd;
}
.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
    border-color: #e03a3c; box-shadow: 0 0 5px rgba(224, 58, 60, 0.2);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer { background: #111111; color: #fff; font-size: 15px; }
#footer .footer-top { background: #151515; padding: 80px 0 40px 0; border-top: 1px solid #222; }
#footer .footer-top h3 { color: #fff; font-weight: 800; letter-spacing: -0.5px; }
#footer .footer-top h4 { color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 20px; }
#footer .footer-top .footer-links ul a { color: #aaa; transition: 0.3s; }
#footer .footer-top .footer-links ul a:hover { color: #e03a3c; padding-left: 5px; }
#footer .social-links a {
    background: #222; border-radius: 50%; width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: 0.3s; font-size: 18px;
}
#footer .social-links a:hover { background: #e03a3c; transform: translateY(-3px); }


/* =========================================================
   QUICK FIXES FOR DARK SECTION BOXES & SLIDER PAGINATION
   ========================================================= */

/* 1. Fix for Icon Boxes INSIDE the Dark Section (.section-bg) */
.section-bg .icon-box {
  background: #1a1a1a !important; /* Forces the box to be dark */
  box-shadow: none !important;
  border: 1px solid #2a2a2a !important; /* Subtle border for separation */
}

/* Forces the heading inside dark section boxes to be white */
.section-bg .icon-box h4,
.section-bg .icon-box h4 a {
  color: #ffffff !important;
}

/* Forces the paragraph text inside dark section boxes to be light grey */
.section-bg .icon-box p {
  color: #cccccc !important;
}

/* Hover effect for boxes inside dark sections */
.section-bg .icon-box:hover {
  border-color: #e03a3c !important;
  background: #222222 !important;
}


/* 2. Fix for Slider Pagination Dots (Bindu) overlapping */
.clients .swiper-pagination {
  position: relative !important;
  margin-top: 30px !important; /* Pushes the dots down below the logos */
  bottom: 0 !important;
}

/* Ensure client logos have enough space so dots don't touch them */
.clients-slider {
  padding-bottom: 40px;
}


/* =========================================================
   PERFECT MOBILE MENU (SIDE DRAWER) FIX
   ========================================================= */

/* Dark Blurred Backdrop */
.navbar-mobile {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  z-index: 9998 !important;
}

/* The White Slide-in Panel */
.navbar-mobile ul {
  display: block !important;
  position: fixed !important; /* Ensures it escapes any container */
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: 80% !important;
  max-width: 320px !important;
  height: 100vh !important; /* Forces full screen height */
  background-color: #ffffff !important;
  padding: 80px 20px 30px 20px !important;
  margin: 0 !important;
  overflow-y: auto !important;
  box-shadow: -10px 0 40px rgba(0,0,0,0.2) !important;
  z-index: 9999 !important;
}

/* Menu Links Styling */
.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 15px 15px !important;
  font-size: 16px !important;
  color: #222 !important;
  font-weight: 600 !important;
  display: block !important;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
  width: 100% !important;
}

.navbar-mobile a:hover,
.navbar-mobile .active {
  color: #e03a3c !important;
  background-color: rgba(224, 58, 60, 0.05) !important; /* Soft red hover background */
  border-radius: 6px;
}

/* Professional Close 'X' Button */
.navbar-mobile .mobile-nav-toggle {
  position: fixed !important;
  top: 20px !important;
  right: 25px !important;
  color: #111 !important;
  font-size: 28px !important;
  z-index: 10000 !important; /* Always on top */
  background: #fff !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Dropdown inside Mobile Menu */
.navbar-mobile .dropdown ul {
  position: static !important;
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fcfcfc !important;
  box-shadow: none !important;
  height: auto !important; /* Resets height for dropdown */
}
.navbar-mobile .dropdown > .dropdown-active {
  display: block !important;
}

/* =========================================================
   CONTACT FORM STATUS MESSAGES FIX
   ========================================================= */

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 500;
  border-radius: 6px;
  margin-bottom: 15px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e; /* Professional Green */
  text-align: center;
  padding: 15px;
  font-weight: 500;
  border-radius: 6px;
  margin-bottom: 15px;
}

.contact .php-email-form .loading {
  display: none;
  text-align: center;
  padding: 15px;
  color: #777;
  font-weight: 500;
  margin-bottom: 15px;
}

/* Optional: Loading spinner animation */
.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;
  animation: animate-loading 1s linear infinite;
}

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