@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, 06);
    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 20px;
    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: #105e0d;
}

#navbar li a.active::after,
#navbar li a:hover::after{
    content: "";
    width: 30%;
    height: 2px;
    background: #105e0d;
    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: #f1eeee;
    width: 233px;
    min-height: 280px;
    z-index: 1;
    padding: 10px 5px;
    margin: 10px 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/PoornimaUniversitymain12.jpeg);
    height: 90vh;
    width: 100%;
    background-size: cover;
    background-position: top 25% right 0%;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    justify-content: center;
    }
    
    #hero h4{
        padding-bottom: 15px;
    }
    #hero p {
        color: #000000;
    }
    
    #hero h1{
       color: #ffffff;
       font-family: Georgia, 'Times New Roman', Times, serif;
    }

    
    



    #about-head {
        display: flex;
        align-items: center;
        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: 100%; /* Make submenu full width */
        min-height: 500px; /* Remove minimum height */
        margin: 0; /* Remove margin */
        box-shadow: none; /* Remove box shadow */
    }

    .submenu a {
        padding: 10px 15px; /* 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%;
    }
    #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: 477px) {

    #header {
        padding: 10px 30px;

    }
    p{
    font-size: small;
    }
    h2{
    font-size: 32px;
    }
    #hero {
        background-position: 55%;
        padding: 0 20px;
    }


    #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 */
    }
    
    #navbar {
        width: 100%; /* Make navbar full width */
        right: -100%; /* Hide navbar off-screen */
        padding: 20px 0 0 0; /* Adjust padding */
    }

    #navbar.active {
        right: 0; /* Show navbar */
    }

    #navbar li {
        margin-bottom: 15px; /* Adjust margin */
    }

    .submenu {
        padding: 10px; /* Adjust padding */
    }

    .submenu a {
        padding: 10px; /* Adjust padding */
    }
    footer .copyright {
        text-align: start;
    }
    
}



.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;
}




#hero-2 {
    background-image: url(images/Poornimauniversity\ front.jpg);
    height: 90vh;
    width: 100%;
    background-size: cover;
    background-position: top 0% right 0%;
    padding: 0 80px;
    
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    }
    
    #hero-2 h4{
        padding-bottom: 15px;
    }
    #hero-2 p {
        color: #000000;
    }
    
    #hero-2 h1{
       color: #dbd5d5;
       font-family: Georgia, 'Times New Roman', Times, serif;
    }
    

  .section-p4 {
    padding: 20px 0;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .section-p4 > div {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left; /* Reset text-align for inner content */
  }
  
  .section-p4 h2 {
    font-size: 36px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    font-weight: bold;
    color: #3a3939;
    margin-bottom: 20px;
  }
  
  .section-p4 p {
    font-size: 16px;
    color: #000000;
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .section-p4 h4 {
    font-size: 24px;
    line-height: 1.6;
    font-family: 'Times New Roman', Times, serif;
    color: #333;
    margin-bottom: 20px;
  }
  
  .section-p4 ul.custom-list {
    list-style-type: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
  }
  
  .section-p4 ul.custom-list li {
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
  }
  
  .section-p4 ul.custom-list li::before {
    content: "\2022";
    color: #ff0000;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: -20px;
  }
  
  .section-p4 marquee {
    background-color: #ccc;
    padding: 10px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
  }
  
  /*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: #f9f9f9;
        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;
    }
    
    /* Responsive styles */
    @media (max-width: 768px) {
        #about-us {
            padding: 30px 0;
        }
    
        #about-us p {
            font-size: 14px;
        }
    }
    @media (max-width: 320px) {
        #about-us {
            padding: 20px 5px; /* Further reduced padding */
        }
    
        #about-us p {
            font-size: 12px; /* Even smaller font size */
        }
    }


    #Editorial {
        background-image: url(images/poornima-university1.jpeg);
        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;
        }

        #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 */
    }

    /* 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 */
    }
}
