@media (max-width: 1500px) {


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

:root {
    --primary-color: #d13118;
    --text-color: #333;
    --background-color: #000;
    --nav-bg: #fff;
    --transition-speed: 0.8s;
    --container-width: 1390px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: visible;
}

/* Header & Navigation */
.header {
    position: relative;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    padding: 0 24px;
}

.logo {
    height: 35px;
    width: auto;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav {
    display: flex;
    justify-content: flex-end;
}

.nav__container {
    background: var(--nav-bg);
    border-radius: 15px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
    transition: all var(--transition-speed) ease;
    width: 145px;
    position: relative;
}

.nav__container.active {
    width: 650px;
}

.nav__menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease,
                visibility var(--transition-speed) ease;
    padding: 0 15px;
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 280px;
}

.nav__container.active .nav__menu {
    opacity: 1;
    visibility: visible;
}

.nav__list {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: flex-start;
}

.nav__item {
    position: relative;
}

/* Dropdown Navigation Styles */
.nav__item--dropdown {
    position: relative;
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--nav-bg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    margin: 0;
}

.nav__item--dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav__dropdown-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

/* Ensure dropdown stays visible when navigation is active */
.nav__container.active .nav__dropdown {
    z-index: 1002;
}

/* Remove underline hover effect for dropdown navigation items */
.nav__item--dropdown .nav__link::after {
    display: none !important;
}

.nav__link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-speed);
    white-space: nowrap;
    letter-spacing: -0.02em;
    padding: 8px 0;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 8px;
    margin-left: auto;
    min-width: 140px;
}

.nav__toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    position: relative;
    transition: transform var(--transition-speed) ease;
    z-index: 2;
}

.nav__toggle:hover {
    transform: scale(1.05);
}

.nav__toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background-color: #000;
    border-radius: 2px;
    transition: transform var(--transition-speed) ease,
                opacity var(--transition-speed) ease,
                background-color var(--transition-speed) ease;
}

.nav__container.active .nav__toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav__container.active .nav__toggle span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}

.nav__container.active .nav__toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 400;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 12px rgba(255, 59, 29, 0.2);
    position: relative;
    min-width: 100px;
    text-align: center;
}

.nav__cta:hover {
    background-color: #e63517;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 59, 29, 0.3);
}

.nav__cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 59, 29, 0.2);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 140px 0 80px;
    background: var(--background-color);
    position: relative;
    overflow: visible;
    margin: 0 calc(-50vw + 50%);
    width: 100vw;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 950px;
    max-width: 90vw;
    z-index: 1;
}

.hero__image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(255, 59, 29, 0.15), 
                0 8px 32px rgba(0,0,0,0.20);
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.hero__image img:hover {
    transform: scale(1.02);
}

.hero-text {
    position: absolute;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.15);
    white-space: nowrap;
    z-index: 3;
    pointer-events: none;
}

.hero-text--top {
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    z-index: 2;
}

.hero-text--left, .hero-text--right {
    top: 50%;
    font-size: 6rem;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    transform: translateY(-50%);
}

.hero-text--left {
    left: -50px;
}

.hero-text--right {
    right: -50px;
}

img.hero__star {
    position: absolute;
    left: -115px;
    top: 0 px;
    z-index: 3;
    width: 250px;
    height: auto;
    animation: rotate 20s linear infinite;
    opacity: 0.9;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero__badge {
    position: absolute;
    right: 50px;
    top: 170px;
    z-index: 4;
}

.badge__circle {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(209, 49, 24, 0.2);
}

.badge__text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateText 20s linear infinite;
    top: 0;
    left: 0;
}

.badge__text svg {
    width: 100%;
    height: 100%;
}

.badge__icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes rotateText {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero__works {
    position: absolute;
    right: 80px;
    top: 170px;
    z-index: 1;
    transform: translateX(120px);
}

.works__circle {
    width: 100px;
    height: 100px;
    background: transparent;
    border: 1px solid #ffffffcc;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.works__circle:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 1);
}

.works__text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: white;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.2;
}

.works__icon {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Companies Logos Section */
.hero__companies {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 2;
}

.companies__title {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.companies__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.companies__logo {
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: brightness(0) invert(1);
    height: 40px;
    width: auto;
    max-width: 150px;
}

.companies__logo:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* About Section */
.about {
    background: #ffffff;
    padding: 120px 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.about__wrapper {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.about__header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.about__star {
    display: inline-block;
    margin-bottom: 40px;
    animation: rotate 15s linear infinite;
}

.about__star img {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.about__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    margin-bottom: 40px;
    font-family: 'Syne', sans-serif;
}

.about__description {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 80px;
}

.about__image {
    display: flex;
    justify-content: center;
}

.about__image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about__stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.stat:last-child {
    border-bottom: none;
}

.stat__title {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat__number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Orbitron', monospace;
}

.stat__description {
    font-size: 1rem;
    color: #888;
    margin: 0;
}

.text-center {
    text-align: center;
}

/* Services Section - Narrow Desktop Adjustments */
.services {
    padding: 80px 0;
}

.services__header {
    margin-bottom: 60px;
}

.services__title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.services__subtitle {
    font-size: 1.1rem;
}

.services__grid {
    gap: 30px;
    align-items: stretch;
}

.service-card {
    padding: 32px;
    width: 100%;
    min-width: 0;
}

.service-card__title {
    font-size: 1.6rem;
}

.service-card__price {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.service-card__list {
    margin-bottom: 24px;
}

.service-card__list li {
    margin-bottom: 12px;
}

/* Scrolling Text Section - Narrow Desktop Adjustments */
.scrolling-text {
    padding: 5rem 0;
}

.scrolling-text__item {
    font-size: 7rem;
}

.scrolling-text__logo {
    height: 3.5rem;
    margin-left: 2rem;
}

/* Works Section - Narrow Desktop Adjustments */
.works {
    padding: 0 24px 80px;
}

.works__line {
    margin-bottom: 30px;
}

.works__header {
    
}

.works__title-container {
    justify-content: flex-start;
    gap: 6px;
}

.works__star {
    width: 12px;
    height: 12px;
}

.works__title {
    font-size: 2.6rem;
}

.works__description {
    font-size: 1.3rem;
    max-width: 600px;
    text-align: left;
}

.works__grid {
    gap: 30px;
    margin-top: 40px;
}

.portfolio-card__info {
    padding-top: 16px;
}

.portfolio-card__image {
    height: 450px;
    object-fit: cover;
}

.portfolio-card__title {
    font-size: 1.3rem;
}

.works__cta-container {
    margin-top: 60px;
}

.works__cta-button {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.works__cta-icon {
    width: 24px;
    height: 24px;
}

/* Testimonials Section - Narrow Desktop Adjustments */
.testimonials {
    padding: 140px 24px;
}

.testimonials__wrapper {
    max-width: 700px;
    padding: 0 20px;
}

/* Old testimonial background images removed - using floating cards instead */

.testimonials__bg-img--star {
    width: 250px;
    bottom: 90%;
    right: -20%;
}

.testimonials__chat-icon {
    width: 45px;
    height: 45px;
    top: 240px;
    left: 120px;
}

.testimonials__header {
    margin-bottom: 30px;
}

.testimonials__title-icon-container {
    width: 25px;
    height: 25px;
}

.testimonials__title {
    font-size: 2.1rem;
}

.testimonials__content {
    margin-top: 30px;
}

.testimonials__subtitle {
    font-size: 0.8rem;
    margin-bottom: 30px;
    max-width: 450px;
}

.testimonials__logos {
    gap: 40px;
}

.testimonials__logo {
    height: 35px;
    max-width: 130px;
}

/* Testimonial Cards - Narrow Desktop Adjustments */
.testimonials__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
    margin-top: 30px;
}

.testimonial-card {
    padding: 25px;
}

.testimonial-card__rating {
    margin-bottom: 16px;
}

.testimonial-card__stars {
    font-size: 1.1rem;
}

.testimonial-card__text {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.testimonial-card__name {
    font-size: 1rem;
}

.testimonial-card__position {
    font-size: 0.85rem;
}

/* Floating Testimonial Cards - Narrow Desktop */
.testimonial-card--floating {
    width: 200px;
    padding: 6px;
}

.testimonial-card--1 {
    top: 35%;
    left: 100%;
    --center-offset-x: calc(50% - 50% - 100%);
    --center-offset-y: calc(50% - 50% - 15%);
}

.testimonial-card--2 {
    top: 75%;
    right: 95%;
    --rotation: -15deg;
    --center-offset-x: calc(-50% + 50% + 80%);
    --center-offset-y: calc(50% - 50% - 45%);
}

.testimonial-card--3 {
    bottom: 60%;
    left: -35%;
    --center-offset-x: calc(50% - 50% + 25%);
    --center-offset-y: calc(-50% + 50% + 40%);
}

.testimonial-card--floating .testimonial-card__text {
    font-size: 0.6rem;
    margin-bottom: 6px;
    line-height: 1.3;
}

.testimonial-card--floating .testimonial-card__name {
    font-size: 0.65rem;
}

.testimonial-card--floating .testimonial-card__position {
    font-size: 0.55rem;
}

.testimonial-card--floating .testimonial-card__stars {
    font-size: 0.65rem;
}
}