/*
Theme Name: DigiOpine Theme
Theme URI: https://digiopine.com
Description: This is the official WordPress theme of DigiOpine.
Author: Puja Srivastava
Author URI: https://digiopine.com/author/pujasrivastava
Template: oceanwp
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


.hero-section {
    background-image: url('https://www.webdeskart.com/wp-content/uploads/bg.webp');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom:40px;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 15px; /* For some padding on smaller screens */
}

.hero-content h1 {
    font-size: 35px;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #F75D1E;
    color: #fff;
	font-weight:600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 45px;
    transition: background 0.3s ease;
}

.hero-button:hover {
    background: #FFA500;
    color:#fff;
}

.hcontainer {margin:50px 0 50px 0;
}

.section-heading {
 font-size:30px;  
 font-weight:700;
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.section-heading::before,
.section-heading::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ebdddd;
}

.section-heading:not(:empty)::before {
  margin-right: 10px;
}

.section-heading:not(:empty)::after {
  margin-left: 10px;
}


.latest-posts-cards {
    display: grid;
    grid-template-columns: 1fr; /* Default to 1 column on mobile */
    gap: 20px;
    padding: 20px 0;
}

@media (min-width: 600px) {
    .latest-posts-cards {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (min-width: 900px) {
    .latest-posts-cards {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}

.card {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

.card-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.card-title {
    font-size: 18px;
    margin: 15px;
    text-align: center;
}

.card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #0073e5; /* Astra's primary color */
}

.service-icons {
	width: 100px!important;
	margin: 25px auto;
}

.card p {
	text-align:center;
	padding: 0 20px 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 25px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-button {
        padding: 0.8rem 1.5rem;
    }
}

.toctitle {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #333;
	text-align:center;
}

.toch2 {
  font-weight: 600;
  color: #455a64;
  text-decoration: none;
}

.toch3 {
  color: #546e7a;
  text-decoration: none;
}

.toc-list {
  list-style: none;
  padding-left: 0;
}

@media screen and (min-width: 1024px) {
  .wda-left-column {
    top: 20px; /* Adjust based on your header height */
    z-index: 10;
  }
}



/* Content Area */

.wda-container {
    max-width:1150px;
  display: flex;
  flex-wrap: wrap;
      margin: 0 auto;
}

.wda-left-column {
  width: 28%;
  padding: 10px;
	border-radius:10px;
     border: solid 2px #90a4ae;
    margin: 0 20px 0 0;
	background: #e1f5fe;
  box-sizing: border-box;
	height: fit-content;
}

.wda-right-column {
  width: 70%;
  padding: 10px;
  box-sizing: border-box;
}

/* Responsive for mobile devices */
@media screen and (max-width: 768px) {
  .wda-left-column,
  .wda-right-column {
    width: 100%;
  }
}


/* HomePage Grid Layout for Category Tools */

 .grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
	        max-width:1200px;
            padding: 20px;
	       
        }

        .grid-item {
            background-color: white;
            padding: 20px;
            text-align: center;
            border-radius: 10px;
			 border:solid 2px #e0e0e0;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .grid-item img {
            width: 50px;
            height: 50px;
            margin-bottom: 10px;
        }

        .grid-item p {
            margin: 0;
            font-weight: 600;
            font-size: 18px;
            color: black;
        }

        .grid-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* Media Query for Mobile Devices */
        @media (max-width: 600px) {
            .grid-container {
                grid-template-columns: repeat(1, 1fr);
            }
        }

.page-numbers {
    padding: 10px 15px 10px 15px;
    border-radius: 5px;
}

.salesnumber {
font-weight: 500;
    color: #000;
	font-size:18px;
    background: #d4e157;
    width: fit-content;
    padding: 5px 15px;
    border-radius: 90px;
	margin:5px 0 15px 0;
	}

/* Single Post */
.wdacontainer{
    max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
      box-sizing: border-box;
}

 .wdapost {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            overflow: hidden;
        }

        .mainarticle {
            width: 70%;
            float: left;
            box-sizing: border-box;
            padding: 20px;
        }

        .articlesidebar {
            width: 28%;
            float: right;
            box-sizing: border-box;
        }

        @media screen and (max-width: 768px) {
            .mainarticle, .articlesidebar {
                width: 100%;
                float: none;
            }
        }
        
/* Author Profile */
.author-box {
  background: #bde6ff;
  border-radius: 16px;
  padding: 20px;
  margin: 5px;
  max-width: 100%;
  width: 100%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.author-box::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: #709cf5;
  border-radius: 50%;
  opacity: 0.2;
}

.author-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.author-avatar {
  width: 250px;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 3px solid white;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h3 {
  margin: 0;
  font-size: 22px;
}

.author-info p {
  margin: 0;
  font-size: 14px;
  color: #747171;
}

.author-bio {
  margin-bottom: 15px;
  font-size: 14px;
  color: #444;
}

.stats {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 15px;
}

.stats div {
  text-align: center;
  font-size: 14px;
}

.buttons {
  display: flex;
  gap: 10px;
}

.buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.buttons .follow {
  background: #000;
  color: #fff;
}

.follow a {
  color: #fff;
}

.buttons .view-profile {
  background: #fff;
  border: 2px solid #000;
  color: #000;
}

/* Make buttons full width on small screens */
@media (max-width: 600px) {
  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .buttons button {
    width: 100%;
  }
}

/* Center image, name, and bio on mobile */
@media (max-width: 500px) {
  .author-box {
    padding: 15px;
  }

  .author-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-avatar {
    margin-bottom: 10px;
    margin-right: 0;
  }

  .author-info h3,
  .author-info p {
    text-align: center;
  }

  .author-bio {
    text-align: center;
  }
}

    
        
/* Container for the grid */
.wdacard-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
	margin-bottom:75px;
}

/* Styling for each card */
.wdacard {
  width: 30%; /* Adjust the width as per your design */
  margin: 10px;
  background:#F8F8F8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;

  /* Ensure responsiveness */
  @media (max-width: 768px) {
    width: 100%; /* Adjust the width for smaller screens */
  }

  /* Style for the image within the card */
  .wdacard-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0; /* Optional: Rounded corners for the image */
  }

  /* Style for the title within the card */
  .wdacard-title {
    padding: 10px;
    font-weight:600;
    text-align: center;
    background-color: #f8f8f8;
    border-radius: 0 0 8px 8px; /* Optional: Rounded corners for the title */
  }
}

/* Hover effect for the cards */
.wdacard:hover {
  transform: scale(1.02);
}

/* Code Snippet Show */
pre {
    color: #fff !important;
    margin:0 0 20px 0 !important;
    background: #37474f !important;
    border-radius: 10px !important;
}


.wdabutton {
    background-color: #A59D00;
    border: none;
	  font-weight:600;
    color: white;
    padding: 10px 20px;
    text-align: center;
    margin: 10px 0 10px 0;
    opacity: 0.8;
    border-radius: 5px;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}
.wdabutton:hover {
color:#fff;
}

.blog-entry.post ul.meta {
	margin:0px;
	padding:0px;
}
#site-navigation-wrap .dropdown-menu>li.btn>a>span {
	background-color: #204DCC;}

#mobile-dropdown #mobile-menu-search {display:none;}

time.published {
    display: none;
}

.sidebar-toc {
  background-color: #f7f7f7;
  padding: 20px;
}

.sidebar-toc ul {
  list-style: decimal;
  margin: 0 0 0 15px;
	font-size: 16px;
	font-weight:600;
  padding: 0;
}

.sidebar-toc li {
  margin-bottom: 10px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
}

.sidebar-toc a {
  display: block;
  font-size: 16px;
  color: #333;
	font-weight:600;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.sidebar-toc a:hover {
  color: #204DCC;
  transform: translateX(2px);
}

.single-post ul.meta {
text-transform:uppercase;
	font-weight:500;
}

.blog-entry.grid-entry .blog-entry-inner {
    padding: 10px 20px 10px 20px; 
}


table th {
    text-transform: none;
font-weight: 700!important;
}

/* Tool Page Column */
.wdabox {
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Two-column layout */
.wdacol {
  width: 100%;
  float: left;
  box-sizing: border-box;
}

/* First Column Background: Sky Blue */
.wdacol:first-child {
  padding: 5px;
}
.wdacol:nth-child(2) {
  margin:0;
}


@media (min-width: 768px) {
/* First Column Background: Sky Blue */
.toolcol:nth-child(2) {
  padding: 0 0 0 40px ;
}
}

@media (min-width: 768px) {
  .wdacol {
    width: 50%;
    padding: 0 15px 0 15px;
  }
}



form {
  justify-content: center;
  align-items: center;
	margin-bottom:30px;
}

form input[type="url"] {
  padding: 10px 15px;
  margin:0 0 15px 0;
  border: 1px solid #ddd
  border-radius: 5px;
  font-size: 16px;
    background: #fff;
}

label {
	font-weight: 600;
}

form input[type="text"] {
  padding: 10px 15px;
  margin:0 0 15px 0!important;
  border: 1px solid #ddd
  border-radius: 5px;
  font-size: 16px;
    background: #fff;
}

form input[type="number"] {
  padding: 10px 15px;
  margin:0 0 15px 0;
  max-width:100%;
  border-radius: 5px;
  font-size: 16px;
  border:1px solid #ddd;
    background: #fff;
}

form input[type="submit"] {
  border: none;
	height: 55px;
  border-radius: 5px;
	padding:15px;
  background-color: #007bff;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
	margin:-15px 0 0 10px;
}

form select {
height: 55px;
	font-size:16px;
}

textarea {
  padding: 10px 15px;
  margin:0 0 15px 0;
  max-width:100%;
  border-radius: 5px;
  font-size: 16px;
  border:1px solid #ddd;
	width:100%;
  background: #fff;
}


form textarea {
     padding: 15px;
  margin:0 0 15px 0;
	  font-size: 16px;
}

input[type="submit"]:hover {
  background-color: #0056b3;
}
table th {
    text-transform: none;
font-weight: 700!important;
