/* Import Bootstrap and other libraries */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://unpkg.com/aos@next/dist/aos.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

/* Global Styles */
:root {
    --primary-color: #0056a6; /* Updated blue based on logo */
    --secondary-color: #2e75b6;
    --accent-color: #f39c12; /* More vibrant accent */
    --light-color: #f4f4f4;
    --dark-color: #222;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Bootstrap Additions & Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.card {
    transition: var(--transition);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Custom cursor and scroll effects */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(0, 86, 166, 0.3);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
    display: none;
}

@media (min-width: 992px) {
    .custom-cursor {
        display: block;
    }
}

.custom-cursor.grow {
    transform: translate(-50%, -50%) scale(2);
    background-color: rgba(243, 156, 18, 0.4);
}

/* Mouse trail effect */
.trail {
    position: absolute;
    height: 6px; 
    width: 6px;
    border-radius: 3px;
    background: var(--accent-color);
    opacity: 0;
    pointer-events: none;
}

/* Fancy link hover effects */
.fancy-link {
    position: relative;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 5px 0;
}

.fancy-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
}

.fancy-link:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

/* Additional animations */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.pulse {
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 3D Card Effect */
.card-3d {
    perspective: 1000px;
}

.card-3d-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.card-3d:hover .card-3d-inner {
    transform: rotateY(10deg);
}

/* Loading animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-animation {
    width: 80px;
    height: 80px;
    border: 5px solid var(--light-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    border-bottom-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Rest of existing styles can remain unchanged */

/* Global Styles */
:root {
    --primary-color: #004b8d;
    --secondary-color: #2e75b6;
    --accent-color: #f8b74d;
    --light-color: #f4f4f4;
    --dark-color: #222;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-white {
    background: #fff;
    color: var(--primary-color);
}

.btn-white:hover {
    background: #f8f8f8;
    color: var(--secondary-color);
}

.center {
    text-align: center;
    margin: 2rem 0;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo h1 {
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 2rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: var(--transition);
}

.logo h1:hover {
    transform: scale(1.05);
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.logo h1:hover::after {
    transform: scaleX(1);
}

.tagline {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-style: italic;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.8rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

nav ul li a:hover::after, 
nav ul li a.active::after {
    transform: scaleX(1);
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 75, 141, 0.8), rgba(46, 117, 182, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.1;
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero .btn {
    animation: fadeInUp 1.2s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    opacity: 0.05;
    border-radius: 50%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(0, 75, 141, 0.03), transparent);
    transition: height 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--accent-color);
}

.feature-item:hover::before {
    height: 100%;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-item:hover i {
    color: var(--secondary-color);
    transform: rotateY(180deg);
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.feature-item p {
    color: #666;
}

/* Products Preview */
.products-preview {
    padding: 5rem 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-item:hover::before {
    opacity: 1;
}

.product-item img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item h3, .product-item p {
    padding: 0.8rem 1.2rem;
    position: relative;
    z-index: 2;
}

.product-item h3 {
    margin-top: 0.5rem;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.product-item p {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 5rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.testimonials .section-title {
    color: #fff;
}

.testimonials .section-title::after {
    background: var(--accent-color);
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial::before {
    content: '\201C';
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Arial, sans-serif;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.testimonial h4 {
    font-weight: 500;
    font-size: 1.1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta p {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--accent-color);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 0.7rem;
    transition: var(--transition);
}

.footer-col ul li a {
    color: #ccc;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-col ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 20px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.social-icons {
    display: flex;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.8rem;
    margin-bottom: 0.8rem;
    color: #fff;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: transform 0.3s ease;
    transform: scale(0);
    border-radius: 50%;
}

.social-icons a i {
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icons a:hover::before {
    transform: scale(1);
}

.social-icons.enhanced a {
    font-size: 1.2rem;
    height: 45px;
    width: 45px;
    margin-right: 1rem;
}

.social-icons.enhanced a:hover i {
    animation: pulse 0.8s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

.footer-col p {
    margin-bottom: 1rem;
    color: #ccc;
    line-height: 1.7;
}

.footer-col p i {
    margin-right: 0.8rem;
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

/* Animation Classes */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeIn {
    animation-name: fadeIn;
}

.fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile menu styles */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 200;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: var(--transition);
    }
    
    nav.active {
        height: auto;
        margin-top: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .feature-grid, .product-grid {
        gap: 1.5rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: 60vh;
    }
    
    .feature-item, .product-item {
        padding: 1.5rem;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section Styles */
.gallery-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 1;
}

.gallery-title {
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 1s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Masonry Gallery */
.masonry-gallery {
    column-count: 3;
    column-gap: 20px;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
}

/* Image Carousel */
.carousel-radialum {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.carousel-radialum .carousel-inner {
    border-radius: 15px;
}

.carousel-radialum .carousel-item img {
    height: 500px;
    object-fit: cover;
}

.carousel-radialum .carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 15px;
    bottom: 30px;
    backdrop-filter: blur(5px);
    max-width: 80%;
    margin: 0 auto;
}

.carousel-indicators {
    margin-bottom: 15px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators .active {
    background-color: var(--primary-color);
}

.carousel-control-prev, .carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-radialum:hover .carousel-control-prev,
.carousel-radialum:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 25px;
}

/* Animated Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.grid-item {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
}

.grid-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.grid-item:hover .grid-overlay {
    transform: translateY(0);
}

/* Gallery Lightbox */
.modal-xl {
    max-width: 90%;
}

.lightbox-img {
    max-height: 85vh;
    object-fit: contain;
}

.modal-header, .modal-footer {
    border: none;
}

.lightbox-caption {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}

.thumbnail-gallery::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.thumbnail-item {
    flex: 0 0 auto;
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover {
    transform: scale(1.05);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Additional styles for contact page */

/* Contact hero decoration */
.contact-hero {
    overflow: hidden;
}

.decorative-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    bottom: -80px;
    left: -80px;
    animation: float 6s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, 15px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Contact cards styling */
.contact-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(0, 86, 166, 0.1);
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
}

/* Contact form styling */
.contact-form-container {
    border-radius: 15px;
    background: linear-gradient(to bottom right, white, #f9f9f9);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 166, 0.25);
}

/* Map styling */
.map-container {
    border-radius: 15px;
    overflow: hidden;
}

.business-hours {
    border-radius: 15px;
}

.hours-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e9e9e9;
}

.hours-list li:last-child {
    border-bottom: none;
}

/* Social links styling */
.social-links {
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-link.facebook {
    background-color: #3b5998;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.linkedin {
    background-color: #0077b5;
}

.social-link.youtube {
    background-color: #ff0000;
}

/* Gallery mini items */
.gallery-mini-item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-mini-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 166, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.gallery-mini-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-mini-item:hover::before {
    opacity: 1;
}

.gallery-mini-item img {
    transition: all 0.5s ease;
}

.gallery-mini-item:hover img {
    transform: scale(1.1);
}

/* FAQ Section */
.accordion-item {
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
    background-color: white;
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(0, 86, 166, 0.05);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

.accordion-button::after {
    background-size: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-body {
    padding: 1.25rem;
    background-color: white;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-form-container, 
    .map-container, 
    .business-hours {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .social-link {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}

/* Additional styles for products page */

/* Product Cards Styling */
.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img-container {
    position: relative;
    overflow: hidden;
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 166, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-view-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card:hover .product-view-btn {
    transform: translateY(0);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 1;
}

/* Feature Boxes */
.feature-box {
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 86, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
}

/* Products Hero Styling */
.products-hero {
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.1;
    z-index: 1;
}

.products-hero .container {
    position: relative;
    z-index: 2;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    transition: all 0.3s ease;
}

.scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-down i {
    font-size: 1.5rem;
    margin-top: 5px;
}

.scroll-down:hover {
    transform: translate(-50%, -5px);
}

/* Filter Buttons Styling */
.filter-button-group {
    margin-bottom: 2rem;
}

.filter-button-group .btn {
    margin: 0 5px 10px;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-button-group .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Project Carousel Styling */
.project-carousel-container {
    position: relative;
}

.carousel-fade .carousel-item {
    transition: opacity 0.6s ease-in-out;
}

.project-content {
    border-radius: 10px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.custom-indicators {
    position: relative;
    margin-top: 20px;
    justify-content: center;
    bottom: auto;
    margin-bottom: 0;
}

.custom-indicators button {
    width: auto;
    height: auto;
    text-indent: 0;
    margin: 0 5px;
    padding: 5px 15px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    border: none;
    color: #666;
    transition: all 0.3s ease;
}

.custom-indicators button.active {
    background-color: var(--primary-color);
    color: white;
    width: auto;
}

/* Modal styling */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header, .modal-footer {
    border: none;
}

/* CTA Section */
.cta-products {
    position: relative;
}

.cta-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.05;
    z-index: 1;
}

.cta-products .container {
    position: relative;
    z-index: 2;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .products-hero {
        height: 40vh;
    }
}

@media (max-width: 768px) {
    .products-hero {
        height: 35vh;
    }
    
    .filter-button-group .btn {
        margin-bottom: 10px;
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .feature-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .products-hero {
        height: 30vh;
    }
    
    .products-hero h1 {
        font-size: 2rem;
    }
}

/* Additional styles for About page */

/* About Hero */
.about-hero {
    position: relative;
    overflow: hidden;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

/* Timeline styling */
.about-timeline {
    position: relative;
    padding-left: 30px;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 2px solid var(--primary-color);
    z-index: 1;
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* About image container */
.about-img-container {
    position: relative;
    max-width: 500px;
}

.floating-card {
    position: absolute;
    padding: 15px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

.floating-card-1 {
    top: 20px;
    right: -30px;
    animation-delay: 0.5s;
}

.floating-card-2 {
    bottom: 30px;
    left: -30px;
    animation-delay: 1s;
}

.floating-card-inner {
    display: flex;
    align-items: center;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 10px;
}

.floating-card span {
    font-weight: 600;
    color: var(--dark-color);
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Values cards */
.value-card {
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: rgba(0, 75, 141, 0.1);
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Team member styling */
.team-member {
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    transition: var(--transition);
    height: 300px;
    object-fit: cover;
}

.team-member:hover .team-img img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 75, 141, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .team-social {
    opacity: 1;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .team-social a {
    transform: translateY(0);
    opacity: 1;
}

.team-social a:nth-child(1) {
    transition-delay: 0.1s;
}

.team-social a:nth-child(2) {
    transition-delay: 0.2s;
}

.team-social a:nth-child(3) {
    transition-delay: 0.3s;
}

.team-social a:hover {
    background: var(--accent-color);
    color: white;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.team-info h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-info p {
    color: #666;
    margin-bottom: 0;
}

/* Stats styling */
.stats-container {
    position: relative;
}

.stat-item {
    padding: 1.5rem;
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Mini testimonial */
.testimonial-mini {
    position: relative;
    padding-top: 3rem !important;
}

.quote-icon {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 2rem;
    color: rgba(0, 75, 141, 0.2);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #666;
}

.testimonial-author h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.testimonial-author p {
    font-size: 0.9rem;
    color: #888;
}

/* Accordion custom styling */
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(0, 75, 141, 0.05);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-img-container {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .floating-card {
        position: relative;
        margin: 1rem 0;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
    
    .value-card, .team-member {
        margin-bottom: 2rem;
    }
}
