/* Medium devices (tablets, ≥768px) */
@media (min-width: 768px) {
    .logo {
        width: 130px;
    }

    .header .logo a img {
        max-width: 130px !important;
    }
}

/* Large devices (desktops, ≥1024px) */
@media (min-width: 1024px) {
    .logo {
        width: 160px;
    }

    .header .logo a img {
        max-width: 160px !important;
    }
}

.slider1 {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.608), rgba(255, 255, 255, 0.7)),
        url(../imgs/slide1.jpeg);
    background-repeat: repeat;
    background-size: cover;
    background-position: right center !important;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
    display: flex;
    justify-content: start;
    align-items: center;
}

.slider2 {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        url(../imgs/slide2.jpeg);
    background-repeat: repeat;
    background-size: cover;
    background-position: center center !important;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
    display: flex;
    justify-content: start;
    align-items: center;
}

.slider3 {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        url(../imgs/slide3-min.jpg);
    background-repeat: repeat;
    background-size: cover;
    background-position: center center !important;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
    display: flex;
    justify-content: start;
    align-items: center;
}

.smoke-text {
    position: relative;
    z-index: 1;
    display: inline-block;
}

.smoke-text::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 35%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.7) 0%, transparent 40%),
        radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.6) 0%, transparent 35%),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.65) 0%, transparent 45%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.5) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.4) 0%, transparent 35%);
    filter: blur(10px);
    opacity: 0.6;
    animation: smokeFlow 15s infinite linear alternate;
    z-index: -1;
    pointer-events: none;
}

@keyframes smokeFlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-8px, -6px) scale(1.02);
    }

    100% {
        transform: translate(6px, 4px) scale(1);
    }
}

.gold-title {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #cfa808, #d25603, #ff0000, #e49904);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShine 4s linear infinite;
}

@keyframes goldShine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.blackish-title {
    font-size: calc(1.275rem + 0.25714vw);
    line-height: calc(1.325rem + 0.77143vw);
    font-weight: 600;
    background: linear-gradient(45deg, #2e2d2d, #4a4a4a, #363636);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: blackShift 6s linear infinite alternate;
}

@keyframes blackShift {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 100% center;
    }
}

.mission-img {
    background-image: url('../imgs/fit-out-service2-min.jpg') !important;
    background-size: cover;
}

.white-color{
    color: white !important;
}

.white-color2 a {
    color: white !important;
}


.mission-card {
    background-color: rgba(0, 0, 0, 0.3) !important;
}


.view-pro-btn {
    background: linear-gradient(45deg, #AA1D38, #d25603);
    border: none;
}

/* Quality Policy & CEO Message Section */
.policy-ceo-section {
    background: linear-gradient(135deg, rgba(166, 161, 130, 0.4), rgba(166, 161, 130, 0.3));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* .policy-ceo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../imgs/overlay-qality.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
} */

.policy-ceo-section .container {
    position: relative;
    z-index: 2;
    padding-left: 10px;
    padding-right: 10px;
}

/* Quality Policy Card */
.quality-policy-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 25px 20px;
    margin-right: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.quality-policy-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent, rgba(255, 255, 255, 0.2));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quality-policy-card:hover::before {
    opacity: 1;
}

.quality-policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.policy-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.policy-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #474545, transparent);
    border-radius: 2px;
}

.policy-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.policy-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-points li {
    color: #333;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.policy-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    width: 20px;
    height: 20px;
    background: rgba(51, 51, 51, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.policy-points li:hover {
    transform: translateX(5px);
    color: rgba(51, 51, 51, 0.8);
}

/* CEO Message Card */
.ceo-message-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-radius: 20px;
    padding: 40px 30px;
    margin-left: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ceo-message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.ceo-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(170, 29, 56, 0.2);
}

.ceo-avatar {
    margin-right: 20px;
    position: relative;
}

.ceo-avatar img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 3px solid rgba(170, 29, 56, 0.3);
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #AA1D38, #d25603);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.ceo-avatar::before {
    content: 'MD';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
}

.ceo-avatar:hover img {
    transform: scale(1.05);
    border-color: rgba(170, 29, 56, 0.6);
}

.ceo-title h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #AA1D38, #d25603);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ceo-name {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ceo-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.ceo-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 2rem;
    color: rgba(170, 29, 56, 0.3);
    font-weight: bold;
}

.ceo-content p:last-of-type::after {
    content: '"';
    position: absolute;
    right: 0;
    bottom: 10px;
    font-size: 2rem;
    color: rgba(170, 29, 56, 0.3);
    font-weight: bold;
}

.ceo-signature {
    text-align: right;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ceo-signature strong {
    color: #AA1D38;
    font-size: 1rem;
    position: relative;
}

.ceo-signature strong::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -30px;
    width: 20px;
    height: 1px;
    background: #AA1D38;
}

/* Grid lines for this section */
.policy-ceo-section .grid_lines {
    opacity: 0.1;
}

.policy-ceo-section .grid_line {
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

/* Responsive Design */
@media (max-width: 992px) {
    .policy-ceo-section {
        padding: 60px 0;
    }
    
    .quality-policy-card,
    .ceo-message-card {
        margin: 10px 0;
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .policy-ceo-section {
        padding: 40px 0;
    }
    
    .quality-policy-card,
    .ceo-message-card {
        margin: 15px 0;
        padding: 25px 20px;
    }
    
    .policy-header h3,
    .ceo-title h3 {
        font-size: 1.5rem;
    }
    
    .ceo-header {
        flex-direction: column;
        text-align: center;
    }
    
    .ceo-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Animation for the entire section */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-ceo-section .quality-policy-card,
.policy-ceo-section .ceo-message-card {
    animation: fadeInUp 0.8s ease-out;
}

.policy-ceo-section .ceo-message-card {
    animation-delay: 0.2s;
}

/* Footer Styling */
.footer {
     position: relative;
    padding-top: 0;
    padding-bottom: calc(1.5625rem + 3.21429vw);

}

.footer .footer_inner {
    position: relative;
    z-index: 1;
    padding: calc(1.6563rem + 4.17909vw) 0;
        background: linear-gradient(45deg,  rgb(210, 86, 3),rgb(170, 29, 56)) !important;

}

.footer .section-header h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
}

.footer .communication .info_body h6 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer .communication .info_body h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.footer .communication .info_body h5:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.footer .footer_social .social_list li a {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer .footer_social .social_list li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer .terms_condition ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer .terms_condition ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer .copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
}

.footer .grid_lines {
    opacity: 0.1;
}

.footer .grid_line {
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

/* Custom Preloader Styling */
#preloader {
    background: rgb(170, 29, 56) !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner {
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoFloat 2s ease-in-out infinite;
}

.preloader-logo {
    width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
    animation: logoRotateScale 3s ease-in-out infinite;
}

/* Enhanced Logo animations */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes logoRotateScale {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.05) rotate(0deg);
        opacity: 0.9;
    }
    75% {
        transform: scale(1.1) rotate(-5deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
}

/* Pulsing glow effect around logo */
.logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 2s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
}

/* Responsive preloader */
@media (max-width: 768px) {
    .preloader-logo {
        width: 120px;
    }
    
    .logo-container::before {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .preloader-logo {
        width: 100px;
    }
    
    .logo-container::before {
        width: 140px;
        height: 140px;
    }
}

/* Contact Form Alert Messages */
.home_contact .alert {
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    animation: slideDown 0.3s ease-out;
}

.home_contact .alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #155724;
}

.home_contact .alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #721c24;
}

.home_contact .alert ul {
    margin-bottom: 0;
}

.home_contact .alert li {
    margin-bottom: 5px;
}

.home_contact .alert li:last-child {
    margin-bottom: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Button Styles */
.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-loader .spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.btn olive:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Alert Fade Out Animation */
.alert {
    transition: all 0.3s ease;
}

.alert.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

/* Aside Logo Centering Fix */
.aside_info_wrapper .aside_logo {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aside_info_wrapper .aside_logo a {
    display: inline-block;
}

.aside_info_wrapper .aside_logo a img {
    display: block;
    margin: 0 auto;
}