/* Custom Properties */
:root {
    --color-dark: #1A1A1D;
    --color-white: #F5F5F5;
    --color-gray: #B0B0B0;
    --color-accent: #C18B56;
}

/* Base Styles */
body {
    background-color: var(--color-dark);
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
}

@font-face {
    font-family: 'Goldenbook Light';
    src: url('fonts/goldenbook-light.otf') format('truetype'); /* or 'opentype', 'woff', etc. */
    font-weight: 300;
    font-style: normal;
  }

/* Navbar Styles */
.navbar {
    background-color: transparent;
    transition: background-color 0.3s ease;
    z-index: 1050;
}

.navbar.scrolled {
    background-color: var(--color-dark);
}

.navbar-toggler {
    border-color: var(--color-white);
    z-index: 1051;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
    z-index: 1050;
}

/* Mobile Navbar Fixes */
@media (max-width: 991.98px) {
    .navbar {
        background-color: var(--color-dark) !important;
        padding: 1rem 0;
    }
    
    .navbar-collapse {
        background-color: var(--color-dark);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .phone-number {
        justify-content: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.nav-link {
    color: var(--color-white) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Logo Styles */
.logo-text {
    font-family: 'ABeeZee', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
}

.navbar-brand:hover .logo-text {
    color: var(--color-accent);
}

/* Social Links */
.social-links {
    position: fixed;
    left: 2rem;
    top: 40%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 2;
}

.social-links a {
    color: var(--color-white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

/* Hero Content */
.hero {
    background-color: var(--color-dark);
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    padding-left: 5rem;
    padding-top: 6rem;
}

.main-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.subheading {
    color: var(--color-gray);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    max-width: 400px;
}

/* CTA Button */
.cta-button {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Slider Controls */
.slider-controls {
    color: var(--color-white);
    font-size: 0.8rem;
    width: 100%;
    text-align: left;
}

.slider-controls span {
    cursor: pointer;
    transition: color 0.3s ease;
}

.slider-controls .prev:hover,
.slider-controls .next:hover {
    color: var(--color-accent);
}

/* Email Contact */
.email-contact {
    position: fixed;
    left: 2rem;
    bottom: 4rem;
    color: var(--color-white);
    transform: rotate(-90deg);
    transform-origin: left;
    font-size: 0.9rem;
    z-index: 2;
}

/* Featured Image */
.featured-image {
    padding-top: 100px;
}

.featured-image img {
    border-radius: 30px 0 0 30px;
}

/* About Section */
.about-section {
    background-color: var(--color-dark);
}

/* Simple Grid Layout for About Images */
.image-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 400px;
    width: 100%;
    gap: 20px;
    position: relative;
}

.collage-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.collage-image:hover {
    transform: translateY(-5px);
}

.collage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* First image - top right, slightly larger */
.collage-image.top {
    grid-column: 2;
    grid-row: 1;
    z-index: 1;
    transform: scale(1.08);
    transform-origin: center;
    margin: -8px;
}

.collage-image.top:hover {
    transform: scale(1.08) translateY(-5px);
}

/* Second image - bottom left, larger and overlapping, moved right */
.collage-image.bottom {
    grid-column: 1;
    grid-row: 2;
    transform: scale(1.25) translateX(20px);
    transform-origin: center;
    z-index: 2;
    margin: -20px;
}

.collage-image.bottom:hover {
    transform: scale(1.25) translateX(20px) translateY(-5px);
}

/* Services Image */
.services-image {
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.services-image:hover {
    transform: translateY(-5px);
}

/* Service Tabs */
.service-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.service-tab-btn {
    background: transparent;
    border: 1px solid var(--color-gray);
    color: var(--color-gray);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.service-tab-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.service-tab-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.service-content {
    min-height: 150px;
}

.service-panel {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.service-panel.active {
    display: block;
}

.service-panel h4 {
    color: var(--color-white);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.service-panel p {
    color: var(--color-gray);
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Contact Form */
.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-gray);
    color: var(--color-white);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
    color: var(--color-white);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(193, 139, 86, 0.25);
}

.form-control::placeholder {
    color: var(--color-gray);
}

.form-control option {
    background: var(--color-dark);
    color: var(--color-white);
}

.cta-button-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}


.accent-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease-out;
}

.accent-line.visible {
    transform: scaleX(1);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}







/* Mobile Design - Overlaid Content on Cropped Image */
@media (max-width: 991.98px) {
    /* Add more space for navbar and remove min-height constraint */
    .hero {
        margin-top: 120px; /* Increased space for fixed navbar */
        min-height: auto !important; /* Remove min-vh-100 on mobile */
    }
    
    /* Full-width image background with overlaid content */
    .hero .row {
        position: relative;
        flex-wrap: nowrap;
    }
    
    /* Content section - overlay on image, max 50% width */
    .hero .col-lg-5 {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        flex: 0 0 50%; /* Max 50% width as requested */
        max-width: 50%;
        min-height: 70vh;
        background: rgba(26, 26, 29, 0.85); /* Semi-transparent background */
        backdrop-filter: blur(10px);
        border-radius: 0 20px 20px 0; /* Rounded right edge */
        padding: 0 !important; /* Force remove all padding */
        margin: 0 !important; /* Force remove all margins */
    }
    
    /* Image section - full width background */
    .hero .col-lg-7 {
        flex: 0 0 100%; /* Full width */
        max-width: 100%;
        min-height: 70vh;
        position: relative;
        order: 1;
    }

    /* Mobile social links - hidden in hero, visible when scrolled */
    .social-links {
        position: fixed;
        left: -60px; /* Hidden initially */
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 0.8rem;
        z-index: 1000;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .social-links.visible {
        left: 0.8rem; /* Slide into view */
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        background: rgba(26, 26, 29, 0.9);
        border: 1px solid rgba(193, 139, 86, 0.6);
        color: var(--color-white);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        font-size: 0.9rem;
    }
    
    .social-links a:hover {
        background: var(--color-accent);
        border-color: var(--color-accent);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(193, 139, 86, 0.5);
    }

    /* Hide email contact on mobile */
    .email-contact {
        display: none;
    }

    /* Hero content - comfortable left padding */
    .hero-content {
        padding-left: 0.7rem !important; /* Comfortable padding for readability */
        padding-right: 0.8rem;
        padding-top: 2rem;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        margin: 0 !important; /* Force zero margins */
        margin-left: 0 !important; /* Force zero left margin */
    }

    .main-heading {
        font-size: clamp(2rem, 6vw, 2.8rem);
        text-align: left;
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .subheading {
        text-align: left;
        max-width: 300px; /* Constrain for mobile */
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        color: var(--color-gray);
    }

    .slider-controls {
        text-align: left;
        margin-top: 1.5rem;
        font-size: 0.7rem;
    }

    /* Featured image - full width without cropping */
    .featured-image {
        padding-top: 0;
        height: 100%;
        width: 100%;
        position: relative;
        overflow: hidden;
    }
    
    .featured-image img {
        border-radius: 15px; /* Subtle radius on all corners */
        height: 100%; /* Full height, no cropping */
        width: 100%;
        object-fit: cover;
        object-position: center; /* Center the image */
        position: absolute;
        top: 0; /* No cropping offset */
        left: 0;
    }
    
    /* CTA Button */
    .cta-button {
        padding: 0.7rem 1.8rem; /* Increased right padding for arrow */
        font-size: 0.85rem;
        margin-top: 0.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        white-space: nowrap; /* Keep button text in one line */
        min-width: fit-content; /* Ensure button expands to fit content */
    }

    .image-collage {
        display: block;
        height: auto;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Hide the first image (top) on mobile */
    .collage-image.top {
        display: none;
    }
    
    /* Show only the second image (bottom) below text */
    .collage-image.bottom {
        width: 100%;
        height: 300px;
        grid-column: unset;
        grid-row: unset;
        transform: none !important;
        margin: 0 !important;
        display: block;
    }
    
    .collage-image.bottom img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    .collage-image.bottom:hover {
        transform: translateY(-5px) !important;
    }

    /* Mobile About Us section reordering */
    .about-section .row {
        display: flex;
        flex-direction: column;
    }
    
    /* Text content comes first */
    .about-section .col-lg-6:nth-child(2) {
        order: 1;
    }
    
    /* Image comes after text */
    .about-section .col-lg-6:nth-child(1) {
        order: 2;
    }

    .about-section .heading-container {
        margin-bottom: 2rem !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .about-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        display: block;
        color: var(--color-white);
        text-align: center;
    }

    .about-content {
        margin-top: 1rem;
        text-align: center;
    }

    .about-text {
        clear: both;
        text-align: center;
    }

    .accent-line {
        margin: 0 auto !important;
    }

    .services-image {
        display: none !important; /* Hide services section image on mobile */
    }

    .stat-item {
        margin-bottom: 1rem;
        flex: 1 1 0; /* Equal flex basis for equal sizing */
        min-width: 0; /* Allow shrinking if needed */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 1rem 0.5rem;
        min-height: 120px; /* Consistent minimum height */
    }

    .d-flex.gap-4 {
        display: flex !important;
        flex-direction: row !important; /* Keep horizontal on mobile */
        align-items: stretch !important; /* Equal height */
        gap: 0.5rem !important;
        justify-content: space-between !important;
        width: 100%;
    }
    
    /* Ensure stat numbers and text are consistent */
    .stat-item h3 {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-bottom: 0.5rem !important;
    }
    
    .stat-item p {
        font-size: 0.8rem !important;
        line-height: 1.3;
        margin: 0 !important;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
        text-align: center;
    }

    .btn-outline-light {
        width: 100%;
        max-width: 300px;
        margin: 1rem auto 0;
        display: block;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    /* Smaller screens - maintain overlay but adjust sizing */
    .hero .col-lg-5 {
        flex: 0 0 48%; /* Slightly larger on smaller screens */
        max-width: 48%;
        min-height: 60vh;
        padding: 0 !important; /* Force remove all padding */
        margin: 0 !important; /* Force remove all margins */
    }
    
    .hero .col-lg-7 {
        min-height: 60vh;
    }

    .hero-content {
        padding-left: 0.5rem !important; /* Comfortable padding for readability */
        padding-right: 0.5rem;
        padding-top: 1.5rem;
        margin: 0 !important; /* Force zero margins */
        margin-left: 0 !important; /* Force zero left margin */
    }

    .main-heading {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }

    .subheading {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.4;
        max-width: 250px;
    }
    
    .slider-controls {
        font-size: 0.65rem;
        margin-top: 1rem;
    }

    .featured-image img {
        border-radius: 15px 0 0 15px; /* Smaller radius for smaller screens */
    }
    
    .social-links a {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .social-links {
        gap: 0.6rem;
        left: -50px; /* Hidden initially */
    }
    
    .social-links.visible {
        left: 0.6rem; /* Slide into view */
    }
    
    /* Keep email hidden on smaller mobile too */
    .email-contact {
        display: none;
    }
    
    .cta-button {
        padding: 0.6rem 1.5rem; /* Increased right padding for arrow */
        font-size: 0.8rem;
        white-space: nowrap; /* Keep button text in one line */
        min-width: fit-content; /* Ensure button expands to fit content */
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .display-2 {
        font-size: 2.5rem !important;
    }

    .lead {
        font-size: 1rem !important;
    }

    .service-nav {
        justify-content: center;
        gap: 0.5rem;
    }

    .service-tab-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }

    .col-md-4 {
        flex-direction: column !important;
    }

    .portfolio-item {
        height: 300px !important;
        margin-bottom: 1rem;
    }

    .team-member {
        margin-bottom: 2rem;
        text-align: center;
    }

    .award-card {
        margin-bottom: 1rem;
    }

    .contact-form {
        padding: 1rem !important;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }

    .d-flex.justify-content-center.gap-3:not(.filter-menu .d-flex) {
        flex-direction: column;
        align-items: center;
    }
    
    /* Ensure filter buttons stay horizontal on mobile */
    .filter-menu .d-flex {
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    .filter-btn {
        margin: 0.25rem !important;
        padding: 0.4rem 0.8rem !important;
        font-size: 0.75rem !important;
        white-space: nowrap !important;
        min-width: auto !important;
        flex-shrink: 0 !important;
    }

    .btn-lg {
        width: 100%;
        max-width: 300px;
    }

    .cta-button-large {
        width: 100%;
        max-width: 300px;
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .filter-menu .d-flex {
        justify-content: center;
        flex-wrap: wrap;
    }

    .filter-btn {
        margin: 0.25rem;
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .stat-card h4 {
        font-size: 2rem !important;
    }

    .philosophy-points {
        text-align: left;
    }

    .feature-item {
        text-align: center;
        flex-direction: column;
        gap: 1rem;
    }

    .feature-icon {
        font-size: 2rem !important;
    }

    /* Contact Page Mobile Improvements */
    .contact-info {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .contact-info .heading-container {
        justify-content: center !important;
        flex-direction: column !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    
    .contact-info .heading-container h1 {
        margin-bottom: 1rem !important;
    }
    
    .contact-info .accent-line {
        margin: 0 auto !important;
        width: 80px !important;
    }

    .contact-item {
        text-align: center;
        margin-bottom: 2rem;
        padding: 1.5rem 1rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 10px;
        border: 1px solid rgba(193, 139, 86, 0.1);
    }

    .contact-item .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-item i {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
        font-size: 1.2rem;
    }
    
    .contact-item p {
        margin: 0 !important;
        color: var(--color-white) !important;
        line-height: 1.6;
    }
    
    /* Specific fixes for address and time cards */
    .contact-item .d-flex.align-items-start {
        align-items: center !important;
        text-align: center !important;
    }
    
    .contact-item .d-flex.align-items-start div {
        text-align: center !important;
        width: 100%;
    }
    
    .contact-item .d-flex.align-items-start div p {
        text-align: center !important;
        margin: 0 !important;
        width: 100%;
    }
    
    /* Force center alignment for multi-line content */
    .contact-item div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    /* Contact Form Mobile Fixes */
    .contact-form {
        padding: 2rem 1rem !important;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .contact-form h3 {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    
    .contact-form .btn {
        width: 100% !important;
        margin-top: 1rem;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    
    /* Social Icons Section */
    .contact-info h5 {
        text-align: center !important;
        color: var(--color-white) !important;
        margin-bottom: 1rem !important;
    }
    
    .contact-info .d-flex.gap-3 {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.5rem !important;
        flex-wrap: nowrap !important;
    }
    
    .contact-info .social-icon {
        width: 50px;
        height: 50px;
        border: 1px solid var(--color-accent);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(193, 139, 86, 0.1);
        transition: all 0.3s ease;
        flex-shrink: 0; /* Prevent icons from shrinking */
    }
    
    .contact-info .social-icon:hover {
        background: var(--color-accent);
        transform: translateY(-3px);
    }
    
    /* Ensure horizontal layout on smaller screens too */
    @media (max-width: 575.98px) {
        .contact-info .d-flex.gap-3 {
            gap: 1rem !important;
        }
        
        .contact-info .social-icon {
            width: 45px;
            height: 45px;
        }
    }
}

/* Additional Mobile Fixes */
@media (max-width: 575.98px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar-brand .logo-text {
        font-size: 1.5rem;
    }

    .phone-number {
        display: none;
    }

    .main-heading {
        font-size: 2rem;
    }

    .hero-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-section {
        padding: 3rem 0;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Reduce spacing for specific sections on mobile */
    #our-services.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }
    
    #portfolio.py-5, .portfolio-section.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }
    
    #contact-form.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Also reduce internal container padding */
    #our-services .container.py-5,
    #portfolio .container-fluid.py-5,
    #contact-form .container.py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .portfolio-section {
        margin-left: 2% !important;
        margin-right: 2% !important;
    }

    .footer-nav {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .footer-link {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        margin: 0.25rem !important;
        padding: 0.25rem 0.5rem !important;
    }

    .footer-link {
        font-size: 0.9rem;
    }

    .service-category-card {
        margin-bottom: 1rem;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(193, 139, 86, 0.2);
        transition: all 0.3s ease;
    }
    
    .service-category-card h4 {
        color: var(--color-white) !important;
        font-family: 'Playfair Display', serif;
        font-weight: 600;
    }
    
    .service-category-card p {
        color: var(--color-gray) !important;
        line-height: 1.6;
    }
    
    .service-category-card:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(193, 139, 86, 0.4);
        transform: translateY(-5px);
    }
    
    /* Service detail sections styling */
    .service-content h3 {
        color: var(--color-accent) !important;
        font-family: 'Playfair Display', serif;
    }
    
    .service-content p.lead {
        color: var(--color-white) !important;
    }
    
    .service-content p {
        color: var(--color-gray) !important;
    }
    
    .service-features h5 {
        color: var(--color-white) !important;
        font-weight: 600;
    }
    
    .service-features li {
        color: var(--color-white) !important;
        line-height: 1.8;
    }
    
    .service-features .fas.fa-check-circle {
        color: var(--color-accent) !important;
    }
    
    /* Fix button alignment on mobile for service detail cards */
    @media (max-width: 991.98px) {
        .service-content {
            display: flex;
            flex-direction: column;
            height: 100%;
            min-height: 400px; /* Ensure consistent minimum height */
        }
        
        .service-content .display-5 {
            margin-bottom: 1rem !important;
        }
        
        .service-content .lead {
            margin-bottom: 1.5rem !important;
        }
        
        .service-features {
            flex-grow: 1; /* This will push buttons to bottom */
            margin-bottom: 1.5rem;
        }
        
        .service-content > .mt-4 {
            margin-top: auto !important; /* Push buttons to bottom */
            padding-top: 1rem;
        }
        
        /* Ensure buttons are properly spaced on mobile */
        .service-content .btn {
            margin-bottom: 0.5rem;
            width: auto;
            min-width: 140px;
        }
        
        /* Stack buttons vertically on smaller screens */
        @media (max-width: 767.98px) {
            .service-content > .mt-4 {
                display: flex;
                flex-direction: column;
                gap: 0.75rem;
                align-items: center; /* Center align buttons */
            }
            
            .service-content .btn {
                width: auto !important; /* Don't make full width */
                margin-bottom: 0;
                align-self: center; /* Ensure each button centers */
            }
            
            /* Increase width of Get Quote button specifically */
            .service-content .cta-button {
                min-width: 160px !important;
                padding-left: 2rem !important;
                padding-right: 2rem !important;
            }
        }
        
        /* Additional mobile alignment for service buttons */
        @media (max-width: 575.98px) {
            .service-content > .mt-4 {
                align-items: center !important;
                text-align: center !important;
            }
            
            .service-content .btn {
                margin-left: auto !important;
                margin-right: auto !important;
            }
        }
    }

    .row.g-4 > * {
        margin-bottom: 1rem !important;
    }

    .row.g-5 > * {
        margin-bottom: 2rem !important;
    }
}

/* Portfolio Section Styles */
.portfolio-section {
    background-color: var(--color-dark);
    position: relative;
    overflow: hidden;
}

/* Portfolio Watermark */
.portfolio-watermark {
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: rotate(-90deg) translateX(-50%);
    font-size: 12rem;
    font-family: 'Playfair Display', serif;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
}

/* Filter Menu */
.filter-menu {
    position: relative;
    z-index: 1;
}

.filter-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #C1C1C1;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    color: var(--color-accent);
    box-shadow: 0 0 15px rgba(193, 139, 86, 0.1);
}

.filter-btn.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 20px rgba(193, 139, 86, 0.15);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Portfolio Overlay */
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 29, 0.9), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    color: var(--color-white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Portfolio Animations */
.portfolio-item.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.portfolio-item.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Portfolio Responsive */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-watermark {
        font-size: 8rem;
    }
    
    .filter-menu .d-flex {
        gap: 0.5rem !important;
    }
    
    /* Why Choose Us Section */
    .why-choose-us-section {
        background-color: #22272C;
        position: relative;
        overflow: hidden;
    }
    
    /* Feature Items */
    .features-list {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .feature-item {
        display: flex;
        gap: 1.5rem;
        transition: transform 0.3s ease;
    }
    
    .feature-item:hover {
        transform: translateX(10px);
    }
    
    .feature-icon {
        font-size: 2rem;
        line-height: 1;
        transition: filter 0.3s ease;
    }
    
    .feature-item:hover .feature-icon {
        filter: drop-shadow(0 0 10px rgba(193, 139, 86, 0.5));
    }
    
    .feature-content {
        flex: 1;
    }
    
    .feature-content h3 {
        font-family: 'Inter', sans-serif;
        font-size: 1.25rem;
        font-weight: 600;
        text-transform: uppercase;
        color: var(--color-white);
        margin-bottom: 0.75rem;
        transition: color 0.3s ease;
    }
    
    .feature-item:hover .feature-content h3 {
        color: var(--color-accent);
    }
    
    .feature-content p {
        color: var(--color-gray);
        font-size: 1rem;
        line-height: 1.6;
        margin: 0;
        transition: color 0.3s ease;
    }
    
    .feature-item:hover .feature-content p {
        color: #F5F5F5;
    }
    
    /* Image Section */
    .why-choose-image {
        position: relative;
        padding: 2rem;
    }
    
    .why-choose-image img {
        position: relative;
        z-index: 2;
        transition: transform 0.3s ease;
    }
    
    .why-choose-image:hover img {
        transform: scale(1.02);
    }
    
    .why-choose-image .dotted-pattern {
        position: absolute;
        width: 200px;
        height: 200px;
        background-image: radial-gradient(var(--color-accent) 1px, transparent 1px);
        background-size: 10px 10px;
        opacity: 0.1;
    }
}

/* Footer Styles */
.site-footer {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--color-dark) 0%, #22272C 100%);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="0.5" fill="%23C18B56" opacity="0.1"/><circle cx="75" cy="75" r="0.5" fill="%23C18B56" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23C18B56" opacity="0.1"/><circle cx="10" cy="90" r="0.5" fill="%23C18B56" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrain)"/></svg>');
    pointer-events: none;
    opacity: 0.3;
}

/* Upper Band */
.footer-upper {
    background: linear-gradient(135deg, rgba(193, 139, 86, 0.1) 0%, rgba(193, 139, 86, 0.05) 100%);
    padding: 2rem 0;
    color: var(--color-white);
    border-bottom: 1px solid rgba(193, 139, 86, 0.2);
    position: relative;
}

.footer-upper .brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.footer-upper .brand-name:hover {
    color: var(--color-accent);
}

.footer-upper .tagline {
    color: var(--color-gray);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-upper .tagline:hover {
    color: var(--color-white);
}

/* Lower Band */
.footer-lower {
    background: transparent;
    padding: 4rem 0 2rem;
    color: var(--color-white);
    position: relative;
}

/* Footer Logo */
.footer-logo {
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    color: var(--color-accent);
    transition: all 0.3s ease;
    background: rgba(193, 139, 86, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.footer-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-logo:hover::before {
    opacity: 1;
}

.footer-logo:hover {
    color: var(--color-white);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(193, 139, 86, 0.4);
}

/* Navigation Links */
.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: var(--color-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-link:hover {
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer-link:hover::after {
    width: 100%;
}

/* Copyright */
.copyright {
    color: var(--color-gray);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.copyright:hover {
    color: var(--color-white);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-upper .row {
        text-align: center;
    }
    
    .footer-upper .col-auto {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .footer-nav {
        gap: 1rem;
    }
    
    .footer-link {
        font-size: 0.8rem;
    }
}

/* Philosophy Section */
.philosophy-section {
    background: linear-gradient(to bottom, #F8F3EF, #EDE7E1);
    overflow: hidden;
    padding: 120px 0;
}

.mkd--mod--it01__content__text-inner {
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.mkd--mod--it01__content__text-inner h2 {
    font-family: 'Playfair Display', serif;
    color: #2B2B2B;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.mkd--h3 {
    font-family: 'Georgia', serif;
    color: #3C3C3C;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.mkd--lg-copy p {
    font-family: 'Georgia', serif;
    color: #3C3C3C;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Image Backgrounds */
.mkd--img-bg {
    width: 100%;
    height: 600px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}

.mkd--mod--it01__content__left__image-01 {
    margin: 4rem 0;
    overflow: hidden;
}

.mkd--mod--it01__content__right__image-01 {
    margin: -8rem 0 4rem;
    overflow: hidden;
}

.mkd--mod--it01__content__left__image-01:hover .mkd--img-bg,
.mkd--mod--it01__content__right__image-01:hover .mkd--img-bg {
    transform: scale(1.05);
}

/* Animations */
.mkd--anim {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.mkd--anim.mkd--anim--triggered {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mkd--sm-down--hide {
        display: none;
    }

    .mkd--mod--it01__content__text-inner {
        padding: 2rem;
    }

    .mkd--mod--it01__content__text-inner h2 {
        font-size: 2rem;
    }
}

/* About Page Styles */
.about-hero {
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.about-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
}

.about-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 29, 0.8), rgba(26, 26, 29, 0.9));
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 3px solid var(--color-accent);
    padding: 5px;
}

.award-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.award-card:hover {
    transform: translateY(-10px);
}

.award-card i {
    font-size: 2.5rem;
    color: var(--color-accent);
}

.award-card h3 {
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .features-list {
        gap: 2rem;
    }

    .feature-item {
        gap: 1rem;
    }

    .feature-icon {
        font-size: 1.5rem;
    }

    .feature-content h3 {
        font-size: 1.1rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        width: 100%;
        padding: 0 15px;
        text-align: center;
    }

    .slider-controls {
        text-align: center;
    }
}

/* Fullscreen Portfolio Styles */
.fullscreen-portfolio {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-dark);
    z-index: 1;
    padding-top: 80px; /* Account for navbar */
    overflow: hidden;
}

.fullscreen-portfolio .filter-menu {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 1rem 2rem;
    background: rgba(26, 26, 29, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(193, 139, 86, 0.2);
}

/* Portfolio Slideshow Styles */
.portfolio-slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    overflow: hidden;
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 3rem;
    background: rgba(26, 26, 29, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(193, 139, 86, 0.2);
    z-index: 10;
}

.control-btn {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    transition: left 0.3s ease;
    z-index: -1;
}

.control-btn:hover::before {
    left: 0;
}

.control-btn:hover {
    color: var(--color-white);
    transform: scale(1.1);
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.control-btn:disabled:hover::before {
    left: -100%;
}

.slide-indicators {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--color-white);
    letter-spacing: 1px;
}

/* Hide sidebar elements on portfolio page */
body:has(.fullscreen-portfolio) .social-links,
body:has(.fullscreen-portfolio) .email-contact {
    display: none;
}

/* Slideshow Wrapper */
.slideshow-wrapper {
    position: relative;
    height: calc(100vh - 80px); /* Full viewport height minus navbar */
    overflow: hidden;
}

/* Portfolio Slides */
.portfolio-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    perspective: 1000px;
}

.portfolio-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.portfolio-slide.prev {
    transform: translateX(-100%);
}

.portfolio-slide.next {
    transform: translateX(100%);
}

/* Page Flip Animation */
.portfolio-slide.flip-out-left {
    animation: flipOutLeft 0.8s ease-in-out forwards;
}

.portfolio-slide.flip-out-right {
    animation: flipOutRight 0.8s ease-in-out forwards;
}

.portfolio-slide.flip-in-left {
    animation: flipInLeft 0.8s ease-in-out forwards;
}

.portfolio-slide.flip-in-right {
    animation: flipInRight 0.8s ease-in-out forwards;
}

@keyframes flipOutLeft {
    0% {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
    100% {
        transform: perspective(400px) rotateY(-180deg);
        opacity: 0;
    }
}

@keyframes flipOutRight {
    0% {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
    100% {
        transform: perspective(400px) rotateY(180deg);
        opacity: 0;
    }
}

@keyframes flipInLeft {
    0% {
        transform: perspective(400px) rotateY(180deg);
        opacity: 0;
    }
    100% {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}

@keyframes flipInRight {
    0% {
        transform: perspective(400px) rotateY(-180deg);
        opacity: 0;
    }
    100% {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}

/* Slide Content Layout */
.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    background: var(--color-dark);
}

.slide-image {
    position: relative;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-slide.active .slide-image img {
    transform: scale(1.02);
}

.slide-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-dark) 0%, #22272C 100%);
    position: relative;
}

.slide-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="1" fill="%23C18B56" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23C18B56" opacity="0.03"/><circle cx="50" cy="10" r="1" fill="%23C18B56" opacity="0.03"/><circle cx="10" cy="90" r="1" fill="%23C18B56" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    opacity: 0.5;
}

.slide-category {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.slide-description {
    color: var(--color-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.slide-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-label {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 80px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    color: var(--color-white);
    font-size: 1rem;
}

/* Slide Entrance Animations */
.portfolio-slide.active .slide-category {
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.portfolio-slide.active .slide-title {
    animation: slideInUp 0.6s ease-out 0.4s both;
}

.portfolio-slide.active .slide-description {
    animation: slideInUp 0.6s ease-out 0.6s both;
}

.portfolio-slide.active .slide-details {
    animation: slideInUp 0.6s ease-out 0.8s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter Integration */
.portfolio-slide[data-category] {
    display: block;
}

.portfolio-slide.filtered-out {
    display: none;
}

/* Slideshow Responsive Design */
@media (max-width: 1200px) {
    .slide-info {
        padding: 2.5rem;
    }
    
    .slide-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .slide-content {
        grid-template-columns: 1fr;
        grid-template-rows: 0.6fr 1fr;
    }
    
    .slide-info {
        padding: 2rem;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slideshow-controls {
        padding: 1rem 2rem;
        gap: 1.5rem;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .fullscreen-portfolio .filter-menu {
        top: 90px;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .slideshow-controls {
        padding: 0.8rem 1.5rem;
        gap: 1rem;
        bottom: 1rem;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .slide-info {
        padding: 1.5rem;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .page-number {
        font-size: 0.9rem;
    }
    
    .fullscreen-portfolio .filter-menu {
        top: 85px;
        padding: 0.6rem 1rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .slideshow-controls {
        flex-direction: row;
        gap: 0.8rem;
        padding: 0.6rem 1rem;
        bottom: 0.5rem;
    }
    
    .slide-info {
        padding: 1rem;
    }
    
    .slide-title {
        font-size: 1.6rem;
    }
    
    .slide-content {
        grid-template-rows: 0.5fr 1fr;
    }
    
    .fullscreen-portfolio .filter-menu {
        top: 80px;
        padding: 0.5rem 0.8rem;
        max-width: 90%;
    }
    
    .filter-menu .d-flex {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .page-number {
        font-size: 0.8rem;
    }
}

/* Get In Touch Popup Modal Styles */
.modal-content {
    background-color: var(--color-dark);
    border: 1px solid var(--color-accent);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: linear-gradient(135deg, var(--color-dark) 0%, #22272C 100%);
    border-bottom: 1px solid var(--color-accent);
    border-radius: 15px 15px 0 0;
    padding: 1.5rem 2rem;
}

.modal-title {
    color: var(--color-white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-title i {
    color: var(--color-accent);
}

.btn-close {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    opacity: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.btn-close::before {
    content: '×';
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    color: var(--color-white);
}

.btn-close:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1);
}

.btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(193, 139, 86, 0.25);
}

.modal-body {
    padding: 2rem;
    background-color: var(--color-dark);
    border-radius: 0 0 15px 15px;
}

.popup-content {
    padding-right: 1.5rem;
}

.popup-subtitle {
    color: var(--color-accent);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.popup-description {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.popup-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.popup-feature {
    display: flex;
    align-items: center;
    color: var(--color-white);
    font-size: 0.95rem;
}

.popup-feature .text-accent {
    color: var(--color-accent) !important;
}

.popup-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(193, 139, 86, 0.2);
}

.popup-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(193, 139, 86, 0.3);
    color: var(--color-white);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.popup-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.2rem rgba(193, 139, 86, 0.25);
    color: var(--color-white);
}

.popup-form .form-control::placeholder {
    color: var(--color-gray);
}

.popup-form .form-control option {
    background: var(--color-dark);
    color: var(--color-white);
}

.popup-form .cta-button {
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.popup-form .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(193, 139, 86, 0.3);
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: scale(0.8) translateY(-50px);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* Responsive Popup Styles */
@media (max-width: 767.98px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .popup-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .popup-form {
        padding: 1rem;
    }
    
    .popup-features {
        gap: 0.6rem;
    }
    
    .popup-feature {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-header {
        padding: 0.8rem 1rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .popup-form {
        padding: 0.8rem;
    }
}

/* About Us Section with Background Effects */
.about-with-effects {
    position: relative;
    overflow: hidden;
}

.about-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.about-with-effects .container {
    position: relative;
    z-index: 1;
}

/* Floating Geometric Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg,
        rgba(193, 139, 86, 0.3),
        rgba(193, 139, 86, 0.1));
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation: float1 6s ease-in-out infinite;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation: float2 8s ease-in-out infinite;
    border-radius: 0;
    transform: rotate(45deg);
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 50%;
    animation: float3 10s ease-in-out infinite;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.shape-4 {
    width: 40px;
    height: 40px;
    top: 10%;
    right: 30%;
    animation: float4 7s ease-in-out infinite;
}

.shape-5 {
    width: 70px;
    height: 70px;
    bottom: 15%;
    left: 20%;
    animation: float5 9s ease-in-out infinite;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Glowing Orbs */
.glowing-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(193, 139, 86, 0.4) 0%,
        rgba(193, 139, 86, 0.1) 50%,
        transparent 70%);
    filter: blur(1px);
}

.orb-1 {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 20%;
    animation: pulse1 4s ease-in-out infinite;
}

.orb-2 {
    width: 80px;
    height: 80px;
    top: 15%;
    right: 25%;
    animation: pulse2 6s ease-in-out infinite;
}

.orb-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 10%;
    animation: pulse3 5s ease-in-out infinite;
}

/* Animated Lines */
.animated-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(193, 139, 86, 0.6) 50%,
        transparent 100%);
    border-radius: 2px;
}

.line-1 {
    width: 200px;
    height: 2px;
    top: 25%;
    left: 0;
    animation: slideRight 8s linear infinite;
}

.line-2 {
    width: 150px;
    height: 1px;
    top: 65%;
    right: 0;
    animation: slideLeft 6s linear infinite;
}

.line-3 {
    width: 180px;
    height: 1px;
    top: 80%;
    left: 0;
    animation: slideRight 10s linear infinite;
    animation-delay: -3s;
}

/* Pulsing Dots Pattern */
.dots-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: dotPulse 2s ease-in-out infinite;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
.dot:nth-child(4) { animation-delay: 0.6s; }
.dot:nth-child(5) { animation-delay: 0.8s; }
.dot:nth-child(6) { animation-delay: 1s; }
.dot:nth-child(7) { animation-delay: 1.2s; }
.dot:nth-child(8) { animation-delay: 1.4s; }
.dot:nth-child(9) { animation-delay: 1.6s; }

/* Morphing Blob */
.morphing-blob {
    position: absolute;
    top: 10%;
    left: 70%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg,
        rgba(193, 139, 86, 0.2),
        rgba(193, 139, 86, 0.1));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 15s ease-in-out infinite;
    filter: blur(1px);
}

/* Animations */
@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

@keyframes float2 {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(225deg) translateY(-30px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-15px) scale(1.1); }
    75% { transform: translateY(15px) scale(0.9); }
}

@keyframes float4 {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(20px) translateY(-10px); }
    50% { transform: translateX(-10px) translateY(-20px); }
    75% { transform: translateX(-20px) translateY(10px); }
}

@keyframes float5 {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.2); }
    66% { transform: rotate(240deg) scale(0.8); }
}

@keyframes pulse1 {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

@keyframes pulse2 {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.4); opacity: 0.2; }
}

@keyframes pulse3 {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.1; }
}

@keyframes slideRight {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 100%)); opacity: 0; }
}

@keyframes slideLeft {
    0% { transform: translateX(100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(calc(-100vw - 100%)); opacity: 0; }
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 1; }
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        transform: rotate(270deg) scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .visual-elements-container {
        height: 300px;
        margin: 2rem 0;
    }
    
    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 {
        transform: scale(0.8);
    }
    
    .orb-1, .orb-2, .orb-3 {
        transform: scale(0.7);
    }
    
    .morphing-blob {
        transform: scale(0.8);
    }
}

@media (max-width: 767.98px) {
    .visual-elements-container {
        height: 250px;
        margin: 1.5rem 0;
    }
    
    .dots-pattern {
        gap: 15px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 {
        transform: scale(0.6);
    }
    
    .orb-1, .orb-2, .orb-3 {
        transform: scale(0.5);
    }
    
    .morphing-blob {
        transform: scale(0.6);
    }
}

@media (max-width: 575.98px) {
    .visual-elements-container {
        height: 200px;
        margin: 1rem 0;
    }
    
    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 {
        transform: scale(0.4);
    }
    
    .orb-1, .orb-2, .orb-3 {
        transform: scale(0.3);
    }
    
    /* Team Section Styles */
    .team-section {
        position: relative;
        overflow: hidden;
    }
    
    .team-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="teamPattern" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="0.5" fill="%23C18B56" opacity="0.1"/><circle cx="75" cy="75" r="0.5" fill="%23C18B56" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23C18B56" opacity="0.1"/><circle cx="10" cy="90" r="0.5" fill="%23C18B56" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23teamPattern)"/></svg>');
        pointer-events: none;
        opacity: 0.3;
    }
    
    .team-member {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(193, 139, 86, 0.1);
        border-radius: 15px;
        padding: 2rem;
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        height: 100%;
    }
    
    .team-member::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(193, 139, 86, 0.1) 0%, transparent 50%);
        opacity: 0;
        transition: opacity 0.4s ease;
        border-radius: 15px;
    }
    
    .team-member:hover::before {
        opacity: 1;
    }
    
    .team-member:hover {
        transform: translateY(-10px);
        border-color: rgba(193, 139, 86, 0.3);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .team-image-container {
        position: relative;
        display: inline-block;
    }
    
    .team-image {
        position: relative;
        width: 180px;
        height: 180px;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 50%;
        border: 3px solid rgba(193, 139, 86, 0.3);
        transition: all 0.4s ease;
    }
    
    .team-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    
    .team-member:hover .team-image {
        border-color: var(--color-accent);
        box-shadow: 0 0 30px rgba(193, 139, 86, 0.4);
    }
    
    .team-member:hover .team-image img {
        transform: scale(1.1);
    }
    
    .team-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 26, 29, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.4s ease;
    }
    
    .team-member:hover .team-overlay {
        opacity: 1;
    }
    
    .social-links-team {
        display: flex;
        gap: 1rem;
    }
    
    .social-links-team .social-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(193, 139, 86, 0.2);
        border: 1px solid var(--color-accent);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-accent);
        font-size: 1rem;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .social-links-team .social-icon:hover {
        background: var(--color-accent);
        color: var(--color-white);
        transform: scale(1.1);
    }
    
    .team-info {
        position: relative;
        z-index: 1;
    }
    
    .team-name {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        transition: color 0.3s ease;
    }
    
    .team-member:hover .team-name {
        color: var(--color-accent) !important;
    }
    
    .team-role {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        font-weight: 600;
    }
    
    .team-bio {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .team-expertise {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .expertise-tag {
        background: rgba(193, 139, 86, 0.1);
        border: 1px solid rgba(193, 139, 86, 0.3);
        color: var(--color-accent);
        padding: 0.4rem 0.8rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
    }
    
    .team-member:hover .expertise-tag {
        background: rgba(193, 139, 86, 0.2);
        border-color: var(--color-accent);
        transform: translateY(-2px);
    }
    
    /* Team Section Responsive */
    @media (max-width: 991.98px) {
        .team-member {
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .team-image {
            width: 150px;
            height: 150px;
        }
        
        .team-name {
            font-size: 1.3rem;
        }
        
        .team-bio {
            font-size: 0.9rem;
        }
    }
    
    @media (max-width: 767.98px) {
        .team-member {
            padding: 1.2rem;
            text-align: center;
        }
        
        .team-image {
            width: 120px;
            height: 120px;
        }
        
        .team-name {
            font-size: 1.2rem;
        }
        
        .team-role {
            font-size: 0.85rem;
        }
        
        .team-bio {
            font-size: 0.85rem;
            line-height: 1.5;
        }
        
        .social-links-team .social-icon {
            width: 35px;
            height: 35px;
            font-size: 0.9rem;
        }
        
        .expertise-tag {
            font-size: 0.75rem;
            padding: 0.3rem 0.6rem;
        }
    }
    
    @media (max-width: 575.98px) {
        .team-section {
            padding: 3rem 0 !important;
        }
        
        .team-member {
            padding: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .team-image {
            width: 100px;
            height: 100px;
        }
        
        .team-name {
            font-size: 1.1rem;
        }
        
        .team-expertise {
            gap: 0.3rem;
        }
        
        .expertise-tag {
            font-size: 0.7rem;
            padding: 0.25rem 0.5rem;
        }
    }
    
    /* Team Section Animation */
    .team-member {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .team-member:nth-child(1) { animation-delay: 0.1s; }
    .team-member:nth-child(2) { animation-delay: 0.2s; }
    .team-member:nth-child(3) { animation-delay: 0.3s; }
    .team-member:nth-child(4) { animation-delay: 0.4s; }
    .team-member:nth-child(5) { animation-delay: 0.5s; }
    .team-member:nth-child(6) { animation-delay: 0.6s; }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .morphing-blob {
        transform: scale(0.4);
    }
}