/*=============================================================
  WonderGee43 Complex — Premium Upgrade CSS
  Works ON TOP of style.css. Do NOT change brand colors.
  Brand Colors: Primary=#ff1313, Dark=#13151b, Body Font=Barlow
  Header Font=Barlow Condensed
=============================================================*/

/* ── 1. Smooth Global Improvements ── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #eee; /* Light text by default for the dark body theme */
}


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

/* ── 2. Section Consistency ── */
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ── 3. Section Title ── */
.section-tittle h2 {
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .section-tittle h2 {
    font-size: 30px;
  }
}

/* ── 4. Buttons — Keep #ff1313 brand color ── */
.btn {
  transition: all 0.3s ease !important;
  letter-spacing: 2px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 19, 19, 0.3) !important;
}

.header-btn {
  padding: 18px 38px !important;
  border-radius: 0 !important;
  line-height: normal !important;
}

.submit-btn {
  transition: all 0.3s ease !important;
}

.submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── 5. Navigation — Clean & Consistent ── */
#navigation > li > a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
}

#navigation > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff1313;
  transition: width 0.3s ease;
}

#navigation > li > a:hover::after {
  width: 100%;
}

/* ── 6. Cards — Service, Team, Blog ── */
.single-services {
  transition: all 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
}

.single-services:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12) !important;
}

.single-services .services-ion,
.single-services .services-caption,
.service-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 4px;
    color: #16161a;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.single-services .services-ion h4,
.single-services .services-caption h4,
.service-box h4 {
    color: #16161a !important;
    font-size: 24px; /* Increased slightly for premium look */
    font-weight: 700;
    margin-bottom: 20px; /* Increased from 15px for better breathing room */
    font-family: "Barlow Condensed", sans-serif;
}


.single-services .services-ion p,
.single-services .services-caption p,
.service-box p {
    color: #444 !important;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

.service-icon {
    font-size: 40px;
    color: #ff1313;
    margin-bottom: 20px;
}

/* ── 25. Professional Services Layout Fix ── */
.profession-caption {
    margin-top: -300px !important; /* Adjusted from -418px to prevent cutting out */
    position: relative;
    z-index: 10;
}

@media (max-width: 991px) {
    .profession-caption {
        margin-top: -150px !important;
    }
}
@media (max-width: 767px) {
    .profession-caption {
        margin-top: 0 !important;
    }
    .profession-caption .profession-details {
        padding: 40px 20px !important;
    }
}


.services-img {
  overflow: hidden;
}

.services-img img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.single-services:hover .services-img img {
  transform: scale(1.05);
}

/* Team Cards */
.single-team {
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.single-team:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* ── 7. Header area — Consistent sticky ── */
.main-header.sticky-bar {
  background: rgba(13, 13, 13, 0.97) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── 8. Footer ── */
.footer-area {
  background: #13151b;
}

.footer-tittle h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ff1313;
  display: inline-block;
}

.footer-pera .info1 {
  color: #aaa;
  line-height: 1.8;
}

.footer-number h4 span {
  color: #ff1313;
}

.footer-copy-right p {
  color: #888;
  font-size: 14px;
}

/* ── 9. Forms — Clean & Consistent ── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  font-family: "Barlow", sans-serif !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 2px !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  width: 100% !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
  background: #fff !important;
  color: #333 !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #ff1313 !important;
  box-shadow: 0 0 0 3px rgba(255,19,19,0.08) !important;
  outline: none !important;
}

/* ── 10. Gallery Grid ── */
.gallery-img {
  overflow: hidden;
  border-radius: 4px;
}

.gallery-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-img:hover img {
  transform: scale(1.06);
}

/* ── 11. Mobile Responsiveness ── */
@media (max-width: 767px) {
  .header-btn {
    padding: 14px 24px !important;
    font-size: 13px !important;
  }

  .section-tittle h2 {
    font-size: 26px;
  }

  .single-services {
    margin-bottom: 40px !important;
  }
  
  .service-box {
    margin-bottom: 40px !important;
  }

  .service-box h4 {
    margin-bottom: 20px !important;
  }
  
  /* Fix huge margins from original theme */
  .mb-200 {
    margin-bottom: 40px !important;
  }
}


/* ── 12. Blog Section on Homepage ── */
#blog-preview-section .blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ── 13. Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
  background: #ff1313;
  border-radius: 3px;
}

/* ── 14. Back-top button ── */
#back-top {
  bottom: 80px !important;
  transition: all 0.3s ease !important;
}

#back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,19,19,0.4) !important;
}

/* ── 15. About Page ── */
.about-content h4 {
  color: #16161a;
}

/* ── 16. Contact Section ── */
.contact-section {
  background: #f9f9f9;
}

.contact-section h2 {
  color: #16161a;
}

.contact-bg {
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

/* ── 17. Hero / Slider ── */
.slider-height {
  min-height: 100vh;
}

.hero-cap h1 {
  line-height: 1.1;
  letter-spacing: -1px;
}

/* ── 18. Pricing / CTA Sections ── */
.wantToWork-area {
  background: #ff1313;
}

/* ── 19. Services Page Cards ── */
.services-icon {
  color: #ff1313 !important;
}

/* ── 20. Page Headers (Breadcrumb) ── */
.slider-height2 {
  min-height: 280px;
  display: flex;
  align-items: center;
}

.hero-cap2 h2 {
  font-size: 44px;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .hero-cap2 h2 {
    font-size: 28px;
  }
}

/* ── 21. Floating WhatsApp & TikTok Icons ── */
.floating-icon {
    position: fixed;
    right: 30px;
    z-index: 9999;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin-slow 10s linear infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
}

.floating-icon i {
    font-size: 26px;
    color: #fff;
}

.floating-icon:hover {
    transform: scale(1.1);
    animation-play-state: paused;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.floating-icon.whatsapp {
    background-color: #25D366;
    top: 250px;
}

.floating-icon.tiktok {
    background-color: #000;
    top: 320px;
}

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

@media (max-width: 768px) {
    .floating-icon {
        width: 48px;
        height: 48px;
        right: 20px;
    }
    .floating-icon i {
        font-size: 22px;
    }
    .floating-icon.whatsapp { top: auto; bottom: 100px; }
    .floating-icon.tiktok { top: auto; bottom: 160px; }
}

/* ── 22. CEO Profile Section ── */
.ceo-profile-section { background: #fff; position: relative; z-index: 1; }
.ceo-img-container { position: relative; padding-right: 20px; padding-bottom: 20px; }
.ceo-img { width: 100%; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); position: relative; z-index: 2; border: 1px solid #eee; }
.ceo-img-accent { position: absolute; right: 0; bottom: 0; width: 80%; height: 80%; background: #ff1313; z-index: 1; border-radius: 4px; opacity: 0.1; }
.ceo-label { color: #ff1313; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; display: block; }
.ceo-name { font-family: "Barlow Condensed", sans-serif; font-size: 42px; font-weight: 700; color: #16161a; margin-bottom: 5px; }
.ceo-title { font-size: 18px; color: #666; font-style: italic; margin-bottom: 20px; }
.ceo-divider { width: 60px; height: 3px; background: #ff1313; margin-bottom: 25px; }
.ceo-description { font-size: 16px; color: #444; line-height: 1.8; margin-bottom: 30px; }
.ceo-badges { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 25px; }
.badge-item { background: #f9f9f9; padding: 8px 16px; border-radius: 2px; font-size: 13px; font-weight: 600; color: #333; display: flex; align-items: center; gap: 8px; border: 1px solid #eee; }
.badge-item i { color: #ff1313; font-size: 14px; }

@media (max-width: 768px) {
    .ceo-name { font-size: 32px; }
    .ceo-img-container { max-width: 350px; margin: 0 auto; }
}

/* ── 23. Premium Welcome Pop-Up ── */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.welcome-popup-overlay.show {
    display: flex;
    opacity: 1;
}

.welcome-popup-card {
    background: #13151b;
    border: 1px solid #ff1313;
    border-radius: 4px;
    max-width: 550px;
    width: 100%;
    position: relative;
    padding: 50px 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transform: translateY(20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
}

.welcome-popup-overlay.show .welcome-popup-card {
    transform: translateY(0) scale(1);
}

.welcome-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ff1313;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.welcome-popup-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.welcome-popup-content h2 {
    font-family: "Barlow Condensed", sans-serif;
    color: #ff1313;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-popup-content p {
    color: #eee;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.welcome-popup-content p strong {
    color: #ff1313;
}

.welcome-popup-footer {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 19, 19, 0.2);
}

.welcome-popup-footer p {
    font-size: 13px !important;
    color: #888 !important;
    margin-bottom: 5px !important;
}

.welcome-popup-footer .designer-link {
    color: #ff1313;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.welcome-popup-footer .designer-link:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .welcome-popup-card {
        padding: 40px 25px;
    }
    .welcome-popup-content h2 {
        font-size: 24px;
    }
    .welcome-popup-content p {
        font-size: 14px;
    }
}

/* ── 24. Video Gallery Section (Videos.php) ── */
.gallery-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
h1.gallery-title { text-align: center; font-size: 36px; margin-bottom: 10px; color: #ff1313; font-family: "Barlow Condensed", sans-serif; font-weight: 700; }
p.gallery-desc { text-align: center; font-size: 16px; margin-bottom: 30px; color: #666; }

/* Filter buttons */
.gallery-filter { text-align: center; margin-bottom: 25px; }
.filter-btn { padding: 10px 18px; margin: 5px 4px; border: none; border-radius: 4px; background: #f9f9f9; cursor: pointer; font-size: 14px; color: #333; transition: 0.3s; border: 1px solid #eee; font-weight: 600; }
.filter-btn.active { background: #ff1313; color: #fff; border-color: #ff1313; }
.filter-btn:hover { background: #ff1313; color: #fff; border-color: #ff1313; }

/* Grid */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media(max-width: 992px){ .gallery-grid{ grid-template-columns: repeat(3, 1fr); } }
@media(max-width: 768px){ .gallery-grid{ grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 480px){ .gallery-grid{ grid-template-columns: repeat(1, 1fr); } }

/* Video card style */
.gallery-item { background: #fff; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); overflow: hidden; text-align: center; cursor: pointer; transition: 0.3s; border: 1px solid #eee; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; }
.video-desc { padding: 15px; font-size: 14px; color: #333; font-weight: 500; min-height: 80px; display: flex; align-items: center; justify-content: center; }
.whatsapp-btn { display: block; margin: 0 auto 20px; padding: 10px 20px; background: #ff1313; color: #fff !important; text-decoration: none; font-size: 13px; border-radius: 2px; width: fit-content; text-align: center; transition: 0.3s; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.whatsapp-btn:hover { background: #cc0000; transform: scale(1.05); }

/* Modal */
.modal { display: none; position: fixed; z-index: 10001; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(5px); justify-content: center; align-items: center; padding: 20px; }
.modal-content { position: relative; width: 90%; max-width: 1000px; background: #13151b; padding: 15px; border-radius: 4px; box-shadow: 0 25px 50px rgba(0,0,0,0.5); border: 1px solid #ff1313; }
.modal-content iframe { width: 100%; height: 550px; border: none; border-radius: 2px; background: #000; }
#modalDesc { color: #fff; text-align: center; margin-top: 15px; font-size: 18px; font-family: "Barlow Condensed", sans-serif; }
.close { position: absolute; top: -20px; right: -20px; font-size: 24px; color: #fff; cursor: pointer; background: #ff1313; border-radius: 50%; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; z-index: 10002; transition: 0.3s; }
.close:hover { transform: rotate(90deg); background: #fff; color: #ff1313; }
.prev, .next { cursor: pointer; position: absolute; top: 50%; font-size: 40px; color: #ff1313; padding: 20px; transform: translateY(-50%); user-select: none; z-index: 10002; transition: 0.3s; }
.prev:hover, .next:hover { color: #fff; }
.prev { left: -60px; } .next { right: -60px; }

@media (max-width: 1100px) {
    .prev { left: 10px; } .next { right: 10px; }
    .close { top: 10px; right: 10px; }
}

@media (max-width: 768px) {
    .modal-content iframe { height: 350px; }
}
