@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;700&display=swap');

body{
    background: #fff;
    width:100%;
    height:100%;
padding: 0px;
margin:0px;
overflow-x: hidden;
font-family: 'DM Sans', sans-serif !important;

}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 40%;
  align: left;
  margin-left: auto;
  margin-right: auto;
  padding: 1em;
  padding-bottom: 2%;
  padding-top: 2%;
}


td, th {
  border: 1px solid #aaa;
  text-align: left;
  padding: 8px;
  width: 50px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

/* navbar section */
.navbar{
    height:98px;
    width:100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border:1px #EEEEEE solid;
display: flex ;
align-items: center;
justify-content: center;



}
.navbar-content{
    width:80%;
    display: flex;
    justify-content: space-between;
  
}

.logo{
    width:161px;
    height:46.6px;
}
.navbar-data{
    color:#333333;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content:  center;
    gap: 40px;
    list-style: none;


}
.navbar-listitem a:hover {
    font-weight: 700;
}
.navbar-listitem a {
        text-decoration: none;
        color: #000;
        font-weight: 500;
    }
.navbar-list{
    display: flex;
    align-items: center;
    justify-content:  space-between;  
}
.navbar-button{
   width :180px;
    height:62px;
    background:#FF6700;
    color: #EEEEEE;
    border-radius: 8px;
    margin-left:30px;
    border:none ;
    font-weight: 600;
    font-size: 20px;
}
.navbar-button a {
    color: #FFF;
    text-decoration: none;
}
.hamburger {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}
/* featured section */
.featured-post {
    display: flex;
    height:707px;
    flex-direction: column;
    align-items: start;
   
    text-align: start;
    background-color: #24348C;
    color: white;
    position: relative;
    z-index: 40;

   
}
.featured-post-mobile{
    display: none;
}
.content{
   margin-left: 60px;
    width: 60%;
    margin-top: 60px;
}

.tag {
    font-size: 16px;
    font-weight: 500;
    color: #ccc;
}

h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 10px 0;
}



.btn {
   background-color: #24348C;
    color: #FFF;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px white;
    cursor: pointer;
    font-size: 16px;
    border-radius: 8px;
    border:1px white solid;
    margin-top: 40px;
  
}
  .btn a {
     color: #FFF;
     text-decoration: none;
  }

.image-container {
    width: 100%;
    height:500px;
    display: flex;
    justify-content: center;
    position: absolute;
    border-radius: 18px;
    bottom: -35%;
  
 
}
.image-container img{
    object-fit: contain;
    width: 90%;
}
.content-heading{
    font-size:42px;
    font-weight: 800;
    line-height: 47px;
}
.content-para{
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    line-height: 150%;
}
.fill-image{
    position: absolute;
    left:60%;
    top:25%;
}
.outlined-image{
    position: absolute;
    left:70%;
    top:10%;
    height:30%;
    width:30%
}

/* Categories Section */
.categories {
  margin-top:300px;
  margin-left: 60px;
}

.categories h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333333;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.category-buttons button {
    padding: 10px 20px;
    border: 1px solid #000;
    background: transparent;
    border-radius: 51px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    width: 292px;
    height:62px;
    color:#0B0B0B;
    font-weight: 600;
}



/* Recent Blogs Section */
.recent-blogs {
    padding: 40px;
    margin-left: 30px;
    margin-right: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: 24px;
    font-weight: bold;
}




/* Blog Card */
.blog{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width:100%;
}
.blog-img{
    width:50%;
    height:465px;
    border-radius: 16px;
}
.blog div{
    width:50%;
}


.blog-category {
   font-weight: 800;
   font-size:12px;
   color: #333333;
   line-height: 150%;
}
.blog-date{
    font-weight: 500;
    font-size: 12px;
    color: #595959;
    margin-left: 10px;
}

.blog-content {
    font-size: 32px;
    font-weight: 700;
  color:#333333;
}



.blog-description {
  font-weight: 400;
  font-size: 16px;
  color:#595959;
}

.read-more {
 
    border: 1px solid #FF6700;
    border-radius: 8px;
    background: transparent;
    color: #FF6700;
    cursor: pointer;
    border-radius: 8px;
    width:119px;
    height:40px;
}

.read-more:hover {
    background-color: #FF6700;
    color: white;
}
/* blogs */
.blog-container {
    display: flex;
    align-items: start;
    margin-left: 60px;
    justify-content: space-around;
   width:90%;
  
  margin-bottom: 20px;
  margin-top: 20px;
 
   
}
.card{
    
   width:30%;
 
   flex-direction: column;
   align-items: center;
   justify-content: start;
}


.card img {
    width: 100%;
    height: 307px;
    object-fit: cover;
    border-radius: 16px;
}

.content-blog {
   text-align: left;
    width:100%;
    margin-left: 0;
  
  margin-bottom: 30px;
}
.content-blog a {
    text-decoration: none;
    color: #000;
}
.content-blog a:hover {
    text-decoration: underline;
}


h3 {
    font-size: 24px;
 font-weight: 700;
 color: #333333;
}

figure {
    text-align: center;
    img {
        max-width: 100%;
        max-height: 100vh;
        margin: auto;
    }
}



p {
    font-size: 16px;
    color: #595959;
    font-weight: 400;
    text-wrap: wrap;
}

a {
  color: #0062FF;
  font-size: 16px;
  font-weight: 600;
}

a:hover {
    text-decoration: none;
}
/* popular blog */


/* Newsletter Section */
.newsletter {
    background-color: #FF6700;
    color: white;
   display: flex;
   align-items: center;
   justify-content: center;
    height: 524px;
    position: relative;
    z-index: 50;
  flex-direction: column;
  width: 100%;
  
  
}

.newsletter h2 {
    font-size: 52px;
    font-weight: 700;
   width:80%;
 text-align: center;
   
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 10px;
  width:90%;
  height:56px !important;

}


.subscribe-input {
   
    border: 2px white solid !important;
  
    border-radius: 8px !important;
    cursor: pointer !important;
    width: 25% !important;
 
  
}

.subscribe-button {
    background-color: #FF6700 !important;
    color: white !important;
    border: 2px white solid !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    width: 15% !important;
  
  
}

.subscribe-form button:hover {
    background-color: #fff4e6;
}
.newsletter-fill {
    position: absolute;
    left: 3%;
    top: 5%;
    z-index: 60;
    width:220px;
    height:161px
}
.newsletter-fill-blog {
    position: absolute;
    left: 3%;
    top: 5%;
    z-index: 60;
    width:220px;
    height:161px
}

.newsletter-outlined {
    position: absolute;
    right: 0%;
    bottom: 10%;
    z-index: 60;
    width:300px;
    height:200px
}
.newsletter-button{
   min-width: 214px;
   min-height: 56px;
   border: 1px #FFFFFF solid;
   border-radius: 8px;
   font-size: 18px;
   font-weight: 700;
   color: #FFFFFF;
   background: #FF6700;
}
.newsletter-button a {
    color: #FFF;
    text-decoration: none;
}

.newsleter-content{
   width: 60%;
   display: flex;
   align-items: center;
   justify-content: center;
flex-direction: column; 

gap:10px
}
.newsleter-content p{
    font-size:16px;
    font-weight: 400;
    color: white;
    width:70%;
    text-align: center;
    margin-top: 0px;
}



.subscribe-form button:hover {
    background-color: #333;
    color: white;
}

/* Footer Section */
footer {
    background-color:#EFEFEF;
    padding: 40px 5px;
    min-height: 380px;
}

/* Grid Layout for Footer */
.footer-container {
    display: flex;
   gap:40px;
 
    margin: 40px;
 
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: start;
 
    width: 310px;
}
.footer-brand img{
    width:161px;
    height: 42px;

}

.footer-brand p {
    width:80%;
    font-size: 16px;
    color: #595959;
    font-weight: 400;
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons i {
    font-size: 20px;
    color: black;
    transition: 0.3s;
}

.social-icons i:hover {
    color: #FF6700;
}

/* Footer Links */
.footer-links {
    display: flex;
  
gap:60px;

    flex-wrap: wrap;
}

.footer-links-tag{
    display: flex;
    flex-direction: column;
   
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-links ul li{
    display: block;
}

.footer-links ul li a {
    font-size: 18px;
    font-weight: 400;
    color: #595959;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #FF6700;
}
/* Default: Hide Arrows */
.arrow-icon {
    display: none !important;
}

/* Contact Section */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    font-size: 14px;
    color: #555;
}

/* Footer Bottom */
.footer-line{
    color:#D9DBE9;
    margin-left: 30px;

}
.footer-bottom {
    text-align: center;
    padding-top: 10px;
   margin-bottom: 0px;
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    margin-left: 30px;
}

/* swiper */
.hero {
    position: relative;
    width: 100vw; /* Ensure full viewport width */
    height: 500px;
    background: url('/assets/img/popularblog.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
 
    color: white;
    overflow: hidden; /* Prevent content from going out */
}



.content-container {
    display: flex;
    
     align-items: center;
     justify-content: space-between;
   
    z-index: 50;
}
.hero-content{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center; 
    position: absolute;
    left:2%;
}
.hero-content h2{
    font-size: 48px;
    font-weight: 700;
    line-height: 50px;
    width: 50%;
}

.slider-container {
    background-color: #FFFFFF;
    border-radius: 16px;
    width: 60%;
    height:361px;
    position: absolute;
    left:35%;
    display: flex;
    align-items: center;
    z-index: 100;

    margin-right:40px ;
}

.popular-cards {

    width: 100%;
    overflow: hidden;
    z-index: 150;
    height:350px;
    padding:10px;
    
    position: relative;
   
   
}

.popular-card {
    opacity: 0;
    opacity: 0;
    position: absolute;
    ;
    left: 4%;
    top:5%;
    width: 100%;
   
  
}

.popular-card.active {
    opacity: 1;
    z-index: 1000;
 
}

/* Parent div jo arrows ko hold karega */
/* Arrow container */
.arrow-container {
    position: absolute;
    bottom: -40px; /* Below the slider */
    left: 10%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px; /* Space between arrows */
    align-items: center;
}

/* Line-style arrows */
.arrow {
    font-size: 28px;
    font-weight: bold;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}

.arrow:hover {
    color: #ff6600; /* Change color on hover */
    transform: scale(1.1);
}

.pagination {
    position: absolute;
    bottom: -30px;
    left: 95%;
    transform: translateX(-50%);
    font-size: 14px;
    color: white;
}


.card-category{
    font-size:12px ;
    font-weight: 800;
    color:#333333;
    line-height: 150%;
    margin-bottom:10px;
    margin-top: 20px;
}
.card-date{
    font-size:12px;
    font-weight: 500;
    color:#595959;
    margin-bottom:10px;
    margin-top: 20px;
}
.card-description{
    font-size: 16px;
    color: #595959;
    font-weight: 400;
 
    width: 100%;
    margin-bottom: 10px;
}
.card-description p{
    width: 100%;
}
.card-heading{
    font-size: 32px;
    font-weight: 700;
    color:#333333;
    line-height: 100%;
 
    margin-bottom:10px;
}
.view-all{
    height:40px;
    width:auto;
    padding:20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
   color:#ffff;
    border:1px #FF6700 solid;
    background:#FF6700;
    cursor: pointer;


}
.view-all:hover {

    background: transparent;
    color: #FF6700;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
       
    }

    .navbar{
        height:98px;
        width:100%;
        display: flex;
        align-items: center;
        position: relative;
      
  
    }
    .navbar-content{
        width:80%;
    
        display: flex;
        justify-content: space-between;
       
      
    }
    
    .hamburger {
        font-size: 24px;
        cursor: pointer;
        display: block;
    }
    
    .navbar-list {
        display: none; /* Hidden by default */
        position: absolute;
        top: 100%; /* Appear right below the navbar */
        right:0 ;
        width: 50%;
        background-color: white; /* Match your design */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
        flex-direction: column;
        align-items: center;
       padding: 20px;
        z-index: 100;/* Hidden by default */
       
    }
    
    .navbar-list.active {
        display: flex; /* Show when active */
        flex-direction: column; /* Stack items vertically */
        align-items: center;
        gap: 15px; /* Add spacing between items */
    }
    .navbar-data{
        flex-direction: column; /* Stack items vertically */
        align-items: center;
        gap: 15px;
        text-decoration: none;
    }
    
    .navbar-listitem {
        width: 100%;
        padding: 15px;
        font-size: 18px;
        font-weight: 500;
        text-align: center;
        border-bottom: 1px solid #ddd; /* Optional: Divider */
    }
    .navbar-listitem a {
        text-decoration: none;
        color: #000;
    }
    
    .navbar-button {
        width: 80%;
        max-width: 250px;
        height: 50px;
        font-size: 18px;
        background-color: #ff6600; /* Adjust as needed */
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    .navbar-button a {
        color: #FFF;
        text-decoration: none;
    }
    /* features */
    .featured-post{
        display: none;
    }
    .featured-post-mobile {
        height: auto;
     padding-bottom: 120px;
        align-items: center;
          justify-content: center;
        position: relative;
        display: flex;
    
        flex-direction: column;
      
        background-color: #24348C;
        color: white;
   
        z-index: 40;
    }
    
  .content-mobile{
margin-left: 10px;
width: 90%;

margin-top: 60px;
  }
  .content-para-mobile{
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    line-height: 150%;
}
    .image-container-mobile {
        width: 100%;
        height:180px;
        display: flex;
        justify-content: center;
     
        position: absolute;
        z-index: 60;
        border-radius: 12px;
      top:90%;

    
     
    
    }
    .image-container-mobile img{
        object-fit: cover;
        width: 95%;
       
        height:180px;
        border-radius: 12px;


        
    }
 

    .fill-image-mobile{
        position: absolute;
    right:20%;
        top:12%;
        
        height:80px;
        width:90px;
    }
    .outlined-image-mobile{
        position: absolute;
       right:0%;
        top:2%;
        height:131px;
        width:30%;
    }
    .content-heading-mobile{
        font-size:28px;
        font-weight: 800;
        margin: 10px 0;

        line-height: 47px;
    }
    .tag-mobile{
    font-size: 16px;
    font-weight: 500;
    color: #ccc;
    }
    .btn-mobile{
    background-color: #24348C;
    color: #FFF;
    padding: 10px 20px;
    border: 1px white;
    cursor: pointer;
    font-size: 16px;
    border-radius: 8px;
    border:1px white solid;
    margin-top: 40px;
    }
    .btn-mobile a {
         color: #FFF;
            text-decoration: none;
    }
    
/* categories */
    .categories {
     flex-direction: column;
     width:100%;
    align-items: center;
    display: flex;
    margin-left: 0;
    object-fit: cover;
    margin-top:200px;
}

.categories h2 {
    font-size: 24px;
   
   
    text-align: start;
    width:90%

}
    .category-buttons {
        justify-content:start;
        align-items: start;
       
        width:90%
    }
    /* recent blogs */

    .recent-blogs {
      width:100%;
      padding:0;
      margin-left:0px;
     
      display: flex;
      align-items: center;
      flex-direction: row;
      justify-content: center;


    }
    .section-header {
width: 90%;

        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 24px;
        font-weight: bold;
    }
    

    .blog {
     display: none;
    }
    /* blogs */

    .blog-container {
        flex-direction: column;
        object-fit: cover;
        padding: 0;
        align-items: center;
        margin-left: 0;
        width:100%;
    }

    .card {
        flex-direction: column;
      
    object-fit: cover;
 display: flex;
  align-items: center;
       width:90%;
  

    }

    .card img {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
     
    }
    /* hero */

    .hero {
       
        display: flex;
        flex-direction: column;
        padding-bottom:100px;
        
        
    }
    .content-container {
       height:100%;
       align-items: center;
       display: flex;
       flex-direction: column;
    }
    .hero-content{
       
        position: absolute;
        left:2%;
        top:0%;
        height:30%;
        width: 60%;
     
    
    }
    .hero-content h2{
        font-size: 36px;
        font-weight: 700;
        line-height: 38px;
        width: 80%;
    }
    .slider-container {
        left:5%;
       top:30%;
        width: 90%;
        margin-top: 0px;
        padding-top: 10px;
        margin-right:40px ;
        height:50%;
   
        object-fit: cover;
     
    }
    .card-heading {
        font-size: 24px;
        margin-right: 20px;
    }
    .pagination {
   
        bottom: -30px;
        left: 90%;
       
    }
    .card-description{

margin-right: 20px;
    }
    /* newsletter */

    .newsletter {
        min-height: 402px;
   
 
     display: flex;
     align-items: center;
     justify-content: center;
        text-align: center;
    }

    .newsletter h2 {
        font-size: 28px;
        width:80%;
        margin-bottom: 15px;
     line-height: 100%;
text-align: center;

margin-left: 0;
left:0;
     
    }

    .subscribe-form {
        flex-direction: column;
        align-items: center;
        width:90% !important;
        left:10%;
        height:auto!important;
      
    }

    .subscribe-input {
   
    padding: 0px;
        width: 90% !important;
        height:56px !important
       
    }
    .subscribe-button {
   
    
        width: 90% !important;
        height:56px !important
       
    }
  
    .newsletter-outlined{
        height:72px;
        width:98px;
        top:10px;
        position: absolute;
        right:5%
    }
.newsletter-fill{
    height:125px;
    width: 170px;
    top:60px;
    position: absolute;
    left:8%
}
.content-blog {
     width:90%;
 }
.content-blog a {
    text-decoration: none;
    color: #000;
}
.content-blog a:hover {
    text-decoration: underline;
}

/* footer */
footer{
  min-height:539px;
    background-color: #EFEFEF;
  
}
.footer-container {
    flex-direction: column;
    margin: 0;
    
}
.icon{
    display: flex;
    justify-content: space-between;
  
}
.arrow-icon{
    margin-right: 20px;
}
.footer-links{
    flex-direction: column;
    gap:0;
    position: relative;
  
}
.footer-links ul {
    display: none; /* Hide lists by default */
    list-style: none;
    padding: 0;
}
.footer-links h4 {
    margin-bottom:4px;
    margin-left: 10px;
    cursor: pointer;
    position: relative;
    gap:8px;

    
    
}
.footer-links ul.active {
    display: block; /* Show when active */
    background: white;
     border-bottom: 1px solid #e0e0e0; /* Softer divider */
    transition: all 0.3s ease-in-out;
    

}
.footer-links ul li {
    padding: 12px 15px; /* More padding for better spacing */
    font-size: 16px;
    font-weight: 500;
   
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.footer-brand{
    margin:20px
}
.footer-brand p{
    width:92%;
    font-size:18px ;

}
.arrow-icon {
    display: inline-block !important ;
    font-size: 18px;
    transition: transform 0.3s ease; /* Smooth rotation effect */
    cursor: pointer;
}
.footer-line{
    color:#D9DBE9;
   width:100%;
   margin-left: 0;
   margin-top:30px

}
.icon{
    display: flex;
 
    gap:60px;
    width: 100%;
}
.icon > * {  /* Direct child elements */
    display: flex;  /* Ensure children are flex items */
    align-items: center;
}
h4.active .arrow-icon {
    
}


.footer-links h4.active .arrow-icon {
    transform: rotate(180deg);
}
.newsletter-button{
    min-width: 343px;
    min-height: 56px;
 }
 .newsletter-button a {
    color: #FFF;
    text-decoration: none;
}
 .newsleter-content{
    width: 92%;
   
 }
 .newsleter-content{
    width: 90%;
   
 }
 .newsleter-content p{
    
     width:90%;
    
 }
 .newsleter-content h2{
width: 95%;
 }
 .newsletter-fill-blog{
    height:125px;
    width: 170px;
    top:75%;
    position: absolute;
    left:5%
}
}