/* ===================================
   TELL PROJECTS - Katy, TX
   Custom Stylesheet
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #1E1E1E;
    --secondary-color: #F8F8F8;
    --text-color: #707070;
    --accent-color: #FFB703;
    --white: #FFFFFF;
    --black: #000000;
    --divider: #E3E3E3;
    --primary-font: "Unbounded", sans-serif;
    --text-font: "Montserrat", sans-serif;
}

/* ===================================
   Performance Optimizations (Core Web Vitals)
   =================================== */

/* Font Loading - Prevent FOUT/FOIT */
@font-face {
    font-family: "Unbounded";
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    font-display: swap;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Hardware Acceleration for Smooth Scrolling */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Improve Image Loading Performance */
img {
    content-visibility: auto;
    loading: lazy;
}

/* ===================================
   Global Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--text-font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 15px;
    line-height: 1.9;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 100px 0;
}

/* ===================================
   Header Styles
   =================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-sticky {
    transition: all 0.3s ease-in-out;
}

.navbar {
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo Styling */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-brand .logo-img {
    height: 50px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.navbar-brand .logo-image {
    height: 25px;
    width: 25px;
    max-width: 25px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-image {
    transform: scale(1.05);
}

.navbar-brand .logo-text {
    display: flex;
    flex-direction: column;
}

.navbar-brand h2 {
    font-size: 1.8rem;
    color: var(--white);
    margin: 0;
    font-family: var(--primary-font);
    font-weight: 800;
    letter-spacing: 1px;
}

.navbar-brand span,
.navbar-brand .tagline {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-color);
    font-family: var(--text-font);
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    color: var(--white) !important;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px !important;
    font-family: var(--text-font);
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link.btn-nav {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    border-radius: 5px;
    padding: 12px 30px !important;
    margin-left: 15px;
    font-weight: 600;
}

.nav-link.btn-nav:hover {
    background-color: var(--white);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 183, 3, 0.3);
}

.navbar-toggler {
    border: 2px solid var(--accent-color);
    padding: 8px 12px;
}

.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, 183, 3, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hamburger Menu Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 35px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
    position: relative;
}

.navbar-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Show hamburger on mobile */
@media (max-width: 991px) {
    .navbar-toggle {
        display: flex !important;
    }

    .main-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        padding: 20px;
        max-height: 80vh;
        overflow-y: auto;
    }

    body.menu-open .main-menu {
        display: block !important;
    }

    .main-menu .navbar-nav {
        flex-direction: column;
    }

    .main-menu .nav-item {
        width: 100%;
        margin: 10px 0;
    }

    .main-menu .nav-link {
        padding: 15px 20px !important;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-menu .sub-menu {
        position: static !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        width: 100%;
        padding-left: 20px;
        margin-top: 10px;
    }

    .main-menu .sub-menu .sub-menu {
        padding-left: 20px;
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a2a 100%);
    padding-top: 100px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,183,3,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 183, 3, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: var(--text-font);
}

.hero-title {
    font-size: 4.5rem;
    color: var(--white);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: var(--accent-color);
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 650px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===================================
   Button Styles
   =================================== */
.btn-default {
    display: inline-block;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--text-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-default::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-default:hover::before {
    left: 0;
}

.btn-default:hover {
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-default.btn-highlighted {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-default.btn-highlighted::before {
    background-color: var(--white);
}

.btn-default.btn-highlighted:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(255, 183, 3, 0.4);
}

.btn-default.btn-large {
    padding: 20px 50px;
    font-size: 18px;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================
   About Section
   =================================== */
.about-section {
    background-color: var(--white);
}

.about-content {
    padding-right: 30px;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    font-size: 24px;
    color: var(--accent-color);
}

.feature-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.about-image {
    height: 100%;
    min-height: 500px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--divider) 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 80px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.image-placeholder p {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
}

/* ===================================
   Services Section
   =================================== */
.services-section {
    background-color: var(--secondary-color);
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 183, 3, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffc933 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

.service-icon i {
    font-size: 35px;
    color: var(--primary-color);
}

.service-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    min-height: 70px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    flex-grow: 1;
}

/* ===================================
   Why Us Section
   =================================== */
.why-us-section {
    background-color: var(--white);
}

.why-us-content {
    padding-left: 30px;
}

.why-us-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 30px;
}

.why-us-list {
    margin-top: 40px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.why-item:hover {
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
}

.why-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.why-text h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.why-text p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.why-us-image {
    height: 100%;
    min-height: 600px;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a2a 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(255, 183, 3, 0.15) 0%, transparent 70%);
}

.cta-box {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    background-color: var(--secondary-color);
}

.contact-info-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 183, 3, 0.2);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffc933 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.contact-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.contact-info-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-info-card p {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-info-card a {
    color: var(--accent-color);
    font-weight: 600;
}

.contact-info-card a:hover {
    color: var(--primary-color);
}

.serving-area, .contact-note {
    font-size: 0.9rem;
    color: var(--text-color);
    font-style: italic;
}

.contact-form-wrapper {
    margin-top: 60px;
}

.contact-form {
    background-color: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: var(--text-font);
    color: var(--primary-color);
    background-color: var(--secondary-color);
    border: 2px solid var(--divider);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

select.form-control {
    cursor: pointer;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--primary-color);
    padding: 60px 0 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 5px;
}

.footer-tagline {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.footer-social ul {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social li a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    justify-content: flex-end;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: right;
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
    box-shadow: 0 5px 20px rgba(255, 183, 3, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-5px);
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 991px) {
    section {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content, .why-us-content {
        padding: 0;
        margin-bottom: 40px;
    }

    .about-image, .why-us-image {
        min-height: 400px;
    }

    .footer-menu ul {
        justify-content: flex-start;
        margin-top: 30px;
    }

    .copyright {
        text-align: left;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }

    .navbar-brand .logo-img {
        height: 40px;
        max-width: 220px;
    }

    .hero-section {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-default {
        padding: 15px 30px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .service-title {
        min-height: auto;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .cta-section .text-end {
        text-align: left !important;
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    section {
        padding: 50px 0;
    }

    .navbar-brand .logo-img {
        height: 35px;
        max-width: 180px;
    }

    .navbar-brand h2 {
        font-size: 1.3rem;
    }

    .navbar-brand .tagline {
        font-size: 0.65rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

/* ===================================
   ADVANCED BRIXO TEMPLATE STYLES
   =================================== */

/* ===================================
   Preloader
   =================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000 !important;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container,
.loading {
    height: 100px;
    position: relative;
    width: 100px;
    border-radius: 100%;
}

.loading-container {
    margin: 40px auto;
}

.loading {
    border: 1px solid transparent;
    border-color: transparent var(--white) transparent var(--white);
    animation: rotate-loading 1.5s linear 0s infinite normal;
    transform-origin: 50% 50%;
}

#loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 66px;
    transform: translate(-50%, -50%);
}

@keyframes rotate-loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================
   Magic Cursor
   =================================== */
#magic-cursor {
    position: absolute;
    width: 10px !important;
    height: 10px !important;
    pointer-events: none;
    z-index: 1000000;
}

#ball {
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    background: var(--accent-color);
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    pointer-events: none;
    border: none;
    opacity: 1 !important;
}

/* ===================================
   Enhanced Header with Dropdown
   =================================== */
.main-menu ul li.menu-item-has-children > a:after {
    content: '\f107';
    font-family: 'FontAwesome';
    font-weight: 900;
    font-size: 14px;
    margin-left: 8px;
}

.main-menu ul ul {
    visibility: hidden;
    padding: 5px 0;
    margin: 0;
    list-style: none;
    width: 230px;
    border-radius: 5px;
    position: absolute;
    left: 60%;
    top: 100%;
    background-color: var(--accent-color);
    opacity: 0;
    transform: translateX(-50%) scaleY(0.8);
    transform-origin: top center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.main-menu ul ul ul {
    left: 100%;
    top: 0;
    transform: translateX(0) scaleY(0.8);
}

.main-menu ul ul li {
    margin: 0;
    padding: 0;
}

.main-menu ul ul li a {
    color: var(--white) !important;
    padding: 8px 20px !important;
    display: block;
}

.main-menu ul li:hover > ul {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
}

.main-menu ul ul li:hover > ul {
    visibility: visible;
    opacity: 1;
    transform: translateX(0) scaleY(1);
}

.main-menu ul ul li a:hover {
    color: var(--primary-color) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.main-menu ul ul li.menu-item-has-children > a {
    position: relative;
}

.main-menu ul ul li.menu-item-has-children > a:after {
    position: absolute;
    right: 15px;
    top: 11px;
    transform: rotate(-90deg);
}

/* ===================================
   Advanced Hero Section
   =================================== */
.hero-section-advanced {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    padding: 150px 0 100px;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 183, 3, 0.1) 0%, transparent 70%);
}

.hero-shapes .shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.hero-shapes .shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -50px;
    animation: float 15s infinite ease-in-out 2s;
}

.hero-shapes .shape-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 18s infinite ease-in-out 1s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Ensure animated text is visible even if JS doesn't load */
.text-anime {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 183, 3, 0.2);
}

.hero-feature-item .feature-icon {
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-feature-item .feature-icon i {
    font-size: 14px;
    color: var(--primary-color);
}

.hero-feature-item span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-image {
    position: relative;
    height: 500px;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.1) 0%, rgba(30, 30, 30, 0.8) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 183, 3, 0.2);
}

.hero-image-placeholder i {
    font-size: 100px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.hero-image-placeholder p {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 600;
}

.hero-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffc933 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(255, 183, 3, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-content {
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: var(--primary-font);
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 5px;
}

/* ===================================
   Stats Counter Section
   =================================== */
.stats-section {
    background-color: var(--accent-color);
    padding: 60px 0;
    position: relative;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.stat-box:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 32px;
    color: var(--accent-color);
}

.stat-content {
    flex-grow: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: var(--primary-font);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

/* ===================================
   Advanced About Section
   =================================== */
.about-section-advanced {
    padding: 120px 0;
    background-color: var(--white);
}

.about-images {
    position: relative;
    height: 600px;
}

.about-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 450px;
    z-index: 2;
}

.about-image-main .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffc933 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image-main .image-placeholder i {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-image-main .image-placeholder p {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.about-image-small {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 300px;
    z-index: 3;
}

.about-image-small .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a2a 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.about-image-small .image-placeholder i {
    font-size: 60px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.about-image-small .image-placeholder p {
    font-size: 1rem;
    color: var(--white);
    font-weight: 600;
}

.about-experience-badge {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%) translateZ(0);
    width: 150px;
    height: 150px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 4;
    padding: 28px;
    will-change: transform;
    backface-visibility: hidden;
    contain: layout style paint;
}

.badge-years {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--accent-color);
    font-family: var(--primary-font);
    line-height: 1;
    margin-bottom: 5px;
}

.about-experience-badge .badge-text {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.about-content {
    padding-left: 40px;
}

.section-intro {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-features-list {
    margin: 40px 0;
}

.about-features-list .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-features-list .feature-item:hover {
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
}

.about-features-list .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffc933 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-features-list .feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.about-features-list .feature-text h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-features-list .feature-text p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
}

.about-cta {
    margin-top: 30px;
}

/* ===================================
   Advanced Services Section
   =================================== */
.services-section-advanced {
    padding: 120px 0;
    background-color: var(--secondary-color);
}

.service-categories {
    margin-bottom: 50px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-tabs li {
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.category-tabs li:hover,
.category-tabs li.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 183, 3, 0.3);
}

.services-grid {
    margin-top: 50px;
}

.service-item {
    margin-bottom: 30px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-item.hidden {
    display: none;
}

.service-card-advanced {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-advanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a2a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-image .image-placeholder i {
    font-size: 60px;
    color: var(--accent-color);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.service-card-advanced:hover .service-image .image-placeholder {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 183, 3, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card-advanced:hover .service-overlay {
    opacity: 1;
}

.service-link {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

.service-link:hover {
    transform: rotate(45deg);
    background-color: var(--primary-color);
    color: var(--accent-color);
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffc933 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card-advanced:hover .service-content .service-icon {
    transform: rotate(5deg) scale(1.05);
}

.service-content .service-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 15px;
    min-height: 65px;
}

.service-title a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-title a:hover {
    color: var(--accent-color);
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-read-more {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-read-more:hover {
    color: var(--primary-color);
    gap: 12px;
}

.service-read-more i {
    transition: all 0.3s ease;
}

/* ===================================
   Why Choose Section
   =================================== */
.why-choose-section {
    padding: 120px 0;
    background-color: var(--white);
}

.why-choose-image {
    height: 550px;
    position: relative;
}

.why-choose-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a2a 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.why-choose-image .image-placeholder i {
    font-size: 100px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.why-choose-image .image-placeholder p {
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 700;
}

.why-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.why-feature:hover {
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.why-feature .feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffc933 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-feature .feature-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.why-feature .feature-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.why-feature .feature-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

/* ===================================
   Advanced CTA Section
   =================================== */
.cta-section-advanced {
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>'),
        linear-gradient(135deg, var(--primary-color) 0%, #2a2a2a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(255, 183, 3, 0.15) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    color: var(--white);
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

.cta-feature-item i {
    color: var(--accent-color);
    font-size: 20px;
}

/* ===================================
   Advanced Contact Section
   =================================== */
.contact-section-advanced {
    padding: 120px 0;
    background-color: var(--secondary-color);
}

.contact-info-box {
    background-color: var(--white);
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 183, 3, 0.2);
}

.contact-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffc933 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.contact-info-box:hover .contact-icon {
    transform: rotate(360deg);
}

.contact-icon i {
    font-size: 35px;
    color: var(--primary-color);
}

.contact-info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-info-box p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.highlight-text {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 10px;
}

.contact-form-section {
    margin-top: 80px;
}

.contact-form-wrapper {
    background-color: var(--white);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.contact-form-advanced .form-group {
    margin-bottom: 25px;
    position: relative;
}

.contact-form-advanced .form-control {
    padding-left: 50px;
}

.form-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 18px;
    pointer-events: none;
}

.contact-form-advanced textarea.form-control + .form-icon {
    top: 25px;
    transform: none;
}

/* ===================================
   Advanced Footer
   =================================== */
.footer-advanced {
    background-color: var(--primary-color);
}

.footer-advanced .footer-main {
    padding: 80px 0 40px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-widget-title {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-about {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--accent-color);
    font-size: 18px;
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* ===================================
   Responsive Styles for Advanced Components
   =================================== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .hero-section-advanced {
        padding: 120px 0 80px;
    }

    .hero-image {
        height: 400px;
        margin-top: 40px;
    }

    .about-images {
        height: 500px;
        margin-bottom: 40px;
    }

    .about-content {
        padding-left: 0;
    }

    .why-features-grid {
        grid-template-columns: 1fr;
    }

    .category-tabs {
        justify-content: flex-start;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        flex-direction: column;
    }

    .stats-section {
        padding: 40px 0;
    }

    .about-section-advanced,
    .services-section-advanced,
    .why-choose-section,
    .contact-section-advanced {
        padding: 80px 0;
    }

    .cta-section-advanced {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-features {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }

    .category-tabs li {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
    }

    .stat-box {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 1.5rem;
    }
}


/* ===================================
   Page Header for Inner Pages
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a2a 100%);
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,183,3,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.breadcrumb-item a {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item.active {
    color: var(--white);
}

/* ===================================
   Content Section Styles
   =================================== */
.about-content-section,
.section-padding {
    padding: 100px 0;
}

.value-box, .about-image-placeholder {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.value-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 183, 3, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffc933 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.value-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.value-box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.certifications-section {
    background-color: var(--secondary-color);
    padding: 60px 40px;
    border-radius: 15px;
    margin-top: 60px;
}

/* ===================================
   Responsive Styles for Inner Pages
   =================================== */
@media (max-width: 991px) {
    .page-header {
        padding: 140px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

.highlighted-menu .nav-link {
    background-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
    border-radius: 5px;
    padding: 12px 25px !important;
}

.highlighted-menu .nav-link:hover {
    background-color: var(--white) !important;
}

/* ===================================
   ULTRA ADVANCED FEATURES
   =================================== */

/* ===================================
   3D Card Tilt Effects
   =================================== */
.service-card-advanced,
.contact-info-box,
.value-box,
.stat-box {
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

.service-card-advanced:hover,
.contact-info-box:hover,
.value-box:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 60px rgba(255, 183, 3, 0.3),
                0 15px 30px rgba(0, 0, 0, 0.2),
                inset 0 0 30px rgba(255, 183, 3, 0.1);
}

/* ===================================
   Parallax Scrolling Elements
   =================================== */
.parallax-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    will-change: transform;
}

.hero-section,
.cta-section-advanced {
    position: relative;
    overflow: hidden;
}

/* ===================================
   Animated Gradient Backgrounds
   =================================== */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-animate {
    background: linear-gradient(-45deg, #1E1E1E, #2a2a2a, #FFB703, #ffc933);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.hero-section-advanced {
    background: linear-gradient(-45deg, #1E1E1E, #2a2a2a, #1a1a1a, #2d2d2d);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

/* ===================================
   Magnetic Button Effect
   =================================== */
.btn-default,
.btn-nav {
    position: relative;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.btn-default::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, transparent, rgba(255, 183, 3, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 7px;
    z-index: -2;
}

.btn-default:hover::after {
    opacity: 1;
    animation: rotateBorder 2s linear infinite;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================
   Glow Effects
   =================================== */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 183, 3, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.service-card-advanced:hover .glow-effect::before,
.contact-info-box:hover .glow-effect::before {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* ===================================
   Text Reveal Animations
   =================================== */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: left 0.8s ease;
}

.text-reveal:hover::after {
    left: 100%;
}

/* ===================================
   Advanced Hover Effects
   =================================== */
.service-icon,
.contact-icon,
.value-icon {
    position: relative;
    overflow: hidden;
}

.service-icon::before,
.contact-icon::before,
.value-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.service-card-advanced:hover .service-icon::before,
.contact-info-box:hover .contact-icon::before,
.value-box:hover .value-icon::before {
    width: 200%;
    height: 200%;
}

/* ===================================
   Particle Effect Background
   =================================== */
.particles-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(100px, -100px) scale(1.5);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50px, -200px) scale(0.8);
        opacity: 0.2;
    }
    75% {
        transform: translate(150px, -150px) scale(1.2);
        opacity: 0.5;
    }
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; left: 80%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { top: 60%; left: 20%; animation-delay: 4s; animation-duration: 20s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 6s; animation-duration: 16s; }
.particle:nth-child(5) { top: 40%; left: 50%; animation-delay: 8s; animation-duration: 22s; }
.particle:nth-child(6) { top: 70%; left: 40%; animation-delay: 10s; animation-duration: 19s; }

/* ===================================
   Wave Animation
   =================================== */
.wave-effect {
    position: relative;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(255, 183, 3, 0.1), transparent);
    animation: wave 10s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-25%) translateY(-10px); }
    100% { transform: translateX(-50%) translateY(0); }
}

.wave:nth-child(2) {
    opacity: 0.5;
    animation-duration: 15s;
    animation-direction: reverse;
}

/* ===================================
   Image Zoom & Pan Effect
   =================================== */
.image-zoom {
    overflow: hidden;
    position: relative;
}

.image-zoom img,
.image-zoom .image-placeholder {
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.service-card-advanced:hover .image-zoom img,
.service-card-advanced:hover .image-zoom .image-placeholder {
    transform: scale(1.15) rotate(2deg);
}

/* ===================================
   Advanced Shadow Effects
   =================================== */
.shadow-advanced {
    position: relative;
}

.shadow-advanced::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, bottom 0.5s ease;
}

.service-card-advanced:hover .shadow-advanced::after,
.contact-info-box:hover .shadow-advanced::after {
    opacity: 1;
    bottom: -30px;
}

/* ===================================
   Morphing Shapes
   =================================== */
@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 50% 20% 80% / 25% 70% 30% 75%; }
    75% { border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%; }
}

.hero-shapes .shape {
    animation-name: morph, float;
    animation-duration: 20s, 15s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* ===================================
   Neon Glow Text Effect
   =================================== */
.neon-text {
    text-shadow:
        0 0 5px rgba(255, 183, 3, 0.5),
        0 0 10px rgba(255, 183, 3, 0.5),
        0 0 20px rgba(255, 183, 3, 0.5),
        0 0 40px rgba(255, 183, 3, 0.3),
        0 0 80px rgba(255, 183, 3, 0.2);
    animation: neonFlicker 3s ease-in-out infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-title,
.section-title {
    position: relative;
    display: inline-block;
}

.hero-title::after,
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transition: width 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.hero-title:hover::after,
.section-title:hover::after {
    width: 100%;
}

/* ===================================
   Floating Elements
   =================================== */
@keyframes floatUpDown {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-element {
    animation: floatUpDown 4s ease-in-out infinite;
}

.hero-feature-item {
    animation: floatUpDown 5s ease-in-out infinite;
}

.hero-feature-item:nth-child(1) { animation-delay: 0s; }
.hero-feature-item:nth-child(2) { animation-delay: 0.5s; }
.hero-feature-item:nth-child(3) { animation-delay: 1s; }

/* ===================================
   Card Flip Effect
   =================================== */
.flip-card {
    perspective: 1000px;
    position: relative;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* ===================================
   Loading Bar Animation
   =================================== */
@keyframes loadingBar {
    0% { width: 0%; }
    100% { width: 100%; }
}

.progress-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #ffc933);
    border-radius: 2px;
    animation: loadingBar 2s ease-in-out;
}

/* ===================================
   Ripple Effect
   =================================== */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-default:active::before {
    animation: ripple 0.6s ease-out;
}

/* ===================================
   Scroll Progress Indicator
   =================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #ffc933);
    z-index: 10000;
    transform-origin: left;
    transition: transform 0.1s ease;
}

/* ===================================
   Advanced Gradient Borders
   =================================== */
.gradient-border {
    position: relative;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                linear-gradient(45deg, var(--accent-color), #ffc933, var(--accent-color)) border-box;
    border: 3px solid transparent;
    border-radius: 15px;
}

.gradient-border-animated {
    border-image: linear-gradient(45deg, var(--accent-color), #ffc933);
    border-image-slice: 1;
    animation: gradientRotate 3s linear infinite;
}

@keyframes gradientRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* ===================================
   Text Typing Effect
   =================================== */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--accent-color);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink 0.75s step-end infinite;
}

/* ===================================
   Stagger Fade In Animation
   =================================== */
@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stagger-item {
    animation: staggerFadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

/* ===================================
   Perspective Card Stack
   =================================== */
.card-stack {
    transform-style: preserve-3d;
    perspective: 1500px;
}

.card-stack .service-card-advanced:nth-child(1) {
    transform: translateZ(0px);
}

.card-stack .service-card-advanced:nth-child(2) {
    transform: translateZ(-20px);
}

.card-stack .service-card-advanced:nth-child(3) {
    transform: translateZ(-40px);
}

/* ===================================
   Glassmorphism Effect
   =================================== */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.hero-feature-item,
.stat-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 183, 3, 0.2);
}

/* ===================================
   Advanced Transitions
   =================================== */
* {
    transition-timing-function: cubic-bezier(0.23, 1, 0.320, 1);
}

/* Smooth scroll with momentum */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   Performance Optimizations
   =================================== */
.service-card-advanced,
.contact-info-box,
.value-box,
.stat-box,
.btn-default {
    will-change: transform;
}

/* Force GPU acceleration */
.service-card-advanced,
.hero-shapes .shape,
.particle {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* ===================================
   Image Display & Optimization
   =================================== */

/* Hero Image */
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* About Section Images */
.about-image-main img,
.about-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.about-image-main img {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image-small img {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Service Card Images */
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-advanced:hover .service-image img {
    transform: scale(1.1);
}

/* Why Choose Section Image */
.why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Image Loading States */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Lazy Load Effect */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive Images */
@media (max-width: 991px) {
    .hero-image img,
    .about-image-main img,
    .about-image-small img,
    .why-choose-image img {
        border-radius: 15px;
    }
}

@media (max-width: 767px) {
    .hero-image {
        height: 350px;
    }

    .service-image {
        height: 200px;
    }

    .why-choose-image {
        height: 400px;
        margin-bottom: 40px;
    }
}

/* Sticky Call Button at Bottom */
.sticky-call-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: linear-gradient(135deg, #FFB703 0%, #ffc933 100%);
    color: #1E1E1E;
    padding: 18px 40px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(255, 183, 3, 0.4);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    font-family: 'Unbounded', sans-serif;
}

.sticky-call-button:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 183, 3, 0.6);
    background: linear-gradient(135deg, #ffc933 0%, #FFB703 100%);
    color: #1E1E1E;
}

.sticky-call-button i {
    font-size: 1.5rem;
    animation: shake 1s infinite;
}

.sticky-call-button .call-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sticky-call-button .call-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sticky-call-button .call-number {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(255, 183, 3, 0.4);
    }
    50% {
        box-shadow: 0 10px 60px rgba(255, 183, 3, 0.8);
    }
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sticky-call-button {
        bottom: 15px;
        padding: 15px 25px;
        font-size: 1rem;
        left: 10px;
        right: 10px;
        transform: none;
        justify-content: center;
        width: calc(100% - 20px);
    }
    
    .sticky-call-button:hover {
        transform: translateY(-5px);
    }
    
    .sticky-call-button .call-number {
        font-size: 1.1rem;
    }
    
    .sticky-call-button .call-label {
        font-size: 0.75rem;
    }
}

/* Hide on very small screens to avoid overlap */
@media (max-width: 400px) {
    .sticky-call-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .sticky-call-button .call-number {
        font-size: 1rem;
    }
}

/* Alternative compact version for mobile */
@media (max-width: 576px) {
    .sticky-call-button {
        flex-direction: row;
        gap: 10px;
    }

    .sticky-call-button i {
        font-size: 1.3rem;
    }
}

/* ===== Mobile Responsive - Excellence Badge ===== */
@media (max-width: 992px) {
    .about-experience-badge {
        width: 130px;
        height: 130px;
        padding: 24px;
        right: 5%;
    }

    .badge-years {
        font-size: 2.25rem;
    }

    .about-experience-badge .badge-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .about-experience-badge {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 120px;
        height: 120px;
        padding: 20px;
        margin: 30px auto;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

    .badge-years {
        font-size: 2rem;
        margin-bottom: 4px;
    }

    .about-experience-badge .badge-text {
        font-size: 0.65rem;
    }

    .about-images {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .about-experience-badge {
        width: 110px;
        height: 110px;
        padding: 18px;
    }

    .badge-years {
        font-size: 1.85rem;
    }

    .about-experience-badge .badge-text {
        font-size: 0.6rem;
    }
}

/* ===== Projects Page Styles ===== */

/* Project Card Images */
.project-card .project-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    height: 300px;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-card .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(30,30,30,0.3), rgba(30,30,30,0.9));
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay .project-info h3 {
    color: #FFB703;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.project-overlay .project-info p {
    color: #fff;
    font-size: 1rem;
    margin: 0;
}

.project-card .project-details {
    padding: 25px;
    background: #fff;
    border-radius: 0 0 15px 15px;
}

.project-category {
    display: inline-block;
    background: linear-gradient(135deg, #FFB703, #ffc933);
    color: #1E1E1E;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.project-details h4 {
    font-size: 1.3rem;
    color: #1E1E1E;
    margin-bottom: 10px;
    font-weight: 700;
}

.project-details p {
    color: #707070;
    line-height: 1.6;
    margin: 0;
}

/* Before & After Section */
.before-after-section {
    background: #F8F8F8;
    padding: 80px 0;
}

.before-after-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.before-after-card:hover {
    transform: translateY(-5px);
}

.before-after-card .ba-image {
    height: 400px;
    overflow: hidden;
}

.before-after-card .ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.before-after-card:hover .ba-image img {
    transform: scale(1.05);
}

.ba-label {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ba-label.before {
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
}

.ba-label.after {
    background: rgba(46, 204, 113, 0.9);
    color: #fff;
}

/* Project Filter Buttons */
.project-filter {
    margin-bottom: 50px;
}

.filter-btn {
    background: #fff;
    border: 2px solid #E0E0E0;
    color: #1E1E1E;
    padding: 12px 30px;
    margin: 0 10px 10px 0;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #FFB703, #ffc933);
    border-color: #FFB703;
    color: #1E1E1E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 183, 3, 0.3);
}

/* Projects Grid */
.projects-grid {
    margin-top: 30px;
}

.project-item {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-card .project-image {
        height: 250px;
    }
    
    .before-after-card .ba-image {
        height: 300px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        margin: 5px;
        font-size: 0.85rem;
    }
}


/* ===== Professional Before/After Slider ===== */

.ba-comparison-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.ba-title {
    font-size: 1.8rem;
    color: #1E1E1E;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #FFB703;
}

.ba-comparison-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.ba-comparison {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 15px;
    cursor: ew-resize;
    user-select: none;
}

.ba-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-comparison-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-after-wrapper {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    transition: clip-path 0.1s ease;
}

.ba-overlay-label {
    position: absolute;
    top: 30px;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.ba-label-before {
    left: 30px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
}

.ba-label-after {
    right: 30px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #fff;
}

.ba-slider-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #FFB703, #ffc933);
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.5);
}

.ba-slider-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFB703, #ffc933);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E1E1E;
    cursor: ew-resize;
    z-index: 4;
    box-shadow: 0 5px 25px rgba(255, 183, 3, 0.4);
    transition: all 0.3s ease;
}

.ba-slider-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 183, 3, 0.6);
}

.ba-slider-button svg {
    transform: rotate(45deg);
}

/* Before/After Description */
.ba-description {
    background: #F8F8F8;
    padding: 30px;
    border-radius: 15px;
}

.ba-description h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1E1E1E;
}

.ba-description ul {
    list-style: none;
    padding: 0;
}

.ba-description li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #505050;
    line-height: 1.6;
}

.ba-description li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #FFB703;
    font-size: 1.5rem;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ba-comparison {
        height: 400px;
    }
    
    .ba-comparison-wrapper {
        padding: 25px;
    }
    
    .ba-title {
        font-size: 1.4rem;
    }
    
    .ba-overlay-label {
        top: 20px;
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .ba-label-before {
        left: 15px;
    }
    
    .ba-label-after {
        right: 15px;
    }
    
    .ba-slider-button {
        width: 50px;
        height: 50px;
    }
    
    .ba-description {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .ba-comparison {
        height: 300px;
    }
    
    .ba-overlay-label {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

