/* --- Basic Setup & Color Theme --- */
:root {
    --background-main: #1E1E1E;
    --text-body: #E0E0E0;
    --primary-accent: #FF6B00;
    --primary-hover: #E65C00;
    --dots-border: #534f4f;
      --bg-color: #0d0d0d;
    --base-dot-color: #474141;
    --hover-dot-color:#ff6600;
    --hover-area-size: 450px;
    --orange-theme: #FFA500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* For smooth scrolling when clicking links */
}

body {
    font-family: sans-serif;
    background-color: var(--background-main);
    /* max-width: 100%; changes */
    /* overflow-x: hidden; */
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Header & Navbar Styling --- */

.header {
    background-color: transparent;
    border-bottom: 1px solid transparent;
    position: fixed; /* Change from sticky to fixed */
    top: 0;
    left: 0;
    width: 100%; /* Ensure it spans the full width */
    z-index: 100;
    transition: background-color 0.4s ease, border-bottom 0.4s ease;
}

/*  to change the color of the navbar */
.header.scrolled {
    background-color: var(--background-main); /* The solid #1E1E1E color */
    border-bottom: 1px solid var(--dots-border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Logo Styling --- */
.nav-logo img {
    height: 7.8vh; /* Adjust height as needed */
    display: block;
}

/* --- Navigation Menu Links --- */
.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    gap: 1.7rem; /* Space between links */
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-accent);
}

/* --- Hamburger Menu Icon (Hidden on Desktop) --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-body);
}


/* --- Responsive Design (Mobile View) --- */
@media (max-width: 768px) {
    .hamburger {
        display: block; /* Show hamburger icon */
    }

    /* Animate hamburger to an 'X' shape when active */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    gap: 0;
    border-top: 1px solid var(--dots-border);
    /* --- New Frosted Glass Background --- */
    background-color: rgba(30, 30, 30, 0.8); /* Semi-transparent dark color */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px); /* For Safari browser compatibility */
}

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1.5rem 0;
        border-bottom: 1px solid var(--dots-border);
    }

    .nav-link:hover {
        background-color: var(--dots-border);
    }
    
    .nav-menu.active {
        left: 0; /* Slide menu into view */
    }

    .nav-logo img{
        height: 3rem;
    }
}
/* hero section starts from here  */
#hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background-color: var(--bg-color);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Base layer of dots - always visible */
#hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--base-dot-color) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

/* Hover layer of dots - revealed by the mask */
#hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--hover-dot-color) 1.4px, transparent 1.7px);
    background-size: 20px 20px;
    z-index: 2;

    /* The MASK that reveals this layer, with vendor prefixes for compatibility */
    --mask-gradient: radial-gradient(circle at center, black 5%, transparent 60%);
    -webkit-mask-image: var(--mask-gradient);
    mask-image: var(--mask-gradient);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    /* Center the mask on the cursor's position */
    -webkit-mask-position: calc(var(--x, 0px) - (var(--hover-area-size) / 2)) calc(var(--y, 0px) - (var(--hover-area-size) / 2));
    mask-position: calc(var(--x, 0px) - (var(--hover-area-size) / 2)) calc(var(--y, 0px) - (var(--hover-area-size) / 2));

    /* Start with the mask hidden and transition its size */
    -webkit-mask-size: 0px 0px;
    mask-size: 0px 0px;
    transition: mask-size 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* On hover, expand the mask to its full size */
#hero-section:hover::after {
    -webkit-mask-size: var(--hover-area-size) var(--hover-area-size);
    mask-size: var(--hover-area-size) var(--hover-area-size);
}

.hero-content {
       width: 100%;
    max-width: 48rem;
    position: absolute;
    text-align: center;
    z-index: 3;
    pointer-events: none;
    margin-bottom: 10px;
}
.hero-content h1 {
    font-size: 3rem;
    margin: 10px 0;
    color: #E65C00;
}

.hero-content .para {
    font-size: 1.2rem;
    color: white;
}
@media (max-width: 768px) {

    #hero-section::after{
        background-image: radial-gradient(var(--hover-dot-color) 1px, transparent 1px);
    }

    .hero-content {
        /* Changes the width for screens 768px or smaller */
        width: 90vw; 
    }

    .hero-content h1 {
        /* Reduces font size on smaller screens */
        font-size: 2rem;
    }

    .hero-content .para{
        font-size: 1rem;
    }
    
    /* button styling  */
    .hero-button{
        font-size: 0.5rem;
        padding: 1rem 1.5rem ;
    }
}


/* styling button  */

.hero-button {
    background-color: var(--primary-accent);
    text-decoration: none;
    color: var(--primary-accent);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
     background-color: transparent;
    border: 2px solid var(--primary-accent);
    margin-top: 20px;
    /* This makes the button clickable, overriding the parent's pointer-events: none */
    pointer-events: auto; 
    transition: all 0.2s ease-in-out;
     box-shadow: 0 4px 15px rgba(255, 106, 0, 0.527);
}

.hero-button:hover {
    background-color: var(--primary-hover);
    color: var(--background-main);
    border-color: var(--primary-hover);
    transform: translateY(-3px); /* Lifts the button slightly */
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.3);
}
.hero-button:active {
    transform: translateY(0); /* Pushes button back down on click */
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.856);
}
@media (max-width: 768px) {

     .hero-button{
        font-size: 1rem;
        padding: 0.7rem 1.3rem ;
    }
}
/* about section starts from here  */
.about-section {
    background-color: var(--background-main);
    color: var(--text-body);
    padding: 6rem 1.5rem;
    overflow-x: hidden; /* Prevents horizontal scrollbar during animation */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}



/* Decorative underline for the title */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-accent);
    border-radius: 2px;
}

/* --- About Section Specifics --- */
.about-content {
    text-align: center;
}

.about-text-columns {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    text-align: left;
    margin-top: 3rem;
}

.about-text-columns p {
    line-height: 1.7;
    font-size: 1.1rem;
    flex-basis: 48%; /* Each column takes up roughly half the space */
}

/* --- Scroll Reveal Animation --- */
/* The initial state of the animated element (hidden) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

/* The final state of the animated element (visible) */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Responsive Design for About Section --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .about-text-columns {
        flex-direction: column; /* Stack columns on top of each other */
        gap: 1.5rem;
    }
}
/* style for the history section now i changed it to process  */ 
 #history-section {
            max-width: 1200px;
            margin: 0 auto;
           padding: 100px 0 0 0;

        }
        
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 50px;
            color: var(--primary-accent);
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--background-main);
            border-radius: 2px;
        }
        
        .timeline {
            position: relative;
            padding: 0 20px;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 2px;
            background-color: var(--primary-accent);
            transform: translateX(-50%);
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 16px;
            width: 100%;
        }
        
        .timeline-content {
            width: calc(50% - 80px);
            max-width: 600px;
            padding: 20px;
            background-color: var(--background-main);
            /* border: 1px solid var(--primary-accent); */
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            position: relative;
            box-shadow: inset 0  -5px 12px rgba(255, 107, 0, 0.4);


        }
        
        .timeline-item:nth-child(odd) .timeline-content {
            margin-left: 0;
            margin-right: auto;
        }
        
        .timeline-item:nth-child(even) .timeline-content {
            margin-left: auto;
            margin-right: 0;
        }
        
        .timeline-dot {
            position: absolute;
            left: 50%;
            top: 70px;
            width: 20px;
            height: 20px;
            background-color: var(--primary-accent);
            border-radius: 50%;
            transform: translateX(-50%);
            z-index: 1;
            border: 3px solid var(--border-color);
        }
        
        
        .timeline-title {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: rgba(255, 255, 255, 0.849);
        }
        
        .timeline-desc {
            line-height: 1.6;
            color: rgba(224, 224, 224, 0.8);
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .timeline::before {
                left: 30px;
            }
            
            .timeline-content {
                width: calc(100% - 45px);
                margin-left: 50px !important;
            }
            
            .timeline-dot {
                left: 10px;
                top: 70px; 
            }

            .timeline-item{
                margin-bottom: 60px;
            }
        }
        
        @media (max-width: 576px) {
            .section-title {
                font-size: 2rem;
            }
            
            .timeline-title {
                font-size: 1.2rem;
            }
            
            .timeline-content {
                padding: 15px;
            }
        }
        /* Services section starts from here   */
.services-section {
    background-color: var(--background-main);
   padding: 6rem 1.5rem 0 1.5rem;
}

.services-grid {
    display: grid;
    /* On desktop, create 3 columns */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: #252525; /* Slightly lighter than main bg */
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px); /* Lift card on hover */
    box-shadow: inset 0  -5px 12px rgba(255, 107, 0, 0.4);
    border: 1px solid #ff7f24e1;
}

.service-icon {
    margin-bottom: 1.5rem;
}

/* Style the SVG icons */
.service-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-accent); /* Orange icon color */
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-body);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #a0a0a0; /* Slightly dimmer text for description */
}

/* --- Responsive Design for Services --- */

/* For tablets */
@media (max-width: 992px) {
    .services-grid {
        /* Switch to 2 columns */
        grid-template-columns: repeat(2, 1fr);
    }
}

/* For mobile phones */
@media (max-width: 768px) {
    .services-grid {
        /* Stack into a single column */
        grid-template-columns: 1fr;
    }
}
/* --- Results Section Styling --- */
.results-section {
    background-color: var(--background-main);
    padding: 6rem 1.5rem;
}

/* --- Statistics Boxes --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-box {
    background-color: #252525;
    /* border: 1px solid var(--dots-border); */
    border-left: 1px solid var(--dots-border);
    border-right: 1px solid var(--dots-border);
    border-top: none;
    border-bottom: none;


    border-radius: 8px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-accent);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-body);
    /* margin-top: 0.5rem; */
}

/* --- Client Logo Slider --- */
.clients-container {
  margin-top: 2rem;
}

.logo-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.slide-logo {
  flex: 1 2 auto;
  width: 200px;
  margin-right: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-logo img {
  max-width: 120px;
  height: auto;
  transition: transform 0.3s ease;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}



/* --- Responsive Design --- */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr; /* Stack stats boxes on mobile */
    }

    .stat-box {
        height: 60px; /* Adjust height for mobile */
    }

    .stat-number {
        font-size: 1.4rem;
    }
}
/* --- Modern Client Review Slider --- */
.modern-review-slider {
    height: 250px; /* Fixed height for the slider viewport */
    max-width: 1000px; /* Adjust as needed */
    margin: 3rem auto; /* Center the slider */
    overflow: hidden; /* This is crucial for the effect */
    position: relative;
    background-color: #252525;
    border-radius: 12px;
    border: 1px solid var(--dots-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modern-review-track {
    /* Animation: name, duration, timing-function, iteration-count */
    /* 20s total = 5 slides * (3s pause + 1s transition) */
    animation: slide-vertical 30s ease-in-out infinite;
}

.modern-review-card {
    height: 250px; /* Each card must match the container's height */
    padding: 2rem 2.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.modern-reviewer-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modern-reviewer-profile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-accent);
    margin-bottom: 1rem;
}

.modern-reviewer-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-body);
}

.modern-review-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #c0c0c0; /* Slightly dimmer text for readability */
    max-width: 800px;
}

/* --- Vertical Sliding Animation (5 slides) --- */
@keyframes slide-vertical {
    /* Start and pause on slide 1 */
    0%, 15% { transform: translateY(0%); }
    
    /* Move to slide 2 and pause */
    20%, 35% { transform: translateY(-17%); }
    
    /* Move to slide 3 and pause */
    40%, 55% { transform: translateY(-33%); }
    
    /* Move to slide 4 and pause */
    60%, 75% { transform: translateY(-50%); }
    
    /* Move to slide 5 and pause */
    80%, 95% { transform: translateY(-67%); }
    
    /* End on the duplicated slide 1 to loop seamlessly */
    100% { transform: translateY(-83%); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .modern-review-slider {
        height: 400px; /* Taller on mobile for better text flow */
    }
    .modern-review-card {
        height: 400px;
        padding: 1.5rem;
    }
    .modern-review-text {
        font-size: 1rem;
    }
}
/* --- YouTube Video Reviews Section --- */
.video-reviews-container {
    margin-top: 6rem; /* Adjust spacing as needed */
}

.subsection-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 3rem;
}

.video-grid {
    display: grid;
    /* This creates a responsive grid that automatically adjusts columns */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-embed-wrapper {
    position: relative;
    /* This sets the 16:9 aspect ratio */
    padding-top: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--dots-border);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* --- Contact Section Styling --- */
.contact-section {
            max-width: 1200px;
            margin: 50px auto;
            padding: 70px;
        }

        /* .section-title {
            text-align: center;
            margin-bottom: 40px;
            font-size: 2.5rem;
            color: #2c3e50;
        } */

        .contact-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
        }

        .contact-info, .contact-form {
            flex: 1;
            min-width: 300px;
            background: var(--background-main);
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .contact-info h3, .contact-form h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: white;
            position: relative;
            padding-bottom: 10px;
        }

        /* .contact-info h3::after, .contact-form h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background: #3498db;
        } */

        .info-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
            margin-right: 20px;
        }

        .info-icon {
            font-size: 1.5rem;
            color: var(--primary-accent);
            margin-right: 15px;
        }

        .info-content h4 {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: white;
        }

        .info-content p, .info-content a {
            color: #7f8c8d;
            text-decoration: none;
            transition: color 0.3s;
        }

        .social-links {
            display: flex;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: #f1f1f1;
            border-radius: 50%;
            margin: 5px;
            color: black;
            transition: all 0.3s;
        }

        .social-links a:hover {
            background: var(--primary-accent);
            color: white;
        }

        /* Floating Label Form Styles (Pure CSS) */
        .form-group {
            position: relative;
            margin-bottom: 25px;
        }

        .form-control {
            width: 100%;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: all 0.3s;
            background: transparent;
            color: white;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--base-dot-color);
        }

        textarea.form-control {
            resize: vertical;
            min-height: 120px;
        }

        .form-label {
            position: absolute;
            left: 15px;
            top: 15px;
            color: var(--dots-border);
            transition: all 0.3s;
            pointer-events: none;
            background: var(--background-main);
            padding: 0 5px;
        }

        /* Floating label effect - Pure CSS only */
        .form-control:focus + .form-label,
        .form-control:not(:placeholder-shown) + .form-label {
            top: -10px;
            left: 10px;
            font-size: 0.8rem;
            color: white;
            background: var(--background-main);
        }

        .submit-btn {
            background: transparent;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 1rem;
            transition: background 0.3s ease-in-out;
        }

        .submit-btn:hover {
            background: var(--primary-accent);
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .contact-info, .contact-form {
                flex: 100%;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }
/* --- Simplified Modern Footer --- */
.site-footer-simple {
    background-color: #1A1A1A;
    color: var(--text-body);
    padding: 4rem 1.5rem 2rem 1.5rem;
    border-top: 1px solid var(--dots-border);
    text-align: center;
}

.footer-content-simple {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- About Text --- */
.footer-about-simple h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-about-simple p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a0a0a0;
    max-width: 600px; /* Keeps the paragraph from getting too wide */
    margin: 0 auto;
}

/* --- Navigation Links --- */
.footer-nav-simple {
    display: flex;
    /* Horizontal row on larger screens */
    flex-direction: row;
    gap: 2rem;
    margin: 2.5rem 0;
}

.footer-nav-simple a {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.3s ease;
}

/* Underline effect on hover */
.footer-nav-simple a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-accent);
    transition: width 0.3s ease;
}

.footer-nav-simple a:hover {
    color: var(--text-body);
}

.footer-nav-simple a:hover::after {
    width: 100%;
}



/* --- Bottom Bar --- */
.footer-bottom-bar-simple {
    border-top: 1px solid var(--dots-border);
    padding-top: 2rem;
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* --- Responsive Design for Footer --- */
@media (max-width: 768px) {
    .footer-nav-simple {
        /* Stack links vertically on mobile */
        flex-direction: column;
        gap: 1.5rem;
    }
}

