a.link-text:hover
{
	color:#d58e00;
}
a.link-text
{
	color:#160066;
	text-decoration:underline;
}
a.link-text1
{
	color:#fff;
	
}
a.link-text1:hover
{
	color:#d58e00;
	
}
.text-center
{
	text-align:center;
}

button.octf-btn {
    display: block !important;
    margin: auto !important;
	    padding:7px 29px;
    font-size: 14px;
    border-radius: 25px;
}	
.octf-btn:hover, .octf-btn:focus {
    background: #d58e00;
}

 button.my-readmore-btn {
        background: #160066;
        color: #fff;
        border: none;
        padding: 10px 22px;
        border-radius: 25px !important;;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease !important;;
    }
    button.my-readmore-btn:hover {
        background: #fff;
		border:1px solid #160066;
		color:#1a67b0;
    }
    
    .simple-readmore {
    /* Remove overflow hidden here */
    margin-bottom: 20px;
    position: relative; /* keeps expansion scoped */
}

.simple-readmore-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    opacity: 0;
}

.simple-readmore-content.active {
    max-height: 1000px; /* enough for most content */
    opacity: 1;
}

/*team css*/


.team-grid {
   display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 30px; 
}


.team-member {
  background-color:#F7F4ED;
  border: 1px solid #eee;
  border-radius: 12px;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 20px;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}


.team-member img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  max-width: 180px;
  margin: 0 auto 15px;
  display: block;
}


.team-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #000;
  transition: color 0.3s ease;
  font-family:'Montserrat';
}

.team-member a {
  text-decoration: none;
}

.team-member a:hover h3 {
  color: #0073aa; 
}


.team-content p {
  font-size: 16px;
  color: #000;
  line-height: 1.6;
  font-weight:normal;
}


@media (max-width: 768px) {
	button.my-readmore-btn {
      display:block;
      margin:auto;
    }
  .team-grid {
    gap: 20px;
  }

  .team-member {
    padding: 15px;
  }

  .team-member h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-member img {
    max-width: 140px;
  }

  .team-member h3 {
    font-size: 1rem;
  }
}




/* service grid home*/


/* Service Grid Widget Styles */

/* Container */
.service-grid-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	padding: 20px;
}

/* Service Item Card */
.service-item {
	padding: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	overflow: hidden;
}

.service-item:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	transform: translateY(-5px);
}

/* Desktop/Tablet Layout */
.service-content-desktop {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.service-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	border-radius: 8px;
	margin-bottom: 20px;
	background: #f5f5f5;
}

.service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.service-item:hover .service-image img {
	transform: scale(1.05);
}

.service-title {
	font-size: 20px;
	font-weight: 600;
	color: #333;
	margin: 0 0 15px 0;
	line-height: 1.4;
}

.service-description {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin: 0 0 20px 0;
	min-height: 60px;
}

.read-more-btn {
	display: inline-block;
	padding: 12px 30px;
	background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
	color: #ffffff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.read-more-btn:hover {
	background: linear-gradient(135deg, #005a87 0%, #004470 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

/* Mobile Layout - Hidden by Default */
.service-content-mobile {
	display: none;
}

/* ==================== TABLET VIEW ==================== */
@media (max-width: 1024px) {
	.service-grid-container {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
		padding: 15px;
	}

	.service-item {
		padding: 18px;
	}

	.service-image {
		height: 180px;
		margin-bottom: 15px;
	}

	.service-title {
		font-size: 18px;
		margin-bottom: 12px;
	}

	.service-description {
		font-size: 13px;
		margin-bottom: 15px;
		min-height: 50px;
	}

	.read-more-btn {
		padding: 10px 25px;
		font-size: 13px;
	}
}

/* ==================== MOBILE VIEW ==================== */
@media (max-width: 767px) {
	.service-grid-container {
		grid-template-columns: 1fr;
		gap: 15px;
		padding: 10px;
	}

	/* Hide Desktop/Tablet Content */
	.service-content-desktop {
		display: none;
	}

	/* Show Mobile Content */
	.service-content-mobile {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 12px;
		gap: 12px;
	}

	.service-item {
		padding: 10px;
		border: 1px solid #e0e0e0;
		border-radius: 6px;
		background: #ffffff;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	}

	.service-item:hover {
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
		transform: none;
	}

	/* Mobile Image */
	.service-image-mobile {
		flex-shrink: 0;
		width: 50px;
		height: 50px;
		border-radius: 50%;
		overflow: hidden;
		background: #f5f5f5;
	}

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

	/* Mobile Title */
	.service-title-mobile {
		flex-grow: 1;
		font-size: 15px;
		font-weight: 600;
		color: #333;
		margin: 0;
		text-align: left;
		line-height: 1.3;
		word-break: break-word;
	}

	/* Plus Icon */
	.plus-icon-mobile {
		flex-shrink: 0;
		font-size: 22px;
		color: #0073aa;
		font-weight: bold;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		background: #f0f7ff;
		border-radius: 50%;
		transition: all 0.3s ease;
	}

	.service-item:hover .plus-icon-mobile {
		background: #0073aa;
		color: #ffffff;
		transform: scale(1.1);
	}
}

/* ==================== SMALL MOBILE VIEW (Extra Small Devices) ==================== */
@media (max-width: 480px) {
	.service-grid-container {
		gap: 12px;
		padding: 8px;
	}

	.service-content-mobile {
		padding: 10px;
		gap: 10px;
	}

	.service-image-mobile {
		width: 45px;
		height: 45px;
	}

	.service-title-mobile {
		font-size: 14px;
	}

	.plus-icon-mobile {
		font-size: 20px;
		width: 28px;
		height: 28px;
	}
}
