/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(to right, #007bff, #6c757d);
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.header .logo i {
    font-size: 2rem;
    margin-right: 10px;
}

.header .logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.navmenu ul {
    display: flex;
    list-style: none;
}

.navmenu ul li {
    margin-left: 20px;
}

.navmenu ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
}

.navmenu ul li a:hover, 
.navmenu ul li a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Page Title */
.page-title {
    background: linear-gradient(to bottom, #007bff, #00c6ff);
    color: white;
    padding: 80px 20px;
    text-align: center;
    font-style: italic;
}

.page-title .heading {
    margin-bottom: 20px;
    font-style: italic;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    font-style: italic;
}

.page-title p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.6;
    font-style: italic;
}

.page-title .cta-btn {
    background: #ff5722;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
    font-style: italic;
}

.page-title .cta-btn:hover {
    background: #e64a19;
}

/* Breadcrumbs (Override for Page Title) */
.page-title .breadcrumbs {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    font-style: italic;
}

.page-title .breadcrumbs ol li {
    color: #6c757d;
    font-style: italic;
}

.page-title .breadcrumbs ol li a {
    color: #007bff;
    font-style: italic;
}

.page-title .breadcrumbs ol li a:hover {
    color: #0056b3;
}

.page-title .breadcrumbs ol li.current {
    color: #333;
    font-weight: bold;
    font-style: italic;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    font-style: italic;
}

.breadcrumbs ol {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    align-items: center;
    font-size: 1rem;
    font-style: italic;
}

.breadcrumbs ol li {
    color: #6c757d;
    font-style: italic;
}

.breadcrumbs ol li a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s;
    font-style: italic;
}

.breadcrumbs ol li a:hover {
    color: #0056b3;
}

.breadcrumbs ol li.current {
    font-weight: bold;
    color: #333;
    font-style: italic;
}

.breadcrumbs ol li::after {
    content: '/';
    margin: 0 5px;
    color: #adb5bd;
}

.breadcrumbs ol li:last-child::after {
    content: '';
}

/* About Section */
#about {
    padding: 50px 0;
}

#about .content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 15px;
    text-align: center;
}

#about .content p {
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.8;
}

#about .content p.fst-italic {
    font-style: italic;
    color: #6c757d;
}

#about img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: #6c757d;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

.footer .social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s, transform 0.2s;
}

.footer .social-links a:hover {
    color: #ffce00;
    transform: scale(1.2);
    transition: transform 0.3s, color 0.3s;
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: #007bff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scroll-top i {
    font-size: 24px;
    color: white;
    line-height: 0;
}

.scroll-top:hover {
    background-color: #0056b3;
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

#preloader .line {
    width: 50px;
    height: 5px;
    background: #007bff;
    border-radius: 5px;
    animation: load 1s infinite, pulse 1.5s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 991px) {
    .gallery .col-xl-3 {
        flex: 0 0 48%;
        max-width: 48%;
    }
}

@media (max-width: 575px) {
    .gallery .col-xl-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@keyframes load {
    0% {
        transform: scaleX(0);
    }
    50% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        background-color: #007bff;
    }
    50% {
        transform: scale(1.2);
        background-color: #0056b3;
    }
    100% {
        transform: scale(1);
        background-color: #007bff;
    }
}
