@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
*{
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: "Arial", sans-serif;
}

hr{
    border-top: 5px solid #fbff00;
    margin: 10px 0;
    width: 60px;
    line-height: 10px;
}

h1{
    font-size: 50px;
    line-height: 64px;
    color: #222;
}

h2{
    font-size: 46px;
    line-height: 54px;
    color: #222;
}

h4{
    font-size: 20px;
    color: #222;

}
h6{
    font-weight: 700;
    font-size: 12px;
}

p{
    font-size: 16px;
    color: #000000;
    margin: 15px 0 20px 0;
}

.section-p1 {
    padding:30px 80px;
}

.section-p2{
    padding:20px 10px;
}
.section-p4{
    padding:30px 80px;
}

.section-m1 {
    margin: 40px 0;
    width: 40px 0;
}
.btn{
    display: inline-block;
    background: #ff523b;
    color: #fff;
    padding: 8px 30px;
    margin: 30px;
    border-radius: 30px;
    transition: backgound 0.5s;
}
.btn:hover{
    background: #563434;
}
button.white {
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid #fff;
    outline: none;
    transition: 0.2s;
}

body{
    width: 100%;
}

/*header start*/

#header {
    display: flex;
    height: 140px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background: #e3e6f3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 06px);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li{
    list-style: none;
    padding: 0 15px;
    position: relative;
}

#navbar li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #220303;
    transition:0.3s ease;
}

#navbar li a:hover,
#navbar li a.active {
    color: #fd5000;
}

#navbar li a.active::after,
#navbar li a:hover::after{
    content: "";
    width: 30%;
    height: 2px;
    background: #ff0000;
    position: absolute;
    bottom: -4px;
    left: 20px;
}

/* Submenu */
.submenu {
    display: none;
    border-radius: 10px;
    flex-direction: column;
    transform: 0.4s;
    line-height: 1;
    position: absolute;
    background-color: #f1eeee73;
    width: 280px;
    min-height: 160px;
    z-index: 1;
    padding: 5px;
    margin: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
/* Submenu links */
.submenu a {
    display: block;
    text-align: justify;
    opacity: 5;
    padding: 10px;
    text-decoration: none;
    color: #333;
}


/* Show submenu on hover */
#navbar li:hover .submenu {
    display: block;
    transform: translateY(-5px);
}

/* Hide submenu when not hovering */
#navbar li:not(:hover) .submenu {
    display: none;
}





#mobile{
    display: none;
    align-items: center;
}

#close {
    display: none;
}

/* Home Page */

    #hero{
    background-image: url(images/PoornimaUniversitymain.jpg);
    height: 90vh;
    width: 100%;
    background-size: cover;
    background-position: top 25% right 0%;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    }
    
    #hero .content {
        
        display: block;
        border-radius: 10px;
        background-color: #21015cb4;
        width: 70%;
        height: 40%;
        align-items: center;
        text-align: center;
        justify-content: center;
        margin: 0 auto
    }
    #hero h4{
        font-size: 1.5rem;
    }
    #hero h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: #ffffff;
    }
    #hero p {
        color: #000000;
    }
    
    #hero h1{
       color: #ffffff;
       font-size: 3rem;
       font-family: Georgia, 'Times New Roman', Times, serif;
       margin-bottom: 10px;
    }

    
    



    #about-head {
        display: flex;
        align-items: center;
        background-color: rgb(234, 243, 248);
        justify-content: space-between;
    }
    #about-head.sidebar-title {
        font-size: 18px;
        text-align: center;
        font-weight: bold;
        color: #333;
        flex-direction: row;
    }
    #about-head .section-p1 {
        display: flex;
        flex-direction: column; /* Stack items in a column */
        align-items: center; /* Center items horizontally */
        padding: 20px;
    }

    #about-head img{
        width: 300px;
        height: 480px;
        margin-left: 20px; /* Add some space between text and image */
    }
    

    #about-head div{
        padding-left: 40px;
        text-align: justify;
        line-height: 1.5;
    }

    
    #about-head  body {
        margin: 0;
        font-family: Arial, sans-serif;
    }

    #about-head h3 {
        font-size: 24px;
        margin-bottom: 10px; /* Add some space below the heading */
    }

    #about-head p {
        text-align: justify; /* Justify text */
    }

    .marquee {
        background-color: #ccc;
        padding: 10px;
        margin-top: 20px;
        overflow: hidden;
        white-space: nowrap;
    }
    /* styles.css */

.table-wrapper {
    margin: 0 auto;
    width: 70%; /* Set the width of the table wrapper */
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

th {
    background-color: #f2f2f2;
}

/* Start Media Query */

@media (max-width:799px) {
    .section-p1 {
        padding: 20px 20px;
    }
    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 300px;
        background-color: #E3E6F3;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0 10px;
        transition: 0.4s;
    }

    #navbar.active{
        right:0px
    }
    #navbar li{
        margin-bottom: 25px;
    }
    
    .submenu {
        width: 250px; /* Make submenu full width */
        min-height:200px; /* Remove minimum height */
        margin: 0; /* Remove margin */
        box-shadow: none; /* Remove box shadow */
    }

    .submenu a {
        padding: 5px; /* Adjust padding */
    }




    #mobile{
        display: flex;
        align-items: center;
    }

    #mobile i{
        color: #000000;
        font-size: 24px;
        padding-left: 20px;
    }

    #close{
        display: initial;
        position: absolute;
        top: 30px;
        left: 30px;
        color: #222;
        font-size: 24px;
    }

    #hero {
        height: 70vh;
        padding: 0 80px;
        background-position: top 30% right 30%;
    }
    #hero .content {
        width: 80%; /* Set width to 70% for medium screens */
        height: 50vh; /* Set height to 50vh for medium screens */
    }
    #hero h1 {
        font-size: 2.5rem;
      }
      #hero h2 {
        font-size: 1.8rem;
      }
      #hero h4 {
        font-size: 1.2rem;
      }
    #about-head img {
        width: 100%; /* Make the image fill the container width */
        height: auto; /* Maintain aspect ratio */
        margin: 20px 0; /* Adjust margin for spacing */
    }

    #about-head div {
        padding: 0 20px; /* Adjust padding for smaller screens */
    }


}
@media (max-width: 768px) {
    #navbar {
        width: 250px; /* Adjust width */
        padding: 60px 0 0 10px; /* Adjust padding */
    }

    #navbar li {
        margin-bottom: 20px; /* Adjust margin */
    }

    .submenu {
        width: 200px; /* Adjust width */
        min-height: 260px;
    }

    #mobile i {
        font-size: 20px; /* Adjust font size */
        padding-left: 15px; /* Adjust padding */
    }

    #close {
        top: 25px; /* Adjust top position */
        left: 25px; /* Adjust left position */
        font-size: 20px; /* Adjust font size */
    }
    
    #about-head {
        flex-direction: column; /* Stack items in a column for smaller screens */
    }
    #about-head img {
        width: 250px;
        height: 400px; /* Reduce image size for smaller screens */
    }
    #about-head div {
        padding-left: 10px; /* Reduce padding for smaller screens */
    }
}

@media (max-width: 477px) {

    #header {
        padding: 10px 30px;

    }
    p{
    font-size: small;
    }
    h2{
    font-size: 32px;
    }
    .submenu {
        width: 100%; /* Make submenu full width on small screens */
        min-height: auto; /* Adjust minimum height on small screens */
        padding: 10px; /* Add some padding on small screens */
    }

   .submenu a {
        padding: 10px; /* Increase padding on small screens */
        font-size: 16px; /* Decrease font size on small screens */
    }
    #mobile {
        flex-direction: column; /* Change flex direction on small screens */
    }

    #mobile i {
        font-size: 20px; /* Decrease font size on small screens */
        padding-left: 10px; /* Decrease padding on small screens */
    }

    #close {
        top: 10px; /* Adjust position on small screens */
        left: 10px; /* Adjust position on small screens */
        font-size: 20px; /* Decrease font size on small screens */
    }

    #hero {
        background-position: 55%;
        padding: 0 20px;
    }
    #hero.content {
        width: 90%; /* Set width to 90% for small screens */
        height: 40%; /* Set height to 70vh for small screens */
    }
    #hero h1 {
        font-size: 1.8rem;
      }
      #hero h2 {
        font-size: 1.3rem;
      }
      #hero h4 {
        font-size: 0.8rem;
      }

    #about-head img {
        width: 100%; /* Make the image fill the container width */
        height: auto; /* Maintain aspect ratio */
        margin: 20px 0; /* Adjust margin for spacing */
    }

    #about-head div {
        padding: 0 10px; /* Adjust padding for smaller screens */
    }
    



    footer .copyright {
        text-align: start;
    }
    
}

@media (max-width: 425px) {
    .section-p1 {
        padding: 15px 15px;
    }
    #navbar {
        width: 220px;
        padding: 60px 0 0 10px;
    }
    #navbar li{
        margin-bottom: 20px;
    }
    .submenu {
        width: 180px;
        min-height: 250px;
    }
    .submenu a {
        padding: 3px;
    }
    #mobile{
        flex-direction: column;
    }
    #mobile i{
        font-size: 20px;
        padding-left: 15px;
    }
    #close {
        top: 20px;
        left: 20px;
        font-size: 20px;
    }
    #hero {
        height: 60vh;
        padding: 0 60px;
        background-position: top 25% right 25%;
    }
    #hero.content {
        width: 95%; /* Set width to 95% for very small screens */
        height: 30% /* Set height to 80vh for very small screens */
    }
    #hero h1 {
        font-size: 1.6rem;
      }
      #hero h2 {
        font-size: 1.0rem;
      }
      #hero h4 {
        font-size: 0.6rem;
      }
    #about-head img {
        width: 100%;
        height: 100%;
        margin: 15px 0;
    }
    #about-head div {
        padding: 0 15px;
    }
}

@media (max-width: 375px) {
    .section-p1 {
        padding: 10px 10px;
    }
        #navbar {
            width: 200px; /* Adjust width */
            padding: 40px 0 0 10px; /* Adjust padding */
        }
    
        #navbar li {
            margin-bottom: 15px; /* Adjust margin */
        }
    
        .submenu {
            width: 150px; /* Adjust width */
            min-height: 300px;
        }
    
        #mobile i {
            font-size: 18px; /* Adjust font size */
            padding-left: 10px; /* Adjust padding */
        }
    
        #close {
            top: 20px; /* Adjust top position */
            left: 20px; /* Adjust left position */
            font-size: 18px; /* Adjust font size */
        }

    #hero {
        height: 50vh;
        padding: 0 40px;
        background-position: top 20% right 20%;
    }
    #hero.content {
        width: 98%; /* Set width to 95% for very small screens */
        height: 25%; /* Set height to 80vh for very small screens */
    }
    #hero h1 {
        font-size: 1.5rem;
      }
      #hero h2 {
        font-size: 1rem;
      }
      #hero h4 {
        font-size: 0.6rem;
      }

    #about-head img {
        width: 100%;
        height: 100%;
        margin: 5px 0;
    }
    #about-head div {
        padding: 0 10px;
    }
}

@media (max-width: 325px) {
    /* styles for screens with a maximum width of 325px */
    #hero.content {
        width:100%; /* Set width to 95% for very small screens */
        height: 25%; /* Set height to 80vh for very small screens */
    }
    #hero h1 {
      font-size: 1.2rem;
    }
    #hero h2 {
      font-size: 0.8rem;
    }
    #hero h4 {
      font-size: 0.4rem;
    }
}

@media (max-width: 320px) {
    #navbar {
        width: 180px; /* Adjust width */
        padding: 30px 0 0 10px; /* Adjust padding */
    }

    #navbar li {
        margin-bottom: 10px; /* Adjust margin */
    }

    .submenu {
        width: 150px; /* Adjust width */
        min-height: 260px;
    }

    #mobile i {
        font-size: 16px; /* Adjust font size */
        padding-left: 5px; /* Adjust padding */
    }

    #close {
        top: 15px; /* Adjust top position */
        left: 15px; /* Adjust left position */
        font-size: 16px; /* Adjust font size */
    }
}

.submenu {
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 10px 5px;
    margin: 10px 5px;
    min-width: 120px;
    height:120px;
    transform: 0.4s;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}






footer{
    display: flex;
    background-color: #dbdada;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .col{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}


footer .logo {
    margin-bottom: 30px;
}

footer h4{
    font-size: 14px;
    padding-bottom: 20px;
}

footer p{
    font-size: 13px;
    text-decoration: none;
}

footer a{
    font-size: 13px;
    text-decoration: none;
    color: #222;
    margin: 0 0 8px 0;
}

footer .follow{
    margin-top: 20px;
}

footer .follow i{
    color: #465b52;
    padding-right: 4px;
    cursor: pointer;
}


footer .follow i:hover,
footer a:hover {
    color: #f70808;
}

footer .copyright {
    width: 100%;
    align-items: center;
    text-align: center;
    margin-top: 20px;
}





/*us-page*/

  #us {
    background-image: url(images/footercover.webp);
    height: 50vh;
    width: 100%;
    background-size: cover;
    background-position: top 25% right 0;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }
    #us h4{
        padding-bottom: 15px;
    }
    #us p {
        color: #000000;
    }
    
    #us h1{
       color: #000000;
       font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
       font-weight: bold;
    }
    
    #about-us {
        background-color: #ffffff;
        padding: 80px 140px;
        text-align: justify;
        line-height: 1.6;
    }
    #about-us h2 {
        font-size: 64px;
        color: black;
        font-family: Georgia, 'Times New Roman', Times, serif;
        text-align: center;
    }
    #about-us p {
        font-size: 16px;
        line-height: 1.6;
        color: #333;
    }
    
    #about-us .container {
        position: relative;
        unicode-bidi: isolate;
    }
    
    /* Responsive styles */
    @media (max-width: 320px) {
        #about-us {
            padding: 10px 20px; /* reduce padding for smaller screens */
        }
        #about-us h2 {
            font-size: 48px; /* reduce font size for smaller screens */
        }
        #about-us p {
            font-size: 14px; /* reduce font size for smaller screens */
        }
    }
    
    /* Media query for max-width: 768px */
    @media (max-width: 768px) {
        #about-us {
            padding: 15px 25px; /* reduce padding for medium-sized screens */
        }
        #about-us h2 {
            font-size: 56px; /* reduce font size for medium-sized screens */
        }
        #about-us p {
            font-size: 15px; /* reduce font size for medium-sized screens */
        }
    }


    #Editorial {
        background-image: url(images/about1.jpg);
        height: 40vh;
        width: 100%;
        background-size: cover;
        background-position: top 25% right 0;
        padding: 0 80px;
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
        }

        #Editorial h4{
            padding-bottom: 15px;
        }
        #Editorial p {
            color: #bdbcbc;
        }
        
        #Editorial h1{
           color: #ffffff;
           font-family: Georgia, 'Times New Roman', Times, serif;
           font-weight: bold;
        }
    /* CSS for the Editorial-head section */
#Editorial-head {
    padding: 40px;
    background-color: #f9f9f9;
    margin-top: 20px;
    
}


#editorial-head h2 {
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 42px;
}


#Editorial-head img {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px; /* Add margin bottom to create space */
}

#Editorial-head table {
    width: calc(100% - 340px); /* Adjust width to fit beside the image */
    border-collapse: collapse;
    margin-left: 20px; /* Add margin to create space between the image and table */
}

#Editorial-head th,
#Editorial-head td {
    border: 1px solid #ddd;
    padding: 8px;
}

#Editorial-head th,
#Editorial-head td h4 {
    font-size: 36px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: bolder;
    color: #ff0062;
}

#Editorial-head th {
    background-color: #f2f2f2;
}

#Editorial-head h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

#Editorial-head h3 a {
    color: #333;
    text-decoration: none;
}

#Editorial-head h3 a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    /* Responsive styles */
    #Editorial-head img {
        float: none;
        margin-right: 0;
        margin-bottom: 10px;
    }

    #Editorial-head table {
        width: 100%;
        margin-left: 0;
        font-size: 14px;
    }
}



/*volume-page*/


#Volume {
    background-image: url(images/volume1.jpg);
    height: 70vh;
    width: 100%;
    background-size: cover;
    background-position: top 25% right 0;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    }

    #Volume h1{
        color: #ffffff;
        font-size: 36px;
        line-height: 1.2;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
    }
    
    #Volume .content {
        margin-bottom: 10px;
    }

    #Volume .contents {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    #Volume .contents li {
        display: inline;
        margin-right: 10px;
    }
    
    #Volume .contents li a {
        text-decoration: none;
        color: #333;
    }
    
    #Volume .contents li h3 {
        display: inline;
        font-size: 20px;
        font-weight: bold;
        color: #fffefe;
    }
    
    #Volume .contents li h4 {
        display: inline;
        font-size: 20px;
        color: #afadad;
    }

     
     /* Center the table and set width to 70% */
#volume1 {
    width: 90%;
    margin: 0 auto; /* Center the table horizontally */
}

/* Style the table */
#volume1 table {
    width: 100%;
    border-collapse: collapse;
    border-style: inset;
}

/* Style the table header */
#volume1 th {
    border: 1px solid #ddd;
    background-color: #f2f2f2;
    text-align: center;
    padding: 8px;
}

/* Style the table cells */
#volume1 td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 8px;
}

/* Style the table rows */
#volume1 tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Hover effect on table rows */
#volume1 tr:hover {
    background-color: #f9f9f9;
}
#volume1 img {
    display: block;
    margin: 0 auto;
    width: 34px; /* Set the width of the image icon */
    height: 34px; /* Set the height of the image icon */
  }
/* For screens up to 799px */
@media (max-width: 799px) {
    /* Adjust the padding of #Volume */
    #Volume {
        padding: 0 20px;
    }

    /* Adjust the width of #volume1 to 100% */
    #volume1 {
        width: 100%;
    }

    /* Adjust the padding of table cells in #volume1 */
    #volume1 th,
    #volume1 td {
        padding: 5px;
    }

    /* Remove background color from even rows */
    #volume1 tr:nth-child(even) {
        background-color: transparent;
    }

    /* Remove hover effect on table rows */
    #volume1 tr:hover {
        background-color: transparent;
    }
}



/* For screens up to 477px */
@media (max-width: 477px) {
    /* Adjust the padding of #Volume */
    #Volume {
        padding: 0 20px; /* Example padding value */
    }

    /* Adjust the font size of h1 */
    #Volume h1 {
        font-size: 24px; /* Example font size */
        width: 70%;
    }

    /* Adjust the font size of h3 in .contents li */
    #Volume .contents li h3 {
        font-size: 16px; /* Example font size */
    }

    /* Adjust the margin of .contents li */
    #Volume .contents li {
        margin-right: 5px; /* Example margin value */
    }
}

/* For screens up to 375px */
@media (max-width: 375px) {
    /* Adjust the padding of #Volume */
    #Volume {
        padding: 0 10px; /* Example padding value */
    }

    /* Adjust the font size of h1 */
    #Volume h1 {
        font-size: 18px; /* Example font size */
        width: 90%;
    }

    /* Adjust the font size of h3 in .contents li */
    #Volume .contents li h3 {
        font-size: 14px; /* Example font size */
    }

    /* Adjust the margin of .contents li */
    #Volume .contents li {
        margin-right: 2px; /* Example margin value */
    }

    /* Adjust the width of #volume1 */
    #volume1 {
        width: 100%;
    }

    /* Adjust the padding of table cells in #volume1 */
    #volume1 th,
    #volume1 td {
        padding: 3px;
    }

    /* Adjust the width of image icons in #volume1 */
    #volume1 img {
        width: 24px; /* Example width value */
        height: 24px; /* Example height value */
    }
}

.box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

  
.box {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    flex-direction: row;
    width: 500px;
    height: 300px;
    margin: 20px;
    padding: 20px;
    border: 1px solid #ddd;
}
.box h3{
    font-size: 1.5rem;
    padding-bottom: 15px;
    color: #000000;
}
.box p a  {
    font-size: 1.5rem;
    padding-bottom: 15px;
    color: #9c0000;
}
.box p {
    font-size: 1.5rem;
    padding-bottom: 15px;
    color: #000000;
}

   .box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: linear-gradient(to right, #337ab7, #f7b731);  
  }
  .box:hover p a {
    color: rgb(255, 255, 255); 
  }

  .box:hover h3 ,
  .box:hover p {
    color: rgb(255, 255, 255); 
  }
  
  .box1 {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
  }

  .box2 {
    border-radius: 4px;
  }
  @media (max-width: 768px) {
    .box-container {
        flex-direction: column; /* Change flex direction to column */
    }

    .box {
        width: 400px; /* Adjust width */
        height: 250px; /* Adjust height */
        margin: 15px; /* Adjust margin */
        padding: 15px; /* Adjust padding */
    }

    .box h3 {
        font-size: 1.2rem; /* Adjust font size */
    }

    .box p a, .box p {
        font-size: 1.2rem; /* Adjust font size */
    }
}

@media (max-width: 425px) {
    .box-container {
        flex-direction: column; /* Change flex direction to column */
    }

    .box {
        width: 350px; /* Adjust width */
        height: 200px; /* Adjust height */
        margin: 10px; /* Adjust margin */
        padding: 10px; /* Adjust padding */
    }

    .box h3 {
        font-size: 1.0rem; /* Adjust font size */
    }

    .box p a, .box p {
        font-size: 1.0rem; /* Adjust font size */
    }
}

@media (max-width: 375px) {
    .box-container {
        flex-direction: column; /* Change flex direction to column */
    }

    .box {
        width: 300px; /* Adjust width */
        height: 180px; /* Adjust height */
        margin: 8px; /* Adjust margin */
        padding: 8px; /* Adjust padding */
    }

    .box h3 {
        font-size: 0.9rem; /* Adjust font size */
    }

    .box p a, .box p {
        font-size: 0.9rem; /* Adjust font size */
    }
}

@media (max-width: 320px) {
    .box-container {
        flex-direction: column; /* Change flex direction to column */
    }

    .box {
        width: 280px; /* Adjust width */
        height: 180px; /* Adjust height */
        margin: 5px; /* Adjust margin */
        padding: 5px; /* Adjust padding */
    }

    .box h3 {
        font-size: 0.8rem; /* Adjust font size */
    }

    .box p a, .box p {
        font-size: 0.8rem; /* Adjust font size */
    }
}


/* Team section styling */
   .team-section {
    text-align: center;
    padding: 20px;
  }
  
  .section-title {
    font-size: 2.5em;
    margin-bottom: 8px;
    color: #333;
  }
  
  .section-description {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #555;
  }
  
  /* Team container styling */
  .team-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
  }

  /* Team card box shadow */
  .team-card {
    width: 550px; /* Card width */
    height: 300px; /* Card height */
    perspective: 1200px; /* 3D perspective effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    border-radius: 10px; /* Optional rounded corners */
    transition: box-shadow 0.3s ease-in-out; /* Smooth shadow transition */
  }
  
  .team-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
  }
  
  /* Inner card styles remain the same */
  .card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: transform 1.1s; /* Smooth 3D flip transition */
  }
  
  
  .team-card:hover .card-inner {
    transform: rotateY(180deg);
  }
  
  .half-background {
    position: relative;
    width: 100%;
    height: 120px; /* Background image height */
  }
  
  .background-image {
    width: 100%;
    height: 80%;
    object-fit: cover;
  }
  
  .card-front,
  .card-back {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    backface-visibility: hidden;
    padding: 20px;
  }
  
  .card-front {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
  }
  
  .profile-pic {
    width: 130px; /* Profile picture width */
    height: 130px; /* Profile picture height */
    border-radius: 50%; /* Circular profile picture */
    object-fit: cover;
    border: 5px solid #fff; /* Profile picture border */
    position: absolute;
    top: 21%; /* Overlapping the half background */
    z-index: 10; /* Ensure it appears on top */
  }
  
  .name {
    font-size: 1.6em; /* Name font size */
    margin-top: 50px; /* Add spacing below profile pic */
    color: #333;
  }
  
  .role {
    font-size: 1.1em; /* Role font size */
    color: #777;
    margin-bottom: 10px;
  }
  
  .social-icons {
    display: flex;
    gap: 12px;
  }
  
  .social-icons a {
    color: #333;
    font-size: 1.6em; /* Icon font size */
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #007bff; /* Hover effect */
  }
  
  .card-back {
    background: lightcyan;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
  }
  
  .summary {
    text-align: center;
    text-align: justify;
    font-size: 1.1em; /* Summary font size */
    color: #333;
    margin-top: 8px;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .team-container {
      align-items: center;
      flex-direction: column;
      padding: 20px;
      gap: 15px;
    }
  
    .team-card {
      width: 460px; /* Card width for tablets */
      height: 380px; /* Card height for tablets */
    }
  
    .profile-pic {
      width: 120px; /* Profile picture width for tablets */
      height: 120px; /* Profile picture height for tablets */
      top: 21%; /* Adjust overlap */
    }
  
    .name {
      font-size: 1.4em;
    }
  
    .role {
      font-size: 1em;
    }
  
    .summary {
      font-size: 1em;
    }
  }
  
  @media (max-width: 480px) {
    .team-card {
      width: 320px; /* Card width for mobile */
      height: 390px; /* Card height for mobile */
    }
  
    .profile-pic {
      width: 90px; /* Profile picture width for mobile */
      height: 90px; /* Profile picture height for mobile */
      top: 16%; /* Adjust overlap */
    }
  
    .name {
      font-size: 1.3em;
      margin-top: 0;
    }
  
    .role {
      font-size: 1.3em;
    }
  
    .summary {
      font-size: 1.1em;
    }
  }
  .button-container {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.dark-button {
    background-color: #ff0000; /* red color */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.5s; /* add transition effect */
}

.dark-button:hover {
    background-color: #000; /* black color */
}

.qr-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    align-items: center;
    justify-content: center;
    height: auto; /* Allows the height to adjust dynamically */
    padding: 20px; /* Adds padding for better spacing on smaller screens */
    box-sizing: border-box; /* Ensures padding does not affect overall size */
}

.qr-code-container {
    flex: 1 1 300px; /* Flexible layout with a minimum width */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* Spacing around the QR code container */
}

.qr-code-container img {
    max-width: 100%; /* Ensures the image does not overflow */
    max-height: 30vh; /* Maintains the proportional height */
    height: auto; /* Adjust height responsively */
}

.text-container {
    flex: 1 1 300px; /* Flexible layout with a minimum width */
    padding: 20px; /* Smaller padding for better mobile usability */
    text-align: center; /* Center-align text for a clean mobile view */
}

.text-container h4 {
    font-size: 2rem; /* Scales better on different screen sizes */
    line-height: 1.5; /* Adjusts for readability */
    color: #333;
    margin: 0; /* Removes unwanted margin */
}

@media (max-width: 768px) {
    .text-container h4 {
        font-size: 1.5rem; /* Smaller font for tablets and smaller screens */
    }

    .text-container {
        padding: 10px; /* Reduce padding for smaller devices */
    }
}

@media (max-width: 480px) {
    .text-container h4 {
        font-size: 1.2rem; /* Further reduce font size for phones */
    }

    .qr-code-container img {
        max-height: 20vh; /* Reduce image size on very small screens */
    }
}


