/* Basic styling for the container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Ensures that the row is full-width and properly aligned */
.row {
    display: flex;
    justify-content: space-between; /* Ensure columns have space between them */
    align-items: center;
    flex-wrap: wrap;  /* Allow columns to wrap on smaller screens */
    width: 100%;
}

.first {
    background-image: url('img/backk.png');
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
   padding-top: 30px;
    width: 100%; /* Ensures the div takes up the full width */
  
}

/* Styling for individual sections inside each column */
.sec {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
}

/* Ensures the image is responsive and fits within its container */
.col-md-12 {
    width: 100%;
}

/* Styling for the right_end div */
.right_end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
 
}

/* Make the image responsive */
.right_end img {
    width: 100%;
    height: auto;
    max-width: 100px;  /* Limit the image width */
  
}
@media (max-width: 767.98px) {
    .right_end {
       
        padding-top: 15px;              /* Reduce padding on mobile */
      
    }

    .right_end img {
        max-width: 70px;           /* Adjust image size for mobile */
    }
}

.coll {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sec {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sec h2{
    font-size: 5rem;
}

.col-md-3 {
    padding: 10px;
}

.col-md-3 img {
    max-width: 100%;
    height: auto;
    width: 120px; /* Set image width to 120px */
}

/* For large screens */

/* For smaller screens */
@media (max-width: 767px) {
    .col-md-3, .col-md-6 {
        flex: 1 1 100%;
    }
    
    h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    .sec {
        flex-direction: column; /* Stack elements vertically */
        text-align: center; /* Center the text */
    }
    
    .sec h2 {
        font-size: 2rem; /* Reduce font size for smaller screens */
    }
}

/* Basic styling for sec3 */
.sec3 {
    display: flex;               /* Flexbox layout */
    justify-content: space-between;  /* Space between columns */
    align-items: center;         /* Align items vertically */
    flex-wrap: wrap;             /* Allow wrapping on small screens */
    padding: 20px;.coll {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}



.col-md-3, .col-md-6 {
    padding: 10px;
}

.col-md-3 img, .col-md-6 h2 {
    max-width: 100%;
    height: auto;
}

/* For large screens */
@media (min-width: 768px) {
    .col-md-3 {
        flex: 1 1 23%;
    }
    .col-md-6 {
        flex: 1 1 50%;
    }
}

/* For smaller screens */
@media (max-width: 767px) {
    .col-md-3, .col-md-6 {
        flex: 1 1 100%;
    }
    
    h2 {
        font-size: 1rem;
        text-align: center;
    }
}

    width: 100%;
}

/* Styling for the images */
.main1 img {
    width: 100%;
    height: auto;
    max-width: 400px;  /* Limit image width */
    border-radius: 8px;
   
}

/* Styling for the text container */
.main2 h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000;
    line-height: 1.6;
    text-align: justify;  /* Justify the text for better readability */
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sec3 {
        flex-direction: column;  /* Stack columns vertically on smaller screens */
        align-items: center;     /* Center the content */
    }

    /* Ensure the image fits well on smaller screens */
    .main1 img {
        max-width: 100%;  /* Allow image to take full width */
    }

    /* Adjust the text size on smaller screens */
    .main2 h4 {
        font-size: 1rem;
        padding: 0 15px;  /* Add padding for better readability */
    }
}
.buu {
    padding-top: 20px;
    text-align: center; /* If you want to ensure it's centered */
}

.success {
    font-size: 19px ;
    border-radius: 25px ;
    background-color: #47B14E !important;
    color: #fff;
    padding: 6px;
    font-weight: 600;
}
.success:hover {
    background-color:rgb(255, 153, 0) !important;/* Slightly darker shade for hover */
}

.img-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* This creates a 1:1 aspect ratio (square) */
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the square area */
    padding: 4px;
}
/* Flexbox for container */
.three.row {
    display: flex;
  }
  
  /* Ensure col-md-4 is used to handle 1/3 of the row */
  .col-md-4 {
    flex: 1 1 33.33%;
    padding: 0 10px; /* Adds padding around each column */
  }
  
  /* Post styling */
  .post {
    float: left;
    border-radius: 20px 20px 0px 0px;
    box-shadow: 0px 10px 15px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    width: 100%; /* Ensure the .post takes up full width of the column */
  
  }
  
  /* Image inside the post */
  .post > img {
    border-radius: 20px 20px 0px 0px;
    width: 100%;
  }
  
  /* Title inside the post */
  .post > .title {
    font-size: 25px; /* Change percentual value to change the size */
    width: 100%;
    text-align: center;
    padding: 20px;
  }
  
  /* Description inside the post */
  .post > .description {
    width: 100%;
    font-size: 1.5vw; /* Change percentual value to change the size */
    text-align: center;
  }
  

  
  /* Follow button */
  .post > .follow > a {
    margin: 4px;
    float: right;
    background-color: #47B14E;
    padding: 7px 30px; /* Change percentual value to change the size */
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px; /* Change percentual value to change the size */
 
}
.follow {
    display: flex;
    align-items: center;
    justify-content: center;
}
.main2 {
  
    padding: 20px;
    border-radius: 10px;

}

.main2 h3 {
    color: #333; /* Dark color for heading */
    font-size: 1.5em;
    margin-bottom: 20px;
}

.main2 a {
    display: block;
    color: #007bff; /* Link color */
    margin: 10px 0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    line-height: 1.6;
    text-align: justify;
}

.main2 a:hover {
    color: #0056b3; /* Darker color on hover */
}

.main2 i {
    margin-right: 8px;
    font-size: 1.2em;

}
/* Adjust icon size */
.fa-brands {
    font-size: 24px; /* Set desired icon size */
    color:#47B14E;
}



/* Add some hover effects if desired */
.fa-brands:hover {
    color: #333; /* Change color on hover */
    transform: scale(1.1); /* Slightly increase size on hover */
    transition: color 0.3s, transform 0.3s;
}
  
  /* Mobile Responsiveness */
  @media (max-width: 767px) {
    .col-md-4 {
      flex: 1 1 100%; /* On small screens, stack the posts */
    }
  
    .post > .title {
      font-size: 5vw; /* Adjust title font size on mobile */
    }
  
    .post > .description {
      font-size: 3vw; /* Adjust description font size on mobile */
    }
  
    .post > .date {
      font-size: 3vw; /* Adjust date font size on mobile */
    }
  
    .post > .follow > a {
      font-size: 3vw; /* Adjust button size on mobile */
    }
  }
  .welcome-text {
    font-size: 36px;
    line-height: 52px;
}

/* Only apply on screens smaller than 768px */
@media (max-width: 967.98px) {
    .welcome-text {
        font-size: 28px;
        line-height: 50px;
      
    }
    
    .mobile {
        width: 50%; /* Make button full width on mobile */
        margin-top: 10px;
        font-size: 17px;
        padding: 0px 0px; /* Adjust padding for smaller screens */
    }
    .main2 {
        padding: 0; /* Set padding to 0 on mobile */
    }
}
@media (max-width: 767.98px) {
    .welcome-text {
        font-size: 10px;
        line-height: 20px;
      
    }
    
    .mobile {
        width: 50%; /* Make button full width on mobile */
        margin-top: 10px;
        font-size: 17px;
        padding: 0px 0px; /* Adjust padding for smaller screens */
    }
    .main2 {
        padding: 0; /* Set padding to 0 on mobile */
    }
}
@media (max-width: 430px) {
    .welcome-text {
        font-size: 18px;
        line-height: 28px;
    }

    .mobile {
        font-size: 14px; /* Reduce button font size */
        padding: 0px 0px; /* Adjust padding for smaller screens */
    }
    .main2 {
        padding: 0; /* Set padding to 0 on mobile */
    }
    .buu{
        padding: 0;
        margin-bottom: 200px;
    }
}

.two {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 1008px) {
    .two {
        margin-top:  12rem; /* Adjust for medium-sized mobile screens */
    }
}
@media (max-width: 928px) {
    .two {
        margin-top:  12rem; /* Adjust for medium-sized mobile screens */
    }
}
/* Custom margin adjustments for various mobile screen sizes */
@media (max-width: 768px) {
    .two {
        margin-top:  25rem; /* Adjust for medium-sized mobile screens */
    }
}

@media (max-width: 576px) {
    .two {
        margin-top: 14rem; /* Adjust for smaller mobile screens */
    }
}

@media (max-width: 500px) {
    .two {
        margin-top: 10rem; /* Further adjust for very small mobile screens */
    }
}
@media (max-width: 430px) {
    .two {
        margin-top: 8rem; /* Further adjust for very small mobile screens */
    }
}
.pari {
    background-color: #47B14E;
    color: white;
    font-weight: 700;
    font-style: normal;
    font-kerning: none;
    text-decoration: none;
    border: none;
    padding: 10px 20px;
    border-radius: 25px; /* Optional: to give the button rounded corners */
    cursor: pointer;
    font-size: 22px;
}

.OYPEnA {
    font-weight: 700;
    font-style: normal;
    color: rgb(255, 255, 255);
    font-kerning: none;
    text-decoration: none;
}
.pari:hover {
    background-color: rgb(255, 115, 0); /* Change background to orange on hover */
}


