:root {
    --primary-color: #0056b3;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-color: #eceaea;
    --dark-color: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
  }

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    
 
    
}













.cont7 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
    gap: 10px;
    perspective:10px;
    text-align: justify;
    padding: 41px;
}  


p {
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    
}

header {
    background-color: rgb(255, 255, 255);
height: 70px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgb(255, 255, 255);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
   
}

.nav-links {
    list-style-type: none;
    display: flex;
    align-items: center;
  
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    color: var(--primary-color);
    cursor: pointer;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: rgb(0, 0, 0);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}


.btn:hover {
    background-color: #08a108;
    transform: translateY(-3px);
}

.btn1 {
    display: inline-block;
    background-color:rgb(101, 219, 235);
    color: rgb(0, 0, 0);
    padding: 12px 40px;
   
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
  
}


.btn1:hover {
    background-color: #001aff;
    transform: translateY(-3px);
}



.section {
    padding: 80px 0;
   
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: var(--primary-color);
}

.services {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}

.service {
perspective: 1000px;
height: 300px;
}

.service-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.8s;
transform-style: preserve-3d;
}

.service:hover .service-inner {
transform: rotateY(180deg);
}

.service-front, .service-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
border-radius: 10px;
background-color: rgb(255, 255, 255);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.738);
}

.service-front {
color: rgb(7, 16, 116)
}

.service-back {
background-color: var(--primary-color);
color: white;
transform: rotateY(180deg);
}

.service-front i {
font-size: 3em;
margin-bottom: 20px;
}

.service-front h3, .service-back h3 {
font-size: 1.5em;
margin-bottom: 10px;
}

.service-back p {
font-size: 0.9em;
line-height: 1.4;
}

@media (max-width: 768px) {
.services {
grid-template-columns: 1fr;

}
.cont7 {
    padding:15px;
}

}



.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product:hover {
    transform: translateY(-10px);
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.project {
    position: relative;
    height: 300px;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.project:hover {
    transform: rotateY(180deg);
}

.project-front, .project-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.project-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-back {
    background-color: var(--primary-color);
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    transform: rotateY(180deg);
}



.round-button {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: background-color 0.3s ease;
}

.round-button:hover {
    background-color: #c0392b;
}

footer {
    background-color: rgb(42, 40, 40);
    color: rgb(255, 255, 255);
    padding: 50px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;

}

.social-links a {
    color: rgba(255, 255, 255, 0.564);
    font-size: 30px;
    margin-right: 15px;
}







.card-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.card-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: #343a40;
}

.swiper-container {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(183, 160, 160, 0.84);
    padding: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
  
}

.card-description {
    font-size: 0.9em;
    color: var(--dark-color);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhance overall attractiveness */
.section {
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(var(--primary-color-rgb), 0.1), rgba(var(--secondary-color-rgb), 0.1));
    z-index: -1;
}

/* Add animation to sections */
.section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}





@media (max-width: 1024px) {
.hero h1 {
font-size: 3em;
}

}





.services, .products, .projects ,.cont7 {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
.services, .products, .projects {
grid-template-columns: 1fr;
}
}

@media (max-width: 768px) {
.swiper-slide {
width: 250px;
height: 350px;
}
}

@media (max-width: 768px) {
.footer-content {
grid-template-columns: 1fr 1fr;
}
}

@media (max-width: 480px) {
.footer-content {
grid-template-columns: 1fr;
}
}

@media (max-width: 768px) {
.section {
padding: 40px 0;
}

.container {
padding: 0 15px;
}
}





@media (max-width: 768px) {
/* Existing styles */
}

@media (max-width: 480px) {
.hero h1 {
font-size: 2em;
}

.hero p {
font-size: 1em;
}

.btn {
padding: 10px 20px;
}

.section h2 {
font-size: 2em;
}
}


@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }
p{
    font-family: "Montserrat", sans-serif;
    font-size : 18px;
}
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .section {
        padding: 60px 0;
    }
}  


/*main side buttoonn*/

.fixed-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 9999; /* Ensure it's above all other elements */
    }
    
    .fixed-button {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: var(--primary-color);
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
        text-decoration: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
    
    }
    
    .fixed-button:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    
    .scroll-top {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .scroll-top.visible {
        opacity: 1;
        visibility: visible;
    }
    
    .whatsapp {
        background-color: #25D366;
        width: 100%;
    }
    
    .call {
        background-color: #34B7F1;
    }
    
    @keyframes pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
        }
    }
    
    .fixed-button:hover {
        animation: pulse 1s infinite;
    }
    








   



