--- IGNORE ---
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --dark-grey: #1a1f2b;
    --text-color: #ffffff;
    --accent-blue: #2a3f5f;
    --highlight: #3a6ea5;
}

body {
    background-color: var(--dark-grey);
    color: var(--text-color);
    background-image:
        radial-gradient(circle at 25% 25%, rgba(42, 63, 95, 0.2) 0%, transparent 55%),
        radial-gradient(circle at 75% 75%, rgba(42, 63, 95, 0.2) 0%, transparent 55%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="2"/></svg>');
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    background-color: rgba(26, 31, 43, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-color);
}

/* Navigation Styles */
.bottom-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 31, 43, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/*.top-nav {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    background-color: rgba(26, 31, 43, 0.95);*/
/*    backdrop-filter: blur(10px);*/
/*    display: flex;*/
/*    justify-content: space-around;*/
/*    padding: 12px 0;*/
/*    z-index: 1000;*/
/*    border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
/*}*/

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 31, 43, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-nav i {
    display: none; /* Hides all <i> elements (icons) within .top-nav */
}

.top-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem; /* Base font size for readability */
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.top-nav a:hover {
    color: #00aaff; /* Highlight color on hover */
}

.top-nav a.active {
    color: #00aaff; /* Active link styling */
    background-color: rgba(255, 255, 255, 0.1); /* Subtle background for active item */
    border-radius: 4px;
}

/* Responsive design for larger screens (desktops, tablets) */
@media (min-width: 768px) {
    .top-nav {
        justify-content: center; /* Center items on larger screens */
        gap: 2rem; /* Space between nav items */
    }

    .top-nav a {
        font-size: 1.1rem; /* Slightly larger font for desktop */
        padding: 10px 20px;
    }
}

/* Responsive design for mobile screens */
@media (max-width: 767px) {
    .top-nav {
        justify-content: space-between; /* Spread items evenly on mobile */
        padding: 8px 0; /* Reduced padding for mobile */
        flex-wrap: wrap; /* Allow wrapping if needed */
    }

    .top-nav a {
        font-size: 0.9rem; /* Smaller font for mobile */
        padding: 6px 10px; /* Reduced padding for mobile */
        flex: 1; /* Make nav items take equal width */
        min-width: 60px; /* Minimum width to prevent crowding */
    }

    .top-nav a span {
        white-space: nowrap; /* Prevent text wrapping */
    }
}

/*TOP NAV BAR ENEDED*/

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.nav-item.active {
    color: var(--highlight);
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Page Sections */
.page {
    display: none;
    padding: 30px 0 80px;
    min-height: calc(100vh - 140px);
}

.page.active {
    display: block;
}

/* Home Section */
#home {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-img-placeholder {
    width: 400px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-blue), var(--highlight));
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.logo {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background-color: var(--highlight);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--highlight);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.company-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.company-card h3 {
    margin-bottom: 10px;
    color: var(--highlight);
}

/* Journey Section */
.journey-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--highlight), var(--accent-blue));
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--highlight);
}

.timeline-year {
    font-weight: bold;
    color: var(--highlight);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.journals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.journal-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.journal-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.journal-card h3 {
    margin-bottom: 15px;
    color: var(--highlight);
    font-size: 1.3rem;
}

.journal-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.journal-excerpt {
    margin-bottom: 15px;
    line-height: 1.6;
}

.journal-link {
    color: var(--highlight);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.journal-link:hover {
    gap: 10px;
}

/* Gallery Section */
.gallery-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-blue), var(--highlight));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

/* Books Section */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.book-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.book-cover {
    height: 200px;
    background: linear-gradient(135deg, var(--accent-blue), var(--highlight));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.book-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.book-info p {
    margin-bottom: 15px;
    opacity: 0.8;
    flex-grow: 1;
}

.book-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--highlight);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--highlight);
    color: var(--highlight);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.business-card {
    background: linear-gradient(135deg, var(--accent-blue), var(--dark-grey));
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--highlight), #5a9bd4);
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
}

.card-details h2 {
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.card-details p {
    opacity: 0.8;
}

.card-contact {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    width: 30px;
    font-size: 1.2rem;
    color: var(--highlight);
}

.card-actions {
    display: flex;
    gap: 10px;
}

.card-actions .btn {
    flex: 1;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--highlight);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: rgba(20, 25, 35, 0.9);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--highlight);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .about-content,
    .contact-content,
    .journey-content {
        grid-template-columns: 1fr;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    .gallery-content {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .brand-name {
        font-size: 1.5rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-img-placeholder {
        width: 300px;
        height: 400px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .bottom-nav {
        padding: 8px 0;
    }

    .nav-item {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .nav-item i {
        font-size: 1rem;
    }

    .gallery-content {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-img-placeholder {
        width: 250px;
        height: 320px;
    }

    .books-grid,
    .gallery-content {
        grid-template-columns: 1fr;
    }

    .card-actions {
        flex-direction: column;
    }

    .book-actions {
        flex-direction: column;
    }
}
