
/* Reset styles */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  padding: 0 10px;  
}

img {
  max-width: 100%;
}

h1,
h2 {
  margin-bottom: 15px;
}

ul {
  list-style-type: none;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}



.header {
  background-color: #1a75ff;
  color: #fff;
  min-height: 400px;
}

.header h1 {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
}

.header img {
  max-width: 400px;
}

.header .container {
  display: flex;  
  align-items: center;
  justify-content: space-between;
}

.boxes .container {
   display: flex;
    flex-wrap: wrap;
  justify-content: space-between;
}

.box{
  flex: 1;
  background: #0066ff;
  color: #fff;
  border-radius: 10px;
  margin: 20px 10px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.6);
  padding: 15px 20px;
  justify-content: center;
}

.box2{	
  flex: 1;
  background: #fff;
  color: #fff;
  border-radius: 5px;
  margin: 20px 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  padding: 10px 10px;
}

.box i {
  margin-right: 10px;
}
.box  button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
	margin: 20px 10px;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    padding-top: 20px;
    text-align: center;
  }

  .boxes .container {
    display: block;
    text-align: center;
  }
}

section {
    padding: 20px;
    margin-bottom: 20px;
    
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}




/* Hero section styles */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    
    color:  #ffffff;
    padding: 50px 20px;
    border-radius: 8px;
    flex-wrap: wrap;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
	
}

.hero-text {
    flex: 1;
    padding-right: 20px;
    max-width: 50%;
	
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        max-width: 100%;
    }

    
}



/* Hero section styles   */
.featured-books {
    text-align: center;
	background-color:  #ccb3ff;
}

.books-list, .books-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.book{
    width: 200px;
    padding: 20px;
    margin: 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.6);
    text-align: center;
   
}


.book img {
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
}

.book h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.book h3:hover {
    color: #4CAF50;
}

.book p {
    font-size: 1rem;
    color: #333;
    margin: 10px 0;
    padding: 10px;
    background-color: #ffeb3b;
    font-family: 'Georgia', serif;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.book p:hover {
    background-color: #ffdd00;
}

.book button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}



/*  section Subject detail   */


 /*
         * Main container for the layout.
         * Using Flexbox to center the content and arrange items horizontally.
         */
       
        /*
         * A wrapper for the multiple book containers to apply
         * spacing and alignment to the group.
         */
        .books-container {
            display: flex;
            gap: 60px; /* Space between the book elements */
        }

        /*
         * The container for a single book's circles and card.
         * Now a flex container to hold the rings and the details side-by-side.
         */
        .book-container {
            display: flex;
            align-items: center;
            width: 350px; /* Increased width to accommodate side-by-side content */
            padding: 30px;
            background-color: #fff;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
            border: 2px solid transparent;
        }

        /*
         * The container for the concentric rings.
         * Using Flexbox to perfectly center the rings.
         */
        .ring-container {
            flex-shrink: 0; /* Prevents the rings from shrinking */
            display: flex;
            justify-content: center;
            align-items: center;
            width: 70px;
            height: 70px;
            position: relative;
            margin-right: 10px; /* Space between rings and table */
        }

        /*
         * Base styles for all rings.
         * border-radius: 50% makes it a perfect circle.
         */
        .ring {
            position: absolute;
            border-radius: 50%;
            border: 4px solid;
            transition: all 0.3s ease-in-out;
        }

        /* The outermost ring */
        .outer-ring {
            width: 60px;
            height: 60px;
            border-color: #007bff;
        }

        /* The middle ring */
        .middle-ring {
            width: 50px;
            height: 50px;
            border-color: #28a745;
        }

        /* The number displayed inside the rings */
        .ring-number {
            position: absolute;
            font-size: 1.5em;
            font-weight: bold;
            color: #dc3545;
            z-index: 1; /* Ensure the number is on top of the rings */
        }

        /* Hover effect on the container to animate the card and rings */
        .book-container:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
        }

        .book-container:hover .outer-ring {
            transform: scale(1.05);
            border-color: #1a5ac3;
        }

        .book-container:hover .middle-ring {
            transform: scale(1.05);
            border-color: #1f7831;
        }

        /*
         * Book details styling
         */
        .book-details {
            width: 100%;
            text-align: left;
        }

        .book-details h4 {
            font-size: 1em;
            color: #333;
            margin: 0 0 10px;
        }
        
        .book-details table {
            width: 100%;
            border-collapse: collapse;
            font-size: 1em;
            color: #555;
        }

        .book-details tr:nth-child(even) {
            background-color: #f8f8f8;
        }

        .book-details td {
            padding: 8px 0;
            vertical-align: top;
        }

        .book-details .label-cell {
            
            color: #444;
            width: 35%;
        }
        
        .book-details .value-cell {
            text-align: right;
            color: #2c3e50;
        }

        .book-details .price {
            font-size: 1em;
            color: #28a745;
        }

.subject-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
        }

































/* Responsive Design */
@media (min-width: 768px) {
    .container-1{
	display: flex;
	/* align-items: flex-start;
	align-items: flex-end;
	align-items: center;
	 flex-direction: row;
	 flex-direction: column;
	*/
	 
	
	
	
}
.container-2{
	display: flex;	
	/* justify-content: center;
	justify-content: flex-start;
	justify-content: flex-end;
	justify-content: space-around;
	justify-content: space-between;
}
	*/
	justify-content: space-around;
	
}

}



.container-1 div, .container-2 div{
	border : #4CAF50 solid;
	padding: 10px;
	
	
}
.box-1 {
	flex :1 ;
	
	
}
.box-2 {
	flex :1 ;
	
}
.box-3 {
flex :1 ;	
	
}
.box-4 {
	flex :1 ;
	
}
.container-2-box
{
	/* width: 20%;*/
	 flex-basis : 23%;
}