/**
 * Theme Name:     Adham
 * Author:         Dedar Singh
 * Template:       hello-elementor
 * Text Domain:	   adham
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */
@font-face {
  font-family: 'ZTNature-Bold';
  src: url('fonts/nature-font-family/ZTNature-Bold.woff2') format('woff2'),
       url('fonts/nature-font-family/ZTNature-Bold.woff') format('woff'),
       url('fonts/nature-font-family/ZTNature-Bold.ttf') format('truetype'),
       url('fonts/nature-font-family/ZTNature-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ZTNature-Medium';
  src: url('fonts/nature-font-family/ZTNature-Medium.woff2') format('woff2'),
       url('fonts/nature-font-family/ZTNature-Medium.woff') format('woff'),
       url('fonts/nature-font-family/ZTNature-Medium.ttf') format('truetype'),
       url('fonts/nature-font-family/ZTNature-Medium.otf') format('opentype');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ZTNature-Regular';
  src: url('fonts/nature-font-family/ZTNature-Regular.woff2') format('woff2'),
       url('fonts/nature-font-family/ZTNature-Regular.woff') format('woff'),
       url('fonts/nature-font-family/ZTNature-Regular.ttf') format('truetype'),
       url('fonts/nature-font-family/ZTNature-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body{
	  font-family: 'ZTNature-Regular', sans-serif!important;
	  
}
p{
  font-family: 'ZTNature-Regular', sans-serif !important;
  color:#000;
}
.work-button {
    background: url('images/dddddd.png') no-repeat;
    background-size: cover; /* fills entire button */
    padding: 20px 20px 26px 250px; /* leave space for text on the right */
    position: relative;
    display: block;
    color: #000; /* link color */
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

/* optional: if using a child <a> */
.work-button a {
    position: absolute;
    top: 50%;
    left: 250px; /* same as padding-left */
    transform: translateY(-50%); /* vertically center */
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.work-accordion {
    border-top: 1px solid #222;
}

.work-item {
    border-bottom: 1px solid #222;
}

/* BUTTON WITH BACKGROUND IMAGE */
.work-button {
    background: url('images/dddddd.png') no-repeat;
    background-size: cover;
    position: relative;
    height: 80px; /* adjust as needed */
    cursor: pointer;
}

/* LINK TEXT POSITIONED OVER IMAGE */
.work-button a {
    position: absolute;
    top: 50%;
    left: 30px; /* distance from left edge */
    transform: translateY(-50%);
    color: #fff; /* adjust for contrast */
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
}
.tabHeader {
    background-image: url(images/startTab.png);
    height: 44px;
    background-repeat: no-repeat;
    background-position: left top;
}

.tabHeader>div {
    background-image: url(images/endBar.png);
    height: 44px;
    background-repeat: no-repeat;
    background-position: left 345px top;
    background-size: 100% 100%;
}

.tabDescription {
    padding: 10px 140px;
    display: flex;
    justify-content: space-between;
    max-height: 0px;
    overflow: hidden;
    transition: .2s;
}

.tabParent {
    padding: 100px 0;
}
.tabDescription a {
    text-decoration: underline;
    text-underline-offset: 5px;
}
.tabHeader h6 {
    margin-left: 140px;
    
    font-family:'ZTNature-Bold', sans-serif !important;
    width: 166px;
    text-align: center;
    padding-top: 20px;
    font-size: 22px;
    color: black;
}

.tabDescriptionLeft {
    width: 50%;
    color: black;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'ZTNature-Bold', sans-serif !important;
  color:#000;
}
.tabDescriptionRight {
    width: 50%;
    color: black;
    text-align: right;
    padding: 10px 0;
}

section.openedTab {}

section.openedTab .tabHeader {
    background-image: url(images/BlackstartTab.png);
}

section.openedTab .tabHeader>div {
    background-image: url(images/BlackendBar.png);
}

section.openedTab h6 {
    color: #d7d1c3;
}

section.openedTab .tabDescription {
    background: black;
    padding: 80px 140px 80px;
    max-height: 1000px;
}

section.openedTab .tabDescription * {
    color: #d7d1c3;
}

section.openedTab+section {
    margin-top: -44px;
}
.tabHeader {
    cursor: pointer;
}
section.contact.openedTab .tabDescription ul {
    list-style: none;
}

section.contact.openedTab .tabDescription ul {
    display: flex;
    gap: 10px;
    flex-direction: column;
    padding: 0;
}
section.contact.openedTab .tabDescription ul li {
    display: flex;
    gap: 20px;
}
section.services.openedTab .tabHeader>div {
    background-image: url(images/orange.png);
}
section.services.openedTab .tabHeader {
    background-image: url(images/BlackstartTabOrange.png);
}
section.work.openedTab .tabHeader>div {
    background-image: url(images/BlackendBarpista.png);
}
.tabParent.awde-tabs section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 720ms cubic-bezier(.2, .9, .3, 1) 720ms both;
}
.tabParent.awde-tabs section:nth-child(1) { animation-delay: 0ms; }
.tabParent.awde-tabs section:nth-child(2) { animation-delay: 120ms; }
.tabParent.awde-tabs section:nth-child(3) { animation-delay: 240ms; }
.tabParent.awde-tabs section:nth-child(4) { animation-delay: 360ms; }
.tabParent.awde-tabs section:nth-child(5) { animation-delay: 480ms; }
section.work.openedTab .tabHeader {
    background-image: url(images/BlackstartTabpista.png);
}
section.contact.openedTab .tabHeader>div {
    background-image: url(images/BlackendBarbrown.png);
}
section.contact.openedTab .tabHeader {
    background-image: url(images/BlackstartTabbrown.png);
}
section.services.openedTab h6,
section.work.openedTab h6{
    color: #000;
}
section.work.openedTab .tabDescription {
    background: #d0e186;
}
section.contact.openedTab .tabDescription {
    background: #594a2d;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;

}
/* Animations */
@keyframes fadeInUpp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* DEFAULT STATE — content visible */
section .tabHeader,
section .tabDescriptionLeft h4,
section .tabDescriptionLeft p,
section .tabDescriptionRight img {
  opacity: 1;
  transform: none;
}

/* Animate ONLY when openedTab is added */
section.openedTab .tabHeader {
  animation: fadeInUpp 720ms cubic-bezier(.2,.9,.3,1) both;
}

section.openedTab .tabDescriptionLeft h4 {
  animation: fadeInUpp 720ms cubic-bezier(.2,.9,.3,1) 140ms both;
}

section.openedTab .tabDescriptionLeft p {
  animation: fadeInUpp 720ms cubic-bezier(.2,.9,.3,1) 280ms both;
}

section.openedTab .tabDescriptionRight img {
  animation: fadeInRight 820ms cubic-bezier(.2,.9,.3,1) 420ms both;
}


section.work.openedTab .tabDescription .tabDescriptionLeft * {
    color: #000;
}
/* CONTENT PANEL */
.work-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
ul.Services li {
    position: relative;
    /* padding-left: 10px; */
}

ul.Services li::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 2px;
    background: #000;
    bottom: 11px;
    left: -30px;
}

section.openedTab.services .tabDescription {
    background: #ff4938;
}

section.openedTab.services .tabDescription .tabDescriptionLeft * {
    color: #000;
}
.tabDescriptionLeft h4 {font-size: 59px;line-height: 65px;}
ul.Services {
    list-style: none;
    padding: 0;
    margin: 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

/* Mobile: 1 per row */
@media (max-width: 600px) {
    ul..Services {
        grid-template-columns: 1fr;
    }
}
.tabDescriptionLeft p {
    font-size: 18px;
    line-height: 24px;
    font-family: 'ZTNature-Regular', sans-serif !important;
}
/* ACTIVE STATE */
.work-item.active .work-content {
    max-height: 500px; /* adjust for content */
    padding: 20px;
}

/* PLUS / MINUS ICON (optional) */
.work-button::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #fff;
    transition: transform 0.3s ease;
}

.work-item.active .work-button::after {
    content: '−';
}


/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;  /* or 1320px */
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-size: 32px;
  font-weight: 900;
  font-family: 'Arial Black', sans-serif;
  color: #000;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-family: 'Georgia', serif;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.7;
}

/* Hero Section */
.hero {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 0px;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-bottom: 40px; */
  position: relative;
  gap: 5%;
}
.hero-line {
  display: flex;
  align-items: center;
  /* font-size: 130px; */
  gap: 25px;
  justify-content: center;
  position: absolute;
  width: 100%;
  /* max-width: 1280px; */
  bottom: 0;
  /* margin: 0 auto; */
  word-spacing: 5px;
}

.hero-line .text {
  font-size: 100px;   /* example */
  line-height: 1;    /* MUST be 1 */
  text-transform: uppercase;
  position: relative;
  bottom: -11px;
	color: #000000;
}

.hero-line img {
  /* height: 1em; */       /* 🔑 exactly equals text height */
  width: auto;
  display: block;
}
.circular-text {
  position: relative;
  width: 180px;
  height: 180px;
}

.circular-svg {
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

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

.circular-svg text {
  font-size: 14px;
  font-family: 'Arial', sans-serif;
  fill: #000;
  letter-spacing: 2px;
}

.circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  font-weight: 900;
  font-family: 'Arial Black', sans-serif;
}

.hero-image {
  /* flex: 0 0 400px; */
  /* height: 280px; */
  /* overflow: hidden; */
  /* border-radius: 8px; */
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); */
  width: 55%;
  position: relative;
  /* gap: 5%; */
  padding-left: 100px;
}
section.welcome-text-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 0px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  text-align: left;
}

.tagline h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 14px;
  margin-top: 15px;
  font-style: italic;
}

.main-title {
  font-size: 120px;
  font-weight: 400;
  text-align: center;
  margin: 40px 0 30px;
  font-family: 'Georgia', serif;
}

.main-title .bold {
  font-weight: 900;
  font-family: 'Arial Black', sans-serif;
}

.welcome-text {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  /* max-width: 500px; */
  /* margin: 0 auto; */
  /* padding: 70px 0; */
  text-align: left;
  float: right;
  width: 50%;
}

/* Tab Navigation */
.tab-nav {
  display: flex;
  justify-content: center;
  margin: 0;
}

.tab {
  padding: 20px 80px;
  border: 2px solid #000;
  border-bottom: none;
  font-size: 20px;
  font-family: 'Georgia', serif;
  position: relative;
  clip-path: polygon(
    10% 0%, 
    90% 0%, 
    100% 30%, 
    100% 100%, 
    0% 100%, 
    0% 30%
  );
  margin: 0 -2px;
}

.tab.active {
  z-index: 1;
}

.tab.dark {
  background-color: #000;
  color: #fff;
  border-color: #000;
  z-index: 1;
}

/* About Section */
.about-section {
  background-color: #000;
  color: #fff;
  padding: 0;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 80px;
  gap: 80px;
}

.about-text {
  flex: 1;
}

.section-title {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 30px;
  font-family: 'Georgia', serif;
}

.section-description {
  font-size: 16px;
  line-height: 1.8;
  max-width: 500px;
}

.about-image {
  flex: 0 0 450px;
  height: 550px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .main-title {
    font-size: 80px;
  }

  .hero-content {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .about-content {
    flex-direction: column;
    padding: 60px 40px;
  }

  .about-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
  }
}
.hero-image::before {
    background: url(images/svg.svg);
    position: absolute;
    width: 110px;
    height: 110px;
    content: '';
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    top: 50%;
    background-size: contain;
    z-index: 1;
}
@media (max-width: 768px) {
  .header {
    padding: 20px 30px;
    flex-direction: column;
    gap: 20px;
  }

  .nav {
    gap: 20px;
  }

  .main-title {
    font-size: 48px;
  }

  .hero {
    padding: 40px 30px;
  }

  .circular-text {
    width: 120px;
    height: 120px;
  }

  .hero-image {
    flex: 0 0 100%;
    max-width: 400px;
  }

  .section-title {
    font-size: 36px;
  }

  .tab {
    padding: 15px 40px;
    font-size: 16px;
  }
}

/* Entrance animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animations */
.logo {
  animation: pop 560ms cubic-bezier(.2,.9,.3,1) 180ms both;
}

.nav a {
  opacity: 0;
  transform: translateY(-6px);
  animation: fadeInUp 560ms cubic-bezier(.2,.9,.3,1) forwards;
}
.nav a:nth-child(1) { animation-delay: 220ms; }
.nav a:nth-child(2) { animation-delay: 340ms; }
.nav a:nth-child(3) { animation-delay: 460ms; }
.nav a:nth-child(4) { animation-delay: 580ms; }

.hero-image img {
  opacity: 0;
  transform: translateX(-30px) scale(0.99);
  animation: fadeInUp 900ms cubic-bezier(.2,.9,.3,1) 420ms both;
}

.tagline h2 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 720ms cubic-bezier(.2,.9,.3,1) 720ms both;
}

.subtitle {
  opacity: 0;
  animation: fadeIn 700ms ease 980ms both;
}

.hero-line .text {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 860ms cubic-bezier(.2,.9,.3,1) 1100ms both;
}

.hero-line img {
  opacity: 0;
  transform: translateY(8px) scale(.99);
  animation: pop 880ms cubic-bezier(.2,.9,.3,1) 1320ms both;
}

.welcome-text {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 880ms ease 1500ms both;
}

/* Hover micro-interactions */
.nav a:hover {
  transform: translateY(-3px);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .logo,
  .nav a,
  .hero-image img,
  .tagline h2,
  .subtitle,
  .hero-line .text,
  .hero-line img,
  .welcome-text,
  .circular-svg {
    animation: none !important;
    transition: none !important;
  }
}

/* Accordion styles */
.accordion-section {
  max-width: 1000px;
  margin: 40px auto 80px;
  padding: 0 24px;
}
.accordion {
  border-top: 1px solid rgba(0,0,0,0.08);
}
.accordion-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 18px 12px;
  font-family: 'Georgia', serif;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: background 180ms ease, color 180ms ease;
}
.accordion-trigger:focus {
  background: rgba(0,0,0,0.04);
}
.accordion-trigger .caret {
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 240ms cubic-bezier(.2,.9,.3,1);
  margin-left: 12px;
}
.accordion-trigger[aria-expanded="true"] .caret {
  transform: rotate(90deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 12px;
  transition: max-height 360ms cubic-bezier(.2,.9,.3,1), padding 360ms ease;
}
.accordion-panel p {
  padding: 14px 0 26px;
  margin: 0;
  color: #222;
  line-height: 1.6;
}

/* Open state helper class (applied by JS) */
.is-open .accordion-panel {
  /* when open JS will set max-height inline to content height; this keeps a fallback */
  max-height: 400px;
}

@media (max-width: 768px) {
  .accordion-trigger {
    font-size: 16px;
    padding: 14px 10px;
  }
}

/* --- Stacked tab look (inspired by provided image) --- */
:root{
  --awde-beige: #d9d2c6; /* page beige */
  --awde-dark: #000000;
  --tab-border: rgba(0,0,0,0.85);
}

.accordion{
  background: var(--awde-beige);
  padding-top: 18px;
  position: relative;
}

.accordion-item{
  position: relative;
  background: transparent;
  margin-top: -14px; /* overlap previous tab */
}
.accordion-item:first-child{ margin-top: 0; }

.accordion-trigger{
  background: var(--awde-beige);
  border: 1px solid var(--tab-border);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 14px 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset;
  position: relative;
}

/* stacking order so lower items appear above previous tabs */
.accordion-item:nth-child(1) .accordion-trigger{ z-index: 20; }
.accordion-item:nth-child(2) .accordion-trigger{ z-index: 30; }
.accordion-item:nth-child(3) .accordion-trigger{ z-index: 40; }
.accordion-item:nth-child(4) .accordion-trigger{ z-index: 50; }

.accordion-trigger .caret{
  background: transparent;
  color: var(--awde-dark);
  font-weight: 700;
}

.accordion-panel{
  background: var(--awde-beige);
  border: 1px solid var(--tab-border);
  border-top: none;
  padding: 0 12px 18px;
  color: var(--awde-dark);
}

/* when a panel opens, invert to bold black center like the reference */
.accordion-item.is-open .accordion-panel{
  background: var(--awde-dark);
  color: #fff;
}
.accordion-item.is-open .accordion-trigger{
  /* keep the tab appearance but lift it visually */
  box-shadow: 0 6px 0 rgba(0,0,0,0.04);
}

/* small decorative notch on left to hint tab shape */
.accordion-trigger::before{
  content: '';
  position: absolute;
  left: -10px;
  top: 10px;
  width: 18px;
  height: 10px;
  background: transparent;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: 0 -1px 0 var(--tab-border) inset;
}

/* tighten typography to match feel */
.accordion-trigger{
  letter-spacing: 0.2px;
}

@media (max-width: 768px){
  .accordion{ padding-top: 8px; }
  .accordion-item{ margin-top: -10px; }
  .accordion-trigger{ padding: 12px 14px; border-radius: 8px 8px 0 0; }
  
  .hero-line .text {
    font-size: 30px;
    bottom: -2px;
}

.hero-line img {
    width: 110px;
}

h1.hero-line {
    top: 0;
    gap: 5px;
}
}
