/* ══════════════════════════════════════
   HOME PAGE – DataScienceRex
   ══════════════════════════════════════ */

/* ── Global Reset ── */
html {
  scroll-behavior: smooth;
}

html,
body {
  background-color: #030b1c !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── WordPress / Divi / Seedlet Override ──
   Kill all theme wrapper constraints so #dsrexApp
   fills the full viewport width on every load. */

/* Zero out horizontal padding/margin on every Divi/WordPress wrapper */
#page-container,
#et-main-area,
#main-content,
#left-area,
.et_pb_section,
.et_pb_row,
.et_pb_row_inner,
.et_pb_column,
.et_pb_column_inner,
.et_pb_module,
.et_pb_code,
.et_pb_code_module_inner,
.entry-content,
.post-content,
.page-content,
.wp-block-post-content,
.site-main,
.site-content,
.site,
#page,
#primary,
#main,
#content,
.content-area {
  background: transparent !important;
  overflow: visible !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#page-container,
#et-main-area,
#main-content,
.et_pb_row,
.et_pb_row_inner,
.et_pb_column,
.et_pb_column_inner,
.et_pb_module,
.et_pb_code,
.et_pb_code_module_inner {
  width: 100% !important;
  max-width: 100% !important;
}

.et_pb_section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#left-area,
.content-area,
.site-content,
#primary {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  float: none !important;
}

/* ── App Shell ── */
#dsrexApp,
#dsrexApp * {
  box-sizing: border-box !important;
}

#dsrexApp {
  --text: #f4f7ff;
  --soft: #95a4c2;
  --blue: #00c2ff;
  --blue-2: #2563ff;
  --line: rgba(255, 255, 255, 0.08);

  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background:
    radial-gradient(circle at top center, rgba(0, 119, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #06112b 0%, #020814 38%, #000000 100%) !important;
  color: var(--text) !important;
  font-family: Inter, Arial, sans-serif !important;
  overflow-x: hidden !important;
  min-height: 100vh !important;
}

#dsrexApp .container {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
}

/* ══════════════════════════════════════
   Navbar
   ══════════════════════════════════════ */
#dsrexApp .rab-nav {
  display: block !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  background: rgba(3, 11, 28, 0.95) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 0 24px !important;
  margin: 0 !important;
}

body.admin-bar #dsrexApp .rab-nav {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.admin-bar #dsrexApp .rab-nav {
    top: 46px !important;
  }
}

#dsrexApp .rab-nav-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-height: 68px !important;
}

#dsrexApp .rab-nav-logo {
  display: inline-flex !important;
  align-items: baseline !important;
  flex-shrink: 0 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

#dsrexApp .rab-nav-logo span {
  background: linear-gradient(90deg, #00d0ff 0%, #4997ff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

#dsrexApp .rab-nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#dsrexApp .rab-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  padding: 10px 14px !important;
  color: #d7def1 !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

#dsrexApp .rab-nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

#dsrexApp .rab-nav-link.rab-nav-active {
  color: #00c2ff !important;
  background: rgba(0, 194, 255, 0.1) !important;
}

#dsrexApp .rab-nav-trigger {
  gap: 6px !important;
}

#dsrexApp .rab-chevron {
  font-size: 9px !important;
  opacity: 0.75 !important;
  display: inline-block !important;
  transition: transform 0.22s ease !important;
}

#dsrexApp .rab-nav-dropdown {
  position: relative !important;
  display: inline-flex !important;
}

#dsrexApp .rab-nav-dropdown.open .rab-chevron {
  transform: rotate(180deg) !important;
}

#dsrexApp .rab-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  min-width: 210px !important;
  background: rgba(10, 22, 52, 0.99) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45) !important;
  list-style: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-8px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
  z-index: 10000 !important;
}

#dsrexApp .rab-nav-dropdown.open .rab-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

#dsrexApp .rab-dropdown-menu li {
  margin: 0 !important;
}

#dsrexApp .rab-dropdown-menu a {
  display: block !important;
  padding: 12px 20px !important;
  color: #d7def1 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

#dsrexApp .rab-dropdown-menu a:hover {
  color: #00c2ff !important;
  background: rgba(0, 194, 255, 0.08) !important;
}

/* 
   Hero
    */
#dsrexApp .hero {
  position: relative; 
  text-align: center;
  padding: 0px 20px 20px;
}

#dsrexApp .hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 85% 50%, rgba(0, 120, 255, 0.1), transparent 55%);
  pointer-events: none;
}

#dsrexApp .hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  background: linear-gradient(180deg, rgba(6, 17, 43, 0.36), rgba(2, 8, 20, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
}

#dsrexApp .hero-tag {
  margin: 0 0 10px;
  color: #b8caee;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: clamp(18px, 2.2vw, 28px);
}

#dsrexApp .hero-title {
  margin: 0;
  min-height: 2.8em;
  line-height: 1.2;
  font-size: clamp(24px, 2.5vw, 34px);
}

/* Banner image + text overlay grid */
#dsrexApp .hero-banner {
  display: grid;
  width: 100%;
}

#dsrexApp .hero-banner > img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  display: block;
}

#dsrexApp .hero-text-overlay {
  grid-area: 1 / 1;
  align-self: end;
  margin-bottom: 4%;
  width: 100%;
  text-align: center;
  z-index: 2;
}

#dsrexApp #typingText {
  background: linear-gradient(90deg, #dff2ff, #56a0ff, #6fe0ff, #dff2ff);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 3.2s ease-in-out infinite, headingGlow 2.3s ease-in-out infinite;
}

#dsrexApp .cursor {
  color: #6fe0ff;
  animation: blink 0.9s steps(1) infinite;
}

#dsrexApp .hero-subtitle {
  max-width: 860px;
  margin: 16px auto 0;
  color: #b8caee;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.5;
}

#dsrexApp .hero-actions {
  margin: 24px auto 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

#dsrexApp .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  padding: 11px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

#dsrexApp .hero-btn:hover {
  transform: translateY(-2px);
}

#dsrexApp .hero-btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
}

#dsrexApp .hero-btn-ghost {
  color: #d7def1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

#dsrexApp .hero-person {
  margin: 28px auto 0;
  width: 220px;
  text-align: center;
}

#dsrexApp .hero-person img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 999px;
  border: 3px solid rgba(126, 204, 255, 0.78);
  box-shadow: 0 14px 36px rgba(0, 8, 25, 0.52), 0 0 24px rgba(84, 166, 255, 0.5);
}

#dsrexApp .hero-person-name,
#dsrexApp .hero-person figcaption {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 800;
  color: #e6f2ff;
}

/* 
   Stat Badges (number cards)
    */
#dsrexApp .cards-4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#dsrexApp .cards-4 .stat-badge {
  margin-top: 16px;
  width: auto;
  min-width: 120px;
  max-width: 220px;
  flex: 1 1 auto;
}

#dsrexApp .stat-badge {
  background: linear-gradient(135deg, rgba(166, 32, 140, 0.85), rgba(0, 190, 250, 0.85)) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 14px 12px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#dsrexApp .stat-badge:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 190, 250, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

#dsrexApp .stat-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(11px, 2vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 0 0 4px;
}

#dsrexApp .stat-number {
  color: #fff;
  font-size: clamp(12px, 2vw, 26px);
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

/* 
   Sections & Cards
    */
#dsrexApp .section {
  padding: 20px 20px;
}

#dsrexApp .section-alt {
  background: rgba(15, 34, 66, 0.32);
}

#dsrexApp .section-badge {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

#dsrexApp .section h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(30px, 4vw, 46px);
  color: #fff;
}

#dsrexApp .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#dsrexApp .cards .card {
  width: calc(33.333% - 14px);
}

#dsrexApp .cards-two .card {
  width: calc(50% - 10px);
}

#dsrexApp .cards-four .card {
  width: calc(25% - 15px);
}

#dsrexApp .card {
  background: linear-gradient(180deg, rgba(13, 27, 58, 0.95), rgba(10, 21, 45, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 26px 22px 24px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

#dsrexApp .card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, 0.35);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

#dsrexApp .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 194, 255, 0.12);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

#dsrexApp .card-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

#dsrexApp .card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  color: #fff;
}

#dsrexApp .card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
}

#dsrexApp .service-section{
	padding:20px;
	display:flex;
	flex-direction:row
	
}

/* Explore Service Section */
.service-section {
  display: flex;
  align-items: stretch; /* makes children match the tallest one */
}

.service-section .service-image-container {
  width: 50%;
	margin-right:10px;
}

.service-section .service-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the container without distorting */
}

.service-button-container h3,
.service-button-container p {
  margin: 0;
}

.service-section .service-text{
	color:var(--soft);
}
.service-section .service-button-container {
  display: flex;
  flex-direction: column ;
  justify-content: center ;
  align-items: center ;
  width: 50% ;
  border: 2px solid #006ba1;
	text-align:center;
	align-self: stretch ;
	gap:16px;
	padding:20px;
	border-radius:10px;
}

.service-button {
    background: linear-gradient(90deg, #00bfff, #2563ff);
    border: none;
    border-radius: 50px;
    padding: 16px 36px;
    color: #fff;
    font-weight: 700;
		width:70%;
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.service-button:hover {
    color: #eee;
}
/* 
   CTA Box
    */
#dsrexApp .cta-box {
  padding: 34px 22px;
  text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(13, 27, 58, 0.95), rgba(10, 21, 45, 0.98));
}

#dsrexApp .cta-box h3 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.5vw, 38px);
}

#dsrexApp .cta-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #00bfff, #2563ff);
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 700;
  box-shadow: 0 0 28px rgba(0, 194, 255, 0.2);
}

/* 
   Footer
    */
#dsrexApp .site-footer {
  text-align: center;
  padding: 24px 20px;
  background: rgba(3, 12, 31, 0.95);
  border-top: 1px solid var(--line);
}

#dsrexApp .site-footer p {
  margin: 0;
  color: var(--soft);
}

/* 
   Reveal Animation
    */
#dsrexApp .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

#dsrexApp .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 
   Keyframes
    */

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 194, 255, 0.4); }
    50%       { box-shadow: 0 0 40px rgba(0, 194, 255, 0.8); }
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes textShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes headingGlow {
  0%   { filter: brightness(0.98); }
  50%  { filter: brightness(1.18); }
  100% { filter: brightness(0.98); }
}

/* 
   Hamburger Button (hidden on desktop)
    */
#dsrexApp .rab-nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10001;
}

#dsrexApp .rab-nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#dsrexApp .rab-nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#dsrexApp .rab-nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

#dsrexApp .rab-nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 
   Responsive
    */
@media (max-width: 1024px) {
  #dsrexApp .cards-four .card {
    width: calc(50% - 10px);
  }

  #dsrexApp .hero-text-overlay {
    margin-bottom: 2%;
  }

  #dsrexApp .cards-4 .stat-badge {
    min-width: 100px;
    max-width: 130px;
  }
}

@media (max-width: 880px) {
  #dsrexApp .rab-nav {
    padding: 0 12px !important;
  }

  #dsrexApp .rab-nav-inner {
    min-height: 68px !important;
    align-items: center !important;
    padding: 0 !important;
    gap: 0;
    flex-wrap: wrap !important;
  }

  #dsrexApp .rab-nav-hamburger {
    display: flex !important;
  }

  #dsrexApp .rab-nav-links {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 8px 0 16px !important;
    gap: 2px !important;
  }

  #dsrexApp .rab-nav-links.nav-open {
    display: flex !important;
  }

  #dsrexApp .rab-nav-link {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 760px) {
  #dsrexApp .cards .card,
  #dsrexApp .cards-two .card,
  #dsrexApp .cards-four .card {
    width: 100%;
  }

  #dsrexApp .cards-4 .stat-badge {
    min-width: 80px;
    max-width: 110px;
  }

  #dsrexApp .hero {
    padding: 76px 10px 14px;
  }

  #dsrexApp .hero-inner {
    padding: 12px;
    border-radius: 16px;
  }

  #dsrexApp .hero-title {
    min-height: auto;
    font-size: clamp(14px, 4vw, 22px);
    line-height: 1.2;
  }

  #dsrexApp .hero-text-overlay {
    margin-bottom: 2%;
  }

  #dsrexApp #typingText {
    font-size: clamp(10px, 3.2vw, 18px) !important;
  }

  #dsrexApp .hero-person {
    width: 180px;
  }

  #dsrexApp .hero-person img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 580px) {
  #dsrexApp .cards-4 .stat-badge {
    min-width: 70px;
    max-width: 70px;
 }
	#dsrexApp .stat-badge {
  padding: 14px 6px 12px;
	}	
}

@media (max-width: 480px) {
	#dsrexApp .container{
		width:100%!important;
	}
  #dsrexApp .cards-4 .stat-badge {
    min-width: 50px;
    max-width: 70px;
  }

  #dsrexApp .cards-4 {
    gap: 8px !important;
  }

  #dsrexApp .stat-text {
    font-size: 9px !important;
  }

  #dsrexApp .stat-number {
    font-size: clamp(14px, 3.5vw, 14px) !important;
  }

  #dsrexApp .stat-badge {
    padding: 10px 8px 8px !important;
    border-radius: 10px !important;
  }

  #dsrexApp .hero {
    padding: 72px 6px 10px;
  }

  #dsrexApp .hero-inner {
    padding: 8px;
    border-radius: 12px;
  }

  #dsrexApp #typingText {
    font-size: clamp(9px, 2.8vw, 14px) !important;
  }
	.service-button {
    padding: 16px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
  #dsrexApp *,
  #dsrexApp *::before,
  #dsrexApp *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 760px) {

  #dsrexApp .service-section{
    flex-direction: column !important;
    padding: 16px;
    gap: 16px;
  }

  #dsrexApp .service-section .service-image-container{
    width: 100%;
  }

  #dsrexApp .service-section .service-image-container img{
    height: auto;
    object-fit: cover;
  }

  #dsrexApp .service-section .service-button-container{
    width: 100%;
    padding: 20px 14px;
  }

  #dsrexApp .service-button{
    width: 80%;
		word-break: break-word;
  	text-align: center;
  }

}