* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;      
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 3% 5%;
    align-items: center;
}

.nav-link {
    flex: 1;
    text-align: right;
}
.nav-link ul li {
    padding: 8px 12px;
    display: inline-block;
    position: relative;
}

.nav-link ul li a {
    text-decoration: none;
    color: rgb(251, 247, 231);
    font-size: 20px;
    font-weight: 300;
}

.nav-link ul li a::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #EE4266;
    display: block;
    margin: auto;
    cursor: pointer;
    transition: 0.5s;
}

.nav-link ul li a:hover::after {
    width: 100%;
}

header {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(31, 6, 0, 0.7),rgba(4,9,30,0.7)), url('Images/background.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.col {
    margin-left: 20px; 
}
.col-left {
    flex: 2; 
    margin-top: 15%;
}

.col-right {
    flex: 1; 
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.name {
    max-width: 600px;
    text-align: left;
    font-size: 6rem;
    color: white; 
}

.about_desc{
    font-size: 1.5rem;
    color: #bbb;
    margin-top: 10px;
    padding-top: 0px;
}
.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #645bff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 5%;
    top: 10%;
    animation: pulse 2s infinite;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}


.header_info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    height: 100vh;
}


.blog_cards {
    justify-content: end;
    margin-bottom: 20px;
    margin-left: 50px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%; 
    transition: background-color 0.3s ease;
    width: 80%;
}

.blog_cards h1 {
    color: #111;
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.2; 
}

.blog_cards .post-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog_cards .post-body {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1; 
}

.blog_cards .post-read-more {
    color: #645bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.blog_cards .post-read-more:hover {
    color: #111;
}

.blog_cards:hover {
    background-color: rgba(255, 255, 255, 0.9); 
}

main {
    padding: 20px;
}

#about {
    min-height: 100vh;
    padding-top: 50px;
}

h2 {
    font-size: 2rem;
    margin-top: 0;
}


#scroll-to-about {
    position: absolute;
    bottom: 8%;
    left: 3%;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1000;
    justify-content: baseline;
}


button {
    --primary-color: #645bff;
    --secondary-color: #fff;
    --hover-color: #111;
    --arrow-width: 10px;
    --arrow-stroke: 2px;
    box-sizing: border-box;
    border: 0;
    border-radius: 20px;
    color: var(--secondary-color);
    padding: 1em 1.8em;
    background: var(--primary-color);
    display: flex;
    transition: 0.2s background;
    align-items: center;
    gap: 0.6em;
    font-weight: bold;
  }
  
  button .arrow-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  button .arrow {
    margin-top: 1px;
    width: var(--arrow-width);
    background: var(--primary-color);
    height: var(--arrow-stroke);
    position: relative;
    transition: 0.2s;
  }
  
  button .arrow::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    border: solid var(--secondary-color);
    border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
    display: inline-block;
    top: -3px;
    right: 3px;
    transition: 0.2s;
    padding: 3px;
    transform: rotate(-45deg);
  }
  
  button:hover {
    background-color: var(--hover-color);
  }
  
  button:hover .arrow {
    background: var(--secondary-color);
  }
  
  button:hover .arrow:before {
    right: 0;
  }

  #scroll-to-contact {
    position: absolute;
    bottom: 8%;
    left: 14%;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1000;
    justify-content: baseline;
}
section{
    background-image: linear-gradient(135deg,rgba(69, 67, 147, 0.947),rgba(4,9,30,0.7));
    border: #b0a20eba;
    border-style:solid;
    border-width: 1px;
    border-top-width: 2px;
}
.about{
    background-color: #0C0C0C;
    padding: 3% 5%;
    align-items: center;
}
.about-left{
    background-color: #0C0C0C;
    padding: 2% 4%;
    text-align: left;
    border-width: 5px;
    justify-self: start;
    height: 76vh;
    border-radius: 10px;
    animation: slideInFromLeft ease-in-out both;
    animation-timeline: view();
    animation-range: entry 10% cover 50%;
}

.about-right{
    border-left: #FFDE4D;
    animation: slideInFromLeft ease-in-out both;
    animation-timeline: view();
    animation-range: entry 10% cover 50%;
}
.about-info h1{
    font-size: 6rem;
    color: #645bff;
}
.about-info p{
    color: #7d638d;
    font-size: 1.5rem;
}

.scroll-to-contact2 {
    position: absolute;
    bottom: 6%;
    right: 14%;
    margin: 30px;
    cursor: pointer;
    z-index: 1000;
    background-color: #645bff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.scroll-to-contact2:hover {
    background-color: #111;
}

.scroll-to-contact2 .arrow-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-to-contact2 .arrow {
    width: 10px;
    height: 10px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.scroll-to-contact2:hover .arrow {
    transform: rotate(-45deg) translate(2px, 2px);
}

.about-pic img{
    width: 80%;
    height: 35vh;
    align-content: center;
}

@keyframes slideInFromLeft{
    from{
         opacity: 0;
         transform: translateX(-100%);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight{
    from {
         opacity: 0;
         transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



.animate-from-left{
    animation: slideInFromLeft 1s ease-out forwards;
}

.animate-from-right{
    animation: slideInFromRight 1s ease-out forwards;
}
.contact{
    background-image: linear-gradient(linear-gradient(rgba(31, 6, 0, 0.7),rgba(4,9,30,0.7)));
    height: 100vh;

}
.section-container{
    background: #0C0C0C;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px;
    padding: 0px;
}

.messageInfo{
    background-image: linear-gradient(135deg,rgba(182, 121, 248, 0.774),rgba(101, 0, 254, 0.7));
    padding: 2%;
    border-radius: 10px;
    flex: 1.5;
    margin:3% ;
    animation: slideInFromLeft ease-in-out both;
    animation-timeline: view();
    animation-range: entry 10% cover 50%;
}

.messageInfo h2{
    color: #d2abff;
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 5em;
}

form{
    display: flex;
    flex-direction: column;
    padding: 1vw 2vw;
    width: 100%;
    max-width: 600px;
}

.contactInfo{
    background-image: linear-gradient(rgba(31, 6, 0, 0.7),rgba(4,9,30,0.7)), url('Images/Prayon1.jpg');
    width: 50%;
    height: 100vh;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items:flex-start;
    justify-content: center;
    flex: 3;
    flex-wrap: wrap;
}

.contactInfo .box{
    margin: 10px 80px;
    margin-left: 2%;
    position: relative;
    width: 50px;
    height: 50px;
}

.contactInfo .box .icon{
    width: 100%;
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    color: #757575;
}
.contactInfo .box .text{
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    padding: 10px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 999;
}

.contactInfo .box:hover .text {
    display: block;
}
.box .icon {
    padding: 10px;
    margin-right: 10px; 
    border-radius: 50%;
    transition: background-color 0.3s ease;
}
  
.box:hover .icon {
    background-color: transparent; 
}
  

.icon.twitter:hover {
    color: #E1E8ED;
    background-color: #14171A; 
}
  
.icon.facebook:hover {
    color: #E1E8ED;
    background-color: #4267B2; 
}
  
.icon.whatsapp:hover {
    color: #E1E8ED;
    background-color: #25D366; 
}
  
.icon.instagram:hover {
    color: #E1E8ED;
    background-color: #E4405F; 
}

.icon.email:hover {
    background-color: #e1ea35; 
    color: #000000;
}

.icon.phone:hover {
    color: #E1E8ED;
    background-color: #34B7F1; 
}
form input, textarea{
    border: 0;
    margin: 10px 0;
    padding: 15px;
    outline: none;
    background: #b7b3ffe9;
    border-radius: 10px;
    font-size: 16px;
}

/* form button{
    font-size: 20px;
    width: 150px;
    text-align: center;
    padding: 10px;
    border: 0;
    outline: none;
    margin: 20px 0;
} */

form button {
    font-size: 18px;
    width: 200px;
    height: 50px; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border: none;
    outline: none;
    margin: 20px auto 0;
    background-color: #4CAF50; 
    color: white; 
    border-radius: 10px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

form button:hover {
    background-color: #45a049; 
    transform: scale(1.05); 
}

form button:active {
    background-color: #398d3e;
    transform: scale(0.98);
}

.box i{
    font-size: 30px;
}

.parent-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
    background-color: #f0f0f0; 
}


.container2{
    max-width: 100vw;
    margin: 20px ;
    background: rgba(214, 214, 214, 0.14);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container3 {
    max-width: 100vw;
    height: 80vh; 
    margin: 20px; 
    background: rgba(214, 214, 214, 0.14);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto; 
    box-sizing: border-box; 
}
.blog-content{
    display: flex;
    flex-wrap: wrap;
}

.table-container {
    max-width: 100%;
    height: 480px;
    overflow-y: auto;
}
.table-container::-webkit-scrollbar {
    width: 7px; 
}
.table-container::-webkit-scrollbar-track {
    background-color: #ffffff; 
}
.table-container::-webkit-scrollbar-thumb {
    background-color: #007bffb8;
    border-radius: 10px; 
}
h1 {
    text-align: left;
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 50px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    color: #edededb8;
}
th {
    background-color: #007bffb8;
    color: white;
}

a {
    text-decoration: none;
    color: #edededb8;
    transition: 0.3s;
}
a:hover {
    text-decoration: underline;
    color: #007bffb8;
}
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    th, td {
        padding: 8px;
    }
}
.post {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    flex: 1 1 calc(33.333% - 40px); 
    max-width: calc(33.333% - 40px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.post:hover {
    transform: scale(1.05);
}

.post img {
    width: 100%;
    height: auto;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.post h2 {
    font-size: 1.8em;
    margin: 20px;
    color: #333;
}

.post p {
    font-size: 1.1em;
    line-height: 1.6;
    margin: 20px;
    color: #666;
}

.post .read-more {
    display: block;
    width: fit-content;
    margin: 20px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.post .read-more:hover {
    background-color: #0056b3;
}
