/* Styling for Home Page */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Times New Roman', Times, serif;
    font-size: 22px;
    line-height: 1.6;
    color: #111111;
    background-color: #fcfcfc;
    padding: 20px;
}

header {
    background-color: #0d233a;
    color: #ffffff;
    padding: 30px;
    text-align: center;
    border-bottom: 4px solid #1a4f7c;
}

header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    padding: 8px 16px;
    background-color: #1a4f7c;
    border-radius: 4px;
}

nav a:hover {
    background-color: #2e71ab;
}

main {
    max-width: 1000px;
    margin: 30px auto;
    background: #ffffff;
    padding: 40px;
    border: 1px solid #dddddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

h2 {
    font-size: 34px;
    color: #0d233a;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0d233a;
    padding-bottom: 5px;
}

h3 {
    font-size: 28px;
    color: #1a4f7c;
    margin-top: 25px;
    margin-bottom: 10px;
}

p, ol, ul {
    margin-bottom: 20px;
}

ol, ul {
    padding-left: 30px;
}

li {
    margin-bottom: 15px;
}

blockquote {
    font-size: 26px;
    font-style: italic;
    background-color: #f0f4f8;
    border-left: 6px solid #1a4f7c;
    padding: 20px;
    margin: 25px 0;
}

.img-container {
    text-align: center;
    margin: 30px 0;
}

.img-container img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid #ccc;
    font-size: 16px;
    color: #555555;
}
/* Mobile-Responsive Styles with Blue/Purple Theme & Gold Accents */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Times New Roman', Times, serif;
    font-size: 22px;
    line-height: 1.6;
    color: #f3f4f6;
    /* Blue and purple mix background */
    background: linear-gradient(135deg, #1a1b4b 0%, #311042 50%, #4c1d95 100%);
    background-attachment: fixed;
    padding: 15px;
}

header {
    background-color: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    padding: 25px 15px;
    text-align: center;
    border-bottom: 4px solid #f59e0b; /* Gold border */
    border-radius: 8px;
}

header h1 {
    font-size: 38px;
    margin-bottom: 15px;
    color: #f59e0b; /* Golden heading */
}

/* --- Mobile Responsive Navigation Menu --- */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
    padding: 0;
}

nav li {
    margin-bottom: 0;
}

nav a {
    display: inline-block;
    color: #1e1b4b; /* Dark text inside gold button */
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 18px;
    background-color: #f59e0b; /* Golden button background */
    border: 2px solid #d97706;
    border-radius: 6px;
    transition: all 0.3s ease;
}

nav a:hover, nav a:focus {
    background-color: #fbbf24; /* Lighter gold on hover */
    color: #0f172a;
    transform: translateY(-2px);
}

/* Adjust navigation layout for smaller mobile screens */
@media (max-width: 650px) {
    header h1 {
        font-size: 28px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    nav a {
        display: block;
        text-align: center;
        font-size: 18px;
        padding: 12px 10px;
    }
}

/* --- Main Content Section --- */
main {
    max-width: 1000px;
    margin: 25px auto;
    background: rgba(15, 23, 42, 0.85); /* Dark semi-transparent container for readability */
    padding: 30px;
    border: 1px solid #d97706;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

@media (max-width: 650px) {
    main {
        padding: 20px 15px;
    }
}

/* --- Golden Headings --- */
h2 {
    font-size: 32px;
    color: #f59e0b; /* Golden color */
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #d97706;
    padding-bottom: 5px;
}

h3 {
    font-size: 26px;
    color: #fbbf24; /* Slightly lighter gold for subheadings */
    margin-top: 25px;
    margin-bottom: 10px;
}

p, ol, ul {
    margin-bottom: 20px;
}

ol, ul {
    padding-left: 25px;
}

li {
    margin-bottom: 12px;
}

blockquote {
    font-size: 24px;
    font-style: italic;
    color: #fef3c7;
    background-color: rgba(245, 158, 11, 0.15);
    border-left: 6px solid #f59e0b;
    padding: 18px;
    margin: 25px 0;
    border-radius: 4px;
}

.img-container, .profile-img-container {
    text-align: center;
    margin: 25px 0;
}

.img-container img, .profile-img-container img {
    max-width: 100%;
    height: auto;
    border: 2px solid #f59e0b;
    border-radius: 6px;
}

.profile-img-container img {
    max-width: 350px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border: 2px solid #f59e0b;
    border-radius: 6px;
}

.contact-card {
    background-color: rgba(245, 158, 11, 0.1);
    border: 2px solid #f59e0b;
    padding: 25px;
    margin: 25px 0;
    border-radius: 6px;
}

.contact-card a {
    color: #fbbf24;
    font-weight: bold;
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid #d97706;
    font-size: 18px;
    color: #fef3c7;
}
/* --- Side-by-Side Hero Layout --- */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 0 0 320px; /* Fixed maximum width for portrait image */
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border: 3px solid #f59e0b; /* Golden border accent */
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column; /* Stack vertically on phones & tablets */
        gap: 20px;
    }

    .hero-image {
        flex: none;
        width: 100%;
    }

    .hero-image img {
        max-width: 260px; /* Slightly smaller size on mobile screens */
    }
}