Reset default styles
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
      display: flex;

}

body {
font-family: "Poppins", sans-serif;
    font-style: normal;
    background-color: #000;
    
 
    
}


* {
    box-sizing: border-box; /* CRITICAL - ensures padding/borders are included in width calculations */
}

html, body {
    overflow-x: hidden; /* Prevent horizontal scroll */
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Fix your container class */
.container {
    max-width: 1200px; /* Instead of fixed width */
    width: 100%; /* Take full width up to max-width */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Add some padding instead of margin */
}

/* Media query fixes for mobile */
@media (max-width: 768px) {
    .container {
        max-width: 100%; /* Remove the 1400px limit on mobile */
        margin: 0; /* Remove auto margins */
        padding: 0 15px; /* Reduce padding on mobile */
    }
    
    /* If you have any elements with fixed widths, make them responsive */
    .services-grid,
    .section,
    .theme {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
}

/* Additional mobile fixes */
@media (max-width: 480px) {
    .container {
        padding: 0 10px; /* Even less padding on small screens */
    }
    
    /* Make sure all content fits */
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix any text that might be too wide */
    h1, h2, h3, h4, h5, h6, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Header responsive fix */
.header {
    width: 100%;
    max-width: 100%;
    padding: 1% 5%; /* Use percentage padding */
}

@media (max-width: 768px) {
    .header {
        padding: 1% 3%; /* Reduce padding on mobile */
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1% 2%; /* Even less padding on small mobile */
    }
}
.header {
    padding: 1% 5%; /* Reduced padding for better mobile compatibility */
    max-width: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.9); /* Added background for visibility */
}

.navbar {
    width: 100%; 
    padding: 15px 0; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Max width to prevent excessive stretching */
    margin: 0 auto; /* Center the navbar */
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 40px;  
    width: auto;    
}

.logo span {
    font-size: 18px;
    font-weight: normal;
    color: #62fcff; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    z-index: 2000;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: normal;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #62fcff;
}

.nav-links li a.active {
    color: #62fcff;     
    font-weight: bold; 
    border-bottom: 2px solid #62fcff;
    padding-bottom: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #ffffff;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Tablet styles */
@media (max-width: 1024px) {
    .header {
        padding: 1% 3%;
    }
    
    .nav-links {
        gap: 15px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .header {
        padding: 1% 4%; /* Adjusted for mobile */
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo span {
        font-size: 16px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .nav-links {
        position: fixed; /* Changed to fixed for better positioning */
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px; /* Slightly wider for better touch targets */
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: start;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding-top: 80px;
        backdrop-filter: blur(10px); /* Modern blur effect */
    }

    .nav-links li {
        margin: 20px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        padding: 12px 20px;
        font-size: 18px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-links li a:hover {
        background-color: rgba(98, 252, 255, 0.1);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
        z-index: 2001;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .header {
        padding: 1% 3%;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo span {
        font-size: 14px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .nav-links {
        width: 200px; /* Smaller width for very small screens */
        padding-top: 70px;
    }
    
    .nav-links li a {
        font-size: 16px;
        padding: 10px 15px;
    }
}

/* Large desktop styles */
@media (min-width: 1200px) {
    .header {
        padding: 1% 8%; /* More padding on large screens */
    }
    
    .nav-links {
        gap: 30px;
    }
}

/* Demo content */
.demo-content {
    padding: 60px 5% 40px;
    color: white;
    text-align: center;
    min-height: 100vh;
}

.demo-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #62fcff;
}

.demo-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .demo-content {
        padding: 40px 4% 30px;
    }
    
    .demo-content h1 {
        font-size: 2rem;
    }
    
    .demo-content p {
        font-size: 1rem;
    }
}

.Expertise {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #000000;
    gap: 60px;
    font-family: "Poppins", sans-serif;
}

/* Title & Subtitle */
.Expertise  .title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
        padding: 60px 20px;
    background-color: #000000;
    font-family: "Poppins", sans-serif;

    gap: 40px;
    
}

.Expertise  .subtitle {
    flex: 1 1 500px;
}

.Expertise .subtitle h1 {
    font-size: 66px;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: right;
    font-family: "Poppins", sans-serif;

}

.Expertise  .subtitle p {
    font-size: 18px;
    color: #ffffff;
    text-align: right;
    max-width: 900px;
    line-height: 1.7;
}

/* Title Image */
.Expertise .image {
     width: 100%;
    max-width: 700px;
    height: 350px;
    background-position: center;
    object-fit: fill;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Default (Desktop / Tablet) */
.module {
    background: #0a0a0a;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.content {
    max-width: 900px;
    text-align: left;
    line-height: 1.8;
    color: #a4a4a4;
}

.content h1 {
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 15px;
}

.content h2 {
    font-size: 24px;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 15px;
}

.content p {
    font-size: 16px;
    margin: 10px 0;
}

.content strong {
    color: #ffffff;
}

/* Lists */
.content ul {
    list-style: disc;
    padding-left: 20px;
    margin: 15px 0;
}

.content ul li {
    margin-bottom: 10px;
}

/* ================== Responsive ================== */

/* Tablet */
@media (max-width: 768px) {
    .module {
        padding: 40px 15px;
    }

    .content h1 {
        font-size: 24px;
    }

    .content h2 {
        font-size: 18px;
    }

    .content p {
        font-size: 15px;
    }

    .Expertise .subtitle h1 {
        font-size: 28px;
        text-align: center;
    }

    .Expertise .subtitle p {
        font-size: 15px;
        text-align: center;
    }

    .Expertise .image {
        height: 200px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .module {
        padding: 30px 12px;
        flex-direction: column;
        text-align: center;
    }

    .content {
        max-width: 100%;
        line-height: 1.6;
    }

    .content h1 {
        font-size: 20px;
    }

    .content h2 {
        font-size: 16px;
    }

    .content p {
        font-size: 14px;
    }

    .content ul {
        padding-left: 16px;
    }
}

section {
  text-align: center;
  margin: 20px 0;    
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background: #000000;  
  color: #ffffff;          
  text-decoration: none;
  border: 2px solid #ffffff; 
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s, border-color 0.3s;
}

.cta-button:hover {
  background: #00d9e0;   
  border-color: #62fcff;  
}


/* Footer Section */
        .footer {
            background-color: rgb(0, 0, 0);
            color: #ccc;
            padding: 80px 20px 40px;
            font-family: 'Inter', sans-serif;
            width: 100%;
            box-sizing:border-box;
        }

        .footer-container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
            box-sizing: border-box;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 200px repeat(3, 1fr); /* Fixed width for logo */
            gap: 80px;
            margin-bottom: 40px;
            align-items: start;
        }

        /* Footer logo */
        .footer-logo {
            display: flex;
            align-items: center;
        }

        .footer-logo img {
            width: 150px;
            height: auto;
        }

        /* Placeholder for missing logo */
        .footer-logo-placeholder {
            width: 150px;
            height: 60px;
            background: linear-gradient(135deg, #00d4ff, #0099cc);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 14px;
        }
        

        /* Columns */
        .footer-column h3 {
            font-size: 16px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 24px;
            text-transform: uppercase;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 16px;
        }

        .footer-links a {
 color: #ffffff;            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: #0099ff;
        }

        /* Footer bottom */
        .footer-bottom {
            border-top: 1px solid #fffdfd;
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            font-size: 14px;
            color: #666;
        }

        /* Social links */
        .footer-social a {
color: #0099ff;            text-decoration: none;
            margin-left: 10px;
        }
/* 
        .footer-social a:hover {
            color: #fff;
        } */

        /* Responsive */
        @media (max-width: 1024px) {
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
            }
            .footer-logo {
                grid-column: 1 / -1;
                margin-bottom: 20px;
            }
            /* Footer Logo Image */
.footer-logo img {
  width: 150px;     /* adjust width as needed */
  height: auto;     /* maintain aspect ratio */
  display: block;
}

        }

        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .footer-container {
                padding: 0 20px;
            }
            .footer-bottom {
                flex-direction: column;
                align-items: flex-start;
            }
        }