*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',sans-serif;
}

body{
background:#f7f7f7;
}

.about-tarema{
padding:90px 20px;
background:#fff;
}

.container{
max-width:1000px;
margin:auto;
}
/* ABOUT TAREMA SECTION - Two Columns */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* 50% columns */
  gap: 40px;
  align-items: center;
  padding: 20px;
}
.about-text-column {
  padding-right: 20px;
}
.about-image-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tarema-image {
  width: 100%;
  max-width: 600px;  /* Adjust size */
  height: 530px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);  /* Optional: shadow for image */
}

.about-text{
color:#555;
line-height:1.7;
margin-bottom:20px;
font-size:16px;
text-align: justify;
}

.about-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
margin:40px 0;
}

.about-card{
background:#f7f7f7;
padding:25px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.about-card h3{
margin-bottom:10px;
color:#4c7dff;
}

@media(max-width:768px){

.about-grid{
grid-template-columns:1fr;
}

}




.section{
padding:90px 20px;
text-align:center;
}

.tag{
color:#4c7dff;
font-size:14px;
margin-bottom:10px;
}

.title{
font-size:38px;
font-weight:600;
margin-bottom:70px;
}

.wrapper{
position:relative;
max-width:900px;
height:420px;
margin:auto;
}

/* CENTER */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Segoe UI',sans-serif;
}

body{
  background:#f7f7f7;
}

/* SECTION */

.section{
  padding:90px 20px;
  text-align:center;
}

.title{
  font-size:38px;
  font-weight:600;
  margin-bottom:70px;
}

/* WRAPPER */

.wrapper{
  position:relative;
  max-width:900px;
  height:420px;
  margin:auto;
}

/* CENTER CIRCLE */

.center-circle{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  
  width:120px;
  height:120px;
  border-radius:50%;
  
  background: linear-gradient(135deg,#ff7a00,#ff9f3f);
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  font-weight:600;
  font-size:16px;

  box-shadow:0 15px 40px rgba(0,0,0,0.15);
  z-index:2;
}

.circle-text{
  line-height:1.2;
}
/* SVG LINES */
.lines{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:1;
}

.lines path{
  stroke:#dfe6ff;
  stroke-width:2;
  fill:none;
  stroke-linecap:round;

  stroke-dasharray:600;
  stroke-dashoffset:600;

  animation:drawLine 1.5s ease forwards;
}

.lines path:nth-child(1){animation-delay:.2s;}
.lines path:nth-child(2){animation-delay:.4s;}
.lines path:nth-child(3){animation-delay:.6s;}
.lines path:nth-child(4){animation-delay:.8s;}
.lines path:nth-child(5){animation-delay:1s;}
.lines path:nth-child(6){animation-delay:1.2s;}

@keyframes drawLine{
  to{
    stroke-dashoffset:0;
  }
}
/* CARDS */

.card{
  position:absolute;
  width:240px;
  background:white;
  border-radius:12px;
  padding:22px;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
  text-align:left;
  transition:.3s;
}

.card h3{
  font-size:18px;
  margin-bottom:8px;
}

.card p{
  font-size:14px;
  color:#555;
  line-height:1.5;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

/* CARD POSITIONS */

.card1{
  top:-40px;
  left:150px;
}

.card2{
  bottom:-50px;
  left:150px;
}

.card3{
  top:-40px;
  right:150px;
}

.card4{
  bottom:-50px;
  right:150px;
}

.card5{
  top:150px;
  left:-50px;
}

.card6{
  top:150px;
  right:-50px;
}

/* TEAM SECTION */

.team-section{
    background:#f5f5f5;
    padding:60px 20px;
}

.team-title{
    text-align:center;
    font-size:36px;
    margin-bottom:40px;
}

.team-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.team-card{
    background:white;
    border:1px solid #ddd;
    text-align:center;
	overflow:hidden;
}

.team-card img{
    width:100%;
    height:300px;
    object-fit:contain;
}


.team-card h3{
    margin:15px 0 5px;
}

.team-card p{
    color:#777;
    font-size:14px;
    margin-bottom:15px;
}


.team-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 15px 20px;
}

.btn{
    background:#2e6df6;
    color:white;
    padding:6px 12px;
    font-size:13px;
    text-decoration:none;
    border-radius:3px;
}

.social i{
    margin-left:8px;
    color:#777;
}

.social i:hover{
    color:#2e6df6;
}

/* Responsive */

@media(max-width:900px){
.team-container{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:500px){
.team-container{
grid-template-columns:1fr;
}
}




/* RESPONSIVE */

@media(max-width:768px){

  .wrapper{
    height:auto;
    display:grid;
    gap:25px;
  }

  .card{
    position:relative;
    width:100%;
  }

  .center-circle{
    position:relative;
    transform:none;
    margin:30px auto;
  }

  .lines{
    display:none;
  }
  .about-container {
    grid-template-columns: 1fr;
  }

  .tarema-image {
    width: 80%;  /* Adjust size for mobile */
    margin: 0 auto;
  }

}
