/* GRENERAL SETTINGS */

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Regular.ttf');
}

/* Hide scrollbar for all browsers */
html {
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

body {
    width: 100%;
    background: #fff;
    color: #3f3f3f;
    font: 14px / 28px arial;
    font-family: 'Raleway';
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* Hide scrollbar for any element */
*::-webkit-scrollbar {
    width: 0;
    height: 0;
}

* {
    scrollbar-width: none; /* Firefox */
}

h1{
    font-size:52px;
    letter-spacing:4px;
    margin-bottom: 20px;
}


.sectionHeaderSills {
    background: transparent !important;
    color: #2c3e50;
    border: none;
    height: auto;
    display: inline-block;
    line-height: 1.2;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    letter-spacing: 1px;
    border-radius: 12px;
    box-shadow: none;
    margin-bottom: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    text-transform: uppercase;
    overflow: hidden;
}

.sectionHeaderSills:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: transparent !important;
    color: #34495e;
}

.sectionHeader, .sectionHeaderBonding, .sectionHeaderSurrounds
, .sectionHeaderWallsPanel, .sectionHeaderSheer {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    height: auto;
    color: #ffffff;
    display: inline-block;
    line-height: 1.2;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    letter-spacing: 1px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    margin-bottom: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    text-transform: uppercase;
    overflow: hidden;
}

.sectionHeader::before, .sectionHeaderSills::before, .sectionHeaderBonding::before, .sectionHeaderSurrounds::before
, .sectionHeaderWallsPanel::before, .sectionHeaderSheer::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    transition: all 0.4s ease;
}

.sectionHeader:hover, .sectionHeaderBonding:hover, .sectionHeaderSurrounds:hover
, .sectionHeaderWallsPanel:hover, .sectionHeaderSheer:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8, #6a4c93);
}

h3{
    font-size:16px;
    color:#100d50;
    transition: all 0.5s ease;    

}
.sectionArea {
    padding: 40px 0;
}
/* GRID  SETTINGS */

.container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;

}

.featuresBody .container   {
    justify-content: space-between;
}
.col3 {
    flex-grow: 1;
    width:33.33%;

}

.egineBody .container   {
    justify-content: space-between;

}

.col2 {
    flex-grow: 1;
    width:50%;
    padding:  20px;


}



/* HOME  SETTINGS */

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

header .container {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .logo {
    margin-right:auto;   

}

header .logo img {
    display: block;
    height:70px;
    margin-left:20px;
}



.menu ul li {
    float: left;
    position: relative; 
     
   
}

.menu ul li a {    
    padding: 27px 17px;
    display: block;    
    width: 95px;    
    text-decoration: none;
    letter-spacing: 2px;
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.menu ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.menu ul li a:hover::before {
    left: 100%;
}

.menu ul li  a:hover  {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: #ffffff;   
    backdrop-filter: blur(10px);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.menu ul li ul{
    display:none;
    position: absolute;
    color: white;
    background: rgba(233, 207, 169, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
       
}
.menu ul li:hover ul {
    display: block;
    background: rgba(233, 207, 169, 0.95);
    color: #fff;
}

.menu ul li ul li a  {
    background: transparent;
    color: #333;   
    border-radius: 4px;
    margin: 2px;
}

.menu ul li ul li  a:hover  {
    background: rgba(84, 52, 3, 0.8);
    color: #fff; 
    font-size: 15px;  
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
   
}

.menu ul li ul li  a:hover p {

    font-size: 11px;
   
}





  

#mainSlider {
    height: 600px;
    background: url(../img/mainProject.jpg) center center no-repeat; 
    background-size: cover;
}

.slider{
    width: 100%;
    background: rgba(247, 241, 241, 0);
}

#mainCaption {
    height: 600px;
   
}

.caption {
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    width: 100%;
    color: #fff;

}

.featuresTop {
    text-align: center;
}

.zoom {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    vertical-align:top;
}

.item{
    padding:20px;
}

.zoom img {
    display: block;
    width: 100%;
    height: 250PX;
    transition: all  .5s ease;

}

.item .itemText {
    text-align: center;
    padding:5px;
    border: 1px solid #100d50;

}

.item:hover .zoom img {
    transform: scale(1.25); 

}

.item:hover h3 {
    
    color: #100d50;

}

.item:hover .itemText {
    background-color: #e9cfa9;
    color: #fff;
    transition:all .5s ease;
}



.btnDetails {
    color:#fff;
    padding:5px 10px;
    text-decoration: none;
    border:1px solid #100d50;
    transition:all .5s ease;


}

.item:hover .btnDetails {
    color: #100d50;
    border:1px solid #100d50;
}


.itemText p{
    margin: 20px 0;
}

#parallax {
    background: linear-gradient(
        rgba(0,0,0, .7),
        rgba(0,0,0, .7)
        ),
        url('../img/paralax.jpg');
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
        text-align: center;

}

#parallax p {
    color: #fff;
}

.engineTop {
    text-align: center;

}

.engineContainer {
    position: relative;
    width: 100%;
}

.imageOver{
    display: block;
    width: 100%;
    height: auto;


}

.engineOverlay{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(80,13,22, 0.7);
    overflow: hidden;
    width: 0;
    height: 100%;
    transition:  0.5s ease;
}

.engineContainer:hover .engineOverlay {
    width: 100%;

}

.engineText{
    white-space: nowrap;
    color: #fff;
    font: size 20px;
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}

.engineOverlay2 {
    position: absolute;
    bottom: 0;
    left: 100%;
    right: 0;
    background-color: rgba(80,13,22, 0.7);
    overflow: hidden;
    width: 0;
    height: 100%;
    transition:  0.5s ease;
}

.engineContainer:hover .engineOverlay2 {
    width: 100%;
    left: 0;

}

footer{
    background: linear-gradient(-45deg, #f8f9fa, #e9ecef, #dee2e6, #ced4da, #adb5bd, #6c757d);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(248, 249, 250, 0.15), rgba(233, 236, 239, 0.1));
    background-size: 300% 300%;
    animation: overlayShift 6s ease infinite;
    z-index: 1;
}

@keyframes overlayShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(248, 249, 250, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(233, 236, 239, 0.1) 0%, transparent 50%);
    animation: radialShift 10s ease infinite;
    z-index: 1;
}

@keyframes radialShift {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

footer .container {
    position: relative;
    z-index: 2;
}

.footerItem {
    padding: 20px;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.footerItem:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footerItem img{
    height:50px;
    opacity: 0.5;
}

footer h3{
    color: #2c3e50;
    font-size:18px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    font-weight: 600;
}

footer .fa{
    font-size:30px;
    color: #6c757d;
    line-height : 50px;
    transition: all 0.3s ease;
}

footer .fa:hover{   
    color: #667eea;
    transform: scale(1.1) translateY(-3px);
}

footer p {
    color: #495057;
    line-height:20px;
    transition: color 0.3s ease;
}

.footerLinks a {
    text-decoration: none;
    color: #6c757d;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.footerLinks a:hover {
    color: #667eea;
    text-decoration: none;
    transform: translateY(-2px);
}

.socialLinks li  {
    display: inline-block;
    width: 50px;
    height: 50px;
}





/* CARS SETTINGS */

#carsSlider {
    height: 700px;
    background: url(../img/SURROUND6.jpeg) center center no-repeat; 
    background-size: cover;
}

.carsSlider{
    width:100%;
}

#carsCaption {
    height:700px;
    background: rgba(0,0, 0, .8);
}

#inspector {
    background-color: #f5f5f5;
 }
 .inspectTop{
     text-align: center;
 }

 .inspectBody .col2{
     display: flex;
 }

/* VIDEO BACKGROUND FOR ABOUT PAGE */

#aboutSlider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
    filter: brightness(1) contrast(1) saturate(1);
    -webkit-filter: brightness(1) contrast(1) saturate(1);
}

#aboutCaption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

#aboutCaption h1 {
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 3rem;
    text-align: center;
    text-shadow: none;
    font-weight: bold;
}

#aboutCaption p {
    background: transparent;
    padding: 1.5rem;
    border-radius: 10px;
    color: #ffffff;
    max-width: 800px;
    text-align: center;
    line-height: 1.6;
    font-size: 1.1rem;
    border: none;
}

/* PROFESSIONAL TOOL ICONS WITH ANIMATIONS */

.floating-tools {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
    z-index: 10;
    overflow: visible;
}

.tool-icon {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0.7;
    animation: floatAndRotate 6s ease-in-out infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
}

.tool-icon:hover {
    opacity: 1;
    transform: scale(1.3);
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.5));
}

/* Individual tool positioning around title area */
.hammer-icon {
    top: 20px;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.screwdriver-icon {
    top: 40px;
    right: 8%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.paint-roller-icon {
    top: 60px;
    left: 2%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.helmet-icon {
    top: 80px;
    right: 5%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.gloves-icon {
    top: 100px;
    left: 10%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.wrench-icon {
    top: 30px;
    left: 45%;
    animation-delay: 5s;
    animation-duration: 7s;
}

.drill-icon {
    top: 70px;
    right: 15%;
    animation-delay: 6s;
    animation-duration: 9s;
}

.level-icon {
    top: 120px;
    right: 10%;
    animation-delay: 7s;
    animation-duration: 6s;
}

/* Floating and rotating animation */
@keyframes floatAndRotate {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    50% {
        transform: translateY(-5px) rotate(-3deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tool-icon {
        font-size: 1.4rem;
        opacity: 0.6;
    }
    
    .floating-tools {
        height: 150px;
    }
    
    .hammer-icon { top: 15px; left: 3%; }
    .screwdriver-icon { top: 30px; right: 5%; }
    .paint-roller-icon { top: 45px; left: 1%; }
    .helmet-icon { top: 60px; right: 3%; }
    .gloves-icon { top: 75px; left: 8%; }
    .wrench-icon { top: 20px; left: 40%; }
    .drill-icon { top: 50px; right: 12%; }
    .level-icon { top: 90px; right: 8%; }
}

@media (max-width: 480px) {
    .tool-icon {
        font-size: 1.1rem;
        opacity: 0.5;
    }
    
    .floating-tools {
        height: 120px;
    }
    
    .hammer-icon { top: 10px; left: 2%; }
    .screwdriver-icon { top: 25px; right: 3%; }
    .paint-roller-icon { top: 35px; left: 0%; }
    .helmet-icon { top: 45px; right: 2%; }
    .gloves-icon { top: 60px; left: 5%; }
    .wrench-icon { top: 15px; left: 35%; }
    .drill-icon { top: 40px; right: 8%; }
    .level-icon { top: 75px; right: 5%; }
}

/* SIMPLE PICTURE & EXPLANATION LAYOUT */

.categoryGroup{
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
}

.categoryGroup.reverse {
    flex-direction: row-reverse;
}

.categoryGroup:hover {
    transform: none;
}

.inspectImage{
    width: 120px;
    height: 120px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.inspectImage:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.inspectImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.categoryGroup:hover .inspectImage img {
    transform: scale(1.1);
}

.inspectImage{
    width: 40%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.inspectImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.95) contrast(1.05);
}

.categoryGroup:hover .inspectImage img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.1);
}

.inspectImage::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    z-index: 2;
}
/* RESPONSIVE DESIGN FOR SIMPLE LAYOUT */

@media (max-width: 768px) {
    .categoryGroup {
        margin-bottom: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .categoryGroup.reverse {
        flex-direction: column;
    }
    
    .inspectImage {
        width: 100%;
        height: 200px;
        border-radius: 8px;
    }
    
    .inspectText {
        width: 100%;
        padding: 0;
    }
    
    .inspectText h4 {
        font-size: 1.1rem;
        padding: 0.6rem 1rem;
        text-align: left;
        margin-bottom: 0.8rem;
    }
    
    .inspectText h4::before {
        font-size: 0.9rem;
    }
    
    .categoryText {
        font-size: 0.9rem;
        padding: 0 1rem;
        line-height: 1.6;
    }
    
    .categoryText::before {
        font-size: 0.8rem;
    }
    
    .sectionHeader, .sectionHeaderSills, .sectionHeaderBonding, .sectionHeaderSurrounds
    , .sectionHeaderWallsPanel, .sectionHeaderSheer {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .sectionHeader::before, .sectionHeaderSills::before, .sectionHeaderBonding::before, .sectionHeaderSurrounds::before
    , .sectionHeaderWallsPanel::before, .sectionHeaderSheer::before {
        font-size: 1rem;
        left: 0.8rem;
    }
    
    /* Products page specific fixes */
    .inspectBody .container {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .inspectBody .col2 {
        width: 100%;
        padding: 0.5rem 0;
    }
    
    #carsSlider {
        height: 400px;
    }
    
    #carsCaption {
        height: 400px;
    }
    
    #carsCaption h1 {
        font-size: 2rem;
    }
    
    #carsCaption p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .categoryGroup {
        margin-bottom: 1.2rem;
        gap: 0.8rem;
        padding: 0.5rem;
        background: #f8f9fa;
        border-radius: 8px;
    }
    
    .categoryGroup.reverse {
        flex-direction: column;
    }
    
    .inspectImage {
        width: 100%;
        height: 180px;
        border-radius: 6px;
    }
    
    .inspectText {
        width: 100%;
        padding: 0;
    }
    
    .inspectText h4 {
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
        text-align: left;
        margin-bottom: 0.6rem;
        line-height: 1.4;
    }
    
    .inspectText h4::before {
        font-size: 0.8rem;
    }
    
    .categoryText {
        font-size: 0.85rem;
        padding: 0 0.8rem;
        line-height: 1.6;
        text-align: left;
    }
    
    .categoryText span {
        font-size: 1.5rem !important;
    }
    
    .categoryText::before {
        font-size: 0.7rem;
    }
    
    .sectionHeader, .sectionHeaderSills, .sectionHeaderBonding, .sectionHeaderSurrounds
    , .sectionHeaderWallsPanel, .sectionHeaderSheer {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .sectionHeader::before, .sectionHeaderSills::before, .sectionHeaderBonding::before, .sectionHeaderSurrounds::before
    , .sectionHeaderWallsPanel::before, .sectionHeaderSheer::before {
        font-size: 0.9rem;
        left: 0.6rem;
    }
    
    /* Products page specific mobile fixes */
    .inspectBody .container {
        flex-direction: column;
        padding: 0 0.5rem;
    }
    
    .inspectBody .col2 {
        width: 100%;
        padding: 0.3rem 0;
    }
    
    .inspectTop h2 {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    #carsSlider {
        height: 350px;
    }
    
    #carsCaption {
        height: 350px;
    }
    
    #carsCaption h1 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    #carsCaption p {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
    
    .sectionArea {
        padding: 20px 0;
    }
    
    /* Footer mobile optimization */
    footer .container {
        flex-direction: column;
        padding: 1rem;
    }
    
    footer .col3 {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .footerItem {
        padding: 1rem;
    }
    
    .footerItem img {
        height: 40px;
    }
    
    footer h3 {
        font-size: 1rem;
    }
    
    footer p {
        font-size: 0.85rem;
    }
    
    .footerLinks {
        text-align: center;
    }
    
    .socialLinks {
        text-align: center;
    }
}
 /* .inspectImage img:hover{
     width: 600px !important;
     height: 600px !important;
     z-index: 1;
     transition: all 0.5s ease;
 } */

 .inspectText{
     width:60%;
     padding-left: 10px;
     

 }

 .date{
     color: #ffffff;
     font-size:12px;
     font-style: italic;     
     margin-right: 10px;
     padding-left: 10px;
     border-radius:10px 10px 0 0 ;
     background: #500D16;
     z-index: -1;
    
     
     

 }

 h4{
     color :#f5f5f5;
     font-size:14px;
     font-weight:bold;
     border-bottom: 5px solid #500D16;
     text-align: center;
     margin-right: 10px;
     border-radius:0 0 10px 10px  ;
     background: #500D16;
     
 }
.categoryText{
    padding-top: 40px;
    text-align: justify;
    padding-right: 13px;
}
 .inspectText a{
     float: right;
     text-decoration: none;
     color: #500D16;
    


 }

.inspectText{
    width: auto;
    flex: 1;
    padding: 0;
    position: relative;
    z-index: 2;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inspectText h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
    background: transparent;
    border: none;
}

.inspectText h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.categoryGroup:hover .inspectText h4::before {
    transform: translateY(-50%) scale(1.1) rotate(10deg);
}

.categoryGroup:hover .inspectText h4 {
    color: #34495e;
}

.categoryText {
    color: #6c757d;
    line-height: 1.5;
    font-size: 0.85rem;
    margin-bottom: 0;
    font-weight: 400;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.categoryText::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.categoryGroup:hover .categoryText::before {
    opacity: 1;
    transform: scale(1.1);
}

.categoryGroup:hover .categoryText {
    color: #495057;
}

 .projectXTop{
     text-align: center;
 }

 #projectX .containerFluid {
     height: 700px;
     background: url(../img/project.jpg)   center center no-repeat;
     background-size: cover;
 }

 .captionPX {
    display:flex;
    background:rgba(0,0, 0, .8);
    width: 100%;
    height: 700px;
 }

 .projectXInfo {
     position: relative;
     margin-left: 5%;
     padding-right: 5%;
     top: 50%;
     left:50%;   
     transform: translate(-50%, -50%)

 }

.projectXTitle {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom:20px;

}

.projectXBTN {
    background-color: #500D16;
    cursor: pointer;
    color: #fff;
    padding: 20px 40px ; 
    border: none;
    margin-top:20px;
    transition: all 0.5s ease;
    
}

.projectXBTN:hover {
    background-color: #fff;
    color:#500D16;
}
.projectXText{
    color: yellow;
}

.projectXHighlight{
    display: inline-block;
    background-color: #550D16;
    padding:30px;    
}

.containerFluid .col2{
    padding:0;

}
.projectXDetail li {
    color: #fff;
}
.projectXDetail li:hover{
    background-color: #fff;
    color:#500D16;
}



/* ABOUT SETTINGS */



.aboutSlider{
    width:100%;
}

#aboutCaption {
    height:800px;
    background: transparent;
}

.caption p {
    width: 80%;
    text-align: center;
    
}

#ourHistory {
    background-color:  #f5f5f5;    
}

.ourHistoryTop {
    text-align: center;
}

.ourHistoryBody .containerFluid {
    display: flex;
    justify-content: space-between;
    margin-bottom:20px;

}

.ourHistoryBody .col2 {
    display: flex;

}

.ourHistoryDate {
    flex: 1;
    text-align: center;
    background-color: #500D16;
    color: #fff;
}

.ourHistoryDate p {
    font-size: 30px;
    letter-spacing:2px;
    position:relative;
    top: 50%;
    left:50%;
    transform: translate(-50%, -50%);

}

.ourHistoryImage {
    flex: 2;

}
.ourHistoryImage img {
    width: 100%;
    height: 100%;
}

.ourHistoryText {
    flex: 3;
    margin-left: 10px;

}
.ourHistoryText p {
    position:relative;
    top: 50%;
    left:50%;
    transform: translate(-50%, -50%);
}

.teamTop {
    text-align: center;
}

.teamBody .containerFluid {
    display: flex;
    width: 100%;
}
.teamMember {
    position: relative;
    width: 100%;

}

.teamMemberImg {
    display:block;
    width: 100%;
    height:100%;
}

.teamMemberOverlay {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    height:100%;
    width: 100%;
    opacity: 1;
    background-color: #e7c9a76b;
    transition:  0.5s ease;

}

.teamMember:hover .teamMemberOverlay {
    opacity: 0;
}

.teamMember:hover  .teamMemberInfo   {
    color: #fff;
    font-size:  20px;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}

.teamTitle {
    color: #fff;
    font-size:  20px;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);

}

.teamMemberInfo {
    color: #fff;
    background-color: rgba(80, 13, 22, .7);
    position: absolute;
    top:0;
    left:50%;
    transform: translateX(-50%);
    transition: .5s ease;
    pad: 20px;
    text-align: center;
}

.memberSocialLinks {
    text-align: center;

}
.memberSocialLinks li {
    display: inline;
    margin-left: 5px;
    margin-right: 5px;

}
.memberSocialLinks .fa {
    color: #fff;
}

/* MODERN CONTACT SETTINGS */

/* Modern Contact Hero Section */
.modern-contact-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.shape-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.shape-3 {
    width: 65px;
    height: 65px;
    top: 30%;
    right: 30%;
    animation-delay: 4s;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.shape-4 {
    width: 90px;
    height: 90px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
    background: rgba(255, 255, 255, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.42);
}

.shape-5 {
    width: 75px;
    height: 75px;
    top: 10%;
    right: 50%;
    animation-delay: 3s;
    background: rgba(255, 255, 255, 0.32);
    border: 2px solid rgba(255, 255, 255, 0.48);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
        opacity: 1;
    }
}

.modern-caption {
    position: relative;
    z-index: 2;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.75), 
        rgba(118, 75, 162, 0.7), 
        rgba(102, 126, 234, 0.75), 
        rgba(118, 75, 162, 0.7));
    background-size: 400% 400%;
    animation: modernCaptionGradient 8s ease infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.5s ease;
}

@keyframes modernCaptionGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    animation: slideInUp 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.animated-subtitle {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.3s both;
    font-weight: 300;
}

.contact-highlights {
    display: flex;
    gap: 1.5rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.highlight-item i {
    font-size: 1.2rem;
    color: #fff;
}

.highlight-item span {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Contact Section */
.modern-contact-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 2.5rem;
    align-items: start;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: 
        radial-gradient(circle, rgba(102, 126, 234, 0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(118, 75, 162, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.05) 2px, transparent 2px),
        #fff;
    background-size: 20px 20px, 10px 10px, 30px 30px, 30px 30px, 100% 100%;
    background-position: 0 0, 5px 5px, 0 0, 15px 15px, 0 0;
    padding: 1.8rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: infoCardDotShift 30s linear infinite;
}

@keyframes infoCardDotShift {
    0% {
        background-position: 0 0, 5px 5px, 0 0, 15px 15px, 0 0;
    }
    100% {
        background-position: 20px 20px, 25px 25px, 30px 30px, 45px 45px, 0 0;
    }
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 45px;
    height: 45px;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 20% 60%, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px),
        repeating-radial-gradient(circle at center, 
            transparent 0, 
            transparent 2px, 
            rgba(255, 255, 255, 0.15) 2px, 
            rgba(255, 255, 255, 0.15) 3px
        ),
        linear-gradient(135deg, #667eea, #764ba2);
    background-size: 8px 8px, 8px 8px, 8px 8px, 8px 8px, 8px 8px, 8px 8px, 8px 8px, 8px 8px, 100% 100%, 100% 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 6px 6px;
    border-radius: 50%;
    animation: dotRotate 20s linear infinite;
}

@keyframes dotRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.card-icon i {
    font-size: 1.2rem;
    color: #fff;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
}

.info-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.info-card span {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

/* Modern Form Container */
.modern-form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.modern-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Modern Form Styles */
.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container i {
    position: absolute;
    left: 0.8rem;
    color: #667eea;
    font-size: 1rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.input-container input,
.input-container textarea {
    width: 100%;
    padding: 1rem 0.8rem 1rem 2.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 0.9rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.input-container textarea {
    resize: vertical;
    min-height: 100px;
    padding-top: 1rem;
}

.input-container input:focus,
.input-container textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-container input:focus + .input-border,
.input-container textarea:focus + .input-border {
    transform: scaleX(1);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* Modern Submit Button */
.modern-submit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.8rem;
    align-self: center;
    min-width: 180px;
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.modern-submit-btn:active {
    transform: translateY(0);
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-contact-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .modern-caption {
        height: 50vh;
        min-height: 350px;
    }
    
    .animated-title {
        font-size: 2rem;
    }
    
    .animated-subtitle {
        font-size: 1rem;
    }
    
    .contact-highlights {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modern-form-container {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .modern-contact-hero {
        height: 45vh;
        min-height: 300px;
    }
    
    .modern-caption {
        height: 45vh;
        min-height: 300px;
    }
    
    .animated-title {
        font-size: 1.8rem;
    }
    
    .modern-form-container {
        padding: 1.2rem;
    }
    
    .info-card {
        padding: 1.5rem 1.2rem;
    }
    
    .modern-contact-section {
        padding: 2rem 0;
    }
}

/* MODERN SERVICES SECTION */

.modern-services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
}

.modern-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem 0;
}

.modern-section-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    animation: fadeInUp 1s ease-out;
    letter-spacing: 2px;
}

.services-subtitle {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    line-height: 1.6;
}

.title-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 0 auto;
    border-radius: 2px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid Layout for Index Page */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Slider Container for About Page */
.services-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem 0;
}

.services-slider-track {
    display: flex;
    gap: 2rem;
    animation: slideLeft 40s linear infinite;
    width: max-content;
}

.services-slider-track:hover {
    animation-play-state: paused;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.service-card {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    opacity: 1;
    border: 1px solid rgba(230, 230, 230, 0.8);
}

/* Service cards in grid layout */
.services-grid .service-card {
    width: 100%;
}

/* Service cards in slider layout */
.services-slider-track .service-card {
    flex-shrink: 0;
    width: 380px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25), 0 0 0 1px rgba(102, 126, 234, 0.1);
    background: linear-gradient(to bottom, #ffffff 0%, #fefefe 100%);
}

.card-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.92) contrast(1.05);
}

.service-card:hover .card-image-container img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.service-card:hover .card-overlay {
    opacity: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 3px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    background: rgba(255, 255, 255, 0.25);
}

.service-icon i {
    font-size: 2.2rem;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.card-content {
    padding: 2rem 1.8rem;
    background: transparent;
    position: relative;
}

.card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    border-radius: 2px;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    margin-top: 0.8rem;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.service-card:hover .card-content h3 {
    color: #667eea;
    transform: translateY(-2px);
}

.card-content p {
    color: #5a5a6e;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.service-card:hover .card-content p {
    color: #4a4a5e;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.feature-tag:hover {
    transform: scale(1.05);
}

/* About Summary Content Styles */
.about-summary-content {
    margin-top: 2rem;
}

.summary-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.summary-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #495057;
    max-width: 900px;
    margin: 0 auto;
}

.summary-intro strong {
    color: #667eea;
    font-weight: 700;
}

.company-values {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.5),
            rgba(255, 255, 255, 0.5) 40px,
            rgba(102, 126, 234, 0.04) 40px,
            rgba(102, 126, 234, 0.04) 41px,
            rgba(255, 255, 255, 0.5) 41px,
            rgba(255, 255, 255, 0.5) 80px
        ),
        linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(240, 240, 250, 0.5) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.value-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    background: transparent;
    border: none;
    text-align: center;
}

.value-item p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* Services Responsive Design */
@media (max-width: 768px) {
    .modern-services-section {
        padding: 4rem 0;
        margin: 0;
    }
    
    .summary-intro {
        padding: 0 1rem;
    }
    
    .summary-intro p {
        font-size: 1rem;
    }
    
    .company-values {
        margin-top: 3rem;
        padding: 2rem 1rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-item {
        padding: 1.5rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-slider-container {
        padding: 1.5rem 0;
    }
    
    .services-slider-track {
        gap: 1.5rem;
    }
    
    .services-slider-track .service-card {
        width: 340px;
    }
    
    .card-image-container {
        height: 200px;
    }
    
    .card-content {
        padding: 1.8rem 1.5rem;
    }
    
    .card-content h3 {
        font-size: 1.3rem;
    }
    
    .modern-section-title {
        font-size: 2.8rem;
    }
    
    .services-subtitle {
        font-size: 1.1rem;
    }
    
    .services-header {
        margin-bottom: 2rem;
        padding: 0.5rem 0;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-image-container {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .modern-services-section {
        padding: 3rem 0;
        margin: 0;
    }
    
    .services-container {
        padding: 0 1rem;
    }
    
    .modern-section-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .services-header {
        margin-bottom: 1.5rem;
        padding: 0.5rem 0;
    }
    
    .services-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .summary-intro {
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }
    
    .summary-intro p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .company-values {
        margin-top: 2rem;
        padding: 1.5rem 0.5rem;
    }
    
    .values-grid {
        gap: 1rem;
    }
    
    .value-item {
        padding: 1.2rem 0.8rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .value-icon i {
        font-size: 1.5rem;
    }
    
    .value-item h4 {
        font-size: 1rem;
    }
    
    .value-item p {
        font-size: 0.85rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-slider-container {
        padding: 1rem 0;
    }
    
    .services-slider-track {
        gap: 1rem;
        animation: slideLeft 30s linear infinite;
    }
    
    .services-slider-track .service-card {
        width: 300px;
    }
    
    .service-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .card-image-container {
        height: 180px;
    }
    
    .card-content {
        padding: 1.5rem 1.2rem;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
        margin-top: 0.6rem;
    }
    
    .card-content p {
        font-size: 0.88rem;
        line-height: 1.6;
    }
    
    .service-icon {
        width: 75px;
        height: 75px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
}

#gallery{
    background-color :#f5f5f5;
}

.galleryTop{
    text-align: center;
} 

.gallerySlider {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;

}
.gallerySliderItem {
    width: 300%;
    position: relative;
    left: 0;
    animation: slideAnimation 30s infinite;

}

.gallerySliderItem img {
    width: 33.33%;
    float: left;
    height: auto;


}

@keyframes slideAnimation {
    0% { left: 0; }
    25% { left: -100; }
    50% { left: -200%; }     
    75% { left: -100%;}
    100% { left: 0; }
       
}

.contactTop{
    text-align: center;
}

.wrapper{
    margin:0 auto;
    width: 100%;    
}
.contactForm {
    margin:0 auto;
    width:60%;    
}

.formItem {
    margin-bottom: 10px;
    width: 100%;

}

.formShape {
    color: #fff;
    float: left;
    background:#100d59;
    padding:8px;
    width: 8%;
    text-align: center;   

}
.formField {
    color: #100d59;
    background:rgb(166, 190, 187);
    border: none;
    padding:15.5px;
    width: 92%;
    display: block;
    font-size:14px;
}

.formBtn{
    width:100px;
    display: block;
    border: none;
    background:#100d59;
    color: #fff;
    padding:12px 25px;
    cursor: pointer;
    text-decoration: none;
    font-weight:bold;
    border-radius: 15px 15px 15px 0px;
}
.formBtn:hover{
    background: #100d59;
}



/* ADMIN SAYFASI */
.adminSayfasi{
    
    width:100%;
    height:500px;
    opacity: 0.5;
}


.btnEkle{
    width:15%;
    margin-right:15px;
    height:50px;
    margin-left:10px;
    margin-top:10px;
    border-radius:10px;    
    color: white;
    background-color: green;
}

.btnDelete{
    width:15%;
    margin-right:15px;
    height:50px;
    margin-left:10px;
    margin-top:10px;
    border-radius:10px;    
    color: white;
    background-color: red;
}

.btnUpdate{
    width:15%;
    margin-right:15px;
    height:50px;
    margin-left:10px;
    margin-top:10px;
    border-radius:10px;    
    color: white;
    background-color: rgb(112, 112, 4);

}


/* LOGIN PAGE */

.LoginPage{
    background-color: white;
    width:100%;
    height:450px;
}

.LoginPageTitle{
    text-align: center;
    font-weight:bold;
    padding-top:30px;
    font-size:30px;
    font-style: italic;
}

.formContainer{
    width:40%;
    height:300px;
    border:5px solid #e4dcd4;
    border-radius:5px;
    margin: auto auto;
    background-color:#e4dcd4;
    margin-top:40px;

}
.userName{
    text-align: center;
}
.password{
    text-align: center;
}

.btnLogin{
    width:140px;
    height:30px;
    border-radius:10px;
    background:blue;
    margin-top:30px;
    margin-left: 230px;
    color:#fff;
}



/* Produts admin page */


.btnEkleAdminPage{

    width:100%;   
    height:50px;         
    color: white;
    background-color: green;

}



.btnposition{
    width:98%;
    display:flex;
    flex-direction:row;
    position:absolute;   
    bottom:0px;
    justify-content:space-between;
}

.btnDeleteteAdmin{

    width:30%;
    border-radius:10px;
    border:3px solid  red;
    background-color:white;
    color:red;      
}
.btnDeleteteAdmin:hover{
    background-color:red;
    color:white;        
}

.btnUpdateAdmin{
    width:30%;
    border-radius:10px;
    border:3px solid  yellow;
    background-color:white;
    color:rgb(255, 238, 0);           
}

.btnUpdateAdmin:hover{
    background:yellow;
    color:white;
}


/* New Item Page*/

.newItemPage {
    width:100%;
    height:1000px;
    background:#95a5a6;
    position:relative;
    
}

.newItemPageContainer{
    width: 80%;
    height:80%;
    position:absolute;
    margin-top: 100px;
    margin-left: 150px; 
    background-color:white;
    border-radius:10px;
}
.newItemTitle{
    padding-top: 20px;
    text-align:center;
    color:#550D16;
    font-size:24px;
    font-weight:bold;
    border-bottom: 2px;
}

.newItemTitleInput{
    width: 90%;
    margin-left:45px;
    margin-right: 25px;
    border:2px solid #500D16;
 
}
.newItemDescription{

    width: 90%;
    height:200px;
    margin-left:45px;
    margin-right: 25px;
    border:2px solid #500D16;

}

.newItemButtons{

    margin-top:30px;
    margin-left: 500px;

}




/*        blog sayfasi ayarlari   */
.mainContainer{

    width: 95%;
    height: 400px;
    border:2px solid #500D16;
    border-radius:20px;    
    margin-left:2.5%;
    margin-top:40px;
    display:flex;
    flex-direction: row;
}

.leftSide{
    flex:6;
    background:#e9e6e6;
    border-radius:20px;
    border-radius:20px 0px 0px 20px;
      
      
}

.photoAlbum{
    display:flex;
    height:100%;
    flex-direction: column;     
    

}
.firstLine{
    flex:1;   
    border-radius:20px 20px 20px 20px; 
    width:99%;
    height:99%;
    margin-left:0.5%;
    margin-top: 0.5%;
    margin-bottom: 0.5%;
    margin-right: 0.5%;
    display:flex;
    flex-direction: row;
}

.firstLinePhoto1{
    flex:1;    
   /*  background-image: url("../img/banding1.jpg"); */
    width:280px;
    height: 190px;
    object-fit:fill;
    border-radius:20px ;
    margin-right: 5px;
    border: 1px solid #500D16;
    display: flex;
    flex-direction: row;

}
.firstLineImg1{
    flex:1;
    width:280px;
    height: 190px;
    object-fit:fill;
    border-radius:20px ;
    margin-right: 5px;
    border: 1px solid #500D16;
    transition: all  .5s ease;

} 

.firstLineImg1:hover  {
   
    transform:scale(2.0);
    position: absolute;
    z-index: 1;
    

}



.firstLinePhoto2{
    flex:1;
    
    /* background-image: url("../img/banding3.jpg"); */
    object-fit:cover;
    border-radius:20px;
    border: 1px solid #500D16;

    
}
.secondLine{
    flex:1;   
    border-radius:20px 20px 20px 20px; 
    width:99%;
    height:99%;
    margin-left:0.5%;
    margin-top: 0.5%;
    margin-bottom: 0.5%;
    margin-right: 0.5%;
    display:flex;
    flex-direction: row;
}

.secondLinePhoto1{
    flex:1;
     
   /* background-image: url("../img/inspect7.jpg");*/
    object-fit:cover;
    border-radius:20px ;
    margin-right: 5px;
    border: 1px solid #500D16;

}

.secondLinePhoto2{
    flex:1;
   
    /* background-image: url("../img/ceo.png"); */
    object-fit:cover;
    border-radius:20px ;
    margin-right: 5px;
    border: 1px solid #500D16;
}



.rightSide{
    flex:9;
    background:#e9e6e6;
    border-radius:0px 20px 20px 0px;
    display:flex;
    flex-direction:column;
    position:relative;
     
}
.mainFrameUp{
    flex:1;
    width: 99%;
    margin-top:0.5%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    background: linear-gradient( to left, #3d0109, #cec6c6);
    border-radius:10px;
    opacity: 0.95;
}

.tarih{
    color: #3d0101;
     font-size:14px;
     font-weight:bold;
     font-style: italic;          
     padding-left: 10px;         
     z-index: -1;
}

.mainFrameUpTitle{
    text-align: center;
    font-weight:bold;
    font-size:18px;
    color:#eeecec;
}

.mainFrameDown{
    flex: 4;
    width: 99%;    
    margin-top:0.5%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    margin-bottom: 0.5%;    
    border-radius:10px;
    opacity: 0.95;

}


.mainFrameDownText{
    text-align:justify;
    overflow: hidden;
}


.buttonsFrame{
    flex: 1;
    display:flex;
    flex-direction:row;
}

.deleteBTN{
    flex: 1;
    width:50%;
    background-color:white;
    color:red;
    border-radius:10px;
    margin-right: 5px;
    margin-bottom: 3px;
    font-size:16px;
    font-weight:bold;
    

}

.deleteBTN:hover {
    flex: 1;
    width:50%;
    background-color:red;
    color:white;
    

}
.updateBTN {
    flex: 1;
    width:50%;
    background-color:white;
    color:Blue;
    border-radius:10px;
    margin-right: 5px;
    margin-bottom: 3px;
    font-size:16px;
    font-weight:bold;

}
.updateBTN:hover {
    flex: 1;
    width:50%;
    background-color:Blue;
    color:white

}







/* ***************************************************************  MEDIA QURIES************************* */

@media screen and (max-width: 960px) {
    .caption h1{        
        font-size:32px;
        letter-spacing: 2px;
    }   
    
    footer .fa {
        font-size:24px;
        
    }
    footer h3 {
        font-size:16px;
    }
    .inspectBody .container{
        flex-direction:column;

    }
    .inspectBody .container  .col2{
        width: 100%;
    }
    .ourHistoryBody  .col2{
        flex-direction:column;
        width: 100%;
        margin-left:10px;
        margin-right:10px;

    }
}

@media screen and (max-width: 740px) {

    header {
        background: rgba(0, 0, 0, 0.3);
    }

    header .container{
        flex-direction:column;
        justify-content: center;
        align-items: center;
    }
    header  .logo {
        margin: 0 auto;
    }


    .caption h1{
       
        color:white;
        font-size:28px;
        letter-spacing: 2px;

    }
    .featuresBody  .container{
        flex-direction:column;

    }
    .featuresBody .container  .col3 {
        width: 80%;
        margin: 0 auto;        

    } 
    .egineBody  .container {
        flex-direction:column;

    }

    .egineBody  .container  .col2 {
        width: 80%;
        padding-left: 0;
        padding-right: 0;
        margin: 0 auto;        
    }

    .footer  .container {
        flex-direction: column;

    }
    .footer  .container .col3 {
        width: 100%;
        
    } 
    .sectionHeader {
        font-size:24px;

    }  

    .inspectBody .container .col2{
        padding-left:0;
        padding-right:0;

    }
    .teamMemberInfo {
        font-size:14px;
        padding: 10px;
        
    }
    .teamTitle {
        font-size:14px;

    }
    .formShape {
        display: none;
    }

}




/*  MOBILE   */




@media screen and (max-width: 540px) {

    body{
        
        height: left;
    }


  /* yeni yapildi   INDEX PAGE */






  /*  navigation bar */
    .menu
  {
    width:   390px;
    /* background-color: red; */
    margin-top:10px;    
    position: relative;
    
} ul {
    
    display: inline-block;
    width: 100%;
    position: relative;
    
}

li{
      position : relative;
      font-size:11px;
      width:95px;          
  }
  .menu ul li a {    
         
    width: 85px;    
    text-decoration: none;
    letter-spacing: 2px;
    color: #500D16;
    transition: all 0.5s ease;
    
}

.menu  ul li  a:hover  {
    background:#500D16;
    color: #fff;     
    display: block;    
    width: 75px;  
}
/* yeni eklendi*/
.menu ul li ul li  a:hover  {
    background:#310101;
    color: #fff; 
    width: 75px; 
    font-size: 17px;  
    transition: all 0.3s ease;

    
}
/* yeni eklendi*/
.menu ul li ul li  a:hover p{
    font-size: 11px;
   
}







/*  Index  sayfasi  */
     .caption h1 {        
        font-size:20px;
        letter-spacing: 2px;
    }
    .featuresBody .container .col3 {
        width: 100%;
        margin: 0 auto;       

    } 


    /* yeni eklendi */
    .caption {
        display: flex;
        flex-direction: column;
        align-items:center;
        justify-content: flex-end;
        width: 100%;
        color: #fff;
    
    }
        /* yeni eklendi */
    #mainSlider {
        height: 600px;
        background: url(../img/sampleRender.jpg) center center  no-repeat; 
        background-size: cover;
    }
    
    .engineBody .container .col2{
        width: 100%;

    }
    .sectionHeader {
        
        font-size: 20px;
    }
    .contactForm {
        width: 80%;
    }





































    

    /*  admin paneli mobile responsive design */

   


    .mainContainer {    
          
        width: 96%;
        margin: 20px auto;
        display:flex;
        flex-direction: column;  
        height: auto;      

    }

    .leftSide{
        
        flex:6;
        width: 100%;
        display:flex;
        flex-direction:column; 
        border-radius: 20px;
        

    }

    .photoAlbum{
        flex:2;
        width: 100%;
        display:flex;
        flex-direction:row;
        
    }

    .firstLine{
        flex:2;
        width: 100%;
        display:flex;
        flex-direction:column;
        
        
    }

    .firstLinePhoto1{
        width: 100%;        
        flex: 1;  
        
        margin-bottom: 5px; 
        
        

        
    }    
    .firstLineImg1 { 
        width: 100%; 
         
        
        

    }
    .firstLineImg2 { 
        width: 100%;   
        
        
        

    }

    
    .secondLine{
        flex:2;
        width: 100%;
        display:flex;
        flex-direction:column;
        background-color: white;
        
        
    }

    .secondLinePhoto1{
        width: 100%;        
        flex: 1;  
        margin-bottom: 5px; 
        

        

        
    }    
    .secondLineImg1 { 
        width: 100%;    
        transition:  0;    
        

    }
        .rightSide{
        width: 100%; 
        flex:6;
        display: flex;
        flex-direction:column;
        border-radius: 20px;
    }

    .mainFrameUp{
        width: 98%;
        margin: 0 auto;
        flex: 1;
        display: flex;
        flex-direction:column;
    }
    .tarih{
        width: 100%;
        flex: 1;

    }
    .mainFrameUpTitle{
        
        width: 98%;
        margin:10px auto;
        
        flex: 1;


    }


    .mainFrameDown{
        width: 99%;
        margin:10px auto;
    }


    .mainFrameDownText{

        width: 98%;
        margin:10px auto;

    }


   


   
}






