:root {
    --primary-blue: #0056b3;
    --secondary-blue: #003d7a;
    --light-blue: #e8f1ff;
}

/* Button Styling */
.navbar {
    background-color: rgba(0, 0, 0, 0.5);  /* Transparent background with some opacity */
    box-shadow: none; /* Remove shadow for a clean look */
    position: absolute;  /* Position it inside the hero section */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1; /* Ensure navbar is above other content */
    transition: background-color 0.3s ease; /* Smooth transition for background */
}

/* Change the background of the navbar when scrolled */
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9);  /* Darker background after scrolling */
}
/* Add custom font to the navbar brand */
.navbar-brand {
    font-family: 'Poppins', sans-serif; /* Custom font for navbar brand */
    font-weight: 700; /* Bold font weight */
    font-size: 1.8rem; /* Adjust the size of the font */
    color: #fff; /* White color for the brand text */
    text-transform: uppercase; /* Optional: Makes the brand name uppercase */
    letter-spacing: 2px; /* Adds spacing between letters for a sleek look */
    transition: color 0.3s ease; /* Smooth transition for color */
}

/* Hover effect on navbar brand */
.navbar-brand:hover {
    color: #3498db; /* Color when hovered */
    text-decoration: none; /* Remove underline on hover */
}


/* Navbar Brand */
.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700; /* Make brand text bold */
    font-size: 1.5rem; /* Larger font size for the brand */
    color: #fff; /* White color for brand text */
    text-transform: uppercase; /* Uppercase letters for the brand */
    letter-spacing: 1px; /* Letter spacing for brand text */
    text-decoration: none; /* Remove underline from the brand */
    transition: color 0.3s ease; /* Smooth color transition */
}

.navbar-brand:hover {
    color: #3498db; /* Change color of the brand on hover */
}

/* Navbar Brand */
.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700; /* Make brand text bold */
    font-size: 1.5rem; /* Larger font size for the brand */
    color: #fff; /* White color for brand text */
    text-transform: uppercase; /* Uppercase letters for the brand */
    letter-spacing: 1px; /* Letter spacing for brand text */
    text-decoration: none; /* Remove underline from the brand */
    transition: color 0.3s ease; /* Smooth color transition */
}

.navbar-brand:hover {
    color: #3498db; /* Change color of the brand on hover */
}

/* Styling for navbar links */
.navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif; /* Use Poppins font */
    font-weight: 600; /* Set font weight */
    font-size: 1.1rem; /* Adjust font size */
    color: #fff !important; /* Default text color */
    padding: 12px 20px; /* Add padding around the links */
    text-transform: uppercase; /* Uppercase text for better design */
    letter-spacing: 1px; /* Add spacing between letters */
    position: relative; /* Make sure the box appears around the link */
    overflow: hidden; /* Hide anything that exceeds the link's boundary */
    transition: color 0.4s ease; /* Smooth color transition */
}

/* Add the transparent square box animation using ::before */
.navbar-nav .nav-link::before {
    content: ''; /* Empty content to create the box */
    position: absolute;
    top: 50%; /* Start the box in the middle of the link */
    left: 50%; /* Start the box in the center horizontally */
    width: 0;
    height: 0; /* Set the initial size to 0 (will grow on hover) */
    border: 2px solid #3498db; /* Border around the box with color */
    transition: all 0.4s ease; /* Smooth transition for all properties */
    transform: translate(-50%, -50%); /* Center the box exactly inside the link */
    border-radius: 5px; /* Optionally, make the box corners rounded */
}

/* Create the hover effect for the box */
.navbar-nav .nav-link:hover {
    color: #3498db !important; /* Change text color on hover */
}

/* Make the box expand on hover */
.navbar-nav .nav-link:hover::before {
    width: 120%; /* Expand the width of the box */
    height: 120%; /* Expand the height of the box */
    left: 50%; /* Ensure the box stays horizontally centered */
    top: 50%; /* Ensure the box stays vertically centered */
    transform: translate(-50%, -50%); /* Keep the box perfectly centered */
}

/* Active link styling */
.navbar-nav .nav-link.active {
    color: #3498db !important; /* Highlight active link with blue */
    font-weight: bold; /* Make the active link bold */
}



/* Adjust the hero section to avoid overlap */
/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove the margin/padding on the body and html tags */
html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;  /* Prevent horizontal scrolling */
}

/* Global reset for margin, padding, and box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure html and body take full height */
html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;  /* Prevent horizontal scrolling */
}


.video-background {
    position: relative;
    width: 100%;
    height: 100vh; /* Ensures the background takes up the entire viewport */
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the entire background */
    z-index: -1; /* Place video behind the text */
}

.carousel-caption {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center */
    align-items: center; /* Horizontally center */
    position: absolute;
    top: 50%; /* Ensures it's in the middle of the container */
    left: 50%; /* Horizontally center */
    transform: translate(-50%, -50%); /* Correct positioning */
    color: white;
    text-align: center;
    width: 100%; /* Ensure it stretches the full width */
    padding: 0 10%; /* Padding to give some space around the text */
}

.carousel-caption h1, .carousel-caption h2 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0; /* Remove extra margin */
    color: white;
}

.carousel-caption p {
    font-size: 1.25rem;
    color: white;
    margin-top: 10px;
}

.carousel-caption a {
    font-size: 1.1rem;
    background-color: #3498db; /* Button background */
    color: white; /* Button text color */
    padding: 12px 30px; /* Add padding to button */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.carousel-caption a:hover {
    background-color: #2980b9; /* Button hover color */
}




/* Media queries for responsiveness */
@media (max-width: 768px) {
    .carousel-caption h1, .carousel-caption h2 {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-caption a {
        padding: 10px 20px; /* Smaller button padding on mobile */
    }
}








/* Services Section */
.services-preview {
    background-color: var(--light-blue);
    padding: 50px 0; /* Added padding for spacing */
    perspective: 1200px; /* Adds depth for the 3D effect */
}

/* Card Style */
.card {
    border: none;
    border-radius: 15px; /* Rounded corners for a modern look */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Lighter shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; /* Transition for smooth effect */
    background-color: #ffffff; /* Initial white background */
    padding: 20px;
    transform-style: preserve-3d; /* Ensures 3D effect works */
}

/* Card Hover Effect (3D and Color Change) */
.card:hover {
    transform: rotateY(10deg) rotateX(5deg) translateY(-20px); /* 3D rotation effect on hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); /* Stronger shadow when hovered */
    background-color: hsl(calc(360 * var(--random-color)), 100%, 70%); /* Dynamic color change on hover */
}

/* Card Title Style */
.card-title {
    color: var(--primary-blue);
    font-size: 1.5rem; /* Larger title */
    font-weight: bold; /* Bold title */
    text-align: center; /* Centered title */
    transition: color 0.3s ease; /* Smooth color transition */
}

/* Card Title Hover Effect */
.card-title:hover {
    color: var(--secondary-blue); /* Change title color on hover */
}

/* Random Color Effect */
:root {
    --random-color: 0.5; /* Default random color factor */
}


/* Blog Section */
.blog-section {
    background-color: white;
}

.btn-primary {
    background-color: var(--primary-blue);
    border: none;
    padding: 15px 25px;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
}


/* Basic Styling */
.services-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Service Item Styling */
/* Service Item */
.service-item {
    background-color: #fff; /* White background for each item */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Hide content outside the item boundary */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; /* Smooth transition for hover effects */
    text-align: center; /* Center the text inside each item */
    padding: 20px;
    border: 2px solid transparent; /* Add border with transparent color initially */
    /* Optionally, you can add an initial border color if you want */
    border-color: #ccc; /* Light gray border color */
}

.service-item:hover {
    transform: translateY(-10px); /* Slightly lift the item on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Increase shadow on hover */
    border-color: #3498db; /* Change the border color on hover (example: blue) */
}

/* Service Image Container */
.service-item .image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the container */
    transition: transform 0.3s ease; /* Smooth transition for image scaling */
}

.service-item:hover img {
    transform: scale(1.1); /* Slightly zoom the image on hover */
}

/* Service Title */
.service-item h3 {
    font-size: 1.6rem; /* Set a size for the title */
    margin-top: 20px; /* Space above the title */
    color: #333; /* Dark color for the title */
}

/* Service Description */
.service-item p {
    color: #777; /* Lighter color for description */
    font-size: 1rem; /* Set a size for the description */
    margin-top: 10px; /* Space above the description */
    line-height: 1.6; /* Increase line height for better readability */
}


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effect for Service Item */
.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Basic Styling */
.about-us-section {
    padding: 60px 20px;
    background-color: #f4f4f4;
    font-family: 'Arial', sans-serif;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Image Hover Effect */
.hero-image img:hover {
    transform: scale(1.05);
}

/* Team Section */
.team-section {
    margin-bottom: 50px;
    text-align: center;
}

.team-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.team-member {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s forwards;
    transition: box-shadow 0.3s ease;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 22px;
    margin: 10px 0;
}

.team-member p {
    font-size: 16px;
    color: #777;
}

/* Skills Section */
.skills-section {
    margin-bottom: 50px;
    text-align: center;
}

.skills-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.skill h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.skill p {
    color: #777;
    font-size: 16px;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background-color: #007BFF;
    color: white;
    padding: 50px 20px;
    border-radius: 8px;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ffffff;
    color: #007BFF;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
    color: white;
}

/* Animation Keyframe */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effect on Team Member */
.team-member:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.clients {
    padding: 20px 0;
  }
  
  .clients .client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .clients .client-logo img {
    padding: 20px 40px;
    max-width: 90%;
    transition: 0.3s;
    
    
  }
  
  .clients .client-logo img:hover {
    filter: none;
    opacity: 1;
  }
  
  @media (max-width: 640px) {
    .clients .client-logo img {
      padding: 20px;
    }
  }
  
   .text-hover:hover {
    text-decoration: underline;
    color: #f39c12; /* Gold color on hover */
}

.fab {
    font-size: 20px;
    transition: color 0.3s ease;
}

.fab:hover {
    color: #f39c12;
}


/* Footer Container */
.footer-container {
    background: linear-gradient(125deg, #3a3a3a, #1f1f1f);
    color: #fff;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
    border-radius: 50px 50px 0 0; /* Curved top corners */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 90px;
}

/* Footer Section Styles */
.footer div {
    flex: 1;
    padding: 20px;
}

/* Footer Logo Section */
.footer-logo img {
    max-width: 100px;
    margin-bottom: 15px;
}

/* Footer Headings */
.footer h3 {
    font-size: 1.0rem; /* Responsive font size */
    margin-bottom: 10px;
    font-weight: bold;
    color: #fff;
}

.footer h4
{
    font-size: 1.0rem; /* Responsive font size */
    color: #fff;
}

.footer h5 {
    font-size: 1.2rem; /* Slightly smaller for subheadings */
    font-weight: bold;
    color: #f3e7e7;
}

/* Footer Text */
.footer p {
    font-size: 0.9rem; /* Smaller text size */
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer a {
    color: #ddd;
    text-decoration: none;
}

.footer a:hover {
    color: #f1a500;
    text-decoration: underline;
}

/* Footer Links */
.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links li {
    margin: 10px 0;
}

.footer-contact p {
    font-size: 1rem; /* Smaller text size */
}

/* Footer Bottom */
.footer-bottom {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem; /* Slightly smaller font for footer bottom */
    border-radius: 0 0 20px 20px; /* Curved bottom corners */
    box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
    }

    .footer div {
        text-align: center;
        margin-bottom: 20px;
    }

    /* Adjusting the font sizes for smaller screens */
    .footer h3 {
        font-size: 1.2rem;
    }

    .footer h4, .footer h5 {
        font-size: 1rem;
    }

    .footer p, .footer-contact p {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 10px 0;
        font-size: 0.8rem;
    }
}


