/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* #################################################### */

/* Container optimized for a slim navbar */
.brand-container {
  display: inline-flex;
  align-items: center;
  height: 40px; 
  padding: 0 10px;
  cursor: pointer;
  overflow: hidden; 
  background-color: transparent;
  text-decoration: none;
}

/* --- GEOMETRIC LOGO MARK --- */
.logo-mark {
  position: relative;
  width: 44px;  
  height: 36px; 
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* The White "C" Shape */
.logo-c {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 0 5px 5px 0;

  
  /* Creates the perfect "C" cut-out window */
  clip-path: polygon(
    0% 0%, 
    100% 0%, 
    100% 32%, 
    46% 32%, 
    46% 68%, 
    100% 68%, 
    100% 100%, 
    0% 100%
  );
}

/* The Blue "L" Shape */
.logo-l {
  position: absolute;
  left: 46%;    
  top: 30%;     
  width: 30%;   
  height: 40%;  
  background-color: #0b7da1; 
  z-index: 2;
  
  /* Precision L shape */
  clip-path: polygon(
    0% 0%, 
    35% 0%, 
    35% 65%, 
    100% 65%, 100% 100%, 
    0% 100%
  );
  
  /* Smoothly transition opacity out on hover */
  opacity: 1;
  transition: opacity 0.25s ease-out;
}

/* --- THE TEXT REVEAL --- */
.brand-text {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  
  /* --- INITIAL HIDDEN STATE --- */
  opacity: 0;
  max-width: 0; 
  transform: translateX(-15px);
  transition: max-width 0.4s ease-in-out, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease-out;
}

/* Text color variants */
.text-white {
  color: #ffffff;
}

.text-blue {
  color: #0b7da1; /* Only the L turns blue */
}

/* --- HOVER INTERACTIONS --- */

/* 1. Make the original blue 'L' vanish instantly when hovered */
.brand-container:hover .logo-l {
  opacity: 0;
}

/* 2. Micro-scale the C logo box */
.brand-container:hover .logo-mark {
  transform: scale(1.04);
}

/* 3. Fluidly expand and slide out the name "ineLancer" */
.brand-container:hover .brand-text {
  opacity: 1;
  max-width: 180px; 
  transform: translateX(8px); 
}

/* #################################################### */

html {
    scroll-behavior: smooth; /* Smooth auto-scrolling when clicking navbar buttons */
}

body {
    background-color: #0b0c10; /* Sleek Deep Black/Gray */
    color: #fff;
    overflow-x: hidden;
}

/* Permanent Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: rgba(11, 12, 16, 0.95); /* Semi-transparent black */
    backdrop-filter: blur(10px); /* Modern blur effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: #0077ff; /* Electric Blue Accent */
}

.nav-links .nav-item {
    color: #aaaaaa;
    text-decoration: none;
    margin-left: 35px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

/* Hover and Active State for Tabs */
.nav-links .nav-item:hover,
.nav-links .nav-item.active {
    color: #0077ff;
}

.nav-links .nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0077ff;
}

/* Sections Global Styling */
.section {
    min-height: 100vh;
    padding: 100px 8% 60px 8%; /* Top padding prevents content from hiding behind navbar */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Home / Hero Styling */
#home {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(11,12,16,1)), url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?q=80&w=1600') no-repeat center center/cover;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 30px;
    max-width: 500px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0077ff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
}

.btn:hover {
    background-color: #0055cc;
    transform: translateY(-2px);
}

/* Portfolio Gallery Grid */
#portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Contact Form Styling */
/* Contact Section Upgrades */
#contact {
    background-color: #0f1115; /* Contrasting background tint */
    align-items: center;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.contact-header p {
    color: #aaa;
    max-width: 600px;
}

/* Split-screen layout framework */
.contact-split-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    gap: 60px;
}

/* Left side: Standard details typography */
.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    font-size: 1.6rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    border-radius: 12px;
}

.info-block h4 {
    font-size: 1.1rem;
    color: #0077ff; /* Brand electric blue */
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-block p, 
.info-block a {
    font-size: 1.05rem;
    color: #fff;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.info-block a:hover {
    color: #0077ff;
}

/* Right side: Interactive WhatsApp action box */
.whatsapp-card-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.whatsapp-card {
    background-color: #161920;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    width: 100%;
    max-width: 380px;
    padding: 45px 30px;
    text-align: center;
    text-decoration: none; /* Removes link underline */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.wa-icon-container {
    width: 80px;
    height: 80px;
    background-color: #25D366; /* WhatsApp official green */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
    transition: transform 0.3s ease;
}

.wa-svg {
    width: 42px;
    height: 42px;
}

.whatsapp-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 12px;
}

.whatsapp-card p {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 25px;
}

.wa-badge {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25D366;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

/* Hover Interactive Mechanics */
.whatsapp-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 211, 102, 0.1);
}

.whatsapp-card:hover .wa-icon-container {
    transform: scale(1.08) rotate(5deg);
}

/* Responsiveness framework for smaller viewport devices */
@media (max-width: 768px) {
    .contact-split-container {
        flex-direction: column;
        gap: 50px;
    }
    .contact-details {
        width: 100%;
    }
    .whatsapp-card-wrapper {
        width: 100%;
    }
    .whatsapp-card {
        max-width: 100%;
    }
}

/* Services Section Styling */
#services {
    background-color: #0b0c10;
    align-items: center;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.services-header p {
    color: #aaa;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.service-card {
    background-color: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Subtle highlights for the middle/featured service container */
.service-card.featured {
    border-color: rgba(0, 119, 255, 0.4);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #0077ff;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 1px;
}

.service-list {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.service-list li {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

/* Clean blue bullets for the lists */
.service-list li::before {
    content: "•";
    color: #0077ff;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.2rem;
}

/* Logos */

/* Upgraded Trusted By Brands Section */
.brands-wrapper {
    margin-top: 100px; /* More breathing room below your services */
    width: 100%;
    max-width: 1100px; /* Made the container significantly larger and grander */
    margin-left: auto;
    margin-right: auto;
    
    /* Sleek, premium low-opacity border */
    border-radius: 24px; 
    padding: 50px 40px; /* Deep internal padding for a spacious, corporate aesthetic */
    position: relative;

}

/* Position the title badge elegantly centered on top of the border line */
.brands-title {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0b0c10;
    padding: 0 25px;
}

.brands-title span {
    color: #0077ff; /* Electric blue accent */
    font-size: 1rem; /* Slightly larger text */
    font-weight: 800;
    letter-spacing: 3px; /* High-end spaced tracking */
}

/* Forces logos into a clean, side-by-side horizontal row */
.brands-grid {
    display: flex;
    justify-content: space-between; /* Spreads them evenly from edge to edge */
    align-items: center;
    gap: 40px; /* Generous gap between logos */
    width: 100%;
}

/* Strict fixed size for the logos so they look uniformly balanced */
.brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1; /* Gives every logo container equal share of the row width */
    max-width: 160px; /* Increased width bounds for maximum brand presence */
    height: 65px; /* Increased height bounds */
    overflow: hidden;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Automatically downscales large images perfectly without stretching */
    
    /* Slightly brighter initial state for crispness on dark background */
    filter: grayscale(0%) opacity(1); 
    transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
}

/* Interactive hover effect that brings the corporate client colors to life */
.brand-logo:hover img {
    opacity: 1;
    filter: brightness(1.15) contrast(110%);
    transform: scale(1.08); /* Sophisticated subtle zoom on hover */
}



/* Responsive fallback to maintain layout structure on smaller screens */
@media (max-width: 992px) {
    .brands-wrapper {
        padding: 45px 20px;
    }
    .brands-grid {
        flex-wrap: wrap; /* Allows wrap only on tablets/mobile so layout doesn't break */
        justify-content: center;
        gap: 30px;
    }
    .brand-logo {
        flex: max-content;
        min-width: 120px;
    }
}
/* Logos End */

/* Whatsapp QR */
/* Contact Section Framework */
.contact-split-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 40px; 
    gap: 40px; 
    width: 100%;
    max-width: 900px;
}

.contact-details p { 
    margin-bottom: 25px; 
    font-size: 1.1rem; 
    line-height: 1.6;
}

.contact-details a { 
    color: #fff; 
    text-decoration: none; 
    transition: color 0.2s;
}

.contact-details a:hover { 
    color: #0077ff; 
}

/* Flat WhatsApp Right Side Container */
.whatsapp-qr-side { 
    text-align: center; 
}

.whatsapp-qr-side .qr-img { 
    width: 160px; 
    height: 160px; 
    object-fit: contain; 
    background: #ffffff; 
    padding: 10px; 
    border-radius: 8px;
    margin-bottom: 12px; 
}

.whatsapp-qr-side p { 
    font-size: 0.95rem; 
    color: #aaa; 
    letter-spacing: 0.5px;
}

/* Mobile Responsive adjustment */
@media (max-width: 768px) {
    .contact-split-container { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 40px; 
    }
    .whatsapp-qr-side {
        align-self: center; /* Centers the QR code on mobile screens for better balance */
    }
}

/* Responsiveness for mobile screens */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}