/* ==========================================================================
   Omar Portfolio Elementor Addons - Core Styling
   ========================================================================== */

:root {
  --omar-navy: #111827;
  --omar-navy-soft: #1a2436;
  --omar-blue: #38BDF8;
  --omar-blue-dim: rgba(56, 189, 248, 0.12);
  --omar-blue-line: rgba(56, 189, 248, 0.28);
  --omar-white: #FFFFFF;
  --omar-ink: #111827;
  --omar-muted: #5b6472;
  --omar-line: #e6e9ee;
  --omar-bg: #f7f9fc;
  --omar-radius: 14px;
  --omar-maxw: 1120px;
  --omar-font: 'Poppins', 'Noto Sans Bengali', Arial, sans-serif;
}

/* Global Reset & Helpers within Widgets */
.omar-elementor-widget-wrap {
  font-family: var(--omar-font);
  color: var(--omar-ink);
  line-height: 1.65;
  box-sizing: border-box;
}

.omar-elementor-widget-wrap * {
  box-sizing: border-box;
}

.omar-wrap {
  max-width: var(--omar-maxw);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.omar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.omar-btn-solid {
  background: var(--omar-blue);
  color: var(--omar-navy);
}

.omar-btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--omar-blue-dim);
  color: var(--omar-navy);
}

.omar-btn-outline {
  border-color: var(--omar-navy);
  color: var(--omar-navy);
  background: transparent;
}

.omar-btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--omar-blue);
  color: var(--omar-blue);
}

/* Background Tint & Blobs */
.omar-tint {
  position: relative;
  overflow: hidden;
}

.omar-tint::before {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.10), rgba(56, 189, 248, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.omar-tint.tint-tr::before {
  top: -260px;
  right: -220px;
}

.omar-tint.tint-bl::before {
  bottom: -260px;
  left: -220px;
}

.omar-tint.tint-tl::before {
  top: -260px;
  left: -220px;
}

/* Section Headings */
.omar-section-head {
  max-width: 600px;
  margin-bottom: 56px;
}

.omar-section-head.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.omar-section-head .omar-tag {
  color: var(--omar-blue);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  display: block;
}

.omar-section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-top: 10px;
  font-weight: 700;
  color: var(--omar-navy);
  line-height: 1.25;
}

.omar-section-head p {
  color: var(--omar-muted);
  margin-top: 14px;
  font-weight: 400;
}

/* Common Icon Badge */
.omar-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--omar-blue-dim);
  color: var(--omar-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--omar-blue-line);
}

.omar-ic svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

/* -------------------------------------------------------------
   1. HEADER / NAVBAR WIDGET
   ------------------------------------------------------------- */
.omar-header-container {
  background: rgba(247, 249, 252, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--omar-line);
  position: relative;
  width: 100%;
}

.omar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.omar-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--omar-navy);
  text-decoration: none;
}

.omar-logo span {
  color: var(--omar-blue);
}

.omar-nav-links {
  display: flex;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 0;
}

.omar-nav-links a {
  position: relative;
  color: var(--omar-navy);
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.omar-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--omar-blue);
  transition: width 0.25s ease;
}

.omar-nav-links a:hover::after {
  width: 100%;
}

.omar-nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.omar-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.omar-burger span {
  width: 22px;
  height: 2px;
  background: var(--omar-navy);
  transition: all 0.3s ease;
}

@media (max-width: 940px) {
  .omar-nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--omar-white);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--omar-line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }

  .omar-nav-links.open {
    max-height: 420px;
  }

  .omar-nav-links a {
    padding: 16px 28px;
    width: 100%;
    border-top: 1px solid var(--omar-line);
    display: block;
  }

  .omar-burger {
    display: flex;
  }
}

/* -------------------------------------------------------------
   2. HERO SECTION WIDGET
   ------------------------------------------------------------- */
.omar-hero {
  padding: 100px 0 80px;
}

.omar-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.omar-eyebrow-role {
  color: var(--omar-blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
  display: block;
}

.omar-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.22;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--omar-navy);
}

.omar-hero p.omar-lede {
  color: var(--omar-muted);
  font-size: 1.02rem;
  max-width: 50ch;
  margin-bottom: 18px;
  font-weight: 400;
}

.omar-hero .omar-role-line {
  font-weight: 600;
  color: var(--omar-navy);
  font-size: 0.92rem;
  margin-bottom: 34px;
}

.omar-hero .omar-role-line b {
  color: var(--omar-blue);
  font-weight: 600;
}

.omar-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.omar-hero-photo {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.omar-hero-photo .omar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--omar-blue-line);
  animation: omarSpin 40s linear infinite;
}

@keyframes omarSpin {
  to {
    transform: rotate(360deg);
  }
}

.omar-hero-photo .omar-core {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: var(--omar-navy);
  overflow: hidden;
  border: 6px solid var(--omar-white);
  box-shadow: 0 24px 50px rgba(17, 24, 39, 0.16);
}

.omar-hero-photo .omar-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.omar-badge {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--omar-white);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--omar-blue);
  animation: omarFloat 5s ease-in-out infinite;
  border: 1px solid var(--omar-line);
}

.omar-badge svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.omar-badge.b1 { top: -6px; left: 6px; }
.omar-badge.b2 { top: 22%; right: -20px; animation-delay: 1s; }
.omar-badge.b3 { bottom: 6%; left: -22px; animation-delay: 2s; }
.omar-badge.b4 { bottom: -8px; right: 14%; animation-delay: 1.5s; }

@keyframes omarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* -------------------------------------------------------------
   3. ABOUT ME WIDGET
   ------------------------------------------------------------- */
.omar-about {
  padding: 110px 0;
}

.omar-about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.omar-about-photo {
  position: relative;
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  overflow: hidden;
  background: var(--omar-blue-dim);
  border: 3px solid var(--omar-blue);
  aspect-ratio: 1 / 1.05;
}

.omar-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.omar-about-text p {
  color: var(--omar-muted);
  margin-bottom: 16px;
  max-width: 62ch;
  font-weight: 400;
}

/* -------------------------------------------------------------
   4. SERVICES GRID WIDGET
   ------------------------------------------------------------- */
.omar-services {
  padding: 110px 0;
}

.omar-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.omar-info-card {
  background: var(--omar-white);
  border: 1px solid var(--omar-line);
  border-radius: var(--omar-radius);
  padding: 30px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.omar-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.08);
  border-color: var(--omar-blue-line);
}

.omar-info-card h4 {
  font-size: 1.04rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--omar-navy);
}

.omar-info-card p {
  color: var(--omar-muted);
  font-size: 0.92rem;
  font-weight: 400;
  margin: 0;
}

/* -------------------------------------------------------------
   5. WHY WORK WITH ME WIDGET
   ------------------------------------------------------------- */
.omar-why-section {
  background: var(--omar-navy);
  position: relative;
  overflow: hidden;
  padding: 110px 0;
}

.omar-why-section::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.10), rgba(56, 189, 248, 0) 70%);
  top: -300px;
  left: -260px;
  filter: blur(10px);
}

.omar-why-section .omar-section-head .omar-tag {
  color: var(--omar-blue);
}

.omar-why-section .omar-section-head h2 {
  color: var(--omar-white);
}

.omar-why-section .omar-section-head p {
  color: #aab3c2;
}

.omar-why-section .omar-info-card {
  background: var(--omar-navy-soft);
  border-color: rgba(255, 255, 255, 0.07);
}

.omar-why-section .omar-info-card:hover {
  border-color: var(--omar-blue-line);
}

.omar-why-section .omar-info-card h4 {
  color: var(--omar-white);
}

.omar-why-section .omar-info-card p {
  color: #9aa3b5;
}

.omar-why-section .omar-ic {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.25);
}

/* -------------------------------------------------------------
   6. SKILLS & TOOLS WIDGET
   ------------------------------------------------------------- */
.omar-skills {
  padding: 110px 0;
}

.omar-skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.omar-skill-card {
  background: var(--omar-white);
  border: 1px solid var(--omar-line);
  border-radius: var(--omar-radius);
  padding: 28px 24px;
}

.omar-skill-card h4 {
  font-size: 0.94rem;
  color: var(--omar-blue);
  margin-bottom: 14px;
  font-weight: 600;
}

.omar-skill-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.omar-skill-card ul li {
  color: var(--omar-muted);
  font-size: 0.92rem;
  padding: 8px 0;
  border-top: 1px solid var(--omar-line);
  font-weight: 400;
}

.omar-skill-card ul li:first-child {
  border-top: none;
}

/* -------------------------------------------------------------
   7. PROCESS WIDGET
   ------------------------------------------------------------- */
.omar-process {
  padding: 110px 0;
}

.omar-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.omar-step-card {
  position: relative;
  background: var(--omar-white);
  border: 1px solid var(--omar-line);
  border-radius: var(--omar-radius);
  padding: 32px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.omar-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.06);
}

.omar-step-card .omar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--omar-blue);
  color: var(--omar-navy);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.omar-step-card h4 {
  font-size: 1.02rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--omar-navy);
}

.omar-step-card p {
  color: var(--omar-muted);
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
}

/* -------------------------------------------------------------
   8. FEATURED PROJECTS WIDGET
   ------------------------------------------------------------- */
.omar-work {
  padding: 110px 0;
}

.omar-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.omar-work-card {
  border-radius: var(--omar-radius);
  overflow: hidden;
  background: var(--omar-white);
  border: 1px solid var(--omar-line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.omar-work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.1);
}

.omar-work-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--omar-navy), #1f2b45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--omar-blue);
  overflow: hidden;
}

.omar-work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.omar-work-thumb svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
}

.omar-work-body {
  padding: 18px 20px;
}

.omar-work-body .omar-tags {
  color: var(--omar-blue);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.omar-work-body h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--omar-navy);
  margin-bottom: 4px;
}

.omar-work-body p {
  color: var(--omar-muted);
  font-size: 0.85rem;
  margin: 0;
  font-weight: 400;
}

/* -------------------------------------------------------------
   9. TESTIMONIALS CAROUSEL WIDGET
   ------------------------------------------------------------- */
.omar-testimonials {
  padding: 110px 0;
}

.omar-testi-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--omar-white);
  border-radius: var(--omar-radius);
  padding: 46px;
  text-align: center;
  border: 1px solid var(--omar-line);
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.06);
  position: relative;
  min-height: 200px;
}

.omar-testi-card .omar-quote-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--omar-blue-dim);
  color: var(--omar-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.omar-testi-card .omar-quote-ic svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.omar-testi-card p.omar-testi-text {
  color: var(--omar-muted);
  font-size: 1.05rem;
  font-weight: 400;
  transition: opacity 0.3s ease;
  margin-bottom: 8px;
}

.omar-testi-author {
  font-weight: 600;
  color: var(--omar-navy);
  font-size: 0.95rem;
  margin-top: 12px;
}

.omar-testi-role {
  color: var(--omar-blue);
  font-size: 0.85rem;
}

.omar-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.omar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--omar-line);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.omar-dot.active {
  background: var(--omar-blue);
  width: 22px;
  border-radius: 5px;
}

/* -------------------------------------------------------------
   10. CONTACT WIDGET
   ------------------------------------------------------------- */
.omar-contact {
  background: var(--omar-navy);
  position: relative;
  overflow: hidden;
  padding: 110px 0;
}

.omar-contact::before {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.10), rgba(56, 189, 248, 0) 70%);
  bottom: -280px;
  right: -220px;
  filter: blur(10px);
}

.omar-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.omar-contact h2 {
  color: var(--omar-white);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  margin-top: 8px;
}

.omar-contact p.omar-contact-desc {
  color: #aab3c2;
  margin: 14px 0 26px;
  max-width: 46ch;
  font-weight: 400;
}

.omar-contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.omar-contact-info .omar-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.omar-contact-info .omar-ic {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  border-radius: 11px;
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.25);
  flex-shrink: 0;
}

.omar-contact-info .omar-ic svg {
  width: 19px;
  height: 19px;
}

.omar-contact-info b {
  color: var(--omar-white);
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}

.omar-contact-info span {
  color: #9aa3b5;
  font-size: 0.9rem;
  font-weight: 400;
}

.omar-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.omar-contact-form input,
.omar-contact-form textarea {
  background: var(--omar-navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--omar-white);
  font-family: var(--omar-font);
  font-size: 0.95rem;
  width: 100%;
}

.omar-contact-form input:focus,
.omar-contact-form textarea:focus {
  outline: none;
  border-color: var(--omar-blue);
}

.omar-contact-form ::placeholder {
  color: #7a8296;
}

.omar-contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

/* -------------------------------------------------------------
   11. FOOTER WIDGET
   ------------------------------------------------------------- */
.omar-footer {
  background: #0c1220;
  padding: 40px 0;
  text-align: center;
}

.omar-footer .omar-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.omar-footer .omar-logo {
  color: var(--omar-white);
}

.omar-footer p {
  color: #6b7385;
  font-size: 0.85rem;
  font-weight: 400;
  margin: 0;
}

.omar-footer .omar-socials {
  display: flex;
  gap: 14px;
  margin: 6px 0;
}

.omar-footer .omar-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aab3c2;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.omar-footer .omar-socials a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.omar-footer .omar-socials a:hover {
  border-color: var(--omar-blue);
  color: var(--omar-blue);
}

/* -------------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   ------------------------------------------------------------- */
.omar-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.omar-reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsive Media Queries */
@media (max-width: 940px) {
  .omar-hero-grid,
  .omar-about-grid,
  .omar-contact-grid {
    grid-template-columns: 1fr;
  }
  
  .omar-hero-photo {
    order: -1;
  }

  .omar-card-grid,
  .omar-process-grid,
  .omar-skills-grid,
  .omar-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .omar-about,
  .omar-services,
  .omar-why-section,
  .omar-skills,
  .omar-process,
  .omar-work,
  .omar-testimonials,
  .omar-contact {
    padding: 80px 0;
  }
}

@media (max-width: 600px) {
  .omar-card-grid,
  .omar-process-grid,
  .omar-skills-grid,
  .omar-work-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
