/********** Template CSS **********/
:root {
    --primary: #E4BA1B;
    --light: #F8F8F8;
    --dark: #252525;
    --gold: #E4BA1B;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background: var(--primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #a57c55;
    transform: translateY(-3px);
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
    border: none;
    border-radius: 5px;
}

.btn.btn-primary {
   background-color: var(--gold);
    color: #FFFFFF !important;
}

.btn.btn-primary:hover {
    background-color: #a57c55;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(183, 141, 101, 0.3);
}

.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 5px;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

.btn-outline-light:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 10px 0;
    color: var(--gold);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        text-align: center;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
        padding: 1rem 0;
    }

    .navbar-collapse {
        background: white;
        margin-top: 1rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
        border: none;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header & Hero Section ***/
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 37, 37, 0.7);
    z-index: -1;
}

.hero-content {
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../images/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    padding: 100px 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}


/*** Facts ***/
.fact-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin: -60px auto 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fact-item:hover .fact-icon {
    background: var(--dark);
    transform: scale(1.1);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5s;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .fact-item {
        margin-bottom: 2rem;
    }

    .fact-item .fact-icon {
        width: 100px;
        height: 100px;
        margin: -50px auto 1rem;
    }
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 90%;
    width: 90%;
    margin: 0 auto;
    border: 2px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.philosophy-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/carousel-3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0;
}

.philosophy-section h2 {
    color: white;
}

.founder-section {
    background-color: var(--light);
}

.values-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s;
    height: 100%;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    text-align: center;
}

.values-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(183, 141, 101, 0.15);
}

.values-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: var(--primary);
    color: white;
    font-size: 1.5rem;
}

.founder-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.founder-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.founder-img-container img {
    transition: transform 0.5s;
    width: 100%;
    height: auto;
}

.founder-img-container:hover img {
    transform: scale(1.05);
}

.founder-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: white;
    z-index: 2;
}

.approach-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.approach-number {
    flex: 0 0 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.approach-content {
    flex: 1;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    margin: 1rem 0;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-section {
    background-color: var(--light);
    padding: 80px 0;
    text-align: center;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.quote-author {
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary);
}

.practice-section {
    padding: 80px 0;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s;
    margin-bottom: 2rem;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(183, 141, 101, 0.15);
}

.process-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: var(--primary);
    color: white;
    font-size: 2rem;
}

.process-connector {
    position: relative;
    height: 2px;
    background-color: #e9ecef;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .philosophy-section,
    .practice-section,
    .quote-section {
        padding: 60px 0;
    }

    .approach-item {
        flex-direction: column;
        text-align: center;
    }

    .approach-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-text {
        font-size: 1rem;
    }

    .quote-text {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .process-step {
        margin-bottom: 1.5rem;
    }
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 2rem;
    height: 100%;
}

.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: transform 0.5s ease;
}

.service-item:hover .bg-img {
    transform: scale(1.1);
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
    border-radius: 25px;
}

.service-item:hover .btn {
    width: 140px;
}

@media (max-width: 768px) {
    .service-item {
        margin-bottom: 1.5rem;
    }

    .service-item .service-text {
        padding: 1.5rem;
    }
}


/*** Project ***/
.project {
    padding: 80px 0;
}

.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
    border-radius: 0;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: none;
    text-align: left;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}

.project-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
    .project .nav {
        flex-direction: column;
    }

    .project .nav .nav-link {
        margin-bottom: 0.5rem;
        padding: 1rem;
    }

    .project-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .project {
        padding: 60px 0;
    }

    .project .nav .nav-link h3 {
        font-size: 1.2rem;
    }

    .project-image {
        height: 250px;
    }
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
    position: relative;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    bottom: 20px;
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer {
    background: var(--dark);
    color: white;
    position: relative;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #CCCCCC;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
    transform: translateX(5px);
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
    background: rgba(0, 0, 0, 0.2);
}

.footer .copyright a {
    color: var(--light);
    text-decoration: none;
}

.footer .copyright a:hover {
    color: var(--primary);
}

/* Additional Responsive Utilities */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-left: 15px;
    padding-right: 15px;
}

/* Mobile-first responsive design */
@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    .display-1 {
        font-size: 3rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
}

/* Print styles */
@media print {
    .navbar, .footer, .back-to-top {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
}