:root {
    --primary: #008080;
    --secondary: #2c3e50;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

/* Loading line animation */
.page-loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #008080; /* Teal background */
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .page-loader-line {
            position: relative;
            width: 80%;
            max-width: 400px;
            height: 2px;
            background: rgba(255, 255, 255, 0.2); /* Subtle track */
            overflow: hidden;
        }
        .page-loader-line::after {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 0;
            background: white; /* White loading line */
            animation: loading 1.5s ease-in-out forwards;
        }
        @keyframes loading {
            0% { width: 0; }
            100% { width: 100%; }
        }
        body.loading {
            overflow: hidden;
        }

/* Base Styles */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 72px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary);
}

.highbrow-logo {
    font-family: 'Amaranth', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.hero-section {
    background: linear-gradient(135deg, #d9d9d9 0%, #008080 100%);
}

.about-section {
    background-color: #f2f2f2;
}

.services-section {
    background-color: white;
}

.team-section {
    background-color: var(--light-gray);
}

.blog-section {
    background-color: white;
}

.testimonials-section {
    background-color: var(--light-gray);
}

.careers-section {
    background-color: white;
}

.contact-section {
    background: linear-gradient(135deg, #d9d9d9 0%, #e6e6e6 100%);
}

.footer {
    background-color: var(--dark-gray);
    color: white;
}

/* Navbar */
.navbar {
    background-color: var(--primary) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}


/* Services Section */
.services-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.service-cascade-left, 
.service-cascade-right {
    position: relative;
    z-index: 1;
}

.service-cascade-left::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -100px;
    width: 150%;
    height: 150%;
    background: linear-gradient(135deg, rgba(0,128,128,0.05) 100%, rgba(255,255,255,0) 100%);
    z-index: -1;
    transform: rotate(-5deg);
}

.service-cascade-right::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 150%;
    height: 150%;
    background: linear-gradient(45deg, rgba(0,128,128,0.05) 100%, rgba(255,255,255,0) 100%);
    z-index: -1;
    transform: rotate(5deg);
}

.service-content {
    position: relative;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-content:hover {
    transform: translateY(-5px);
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-image img {
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.03);
}

.service-features {
    list-style: none;
    padding-left: 0;
}

.service-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 30px;
}

.service-features i {
    position: absolute;
    left: 0;
    top: 10px;
}

/* Enhanced Service Styles */
.service-content {
    padding: 2.5rem !important;
    border-left: 4px solid var(--primary);
}

.service-cascade-right .service-content {
    border-left: none;
    border-right: 4px solid var(--primary);
}

.service-features {
    margin-top: 1.5rem;
}

.service-features li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.service-image {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    transform-style: preserve-3d;
}

.service-cascade-left .service-image {
    transform: perspective(1000px) rotateY(-5deg);
}

.service-cascade-right .service-image {
    transform: perspective(1000px) rotateY(5deg);
}

.service-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .service-image {
        transform: none !important;
    }
    
    .service-content {
        border-left: 4px solid var(--primary) !important;
        border-right: none !important;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .service-cascade-left::before,
    .service-cascade-right::before {
        display: none;
    }
    
    .service-content,
    .service-image {
        margin-bottom: 2rem;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Oval Image Styling - Expert Section */
    .oval-frame {
        width: 220px;
        height: 220px;
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
        border: 4px solid white;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        overflow: hidden;
        background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .oval-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        transform: scale(1.05);
        transition: transform 0.3s ease;
    }
    
    .team-card:hover .oval-img {
        transform: scale(1.08);
    }
    
    /* Card Styling */
    .team-card {
        transition: all 0.3s ease;
    }
    
    .social-links .btn {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .social-links .btn:hover {
        background-color: var(--bs-primary);
        color: white !important;
    }
    
    /* Responsive Adjustments */
    @media (max-width: 767.98px) {
        .oval-frame {
            width: 180px;
            height: 180px;
        }
        
        .team-card .card-body {
            text-align: center;
        }
    }

/* Carousels */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    padding: 1.2rem;
    background-size: 60%;
}

/* Testimonials */
.testimonial-card {
    max-width: 800px;
    padding: 2.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.client-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid var(--primary);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

/* Like Button */
.like-btn {
    transition: all 0.3s;
}

.like-btn.liked {
    color: #dc3545;
    border-color: #dc3545;
}

.like-btn.liked i {
    font-weight: 900;
}

/* Responsiveness */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
}
/* Navbar dropdown on hover */
@media (min-width: 992px) {
            .dropdown:hover .dropdown-menu {
                display: block;
            }
        }