/* Color Palette for Dark Mode:
   Primary Accent: #F0811F (Vibrant Orange)
   Secondary Accent: #DE1180 (Dark Pink/Magenta)
   Darker Orange for Hover: #D26C11
   Darker Pink for Hover: #B00E67
   Backgrounds: #181818 (main), #222222, #2C2C2C, #333333 (for elements/sections)
   Text/Headers: #E0E0E0 (light gray), #FFFFFF (white)
   Purple Accents (for icons/headings): #A78BFA (light purple), #8B5CF6 (medium purple)

   New colors for "Our Impact in Numbers" section:
   Counter Item Background: #5C4535 (Dark Brown/Orange)
   Numbers: #F0811F (Vibrant Orange)
   Labels: #E0A860 (Golden Brown)
   Icons: #D4AF37 (Metallic Gold)
*/

/* General Body & Typography */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #181818; /* Main dark background */
    color: #E0E0E0; /* Default light gray text */
    line-height: 1.7;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

h1, h2, h3 {
    font-weight: 700;
    color: #FFFFFF; /* Headings are white by default */
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

h1 { font-size: 3.8em; }
h2 {
    font-size: 3em;
    margin-bottom: 1.5em;
    text-align: center;
    font-weight: 600;
    color: #FFFFFF; /* All section headings are now white */
}
h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #F0811F; /* Orange underline */
    border-radius: 2px;
}
h3 { font-size: 2.2em; }
p { font-size: 1.1em; line-height: 1.7; color: #E0E0E0; } /* Paragraph text is light gray */

/* Header */
header {
    background-color: #222222; /* Darker header background */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Stronger shadow for dark mode */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
}

/* Header Logo (Image-based) */
.logo {
    cursor: pointer;
    text-decoration: none;
    font-size: 0;
    line-height: 0;
    transition: transform 0.3s ease;
}
.logo img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 200px;
    transition: transform 0.3s ease;
}
.logo:hover img {
    transform: scale(1.08);
}

/* Footer logo styles (now image-based) */
footer .logo {
    cursor: pointer;
    text-decoration: none;
    font-size: 0;
    line-height: 0;
    transition: transform 0.3s ease;
}
footer .logo img {
    display: block;
    height: 35px;
    width: auto;
    max-width: 180px;
    transition: transform 0.3s ease;
}
footer .logo:hover img {
    transform: scale(1.08);
}


nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    text-decoration: none;
    color: #E0E0E0; /* Light gray navigation links */
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap; /* Prevent text from wrapping */
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    background-color: #F0811F; /* Orange underline */
    bottom: 0;
    left: 0;
    transition: width 0.3s ease-out;
}

nav ul li a:hover {
    color: #F0811F; /* Orange hover for navigation links */
    transform: translateY(-3px);
}
nav ul li a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: #F0811F; /* Orange button */
    color: #fff;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(240, 129, 31, 0.2);
}

.cta-button:hover {
    background-color: #D26C11; /* Darker orange on hover */
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(210, 108, 17, 0.4);
}

.header-cta {
    font-size: 1em;
    margin-left: 40px;
}

/* Hero Section */
.hero-section {
    background-color: #181818; /* Consistent dark background */
    color: #fff;
    text-align: center;
    padding: 180px 25px 120px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Slightly less opaque image on dark background */
    filter: grayscale(70%) brightness(0.6); /* More grayscale and darker for better contrast */
    transition: opacity 0.5s ease;
}

.hero-content {
    z-index: 2;
    animation: fadeInSlideUp 1s forwards cubic-bezier(0.23, 1, 0.32, 1);
    animation-delay: 0.2s;
    will-change: transform, opacity;
}

.hero-pre-headline {
    font-size: 1.6em;
    font-weight: 700;
    color: #A78BFA; /* Light purple pre-headline */
    margin-bottom: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
    animation: fadeInSlideDown 1s forwards cubic-bezier(0.23, 1, 0.32, 1);
    animation-delay: 0.1s;
}

.hero-section h1 {
    font-size: 5em;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #FFFFFF; /* White main heading */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    animation: textFadeIn 1s forwards ease-out;
    animation-delay: 0.5s;
}

.hero-section p {
    font-size: 1.6em;
    max-width: 900px;
    margin: 0 auto 55px;
    opacity: 0.98;
    line-height: 1.5;
    color: #E0E0E0; /* Light gray paragraph text */
    animation: textFadeIn 1.0s forwards ease-out;
    animation-delay: 0.8s;
}

.hero-cta {
    font-size: 1.5em;
    padding: 20px 50px;
    border-radius: 50px;
    animation: buttonBounceIn 1s forwards ease-out;
    animation-delay: 1.2s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Section Styling */
section {
    padding: 100px 0;
    background-color: #181818; /* Default dark background for sections */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-child(even) {
    background-color: #222222; /* Slightly different dark background for alternating sections */
}

/* Services Section */
.services-section h2 {
    margin-bottom: 60px;
    color: #FFFFFF; /* Already white */
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-item {
    background-color: #2C2C2C; /* Darker background for service items */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* New: Service item background shine effect on hover */
.service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(240, 129, 31, 0.25) 0%, transparent 70%); /* Orange radial gradient */
    opacity: 0;
    transform: scale(0);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    z-index: 0;
}

.service-item:hover::before {
    opacity: 1;
    transform: scale(1);
}

.service-item:hover {
    transform: translateY(-18px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); /* Stronger shadow */
    background-color: #333333; /* Slightly lighter dark background on hover */
}

/* Service item image styling */
.service-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 30px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    filter: brightness(1.2) contrast(1.1); /* Adjust for dark mode visibility */
}

.service-item:hover img {
    transform: scale(1.15);
    filter: brightness(1.5) contrast(1.2); /* Even brighter on hover */
}

.service-item h3 {
    color: #FFFFFF; /* Changed to white */
    margin-bottom: 15px;
    font-size: 2em;
    font-weight: 600;
    position: relative; z-index: 2;
}
.service-item p {
    font-size: 1.08em;
    color: #E0E0E0; /* Light gray paragraph text */
    position: relative; z-index: 2;
}

/* Why Choose Us Section */
.why-choose-us-section {
    text-align: center;
    background-color: #222222; /* Dark background */
}
.why-choose-us-section h2 {
    color: #FFFFFF; /* Changed to white */
    margin-bottom: 60px;
}
.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}
.reason-item {
    background-color: #2C2C2C; /* Darker background for reason items */
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.reason-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    background-color: #333333; /* Slightly lighter dark background on hover */
}
.reason-item i {
    font-size: 3em;
    color: #F0811F; /* Orange icon */
    margin-bottom: 20px;
}
.reason-item h3 {
    color: #FFFFFF; /* Changed to white */
    font-size: 1.8em;
    margin-bottom: 12px;
}
.reason-item p {
    font-size: 1.05em;
    color: #E0E0E0; /* Light gray paragraph text */
    line-height: 1.6;
}

/* Client Count Section */
.client-count-section {
    text-align: center;
    background: #181818; /* Consistent dark background */
    color: #E0E0E0;
    padding: 80px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.client-count-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.counter-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Changed to wrap for responsiveness */
    gap: 40px;
}

.counter-item {
    flex-basis: 30%;
    min-width: 180px;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #2C2C2C; /* UPDATED: Changed to match Why Choose Us section */
    padding: 35px;
    border-radius: 14px; /* UPDATED: Changed from 12px to 14px for consistency */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.counter-item:hover {
    transform: translateY(-10px);
    background-color: #333333; /* UPDATED: Changed to match Why Choose Us section hover */
}

.counter-item .icon {
    width: 70px; /* Increased size for the image (my recommendation) */
    height: 70px; /* Increased size for the image (my recommendation) */
    margin-bottom: 20px;
}

.counter-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1); /* Adjust for dark mode visibility */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.counter-item:hover .icon img {
    transform: scale(1.15);
    filter: brightness(1.5) contrast(1.2); /* Even brighter on hover */
}


.counter-item .number {
    font-size: 5em;
    font-weight: 800;
    color: #FFFFFF; /* UPDATED: Changed to white */
    line-height: 1;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.counter-item .label {
    font-size: 1.5em;
    color: #FFFFFF; /* UPDATED: Changed to white */
    font-weight: 600;
    margin-top: 12px;
}

/* Clients Section */
.clients-section h2 {
    color: #FFFFFF; /* Changed to white */
    margin-bottom: 60px;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.client-logos img {
    max-width: 160px;
    height: auto;
    filter: brightness(1.2) contrast(1.1); /* Slightly brighter and more contrast for visibility */
    transition: transform 0.4s ease, filter 0.4s ease;
}

.client-logos img:hover {
    transform: scale(1.15);
    filter: brightness(1.5) contrast(1.2); /* Even brighter on hover */
}

/* Testimonials Section */
.testimonials-section {
    background-color: #222222; /* Dark background */
}
.testimonials-section h2 {
    color: #FFFFFF; /* Changed to white */
    margin-bottom: 60px;
}

.testimonial-slider {
    display: flex;
    overflow-x: hidden; /* Keep overflow hidden for slider behavior */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    justify-content: flex-start; /* Align items to start for slider */
    gap: 30px;
    align-items: stretch;
}

.testimonial-item {
    flex: 0 0 calc(33.333% - 20px); /* Display 3 items per row on desktop, accounting for 30px gap (30px * 2 gaps / 3 items = 20px per item) */
    min-width: 320px; /* Ensure items don't get too small */
    background-color: #2C2C2C; /* Darker background for testimonial cards */
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25); /* Stronger shadow */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start; /* Add scroll-snap for smoother scrolling */
}
.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); /* Stronger shadow */
}

.testimonial-item p {
    font-style: italic;
    color: #E0E0E0; /* Light gray testimonial text */
    margin-bottom: 30px;
    flex-grow: 1;
    line-height: 1.6;
    font-size: 1.1em;
}

.testimonial-item .client-info {
    text-align: right;
    border-top: 1px solid #444; /* Darker border */
    padding-top: 25px;
    margin-top: 15px;
}

.testimonial-item h4 {
    color: #FFFFFF; /* Changed to White */
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.3em;
}

.testimonial-item span {
    color: #F0811F; /* Changed to Orange */
    font-size: 1em;
}

.slider-nav {
    text-align: center;
    margin-top: 40px;
}

.slider-nav button {
    background-color: #F0811F; /* Orange button */
    color: #fff;
    border: none;
    padding: 14px 28px;
    margin: 0 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.4em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.slider-nav button:hover {
    background-color: #D26C11; /* Darker orange on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(210, 108, 17, 0.3);
}

/* FAQ Section */
.faq-section {
    background-color: #181818; /* Dark background */
    text-align: center;
}

.faq-section h2 {
    color: #FFFFFF; /* Changed to white */
    margin-bottom: 60px;
}

.faq-accordion {
    max-width: 850px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: #2C2C2C; /* Darker background for FAQ items */
    border-radius: 10px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
}
.faq-item:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.faq-question {
    padding: 22px 30px;
    background-color: #000000; /* Changed to black */
    color: #fff;
    font-weight: 600;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, border-radius 0.3s ease;
}

.faq-question:hover {
    background-color: #181818; /* Darker shade of black on hover */
}
.faq-question.active {
     border-bottom-left-radius: 0;
     border-bottom-right-radius: 0;
}

.faq-question i {
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    background-color: #333333; /* Even darker background for answers */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    border-top: 1px solid #444; /* Darker border */
}

.faq-answer p {
    padding: 25px 0;
    margin: 0;
    color: #E0E0E0; /* Light gray answer text */
    font-size: 1.05em;
    line-height: 1.6;
}

.faq-answer.active {
    /* max-height: 300px; Ensure this is enough for your content or use scrollHeight in JS */
    /* Padding is applied when active by JS, so removing fixed padding here for transition */
    opacity: 1; /* Added this to prevent the "empty ruleset" error */
}

/* Case Studies Section */
.case-studies-section {
    text-align: center;
    background-color: #222222; /* Dark background */
    padding: 100px 0;
}

.case-studies-section h2 {
    color: #FFFFFF; /* Changed to white */
    margin-bottom: 40px;
}

.case-studies-section p {
    font-size: 1.2em;
    color: #E0E0E0; /* Light gray paragraph text */
    max-width: 750px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.case-study-item {
    background-color: #2C2C2C; /* Darker background for case study cards */
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 7px 22px rgba(0,0,0,0.25); /* Stronger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.case-study-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.case-study-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #444; /* Darker border */
    filter: brightness(0.8) contrast(1.1); /* Slightly darker and more contrast for dark mode */
    transition: filter 0.3s ease;
}
.case-study-item:hover img {
    filter: brightness(1) contrast(1.2); /* Brighter on hover */
}

.case-study-content {
    padding: 30px;
}

.case-study-content h3 {
    color: #FFFFFF; /* Changed to white */
    font-size: 1.9em;
    margin-bottom: 12px;
}

.case-study-content p {
    font-size: 1.05em;
    color: #E0E0E0; /* Light gray paragraph text */
    margin-bottom: 25px;
    line-height: 1.6;
}

.case-study-content .cta-button {
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 8px;
}

/* Contact Section */
.contact-section {
    background-color: #181818; /* Dark background */
    text-align: center;
    padding: 100px 0;
}

.contact-section h2 {
    color: #FFFFFF; /* Changed to white */
    margin-bottom: 30px;
}

.contact-section p {
    max-width: 750px;
    color: #E0E0E0; /* Light gray paragraph text */
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* --- Contact Section Form & Image Styling for Equal Height --- */
.contact-content-wrapper {
    display: flex;
    gap: 50px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 25px;
}

.contact-form-container {
    flex: 1;
    min-width: 320px;
    padding: 45px;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.25); /* Stronger shadow */
    background-color: #2C2C2C; /* Darker background for form */
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #E0E0E0; /* Light gray label text */
    font-size: 1.1em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #444; /* Darker border */
    border-radius: 8px;
    font-size: 1.08em;
    box-sizing: border-box;
    background-color: #333333; /* Darker input background */
    color: #E0E0E0; /* Light gray input text */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #F0811F; /* Orange focus border */
    box-shadow: 0 0 0 4px rgba(240, 129, 31, 0.35);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

form .cta-button {
    width: 100%;
    padding: 20px;
    font-size: 1.25em;
    border: none;
    cursor: pointer;
    margin-top: 15px;
}

.message {
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
    display: none;
    font-weight: 600;
    text-align: center;
    font-size: 1.15em;
}

.message.success {
    background-color: #1A4D2E; /* Darker green background */
    color: #90EE90; /* Lighter green text */
    border: 1px solid #2E8B57; /* Darker green border */
}

.message.error {
    background-color: #8B0000; /* Darker red background */
    color: #FFB6C1; /* Lighter red text */
    border: 1px solid #DC143C; /* Darker red border */
}

.contact-image-container {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    box-sizing: border-box;
}

.contact-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.25); /* Stronger shadow */
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1); /* Slightly darker and more contrast for dark mode */
    transition: filter 0.3s ease;
}
.contact-image-container:hover img {
    filter: brightness(1) contrast(1.2); /* Brighter on hover */
}

/* Footer */
footer {
    background-color: #000000; /* Pure black footer for strong contrast */
    color: #fff;
    text-align: center;
    padding: 60px 0;
    font-size: 1em;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-tagline {
    color: #F0811F; /* Orange tagline */
    font-weight: 600;
    margin-top: 25px;
    font-size: 1.3em;
}
.footer-social-links {
    margin-top: 25px;
    margin-bottom: 25px;
}
.footer-social-links a {
    color: #E0E0E0; /* Light gray social icons */
    font-size: 2em;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-social-links a:hover {
    color: #F0811F; /* Orange hover for social icons */
    transform: translateY(-4px);
}
.footer-info p {
    margin: 8px 0;
    color: #A78BFA; /* Light purple info text */
    font-size: 0.95em;
}
.footer-info p a {
    color: #DE1180; /* Pink links (now secondary) */
    text-decoration: none;
}

/* Back to Top Button */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 35px;
    right: 35px;
    z-index: 99;
    background-color: #F0811F; /* Orange button */
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 2.2em;
    line-height: 60px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

#back-to-top:hover {
    background-color: #D26C11; /* Darker orange on hover */
    transform: translateY(-5px) scale(1.1);
    opacity: 1;
}


/* Keyframe Animations */
@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes textFadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes buttonBounceIn {
    0% { opacity: 0; transform: scale(0.4); }
    60% { opacity: 1; transform: scale(1.15); }
    80% { transform: scale(0.98); }
    100% { transform: scale(1); }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes fadeInSlideDown {
    from { opacity: 0; transform: translateY(-25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 3.5em; }
    h2 { font-size: 2.8em; }
    .hero-section h1 {
        font-size: 4.5em;
    }
    .hero-pre-headline {
        font-size: 1.3em;
    }
    .hero-section p {
        font-size: 1.4em;
    }
    .hero-cta {
        font-size: 1.2em;
    }
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    .testimonial-item {
        flex: 0 0 calc(50% - 15px); /* Two items per row on tablets (30px gap / 2 items = 15px per item) */
        min-width: 280px;
    }
    .faq-question {
        font-size: 1.1em;
        padding: 20px 25px;
    }
    .faq-answer p {
        font-size: 1em;
        padding: 20px 0; /* Padding for answer content */
    }
    .contact-content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .contact-form-container, .contact-image-container {
        flex: none;
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }
    .contact-image-container {
        padding: 0; /* Reset padding if needed */
    }
    .contact-image-container img {
        margin-top: 40px;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 10px 25px;
    }
    header nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    header nav ul li {
        margin: 8px 18px;
    }
    .header-cta {
        margin-top: 15px;
        margin-left: 0;
    }

    .hero-section {
        padding: 140px 25px 100px;
    }
    .hero-pre-headline {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    .hero-section h1 {
        font-size: 3.8em;
    }
    .hero-section p {
        font-size: 1.2em;
        margin-bottom: 40px;
    }
    .hero-cta {
        font-size: 1.1em;
        padding: 15px 40px;
    }

    h2 { font-size: 2.5em; margin-bottom: 50px; }
    section { padding: 70px 0; }

    .service-grid, .reason-grid, .case-study-grid {
        gap: 30px;
    }
    .client-logos {
        gap: 30px; /* Specific gap for client logos */
    }
    .testimonial-item {
        flex: 0 0 90%; /* One item per row on mobile */
        min-width: unset;
        scroll-snap-align: center; /* Re-enabled scroll snap align for slider */
        flex-shrink: 0; /* Ensure it doesn't shrink */
    }
    .testimonial-slider {
        justify-content: flex-start;
        padding: 0 20px 25px; /* Padding for slider visibility */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .slider-nav button {
        padding: 12px 25px;
        font-size: 1.2em;
    }
    #back-to-top {
        width: 50px;
        height: 50px;
        font-size: 2em;
        line-height: 50px;
        bottom: 25px;
        right: 25px;
    }

    /* Responsive adjustments for Counter Grid on tablets/smaller desktops */
    .counter-grid {
        justify-content: center; /* Center items when they wrap */
        gap: 20px; /* Adjust gap for smaller screens */
    }
    .counter-item {
        flex-basis: calc(50% - 10px); /* Two columns on tablets (20px gap / 2 items = 10px per item) */
        min-width: unset; /* Allow flexibility */
    }
}

@media (max-width: 480px) {
    h1 { font-size: 3em; }
    h2 { font-size: 2.2em; margin-bottom: 40px;}
    h3 { font-size: 2em;}
    p { font-size: 1.05em; }

    .hero-section h1 {
        font-size: 3.2em;
    }
    .hero-pre-headline {
        font-size: 0.9em;
        margin-bottom: 8px;
    }
    .hero-section p {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .hero-cta {
        font-size: 1em;
        padding: 14px 35px;
    }

    nav ul li {
        margin: 6px 12px;
    }
    nav ul li a {
        font-size: 0.95em;
    }

    .service-item {
        padding: 35px 25px;
    }
    .service-item h3 {
        font-size: 1.8em;
    }

    /* Responsive adjustments for Counter Grid on mobile */
    .counter-item {
        flex-basis: 100%; /* One column on mobile, should take full width */
    }

    .counter-item .number {
        font-size: 4.5em;
    }
    .counter-item .label {
        font-size: 1.3em;
    }

    .client-logos img {
        max-width: 140px;
    }
    .client-logos { /* Ensure gap is appropriate for mobile */
        gap: 25px;
    }

    .testimonial-item {
        padding: 30px;
    }
    .testimonial-item h4 {
        font-size: 1.2em;
    }
    .testimonial-item span {
        font-size: 0.95em;
    }
    .contact-form-container { /* Adjusted padding for smaller screens */
        padding: 35px 25px;
    }
    .form-group input, .form-group textarea {
        padding: 14px;
        font-size: 1.05em;
    }
    form .cta-button {
        padding: 18px;
        font-size: 1.15em;
    }
    .footer-social-links a {
        font-size: 1.8em;
        margin: 0 10px;
    }
    #back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.8em;
        line-height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Fix for the empty ruleset error (assuming it's at line 680 as per your error image).
   अगर आपकी लोकल फाइल में लाइन 680 पर कोई खाली नियमसेट था (जैसे '.some-empty-rule {}'),
   तो उसे हटा दिया गया है या यहाँ से कोई स्टाइल जोड़ें।
