/* Global Styles */
:root {
    --primary-color: #2F4F6F;
    --primary-color-rgb: 47, 79, 111;
    --accent-color: #6DAEDB;
    --accent-color-rgb: 109, 174, 219;
    --bg-light: #E8F1F8;
    --dark-color: #333333;
    --text-muted: #555555;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-muted);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--accent-color);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
    color: white;
}

.hero-section .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Hero Image Styles */
.hero-image-wrapper {
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hero-image {
    position: relative;
    z-index: 2;
    transform: translateZ(0);
    transition: transform 0.3s ease;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.hero-image-shape {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) rotateX(60deg);
    width: 90%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 70%);
    animation: shadowFloat 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateY(0);
    }
    25% {
        transform: translateY(-10px) rotateY(2deg);
    }
    50% {
        transform: translateY(0) rotateY(-1deg);
    }
    75% {
        transform: translateY(10px) rotateY(1deg);
    }
}

@keyframes shadowFloat {
    0%, 100% {
        transform: translateX(-50%) rotateX(60deg) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translateX(-50%) rotateX(60deg) scale(0.9);
        opacity: 0.4;
    }
    50% {
        transform: translateX(-50%) rotateX(60deg) scale(1.1);
        opacity: 0.3;
    }
    75% {
        transform: translateX(-50%) rotateX(60deg) scale(0.95);
        opacity: 0.4;
    }
}

.hero-image-wrapper:hover .hero-image {
    transform: translateY(-15px) rotateY(5deg);
}

.hero-image-wrapper:hover .hero-image-shape {
    transform: translateX(-50%) rotateX(60deg) scale(0.9);
    opacity: 0.3;
}

/* Responsive adjustments for hero image */
@media (max-width: 991.98px) {
    .hero-image-wrapper {
        margin-top: 2rem;
        transform: scale(0.9);
    }
}

@media (max-width: 767.98px) {
    .hero-image-wrapper {
        transform: scale(0.8);
    }
}

/* Features Section */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Cards */
.card {
    transition: transform 0.3s ease;
    border: none;
    border-radius: 12px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    border-radius: 12px 12px 0 0;
    height: 240px;
    object-fit: cover;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
}

.btn-dark {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.btn-dark:hover {
    background-color: #000;
    border-color: #000;
}

.btn-outline-dark {
    border-color: var(--dark-color);
    color: var(--dark-color);
}

.btn-outline-dark:hover {
    background-color: var(--dark-color);
    color: white;
}

/* Form Controls */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

/* Navigation Buttons */
.navigation-buttons .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0;
}

footer h5 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer .text-muted {
    color: #9CA3AF !important;
}

footer a.text-muted:hover {
    color: white !important;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 4rem 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
    }

    .hero-section .d-flex {
        flex-direction: column;
    }

    .hero-section .btn {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Project Showcase Styles */
.project-showcase {
    position: relative;
    overflow: hidden;
}

.project-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: #f8f9fa;
}

.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    will-change: opacity;
    display: none;
}

.project-slide.active {
    opacity: 1;
    display: block;
}

.project-slide img.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateZ(0);
    will-change: transform;
    z-index: 2;
}

.project-info h4 {
    margin-bottom: 5px;
    font-weight: 600;
}

.project-info p {
    margin: 0;
    opacity: 0.9;
}

.project-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 100%;
    padding: 10px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.project-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.project-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.project-thumbnails::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 6px;
}

.thumbnail {
    width: 65px;
    height: 45px;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex: 0 0 auto;
    margin: 0 2px;
}

.thumbnail:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.thumbnail.active {
    opacity: 1;
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-nav-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-nav-btn:hover {
    transform: translateX(0);
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.project-nav-btn.prev:hover {
    transform: translateX(-5px);
}

.project-nav-btn.next:hover {
    transform: translateX(5px);
}

/* Animation for slide transitions */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.project-slide.animate-in {
    animation: slideIn 0.5s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-slider {
        height: 400px;
    }
    
    .project-thumbnails {
        gap: 6px;
        padding: 8px 0;
    }
    
    .thumbnail {
        width: 55px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .thumbnail {
        width: 50px;
        height: 35px;
    }
}

/* Floor Plans Styles */
.unit-type-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.unit-type-tabs .btn {
    min-width: 180px;
    transition: all 0.3s ease;
}

.floor-plans {
    position: relative;
}

.floor-plan {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floor-plan.active {
    display: block;
    opacity: 1;
}

.floor-plan-interactive {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.floor-plan-interactive img {
    width: 100%;
    transition: transform 0.3s ease;
}

.floor-plan-interactive:hover img {
    transform: scale(1.02);
}

/* Hotspots */
.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}

.hotspot-dot {
    display: block;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
    animation: pulse 2s infinite;
}

.hotspot-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.hotspot-content:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: white;
}

.hotspot:hover .hotspot-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0,102,255,0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0,102,255,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0,102,255,0);
    }
}

/* Floor Plan Details */
.floor-plan-details {
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.specs {
    margin: 1.5rem 0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.spec-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--primary-color);
}

.key-features ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .unit-type-tabs {
        flex-wrap: wrap;
    }
    
    .unit-type-tabs .btn {
        min-width: 140px;
    }
    
    .floor-plan-details {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hotspot-content {
        width: 160px;
    }
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-container {
    width: 100%;
    max-width: 600px;
    margin: 100px auto;
    padding: 0 20px;
}

.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 1.2rem;
    border: none;
    border-bottom: 2px solid var(--dark-color);
    background: transparent;
    outline: none;
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-color);
    padding: 10px;
    transition: transform 0.3s ease;
}

.search-close:hover {
    transform: rotate(90deg);
}

.search-results {
    margin-top: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

/* Agent Images */
.agent-image-container {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.agent-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.3s ease;
}

.agent-image:hover {
    transform: scale(1.05);
}

/* Card styles for agents */
.agent-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Responsive adjustments for agent images */
@media (max-width: 768px) {
    .agent-image-container {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .agent-image-container {
        height: 280px;
    }
}

/* Visible Thumbnails */
.visible-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px;
    overflow: hidden;
}

.visible-thumbnail {
    width: 100px;
    height: 60px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateZ(0);
    will-change: transform, border-color;
    flex-shrink: 0;
}

.visible-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.3s ease;
}

.visible-thumbnail:hover {
    border-color: #666;
}

.visible-thumbnail:hover img {
    transform: scale(1.1);
}

.visible-thumbnail.active {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-slider {
        height: 400px;
    }
    
    .visible-thumbnails {
        gap: 5px;
    }
    
    .visible-thumbnail {
        width: 80px;
        height: 48px;
    }
}

@media (max-width: 576px) {
    .project-slider {
        height: 300px;
    }
    
    .visible-thumbnail {
        width: 60px;
        height: 36px;
    }
}

/* Search Modal Styles */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

.search-modal-content {
    position: relative;
    background-color: #fff;
    margin: 60px auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-input-group {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--bs-primary);
}

.search-results {
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px 0;
}

.search-result {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.search-result:hover {
    background-color: #f8f9fa;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result h5 {
    margin-bottom: 5px;
}

.search-result h5 a {
    color: var(--bs-dark);
    text-decoration: none;
}

.search-result h5 a:hover {
    color: var(--bs-primary);
}

.search-result .badge {
    text-transform: capitalize;
}

/* Custom scrollbar for search results */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Gallery Filter Styles */
.gallery-filter .btn.active {
    background-color: #0d6efd;
    color: white;
}

.gallery-thumbnail {
    height: 160px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.03);
}

/* Modal Styles */
.modal-xl {
    max-width: 90%;
    max-height: 85vh;
}

.project-modal .modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    max-height: 85vh;
}

.project-modal .modal-body {
    padding: 1rem 1.5rem 1rem;
    overflow-y: auto; 
    max-height: 58vh;
    min-height: auto;
}

/* Enhanced footer for request button */
.project-modal .modal-footer {
    border-top: 1px solid #eee;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
}

.request-more-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    z-index: 10;
    position: relative;
}

.request-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.4);
}

/* Video Container Styles */
.video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 420px;
    min-height: 420px;
    margin-bottom: 20px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.play-button-overlay {
    z-index: 2;
    cursor: pointer;
}

.play-btn {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.play-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Lightbox Custom Styles */
.lb-data .lb-caption {
    font-size: 16px;
    font-weight: bold;
}

.lb-data .lb-number {
    font-size: 14px;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 0.8;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1;
}

/* Custom 5-column layout */
.col-md-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 767.98px) {
    .col-md-2-4 {
        width: 50%;
    }
}

/* Dropdown hover effect */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.navbar .dropdown-menu {
    margin-top: 0;
}

/* Concept Page Styles */
.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--bs-primary);
    transform: translateX(-50%);
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.concept-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.concept-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.concept-content h2 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.concept-content .lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #0d6efd;
}

/* Philosophy Cards */
.philosophy-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

.philosophy-icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 1.5rem;
}

.philosophy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Architect Cards */
.architect-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

.architect-image {
    margin-bottom: 1.5rem;
}

.architect-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #f8f9fa;
    transition: all 0.3s ease;
}

.architect-card:hover .architect-image img {
    border-color: #0d6efd;
}

.architect-title {
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 1rem;
}

.architect-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.architect-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #343a40;
    transition: all 0.3s ease;
}

.architect-social a:hover {
    background-color: #0d6efd;
    color: white;
    transform: translateY(-3px);
}

/* Sustainability Cards */
.sustainability-card {
    padding: 1.5rem;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

.sustainability-icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

.sustainability-content h4 {
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

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

.social-icons a:hover {
    background-color: #0d6efd;
    transform: translateY(-3px);
}

/* Responsive styles for concept page */
@media (max-width: 991.98px) {
    .concept-image {
        margin-bottom: 2rem;
    }
    
    .sustainability-icon {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .philosophy-card, 
    .architect-card, 
    .sustainability-card {
        padding: 1.5rem;
    }
    
    .sustainability-icon {
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .concept-content h2 {
        font-size: 1.8rem;
    }
    
    .concept-content .lead {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .architect-image img {
        width: 120px;
        height: 120px;
    }
}

/* Mortgage Calculator Styles */
.calculator-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.calculator-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.calculator-form .form-control,
.calculator-form .form-select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.calculator-form .form-control:focus,
.calculator-form .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.calculator-form .btn-primary {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
}

.result-card {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.result-card h5 {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 0;
}

#amortizationTable {
    font-size: 0.9rem;
}

#amortizationTable thead th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.calculator-info {
    border-radius: 10px;
}

.calculator-info h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.calculator-info h5 {
    font-weight: 600;
    color: #212529;
}

.calculator-info i {
    font-size: 1.2rem;
}

/* Responsive Mortgage Calculator */
@media (max-width: 991.98px) {
    .calculator-results {
        margin-top: 2rem;
    }
    
    .result-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .result-value {
        font-size: 1.5rem;
    }
    
    .calculator-info h5 {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .result-card {
        padding: 1rem;
    }
    
    .result-value {
        font-size: 1.25rem;
    }
}

/* Additional hover effects for navigation */
.navbar .nav-link:hover {
    color: var(--bs-primary) !important;
}

.dropdown-item:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

/* Footer link hover effect */
footer a.text-muted {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a.text-muted:hover {
    color: #fff !important;
}

footer .social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

footer .social-icons a:hover {
    background-color: var(--bs-primary);
    color: #fff;
}

/* Navbar dropdown hover effect */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.navbar .dropdown-menu {
    margin-top: 0;
}

/* Hover effect for links */
.hover-text-white:hover {
    color: white !important;
    transition: color 0.3s ease;
}

/* Shadow utilities */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-md {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Fade Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        height: 500px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 400px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 350px;
    }
}

/* Concept Page Specific Styles - Integrated from concept.css */

/* General Styles */
.vision-section,
.architectural-section,
.design-team-section {
  padding: 2rem 0;
}

.design-philosophy-section,
.sustainability-section {
  padding: 3rem 0;
}

/* Contact Button Pulsate Effect */
.pulsate-button {
  box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.3);
  animation: pulsate 2.5s infinite;
  transition: all 0.3s ease;
}

.pulsate-button:hover {
  animation: none;
  transform: scale(1.03);
  box-shadow: 0 3px 10px rgba(13, 110, 253, 0.3);
}

@keyframes pulsate {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.3);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
  }
}

/* Vision Section */
.vision-image {
  height: 400px;
  overflow: hidden;
}

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

.vision-image:hover img {
  transform: scale(1.05);
}

/* Enhanced Vision Section */
.concept-section {
  margin-bottom: 80px;
}

.vision-section p {
  line-height: 1.8;
  font-weight: 300;
}

.image-container {
  height: 500px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.image-container img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: transform 0.8s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

/* Design Philosophy */
.philosophy-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  font-size: 24px;
  transition: all 0.4s ease;
  margin: 0 auto;
}

.premium-card:hover .philosophy-icon {
  transform: translateY(-10px);
}

.premium-card {
  padding: 40px;
  transition: all 0.3s ease;
  background-color: #fff;
}

.premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Architectural Inspiration */
.architecture-image {
  height: 500px;
  overflow: hidden;
}

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

.architecture-image:hover img {
  transform: scale(1.05);
}

/* Sustainability Features */
.sustainability-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 40px 30px;
  border-radius: 0;
}

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

.sustainability-card .text-primary {
  font-size: 36px;
}

.sustainability-icon {
  margin-bottom: 25px;
  transition: all 0.4s ease;
  font-size: 36px;
  color: #0d6efd;
}

.sustainability-card:hover .sustainability-icon {
  transform: translateY(-8px);
}

/* Design Team */
.team-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

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

.team-card {
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

/* Quote Section */
.quote-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
}

.quote-mark {
  font-size: 180px;
  position: absolute;
  top: -20px;
  left: 50px;
  color: rgba(13, 110, 253, 0.05);
  font-family: 'Playfair Display', serif;
}

/* Animation for elements */
.philosophy-card,
.sustainability-card,
.team-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.philosophy-card.animated,
.sustainability-card.animated,
.team-card.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.concept-hero {
  height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1600585152220-90363fe7e115');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

.concept-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, white, transparent);
}

.concept-hero-content {
  position: relative;
  z-index: 2;
}

/* Section Title Styles */
.section-title {
  position: relative;
  margin-bottom: 50px;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 2px;
  background: #0d6efd;
}

.section-title-centered {
  position: relative;
  display: inline-block;
}

.section-title-centered::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: #0d6efd;
}

/* Timeline styles for story.html */
.timeline {
  position: relative;
  padding: 0;
}

.timeline-item {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16.66%;
  width: 2px;
  background-color: rgba(13, 110, 253, 0.3);
  transform: translateX(-50%);
}

.timeline-year {
  position: relative;
  z-index: 2;
}

.timeline-content {
  position: relative;
  border-left: 3px solid var(--bs-primary);
}

@media (max-width: 767.98px) {
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item .row {
    flex-direction: column;
  }
  
  .timeline-item .col-md-2 {
    margin-bottom: 10px;
    text-align: left;
    padding-left: 40px;
  }
}

/* Team Page Styles */
.team-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

/* Leadership Team Section */
.team-leader-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-leader-image {
  height: 100%;
  overflow: hidden;
}

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

.team-leader-card:hover .team-leader-image img {
  transform: scale(1.1);
}

.team-leader-info {
  position: relative;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f8f9fa;
  color: #0d6efd;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: #0d6efd;
  color: white;
  transform: translateY(-5px);
}

/* Team Members */
.team-member-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.team-member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-member-image {
  height: 300px;
  position: relative;
  overflow: hidden;
}

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

.team-member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card:hover .team-member-overlay {
  opacity: 1;
}

.team-member-card:hover .team-member-image img {
  transform: scale(1.1);
}

.team-member-social {
  display: flex;
  gap: 10px;
}

.team-member-social .social-link {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.team-member-social .social-link:hover {
  background-color: white;
  color: #0d6efd;
}

/* Stats Section */
.stat-item h2 {
  font-weight: 700;
}

/* Join Team Section */
.join-team-image {
  border-radius: 10px;
  overflow: hidden;
}

.join-team-image img {
  transition: transform 0.5s ease;
}

.join-team-image:hover img {
  transform: scale(1.05);
}

/* Overlay styles */
.overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .overlay-gradient,
.team-image:hover .overlay-gradient {
  opacity: 1;
}

/* Team Animation Effects */
.team-leader-card,
.team-member-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.team-leader-card.animated,
.team-member-card.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for team members */
.team-member-card:nth-child(1),
.team-member-card:nth-child(4) {
  transition-delay: 0.1s;
}

.team-member-card:nth-child(2),
.team-member-card:nth-child(5) {
  transition-delay: 0.2s;
}

.team-member-card:nth-child(3),
.team-member-card:nth-child(6) {
  transition-delay: 0.3s;
}

/* Responsive Adjustments for Concept Page */
@media (max-width: 991.98px) {
  .vision-image,
  .architecture-image,
  .image-container {
    height: 350px;
  }
  
  /* Contact button on mobile */
  .nav-item .pulsate-button {
    margin-top: 10px;
    display: inline-block;
  }
  
  .concept-hero {
    height: 60vh;
  }
}

@media (max-width: 767.98px) {
  .vision-image,
  .architecture-image,
  .image-container {
    height: 300px;
  }

  .team-image {
    height: 220px;
  }

  .design-philosophy-section,
  .sustainability-section {
    padding: 2rem 0;
  }
  
  .premium-card,
  .sustainability-card {
    padding: 30px 20px;
  }
  
  .concept-hero {
    height: 50vh;
  }
}

@media (max-width: 575.98px) {
  .vision-image,
  .architecture-image,
  .image-container {
    height: 250px;
  }
  
  .quote-mark {
    font-size: 120px;
    left: 20px;
  }
  
  .concept-section {
    margin-bottom: 60px;
  }
}

/* Hero Section for Story Page */
.hero-section {
    background: linear-gradient(rgba(47,79,111,0.8), rgba(47,79,111,0.8)), url('https://images.unsplash.com/photo-1504307651254-35b1a7ab3702') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 6rem 0;
    margin-bottom: 3rem;
}

.hero-section h1, 
.hero-section p {
    color: white;
}

/* Enhanced Timeline Styles */
.enhanced-timeline {
    position: relative;
    padding: 0;
    margin-left: 50px;
}

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

.enhanced-timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 50px;
}

.enhanced-timeline-item:last-child {
    margin-bottom: 0;
}

.enhanced-timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 10px rgba(47,79,111,0.5);
}

.enhanced-timeline-year {
    position: absolute;
    left: -75px;
    top: -5px;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.enhanced-timeline-content {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.enhanced-timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Enhanced Core Values */
.enhanced-philosophy-card {
    background-color: white;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.enhanced-philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

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

.enhanced-philosophy-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-light), white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.enhanced-philosophy-icon i {
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.enhanced-philosophy-card:hover .enhanced-philosophy-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Leadership Banner */
.leadership-banner {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.leadership-image img {
    transition: transform 0.5s ease;
}

.leadership-banner:hover .leadership-image img {
    transform: scale(1.05);
}

.leadership-overlay {
    background: linear-gradient(rgba(47,79,111,0.8), rgba(47,79,111,0.95)) !important;
}

/* Call to Action */
.story-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    padding: 60px 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.story-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.story-cta h2,
.story-cta p {
    color: white;
    position: relative;
    z-index: 1;
}

.story-cta-btn {
    background-color: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.story-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background-color: var(--bg-light);
}

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Animation delays */
.delay-100 {
    transition-delay: 0.1s;
}
.delay-200 {
    transition-delay: 0.2s;
}
.delay-300 {
    transition-delay: 0.3s;
}
.delay-400 {
    transition-delay: 0.4s;
}

/* Responsive styles for story page */
@media (max-width: 991.98px) {
    .enhanced-timeline {
        margin-left: 30px;
    }
    
    .enhanced-timeline-year {
        left: -55px;
    }
}

@media (max-width: 767.98px) {
    .enhanced-timeline {
        margin-left: 0;
        padding-left: 40px;
    }
    
    .enhanced-timeline::before {
        left: 10px;
    }
    
    .enhanced-timeline-item {
        padding-left: 30px;
    }
    
    .enhanced-timeline-item::before {
        left: 1px;
    }
    
    .enhanced-timeline-year {
        position: relative;
        left: -40px;
        top: 0;
        margin-bottom: 10px;
        display: inline-block;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .enhanced-philosophy-icon {
        width: 60px;
        height: 60px;
    }
    
    .enhanced-philosophy-icon i {
        font-size: 22px;
    }
    
    .story-cta {
        padding: 40px 20px;
    }
}

/* Projects Page Styles */
.projects-hero {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(rgba(47,79,111,0.85), rgba(47,79,111,0.85)), 
                url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

.projects-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, var(--bg-light), transparent);
}

.projects-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.projects-hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

.projects-filter-container {
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.projects-filter-container.sticky {
    position: sticky;
    top: 76px;
    z-index: 900;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    border: none;
    background-color: white;
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

.filter-btn:hover {
    background-color: rgba(var(--accent-color-rgb), 0.05);
    color: var(--accent-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 8px rgba(var(--primary-color-rgb), 0.2);
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.project-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-category {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.25);
}

.project-status {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-completed {
    background-color: #4CAF50;
    color: white;
}

.status-in-progress {
    background-color: #FFC107;
    color: #333;
}

.status-planning {
    background-color: #9E9E9E;
    color: white;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-overlay h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-overlay .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background-color: white;
    color: var(--primary-color);
    border: none;
}

.project-overlay .btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.project-content {
    padding: 25px;
    background-color: white;
}

.project-content h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-content h4 {
    color: var(--primary-color);
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

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

/* Project Modal Styles */
.project-modal .modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    max-height: 90vh;
}

.project-modal .modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0;
}

.project-modal .modal-title {
    font-weight: 700;
    color: var(--primary-color);
}

.project-modal .modal-body {
    padding: 1rem 1.5rem 1rem;
    overflow-y: auto;
    min-height: 450px;
    max-height: 65vh;
}

.project-modal .modal-footer {
    border-top: none;
    padding: 0 1.5rem 1.5rem;
}

/* Project tabs navigation improvements */
.project-tabs {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.project-tabs.sticky-top {
    top: 0;
    z-index: 1020;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.project-modal .modal-body {
    padding-top: 0;
}

.project-tab {
    padding: 0.75rem 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-tab:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-tab.active {
    color: var(--primary-color);
    font-weight: 600;
}

.project-tab.active:after {
    transform: scaleX(1);
}

.project-tab:hover {
    color: var(--primary-color);
}

/* Project Tab Content - Consolidated all styles in one place */
.project-tab-content {
    display: none;
    min-height: auto;
    scroll-margin-top: 60px;
    padding-bottom: 20px;
}

.project-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optimize project overview */
.project-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-height: auto;
}

.project-overview-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 300px;
}

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

.project-overview-image:hover img {
    transform: scale(1.05);
}

.project-overview-details {
    flex: 1;
    min-width: 300px;
}

.project-overview-details h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-detail-row {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.project-detail-row i {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    margin-top: 4px;
    color: var(--primary-color);
}

.project-highlights {
    margin-top: 1.5rem;
}

.project-highlights h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.highlights-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-item i {
    color: var(--accent-color);
}

.project-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-cta .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.project-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
}

.project-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.2);
}

.project-cta .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.project-cta .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Gallery in Modal */
.gallery-filter-container {
    margin-bottom: 1.5rem;
}

.gallery-filter .btn {
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gallery-filter .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.2);
}

/* Smaller gallery container */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    padding-bottom: 15px;
    min-height: auto;
    margin-bottom: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 140px;
    transition: all 0.3s ease;
    aspect-ratio: 1/1;
}

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

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

/* Video Tour Section */
.video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 420px;
    min-height: 420px;
    margin-bottom: 20px;
}

/* Location Tab Fixes */
.project-tab-content#location-tab .embed-responsive {
    min-height: 420px;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.project-tab-content#location-tab iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 12px;
    border: none;
}

.play-button-overlay {
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.play-btn i {
    font-size: 30px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.play-button-overlay:hover .play-btn {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.play-button-overlay:hover .play-btn i {
    color: var(--accent-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.4);
}

/* Animation delays for project cards */
.delay-100 {
    transition-delay: 0.1s;
}
.delay-200 {
    transition-delay: 0.2s;
}
.delay-300 {
    transition-delay: 0.3s;
}
.delay-400 {
    transition-delay: 0.4s;
}
.delay-500 {
    transition-delay: 0.5s;
}

/* Search Icon in Navbar */
.nav-search {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-left: 10px;
}

.nav-search:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

.nav-search i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .projects-hero {
        padding: 6rem 0;
    }
    
    .projects-hero h1 {
        font-size: 3rem;
    }
    
    .projects-filter-container.sticky {
        top: 72px;
    }
    
    .project-card {
        margin-bottom: 30px;
    }
    
    .project-overview {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .projects-hero {
        padding: 5rem 0;
    }
    
    .projects-hero h1 {
        font-size: 2.5rem;
    }
    
    .projects-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .filter-btn {
        padding: 0.5rem 1.25rem;
        flex-shrink: 0;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .highlights-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 575.98px) {
    .projects-hero h1 {
        font-size: 2rem;
    }
    
    .projects-hero p {
        font-size: 1rem;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
    }
    
    .play-btn i {
        font-size: 24px;
    }
    
    .project-tab {
        padding: 0.75rem 1rem;
    }
    
    .project-cta {
        flex-direction: column;
    }
}

/* Project Tab Content Improvements */
.project-tab-content {
    padding-bottom: 20px;
}

.project-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.project-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 20px;
}

/* Improve Modal Scrolling */
.modal-xl .modal-body {
    max-height: 75vh;
    overflow-y: auto;
}

.modal-xl .modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-xl .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-xl .modal-body::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 4px;
}

.modal-xl .modal-body::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/* Ensure smooth scrolling */
.project-tab-content {
    scroll-margin-top: 60px;
}

/* Gallery improvements */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    padding-bottom: 15px;
    min-height: 400px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 160px;
    transition: all 0.3s ease;
    aspect-ratio: 1/1;
}

.gallery-filter-container {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

.gallery-filter .btn {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

/* Ensure consistent tab content height */
.project-tab-content {
    min-height: 500px;
    scroll-margin-top: 60px;
    padding-bottom: 20px;
}

/* Modal Tab Content Consistency */
.project-tab-content {
    min-height: 500px;
    padding-bottom: 30px;
}

/* Ensure each modal tab has consistent height */
.project-modal .modal-body {
    min-height: 600px;
}

/* Ensure consistency across all modal tabs */
.gallery-filter-container,
.video-container,
.embed-responsive {
    margin-bottom: 20px;
}

/* Improve gallery layout */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    padding-bottom: 15px;
    min-height: 450px;
}

@media (max-width: 767.98px) {
    .project-modal .modal-body {
        max-height: 60vh;
        min-height: 350px;
    }
    
    .project-tab-content {
        min-height: 350px;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        min-height: 350px;
    }
    
    .gallery-item {
        height: 110px;
    }
    
    .project-overview-image {
        height: 250px;
    }
    
    .video-container,
    .project-tab-content#location-tab .embed-responsive {
        min-height: 350px;
        height: 350px;
    }
}

/* Request button styling */
.request-more-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
    transition: all 0.3s ease;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    z-index: 10;
    position: relative;
}

.request-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.4);
}

.request-more-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.3);
}

/* Video player improvements */
.video-container video {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container video::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s;
}

.video-container video:hover::-webkit-media-controls {
    opacity: 1;
}

/* Show video controls only when video is playing or hovered */
.video-container.playing .play-button-overlay {
    display: none;
}

.video-container.playing video::-webkit-media-controls {
    opacity: 1;
}

/* Responsive adjustments for larger screens */
@media (min-width: 1200px) {
    .project-modal .modal-body {
        max-height: 62vh;
    }
    
    .project-overview-image {
        height: 350px;
    }
    
    .video-container, 
    .project-tab-content#location-tab .embed-responsive {
        height: 450px;
        min-height: 450px;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, #0d6efd, #0a58ca);
    color: white;
    border-radius: 12px;
}

.cta-section h2 {
    color: white;
}