/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    position: relative;
}

/* Navbar */
.navbar {
    background-color: transparent !important;
}
.navbar-brand img {
    width: 100px;
}
.navbar-nav .nav-link {
    color: #333;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ad8c2e;
}

/* Decorative Squares */
.squares {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}
.square {
    position: absolute;
    background: #7a6321;
    opacity: 0.15;
    width: 50rem;
    height: 20rem;
    transform: rotate(-29deg);
}
.square-1 { top: -10%; left: -10%; }
.square-2 { top: 20%; left: 60%; }
.square-3 { top: 50%; left: -5%; }
.square-4 { top: 80%; left: 60%; }
.square-5 { top: 110%; left: -15%; }

/* About Us Section */
.about-section {
    padding: 3rem 0;
}
.about-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #3a4d62;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, #ad8c2e, #7a6321);
    border-radius: 2px;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}
.about-image img {
    max-width: 100%;
    height: auto;
}
.about-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #ad8c2e, #7a6321);
    transition: width 0.3s ease;
}
.about-card:hover::before {
    width: 10px;
}
.about-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #3a4d62;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.about-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30%;
    height: 2px;
    background: #ad8c2e;
    border-radius: 1px;
}
.about-card p {
    margin-bottom: 0.5rem;
}
.about-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.about-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}
.about-card ul li::before {
    content: '➔';
    position: absolute;
    left: 0;
    color: #ad8c2e;
    font-size: 1.2rem;
}
.about-card a {
    color: #ad8c2e;
    text-decoration: none;
}
.about-card a:hover {
    color: #7a6321;
    text-decoration: underline;
}
.about-card .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}
.about-card .contact-info li {
    margin-bottom: 0.5rem;
}
.about-card .contact-info img {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Image Credit */
.image-credit {
    font-size: 0.9rem;
    color: #333;
    font-style: italic;
}
.image-credit a {
    color: #ad8c2e;
    text-decoration: none;
    transition: color 0.3s ease;
}
.image-credit a:hover {
    color: #7a6321;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #3a4d62;
    color: #ECF0F1;
    padding: 3rem 0 1rem;
}
footer .logo img {
    width: 75px;
}
footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin-bottom: 0.5rem;
    display: table;
    margin-right: 20px;
}
footer a {
    color: #ECF0F1;
    text-decoration: none;
}
footer a:hover {
    color: #ad8c2e;
}
footer .social-icons img {
    width: 24px;
    margin-right: 0.5rem;
}
footer .hit-counter {
    font-weight: 700;
    color: #ad8c2e;
}

/* Footer Contact Item */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.contact-icon {
    width: 24px;
    flex-shrink: 0;
    margin-top: 2px; /* Adjusts vertical alignment */
}
.contact-text {
    flex: 1;
    line-height: 1.5;
    color: #ECF0F1;
}
.contact-text a {
    color: #ECF0F1;
    text-decoration: none;
}
.contact-text a:hover {
    color: #ad8c2e;
}

/* Theme Switcher */
.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: #ffffff;
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}
.btn-bd-primary .bi {
    fill: #ffffff;
}
.bd-mode-toggle {
    z-index: 1500;
}
.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

/* Dark Theme */
[data-bs-theme="dark"] {
    body {
        background-color: #1a1a1a;
        color: #f8f9fa;
    }
    .navbar-nav .nav-link {
        color: #f8f9fa;
    }
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #ba9a00;
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(248, 249, 250, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .square {
        background: #7a6321;
        opacity: 0.15;
    }
    .about-section h2,
    .about-section h3 {
        color: #f8f9fa;
    }
    .about-card {
        background: #2a2a2a;
    }
    .about-card a {
        color: #ba9a00;
    }
    .about-card a:hover {
        color: #ad8c2e;
    }
    footer {
        background-color: #1a1a1a;
    }
    footer a {
        color: #f8f9fa;
    }
    footer a:hover {
        color: #ba9a00;
    }
    footer .hit-counter {
        color: #ad8c2e;
    }
    .bd-mode-toggle .dropdown-menu .bi {
        fill: #ad8c2e;
    }
    .image-credit {
        color: #f8f9fa;
    }
    .image-credit a {
        color: #ba9a00;
    }
    .image-credit a:hover {
        color: #ad8c2e;
    }
    .contact-text {
        color: #f8f9fa;
    }
    .contact-text a {
        color: #f8f9fa;
    }
    .contact-text a:hover {
        color: #ba9a00;
    }
}