/* =========================================
   CORE VARIABLES & BASE
   ========================================= */
:root {
    --bg-color: #0d0e10;
    --gold: #a78957; 
    --text-grey: #a1a1a1;
    --white: #ffffff;
    --line-color: rgba(167, 137, 87, 0.25); 
    --transition: all 0.3s ease-in-out;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--white);
    overflow-x: hidden;
}

.gold-text {
    color: var(--gold);
}

/* =========================================
   TOP BAR & HEADER
   ========================================= */
.header-wrapper {
    transition: var(--transition);
}

.top-bar {
    background-color: var(--gold);
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.top-bar a {
    color: var(--bg-color);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar i {
    margin-right: 6px;
}

.top-bar-left .divider-line {
    margin: 0 12px;
    color: rgba(13, 14, 16, 0.4);
}

.top-bar-right a {
    margin-left: 15px;
    font-size: 1rem;
}

/* =========================================
   NAVIGATION BAR & DROPDOWNS
   ========================================= */
.custom-navbar {
    background-color: rgba(13, 14, 16, 0.6);
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Scrolled State for JS */
.header-wrapper.scrolled .top-bar {
    display: none;
}

.header-wrapper.scrolled .custom-navbar {
    background-color: var(--bg-color);
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* FIX: Text Color and Font Size (Forced Overrides for Bootstrap) */
.custom-navbar .navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 12px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link:focus,
.custom-navbar .navbar-nav .nav-link.active,
.custom-navbar .navbar-nav .show > .nav-link,
.custom-navbar .navbar-nav .nav-link.show {
    color: var(--gold) !important;
    background-color: transparent !important;
    transform: translateY(-2px);
}

.custom-toggler {
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
}

.custom-toggler:focus {
    box-shadow: none;
}

/* Dropdown Menus */
.dropdown-menu {
    background-color: var(--bg-color);
    border: 1px solid rgba(167, 137, 87, 0.2);
    border-radius: 0;
    padding: 10px 0;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.dropdown-item {
    color: var(--text-grey);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 25px;
    transition: var(--transition);
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: transparent;
    color: var(--gold);
    padding-left: 30px;
}

.dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.nav-item.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Buttons */
.btn-custom {
    background-color: var(--gold);
    color: var(--bg-color) !important;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--gold);
    border-radius: 4px;
    transition: var(--transition);
}

.btn-custom:hover {
    background-color: transparent;
    color: var(--gold) !important;
    transform: translateY(-2px);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--gold);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--gold);
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline-custom:hover {
    background-color: var(--gold);
    color: var(--bg-color);
}

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-section {
    position: relative;
    padding: 0;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-slide .container {
    padding-top: 0 !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(13, 14, 16, 0.9) 0%, rgba(13, 14, 16, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    /* FIX: Pushes the text down below the header inside the flexbox */
    margin-top: 140px; 
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: 1px;
}

.hero-content h6 {
    letter-spacing: 3px;
    font-weight: 600;
}

/* Owl Carousel Dots */
.owl-theme .owl-dots .owl-dot span {
    background: transparent;
    border: 1px solid var(--white);
    width: 12px;
    height: 12px;
    transition: var(--transition);
}

.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--gold);
    border-color: var(--gold);
}

.has-animation {
    opacity: 0;
}


/* =========================================
   GLOBAL UTILITIES
   ========================================= */
.section-padding {
    padding: 100px 0;
}

.text-grey {
    color: var(--text-grey);
}

.fs-7 {
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Base state for elements before they scroll into view */
.scroll-reveal {
    opacity: 0;
}

/* =========================================
   ABOUT US SECTION
   ========================================= */
.about-section {
    background-color: var(--bg-color);
    overflow: hidden; /* Prevents animations from causing horizontal scroll */
}

/* Image Wrapper & Styling */
.about-image-wrapper {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
    z-index: 1;
}

.about-img {
    border-radius: 4px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Gold offset border behind the image */
.about-image-wrapper .img-border {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 0;
    bottom: 0;
    border: 2px solid var(--gold);
    border-radius: 4px;
    z-index: 1;
}

/* Floating Badge */
.experience-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background-color: rgba(13, 14, 16, 0.95);
    border: 1px solid var(--gold);
    padding: 20px 25px;
    border-radius: 4px;
    z-index: 3;
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.experience-badge p {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--white);
}

/* Content Styling */
.about-content h2 {
    font-size: 2.2rem;
    line-height: 1.2;
}

.about-feature {
    padding-right: 15px;
}

/* Mobile Adjustments for About Section */
@media (max-width: 991px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .about-image-wrapper {
        margin-bottom: 40px;
        padding-right: 15px;
        padding-bottom: 15px;
    }
    
    .about-image-wrapper .img-border {
        top: 15px;
        left: 15px;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
}


/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
    background-color: #121316; /* Just slightly lighter than the main bg for contrast */
}

/* Section Title Divider */
.hero-divider {
    max-width: 100px;
    height: 2px;
    background-color: var(--gold);
    margin: 20px auto;
}

/* Service Card Styling */
.service-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line-color);
    border-radius: 4px;
    padding: 40px 30px;
    height: 100%; /* Ensures all cards stretch to the same height */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Icon Styling */
.service-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

/* Read More Link */
.service-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.service-link i {
    transition: transform 0.3s ease;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    background-color: rgba(167, 137, 87, 0.05); /* Very faint gold glow */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card:hover .service-link {
    color: var(--gold);
}

.service-card:hover .service-link i {
    transform: translateX(5px); /* Arrow slides to the right */
}

/* Mobile Adjustments for Services */
@media (max-width: 767px) {
    .service-card {
        padding: 30px 20px;
    }
    
    .services-section .hero-divider {
        margin: 15px auto;
    }
}


/* =========================================
   OUR CLIENTS SECTION
   ========================================= */
.clients-section {
    background-color: var(--bg-color);
    border-top: 1px solid var(--line-color);
}

.client-logo-wrapper {
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px; /* Ensures all logos align nicely regardless of image proportions */
}

.client-logo {
    max-height: 160px;
    width: auto !important; /* Overrides Owl Carousel's default 100% width so logos don't stretch */
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
    cursor: pointer;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials-section {
    background-color: #121316; /* Same dark contrast as the Services section */
	border-top: 1px solid var(--line-color); /*
}

.testimonial-card {
    padding: 20px 40px;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(167, 137, 87, 0.2); /* Faded gold watermark effect */
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-grey);
}

/* Customizing the Owl Carousel Dots for Testimonials */
.testimonial-carousel .owl-dots {
    margin-top: 30px !important;
    text-align: center;
}

.testimonial-carousel .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: var(--transition);
}

.testimonial-carousel .owl-dot.active span,
.testimonial-carousel .owl-dot:hover span {
    background: var(--gold) !important;
    transform: scale(1.3);
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .testimonial-card {
        padding: 10px 15px;
    }
    .testimonial-text {
        font-size: 1.1rem;
    }
}
/* Testimonial Profile Images */
.testimonial-img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
    object-fit: cover; /* Ensures square or rectangular photos are cropped into perfect circles */
    border: 2px solid var(--gold);
    padding: 3px; /* Creates a premium double-ring effect with the border */
    margin: 0 auto; /* Centers the image perfectly */
    background-color: var(--bg-color); /* Matches the section background */
}

/* =========================================
   INNER PAGE BANNER (BREADCRUMBS)
   ========================================= */
.inner-page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 250px guarantees it drops below the navbar and top bar */
    padding-top: 250px;  
    padding-bottom: 80px;
    border-bottom: 1px solid var(--line-color);
    margin-top: 0;
}

.inner-page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 19, 22, 0.85); 
    z-index: 1;
}

.inner-page-banner .relative-z {
    position: relative;
    z-index: 2;
}

.inner-page-banner h1 {
    font-size: 2.4rem; 
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Premium Breadcrumb Path Styling */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
    display: inline-flex;
}

.breadcrumb-item {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--text-grey);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--white);
}

.breadcrumb-item.active {
    color: var(--gold);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    padding: 0 15px;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .inner-page-banner {
        padding-top: 180px; 
        padding-bottom: 50px;
    }
    .inner-page-banner h1 {
        font-size: 1.8rem; 
    }
}




/* =========================================
   FLOATING ACTION BUTTONS
   ========================================= */
.floating-action-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Keeps everything aligned to the right side of the screen */
    gap: 15px;
    z-index: 999;
}

/* Forces the WhatsApp and Call buttons side-by-side */
.floating-contact-group {
    display: flex;
    gap: 15px; 
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
	
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

/* Pulse Animations */
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-call {
    0% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(167, 137, 87, 0.7); }
    70% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 0 15px rgba(167, 137, 87, 0); }
    100% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(167, 137, 87, 0); }
}

/* WhatsApp Styling */
.btn-whatsapp {
    background-color: #25D366;
    animation: pulse-whatsapp 2s infinite;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-5px);
    color: var(--white);
    animation-play-state: paused;
}

/* Call Button Styling */
.btn-call {
    background-color: var(--gold);
    animation: pulse-call 2s infinite;
    animation-delay: 1s; 
}

.btn-call:hover {
    background-color: #8c7144; 
    transform: translateY(-5px);
    color: var(--white);
    animation-play-state: paused;
}

/* Scroll to Top Styling */
.btn-scroll-top {
    background-color: var(--bg-color);
    border: 2px solid var(--gold);
    color: var(--gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-scroll-top:hover {
    background-color: var(--gold);
    color: var(--bg-color);
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .floating-action-group {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .floating-contact-group {
        gap: 12px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}



/* =========================================
   FOOTER
   ========================================= */
.footer-section {
    background-color: var(--bg-color);
    border-top: 1px solid var(--line-color);
    padding-top: 60px;
    color: var(--text-grey);
}

.footer-top {
    padding-bottom: 20px;
}

.footer-widget .widget-title {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-logo {
    max-height: 90px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact List */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--gold);
    font-size: 18px;
    margin-right: 15px;
    margin-top: 3px;
    width: 20px; /* Keeps the text aligned perfectly next to the icons */
    text-align: center;
}

.footer-contact a {
    color: var(--text-grey);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--gold);
}

/* Quick Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-grey);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

/* Hover slide effect for links */
.footer-links a:hover {
    color: var(--gold);
    padding-left: 8px; 
}

/* Newsletter Form */
.newsletter-form .custom-input {
    background-color: rgba(255, 255, 255, 0.03); /* Faint dark transparent bg */
    border: 1px solid var(--line-color);
    color: var(--white);
    font-size: 0.9rem;
    border-radius: 4px 0 0 4px;
    padding-left: 15px;
}

.newsletter-form .custom-input:focus {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--gold);
    box-shadow: none;
}

.newsletter-form .custom-input::placeholder {
    color: rgba(161, 161, 161, 0.6);
}

.newsletter-form .btn-custom {
    border-radius: 0 4px 4px 0;
    padding: 10px 20px;
}

/* Divider & Bottom Section */
.footer-divider {
    border-color: var(--line-color);
    opacity: 1;
    margin: 20px 0;
}

.footer-bottom {
    padding-bottom: 30px;
    font-size: 0.85rem;
}

.developer-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.developer-link:hover {
    color: var(--white);
}

/* Ensure mobile stacking looks clean with space between elements */
@media (max-width: 767px) {
    .footer-widget {
        margin-bottom: 35px !important;
    }
}

/* =========================================
   MOBILE OPTIMIZATION (FOOTER ENHANCEMENTS)
   ========================================= */
@media (max-width: 767px) {
    /* Adds breathing room between stacked columns */
    .footer-widget {
        margin-bottom: 40px !important;
    }

    /* Prevents the newsletter subscribe button from breaking to a new line */
    .newsletter-form .input-group {
        flex-wrap: nowrap; 
    }
    
    /* Slightly shrinks the button on small phones so it fits next to the email field */
    .newsletter-form .btn-custom {
        padding: 10px 15px; 
        font-size: 0.8rem;
    }
    
    /* Centers the bottom copyright text perfectly on mobile */
    .footer-bottom {
        padding-bottom: 20px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .footer-item:not(:last-child) {
        border-right: 1px solid var(--line-color);
    }
}

/* =========================================
   MOBILE OPTIMIZATION
   ========================================= */
@media (max-width: 991px) {
    .custom-navbar {
        background-color: var(--bg-color);
    }
    .custom-navbar .nav-link {
        margin: 5px 0;
        padding: 10px 0;
    }
    .dropdown-menu {
        border: none;
        padding-left: 15px;
    }
    .hero-content {
        margin-top: 80px; /* Reduced margin for mobile header */
    }
}

/* =========================================
   MOBILE OPTIMIZATION
   ========================================= */
@media (max-width: 991px) {
    /* Top Bar Mobile Layout */
    .top-bar .container {
        flex-direction: column !important;
        gap: 5px;
        text-align: center;
    }
    .top-bar-right {
        margin-top: 3px;
    }
    .top-bar-right a {
        margin: 0 10px;
    }

    /* Navbar Fixes */
    .custom-navbar {
        background-color: var(--bg-color);
    }
    .custom-navbar .nav-link {
        margin: 5px 0;
        padding: 10px 0;
    }
    .dropdown-menu {
        border: none;
        padding-left: 15px;
    }
    /* Stops the menu text from jumping/shifting on touchscreens */
    .custom-navbar .navbar-nav .nav-link:hover,
    .custom-navbar .navbar-nav .nav-link:focus,
    .custom-navbar .navbar-nav .nav-link.active,
    .custom-navbar .navbar-nav .show > .nav-link,
    .custom-navbar .navbar-nav .nav-link.show {
        transform: none !important; 
    }

    /* Hero Slider Mobile */
    .hero-content {
        margin-top: 80px;
    }

    /* About Section Fix: Pull badge inward so it isn't cut off */
    .experience-badge {
        left: 15px; 
        bottom: -10px;
        padding: 15px 20px;
    }
}

@media (max-width: 767px) {
    /* Footer Fixes */
    .footer-item {
        width: 100%;
        justify-content: flex-start;
        border-bottom: 1px solid var(--line-color);
    }
    .footer-item:last-child {
        border-bottom: none;
    }
    .footer-widget {
        margin-bottom: 40px !important;
    }
    .newsletter-form .input-group {
        flex-wrap: nowrap; 
    }
    .newsletter-form .btn-custom {
        padding: 10px 15px; 
        font-size: 0.8rem;
    }
    .footer-bottom {
        padding-bottom: 20px;
    }
    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* Floating Buttons Fixes */
    .floating-action-group {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    .floating-contact-group {
        gap: 12px;
    }
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

