/* Basic Resets and Body Styles */
:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --gradient-start: #FAA71F; /* Start color for text and button gradients */
    --gradient-end: #DC6927; /* End color for text and button gradients */
    --text-color: #ffffff;
    --nav-link-hover: #FAA71F; /* Using the start color for navigation link hover */

    --main-gradient: linear-gradient(to right, var(--gradient-start), var(--gradient-end));

    /* Slider specific variables */
    --projects-slider-gap: 40px; /* Gap between project cards in the projects slider */
    --testimonial-slider-gap: 30px; /* Gap between testimonial cards */

    /* Testimonial dot active color */
    --testimonial-dot-active: #FFB347; /* Orange-yellow as requested */

    /* Services Section - Mobile Specific Variable */
    --service-card-mobile-width: 90%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

body {
    font-family: 'Montserrat', sans-serif; /* General text font throughout the body */
    background-color: var(--primary-black); /* Solid black background */
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from overflow content */
    position: relative; /* Positioning context for absolute elements */
    cursor: auto; /* Default cursor for the rest of the page */
}

/* Header/Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    width: 100%;
    position: fixed; /* FIXED so it stays on top of the scrolling content */
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for navbar over Spline */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo img {
    height: 40px;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    pointer-events: auto;
}

.nav-links a.active {
    color: var(--gradient-start);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--gradient-start);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gradient-start);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active::after {
    width: 100%;
}

/* Dropdown Menu Styling (Desktop) */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
}

.dropdown-content a {
    color: var(--primary-white);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #333;
    color: var(--gradient-start);
}

.dropdown:hover .dropdown-content {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Hamburger Button Styling (Hidden on desktop) */
.hamburger-button {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-white);
    cursor: pointer;
    z-index: 101;
}

/* Free Consultation Button */
.consultation-btn button {
    background-image: var(--main-gradient);
    color: var(--primary-white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    pointer-events: auto;
}

.consultation-btn button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(250, 167, 31, 0.4);
}

/* Spline Background Container */
.spline-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: auto;
    background-color: var(--primary-black);
}

spline-viewer {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Wrapper for all main content */
.content-wrapper {
    position: relative;
    z-index: 1;
    background-color: transparent;
    padding-top: 80px;
}

/* Main Hero Section Styling */
.hero-section {
    height: 750px;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
    position: relative;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Krona One', sans-serif;
    font-size: 6.5vw;
    line-height: 0.9;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--primary-white);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 .first-line {
    color: var(--primary-white);
    line-height: 1;
}

.hero-content h1 .highlight-line {
    display: inline-block;
    line-height: 1;
    position: relative;
    min-width: 100%;
    overflow: hidden;
}

.hero-content h1 .highlight {
    background-image: var(--main-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-flex;
    flex-wrap: nowrap;
}

.hero-content h1 .highlight span {
    display: inline-block;
    /* opacity handled by JS now */
}

.hero-content .tagline {
    font-size: 2.5vw;
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.hero-content .description {
    font-size: 1.1rem;
    color: var(--primary-white);
    margin-bottom: 40px;
    max-width: 400px;
    opacity: 0.8;
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto 40px auto;
}

/* Explore Our Work Button */
.explore-btn {
    background-color: transparent;
    color: var(--primary-white);
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0 auto;
    display: block;
}

.explore-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--main-gradient);
    border-radius: inherit;
    padding: 2px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.explore-btn:hover {
    color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(250, 167, 31, 0.4);
}

.explore-btn:hover::before {
    transform: scale(1.05);
    opacity: 1;
    -webkit-mask: none;
    mask: none;
    background: var(--main-gradient);
}

/* Scrolling Outline Text Section */
.scrolling-text-section {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.scrolling-text-container {
    white-space: nowrap;
    font-family: 'Krona One', sans-serif;
    font-size: 8vw;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-white);
    text-stroke: 1px var(--primary-white);
    pointer-events: none;
}

.scrolling-text-content {
    display: inline-block;
    will-change: transform;
    animation: scrollText 30s linear infinite;
}

.scrolling-text-content span {
    display: inline-block;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Scrolling Client Logos Section */
.client-logos-section {
    width: 100%;
    padding: 60px 0;
    background-color: var(--primary-white);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.client-logos-track {
    display: flex;
    white-space: nowrap;
    animation: scrollLogos 60s linear infinite;
    will-change: transform;
    pointer-events: none;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 40px;
    flex-shrink: 0;
}

.client-logos-track img {
    height: 60px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(0%) brightness(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logos-track img:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Featured Projects Slider Section - RENAMED TO MATCH HTML */
.featured-projects-carousel-section {
    padding: 80px 5%;
    background-color: var(--primary-white);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.featured-projects-carousel-section .section-title {
    margin-bottom: 20px;
    color: var(--primary-black);
    font-family: 'Krona One', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.featured-projects-carousel-section .section-description {
    color: var(--primary-black);
    margin-bottom: 60px;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.8;
}

.portfolio-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 40px;
}

/* Updated Class Name to match HTML */
.portfolio-projects-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--projects-slider-gap);
    transition: transform 0.5s ease-in-out;
    padding-bottom: 25px;
    overflow-x: auto; /* Allow scrolling on touch */
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    
    /* SCROLL SNAP for mobile */
    scroll-snap-type: x mandatory; 
}

/* Hide scrollbar for Chrome, Safari and Opera */
.portfolio-projects-grid::-webkit-scrollbar {
    display: none;
}

/* Updated Class Name to match HTML */
.portfolio-project-card {
    background-color: #111;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    /* Calculation for 3 items per row on desktop */
    width: calc(33.33% - (2 * var(--projects-slider-gap) / 3));
    
    scroll-snap-align: center; /* Snap cards to center */
}

.portfolio-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 30px rgba(250, 167, 31, 0.4);
}

/* Added wrapper class to CSS to match new HTML structure */
.portfolio-project-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 60%; /* Aspect Ratio */
    overflow: hidden;
}

.portfolio-project-thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-project-card:hover .portfolio-project-thumbnail-wrapper img {
    transform: scale(1.05);
}

.portfolio-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.portfolio-project-card:hover .portfolio-project-overlay {
    opacity: 1;
}

.portfolio-view-case-study-btn {
    background-image: var(--main-gradient);
    color: var(--primary-white);
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.portfolio-view-case-study-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(250, 167, 31, 0.5);
}

.portfolio-project-info {
    padding: 25px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-project-title {
    font-family: 'Krona One', sans-serif;
    font-size: 1.35rem;
    color: var(--primary-white);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.portfolio-project-summary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--primary-white);
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--primary-black);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.slider-button:hover {
    background-color: var(--gradient-start);
    color: var(--primary-black);
    transform: translateY(-50%) scale(1.1);
}

.slider-button.prev-button { left: 0; }
.slider-button.next-button { right: 0; }

/* About Us Section */
.about-us-section {
    padding: 80px 5%;
    /* Placeholder background image - replace with actual path */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/about-bg.jpg'); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
    color: var(--primary-white);
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-us-section .section-title {
    color: var(--primary-white);
    margin-bottom: 20px;
    font-size: 4vw;
}

.about-us-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-white);
    max-width: 900px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
    opacity: 0.9;
}

.about-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    text-align: left;
}

.about-text-content {
    flex: 1;
    min-width: 300px;
}

.about-text-content h3 {
    font-family: 'Krona One', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-white);
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-text-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.about-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-portfolio {
    background-image: var(--main-gradient);
    color: var(--primary-white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    display: inline-block;
}

.btn-portfolio:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(250, 167, 31, 0.5);
}

.btn-start-project {
    background-color: transparent;
    color: var(--primary-white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-start-project:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-white);
    transform: translateY(-3px);
}

.about-stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    min-width: 300px;
}

.stat-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(250, 167, 31, 0.2);
}

.stat-icon {
    font-size: 3rem;
    color: var(--gradient-start);
    margin-bottom: 15px;
}

.stat-number {
    font-family: 'Krona One', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-white);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* "Work With Us" Scrolling Section */
#work-with-us-section {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

#work-with-us-section .scrolling-text-container {
    white-space: nowrap;
    font-family: 'Krona One', sans-serif;
    font-size: 8vw;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-white);
    text-stroke: 1px var(--primary-white);
    pointer-events: none;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 5%;
    background-color: var(--primary-white);
    color: var(--primary-black);
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonials-section .section-title {
    color: var(--primary-black);
    margin-bottom: 60px;
}

.testimonials-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 40px;
}

.testimonial-track {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--testimonial-slider-gap);
    transition: transform 0.5s ease-in-out;
    padding-bottom: 15px;
    cursor: grab;
}

.testimonial-track:active {
    cursor: grabbing;
}

.testimonial-card {
    background-color: #f8f8f8;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    width: calc(33.33% - (2 * var(--testimonial-slider-gap) / 3));
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 30px rgba(250, 167, 31, 0.1);
}

.client-info-top {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.company-initials {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Krona One', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-white);
    margin-right: 15px;
    flex-shrink: 0;
}

.company-details {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 5px;
}

.industry-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    display: inline-block;
    align-self: flex-start;
}

.stars {
    color: gold;
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.client-feedback {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    flex-grow: 1;
}

.client-signature {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-black);
    text-align: right;
    opacity: 0.8;
}

.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: var(--testimonial-dot-active);
    transform: scale(1.2);
}

/* FAQ Section */
.faq-section {
    padding: 80px 5%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
    position: relative;
    z-index: 1;
}

.faq-section .section-title {
    color: var(--primary-white);
    margin-bottom: 50px;
    font-size: 3rem;
    font-family: 'Krona One', sans-serif;
}

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

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background-color: transparent;
    color: var(--primary-white);
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.faq-question:hover {
    color: var(--gradient-start);
}

.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.faq-answer.open {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    padding-right: 20px;
}

/* Contact Us Section */
.contact-us-section {
    padding: 80px 0;
    background-color: #000000;
    color: #f0f0f0;
}

.contact-us-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-us-section .section-title {
    font-family: 'Krona One', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
    text-transform: uppercase;
}

.contact-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.map-container {
    flex: 1;
    height: 100%;
    min-width: 0;
}

.map-placeholder {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.map-placeholder iframe {
    display: block;
    width: 100%;
}

.contact-form-container {
    flex: 1;
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.contact-form-container form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #333;
    transition: border-bottom-color 0.3s ease;
}

.form-group:focus-within {
    border-image: linear-gradient(to right, #FAA71F, #DC6927) 1;
    border-bottom: 2px solid transparent;
    border-image-slice: 1;
}

.input-icon {
    color: #777;
    font-size: 1.2rem;
    padding-right: 15px;
    transition: color 0.3s ease;
}

.form-group:focus-within .input-icon {
    color: #FAA71F;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    background: transparent;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
    opacity: 1;
}

.submit-btn {
    background-image: linear-gradient(to right, #FAA71F, #DC6927);
    color: #ffffff;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    background-image: linear-gradient(to right, #FAA71F, #DC6927);
}

.social-icons-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.social-icons-contact a {
    color: #999;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons-contact a:hover {
    color: var(--gradient-start);
}

/* Footer Section */
.footer {
    background-color: transparent;
    color: var(--primary-white);
    padding: 80px 5% 30px 5%;
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    text-align: left;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col h4 {
    font-family: 'Krona One', sans-serif;
    font-size: 1.2rem;
    color: var(--gradient-start);
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-branding .footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-branding .branding-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

/* --- STARTUP INDIA LOGO ADDITION --- */
.startup-india-container {
    margin: 15px 0 20px 0;
}

.startup-logo {
    display: block;
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.1));
}
/* ----------------------------------- */

.footer-social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.footer-social-icons a {
    color: var(--primary-white);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icons a:hover {
    color: var(--gradient-start);
    transform: translateY(-3px);
}

.footer-nav ul {
    list-style: none;
    padding-left: 0;
}

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

.footer-nav ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--primary-white);
}

.footer-contact-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact-info p i {
    color: var(--gradient-start);
    font-size: 1.1rem;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-newsletter p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    border-color: var(--gradient-start);
}

.newsletter-form button {
    background-image: var(--main-gradient);
    color: var(--primary-white);
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(250, 167, 31, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal-links {
    margin-top: 10px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-white);
}

/* Responsive Design */
@media (max-width: 600px) {
    .section-title { font-size: 1rem; }
    .hero-content h1 { font-size: 2rem; }
    .client-logos-section { padding: 40px 0; }
    .logo-group { gap: 50px; padding: 0 20px; }
    .client-logos-track img { height: 40px; max-width: 100px; }
    .featured-projects-carousel-section .section-title { font-size: 1.5rem; }
    
    .slider-container { padding: 0 px; }
    .portfolio-projects-grid { gap: var(--projects-slider-gap); }
    
    /* UPDATED: Full width on mobile */
    .portfolio-project-card { 
        width: 100%; 
        min-width: 100%; /* Force full width */
    }
    
    .about-content-wrapper { flex-direction: row; gap: 50px; }
    .about-text-content, .about-stats-grid { width: 100%; display:block; }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); margin-top:30px;}
    .testimonial-card { width: calc(100% - 20px); }
}

@media (max-width: 768px) {
    .navbar { flex-direction: row; justify-content: space-between; }
    .navbar .logo { margin-right: auto; }
    .navbar .consultation-btn { display: none; }
    .nav-links {
        position: fixed; top: 0; right: 0; width: 100%; height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 99;
        display: flex; flex-direction: column; justify-content: center; align-items: center;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links ul { flex-direction: column; text-align: center; gap: 25px; }
    .nav-links a { font-size: 1.5rem; padding: 10px 0; display: block; }
    .nav-links a::after { display: none; }
    .hamburger-button { display: block; }

    .hero-section {
        flex-direction: column;
        text-align: center;
        min-height: 600px;
        height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }
    .hero-content h1 { font-size: 3.5rem; }
    
    /* UPDATED: Fix the typo from projects-card to portfolio-project-card */
    .portfolio-project-card { 
        width: 100%; 
    }
    
    .contact-content-wrapper { flex-direction: column; }
    .map-container, .contact-form-container { width: 100%; }
    .footer-container { flex-direction: column; gap: 40px; }
    .footer-col { width: 100%; text-align: center; }
    .footer-branding { align-items: center; } /* Center logo on mobile */
    .footer-social-icons, .newsletter-form { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.5rem; }
    .startup-india-container { display: flex; justify-content: center; }
    .testimonial-card { width: 100%; }
    .newsletter-form input, .newsletter-form button { width: 100%; }
}