/* General Styling */
body {
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    background: url("honour_bg.jpg") no-repeat center center fixed;
    background-size: cover; /* Ensures the image covers the entire viewport */
    color: white; /* Sets default text color for readability */
}

.logo-container {
    position: absolute;
    top: 40px;
    left: 20px; /* Adjusted left space */
    width: 200px;
    height: auto;
    display: inline-block;
    margin-left: 150px;
}

.logo {
    position: absolute;
    top: 10px; /* Adjust to the desired top position */
    left: 10px; /* Adjust to the desired left position */
    width: 150px; /* Adjust the size of the logo */
    height: auto;
}

/* Container Styling for Alignment */
.container {
    margin-left: 1000px; /* Adjust this value as needed to align with the green line */
}

/* Polaroid Card Styling */
.polaroid {
    margin: 15px; /* Spacing between images */
    text-align: center;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white for contrast */
    padding: 1px 1px 15px; /* Extra padding at the bottom for space */
}

.polaroid-img {
    width: 100px; /* Adjust the size for uniformity */
    height: 100px; /* Square format */
    object-fit: cover; /* Ensures images fit well */
    border: 5px solid rgb(249, 245, 245); /* Inner border around the image */
}

/* Header Styling */
h1, h2 {
    text-align: center;
    margin: 20px 0;
}

/* Honours Section Styling */
.honours {
    text-align: center;
    padding-bottom: 30px;
}

.honours-header h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #f8f5f5;
    background-color: rgba(255, 165, 0, 0.9); /* Semi-transparent orange */
    padding: 40px 365px;
    display: inline-block;
    border-radius: 40px 0 0 40px;
    text-align: right; /* Aligns text inside the h2 element */
    margin-left: 600px; /* Pushes the element to the right */
    margin-right: 0px;
}

.honours-header p {
    font-size: 1.8rem;
    margin-top: 15px;
    font-weight: bold;
    margin-left: 300px; 
    font-family: 'Times New Roman', Times, serif;
}

.honours-content {
    display: flex;
    justify-content: flex-start; /* Align content to the left */
    gap: 45px;
    flex-wrap: wrap;
    margin: 30px 0;
    margin-left: 350px; /* Adjusted for space */
    margin-right: 10px;
}

.honours-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    box-shadow: 0px 4px 6px rgba(249, 246, 246, 0.3);
    margin: 0 auto;
    display: block;
}

.honours-description {
    max-width: 800px;
    margin: 20px auto;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f5f5f5;
    margin-right: 100px;
}

/* Monthly Inspirers Section Styling */
.inspirers {
    text-align: center;
    padding-bottom: 30px;
}

.inspirers-header h2 {
	width:350px;
    font-size: 3rem;
    font-weight: bold;
    color: #f8f5f5;
    background-color: rgba(255, 165, 0, 0.9); /* Semi-transparent orange */
    padding: 40px 279px;
    display: inline-block;
    border-radius: 40px 0 0 40px;
    text-align: right;
    margin-left: 600px; /* Pushes the element to the right */
    margin-right: 0px;
}

.inspirers-header p {
    font-size: 1.8rem;
    margin-top: 15px;
    font-weight: bold;
    margin-left: 300px; 
    font-family: 'Times New Roman', Times, serif;
}

.inspirers-content {
    display: flex;
    justify-content: flex-end; /* Align content to the right */
    gap: 45px;
    flex-wrap: wrap;
    margin: 30px 0;
    margin-left: 350px;     
    margin-right: 90px;
}

.inspirer-card {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inspirer-card:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
}

.inspirer-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    box-shadow: 0px 4px 6px rgba(249, 246, 246, 0.3);
    margin: 0 auto;
    display: block;
}

.inspirer-card .name, .name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

.inspirer-card .role, .role {
    font-size: 1rem;
    color: #ffcc00; /* Yellow color for the role */
    margin-top: 5px;
}

/* Responsive Design */

/* Responsive Design for Tablets and Smaller Devices */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* Adjusts font size for smaller devices */
    }

    /* Header and Logo */
    .logo-container {
        top: 20px;
        left: 20px;
        width: 120px;
    }

    .logo {
		top:30px;
        margin-top: -25px;
        left: -50%;
    }

    .honours {
        margin-top: 150px;
    }

    /* Honours Section */
    .honours-header h2, 
    .inspirers-header h2 {
        font-size: 2rem;
        padding: 10px 20px;
        margin-left: 10px;
        margin-right: 10px;
        text-align: center;/* Centers the header for mobile */
		border-radius: 40px;
		
    }
	.inspirers-header h2{
		width: 250px;
	}

    .honours-header p, 
    .inspirers-header p {
        font-size: 1.2rem;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    /* Content Adjustment */
    .honours-content, 
    .inspirers-content {
        justify-content: center; /* Centers cards on smaller screens */
        gap: 20px; /* Moderate gap between cards */
        padding: 0 10px;
        flex-wrap: wrap;
        margin-left: 20px;
    }

    /* Card Styles */
    .honours-card, 
    .inspirer-card {
        width: 40%; /* Adjust card width for a centered layout */
        margin: 10px; /* Add space between the cards */
        display: inline-block; /* Prevents items from spilling */
        text-align: center;
    }

    /* Polaroid Frame & Image Style */
    .polaroid {
        display: inline-block;
        background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
        padding: 1px 1px 15px;
        text-align: center;
        width: 100%;
    }

    .polaroid-img {
        width: 100%; /* Makes image fit the frame without overflow */
        height: auto;
        object-fit: cover;
        border-width: 3px;
    }

    .name {
        font-size: 1rem;
    }

    .role {
        font-size: 0.9rem;
    }

    .inspirer-card img,
    .honours-card img {
        width: 265px;
        height: 250px;
    }
	.inspirer-card{
		width:120% !important;
	}
}

/* Responsive Design for Extra Small Devices */
@media (max-width: 480px) {
    .honours-header h2, 
    .inspirers-header h2 {
        font-size: 1.8rem;
    }

    /* Content Adjustment */
    .honours-content, 
    .inspirers-content {
        flex-direction: column; /* Stacks cards vertically */
        gap: 15px;
    }

    .honours-card, 
    .inspirer-card {
        width: 90%; /* Cards take full width */
    }

    .polaroid {
        width: 90%; /* Adjusts width for mobile */
    }
}
