/*
 * Maxwell Digital Studio Main Styles
 * Version: 1.0.1
 */

/* Gilroy Font Family */
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Thin.woff2') format('woff2'),
         url('../fonts/Gilroy-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Light.woff2') format('woff2'),
         url('../fonts/Gilroy-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.woff2') format('woff2'),
         url('../fonts/Gilroy-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.woff2') format('woff2'),
         url('../fonts/Gilroy-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Bold.woff2') format('woff2'),
         url('../fonts/Gilroy-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

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

body {
    font-family: 'Gilroy', Arial, sans-serif;
    background: #000;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    top: 0;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Logo */
.navbar-logo {
    height: 40px;
    width: auto;
    z-index: 11;
}

/* Navigation Menu Container */
.nav-menu-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 50px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-menu-container {
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 10px;
    list-style: none;
    position: relative;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 12px 24px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.nav-menu a.active {
    color: #707070;
}

/* Active Pill Selector */
.nav-selector {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

/* Contact Us Button */
.contact-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #44275d 0%, #d470d2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 112, 210, 0.4);
}

/* Hero Banner Container */
.hero-banner {
    position: relative;
    width: 100%;
    height: 50vh;
    background: #000;
    overflow: hidden;
}

/* Video Background */
.hero-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
}

/* Video Overlay */
.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Logo Container */
.hero-logo-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    max-width: 100%;
    padding: 0 20px;
    z-index: 3;
    transition: opacity 0.1s ease-out, transform 0.1s ease-out;
}

.hero-logo {
    width: 100%;
    height: auto;
    display: block;
}

.hero-subtitle {
    display: none;
}

/* Smooth Overlay Transition */
.overlay-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200vh;
    background: linear-gradient(to bottom, transparent 0%, transparent 70vh, rgba(0, 0, 0, 0.95) 100vh);
    z-index: 3;
    pointer-events: none;
}

/* About Us Section */
.about-section {
    position: relative;
    z-index: 4;
    background: #000;
    margin-top: 50vh;
    padding: 80px 40px;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/overlay.png') center/cover no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.about-section.visible::before {
    opacity: 1;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: url('../img/overlay-logo.png') center/contain no-repeat;
    opacity: 0;
    transition: left 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, opacity 1s ease 0.3s;
    z-index: 1;
    pointer-events: none;
}

.about-section.visible::after {
    left: 50%;
    opacity: 0.1;
}

.about-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    position: relative;
    z-index: 2;
}

/* Left Column - Title and Icons */
.about-left {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 40px;
    transform: translateX(-100px);
    opacity: 0;
    transition: all 1s ease;
}

.about-section.visible .about-left {
    transform: translateX(0);
    opacity: 1;
}

/* About Title - Top Left */
.about-title {
    font-size: 56px;
    font-weight: 100;
    color: #ffffff;
    margin-bottom: auto;
}

.about-title span {
    background: linear-gradient(135deg, #d470d2 0%, #8a4dd6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icons Container - Bottom Left */
.about-icons {
    margin-top: 60px;
}

.icons-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    height: 98px;
}

.icon-circle {
    position: absolute;
    width: 98px;
    height: 98px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    left: 0;
    cursor: pointer;
}

.icon-circle svg {
    width: 49px;
    height: 49px;
    fill: #44275d;
}

.icon-circle img {
    width: 49px;
    height: 49px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(19%) sepia(26%) saturate(2087%) hue-rotate(246deg) brightness(50%) contrast(90%);
}

/* Icon Positions - Overlapping in One Line */
.icon-circle:nth-child(1) {
    z-index: 1;
    left: 0;
}

.icon-circle:nth-child(2) {
    z-index: 2;
    left: 70px;
}

.icon-circle:nth-child(3) {
    z-index: 3;
    left: 140px;
}

.icon-circle:nth-child(4) {
    z-index: 4;
    left: 210px;
}

.icon-circle:nth-child(5) {
    z-index: 5;
    left: 280px;
}

.icon-circle:nth-child(6) {
    z-index: 6;
    left: 350px;
    background: linear-gradient(135deg, #44275d 0%, #d470d2 100%);
    overflow: hidden;
}

/* Individual Icon Hover - Pop Up Effect */
.icon-circle:hover {
    transform: translateY(-15px) scale(1.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Hover Effect - Separate Icons on Row Hover */
.icons-row:hover .icon-circle:nth-child(1) {
    left: 0;
}

.icons-row:hover .icon-circle:nth-child(2) {
    left: 110px;
}

.icons-row:hover .icon-circle:nth-child(3) {
    left: 220px;
}

.icons-row:hover .icon-circle:nth-child(4) {
    left: 330px;
}

.icons-row:hover .icon-circle:nth-child(5) {
    left: 440px;
}

.icons-row:hover .icon-circle:nth-child(6) {
    left: 550px;
}

.icon-circle:nth-child(6) .plus-30 {
    font-size: 56px;
    font-weight: 100;
    color: #ffffff;
}

/* Hover Glare Effect for +30 */
.icon-circle:nth-child(6)::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.icon-circle:nth-child(6):hover::before {
    transform: translateX(100%) rotate(45deg);
}

/* Right Column - Text */
.about-text {
    flex: 0 0 50%;
    color: #ffffff;
    padding: 60px 80px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(100px);
    opacity: 0;
    transition: all 1s ease;
}

.about-section.visible .about-text {
    transform: translateX(0);
    opacity: 1;
}

.about-text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #d0d0d0;
}

/* Build Your Brand Section */
.build-section {
    position: relative;
    z-index: 4;
    background: #000;
    padding: 80px 40px;
    overflow: hidden;
}

.build-title {
    font-size: 56px;
    font-weight: 100;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 60px;
    text-align: right;
}

.build-title .highlight {
    background: linear-gradient(135deg, #d470d2 0%, #8a4dd6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.build-container {
    display: flex;
    width: 100%;
}

/* Left Column - 30% */
.build-left {
    flex: 0 0 30%;
    padding: 0 40px 0 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: flex-end;
}

/* Design Subtitle */
.design-subtitle {
    font-size: 26px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.4;
    text-align: left;
}

/* Arrow Badges */
.build-icons {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.arrow-badge {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-badge:hover {
    background: rgba(212, 112, 210, 0.2);
    transform: scale(1.05);
}

.arrow-badge.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.arrow-badge img {
    width: 24px;
    height: 24px;
}

/* Right Column - 70% Slider */
.build-right {
    flex: 0 0 70%;
    position: relative;
}

/* Slider Container - Full Width */
.slider-wrapper {
    position: relative;
    width: 100%;
}

.slider-container {
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 20px;
}

/* Slider Tile - Square (10% larger) */
.slider-tile {
    flex: 0 0 308px;
    width: 308px;
    height: 308px;
    background: #1a1a1a;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.slider-tile:hover {
    background: #ffffff;
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(212, 112, 210, 0.3);
}

/* Tile Number - Top Left */
.tile-number {
    font-size: 64px;
    font-weight: 100;
    color: #ffffff;
    position: absolute;
    top: 30px;
    left: 30px;
    transition: all 0.4s ease;
}

.slider-tile:hover .tile-number {
    color: #d470d2;
}

/* Tile Header - Bottom Left */
.tile-header {
    font-size: 26px;
    font-weight: 500;
    color: #ffffff;
    margin-top: auto;
    transition: all 0.4s ease;
    line-height: 1.1;
}

.slider-tile:hover .tile-header {
    color: #44275d;
}

/* Tile Content - Hidden by default */
.tile-content {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.2;
    color: #d0d0d0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
}

.slider-tile:hover .tile-content {
    max-height: 150px;
    opacity: 1;
    color: #666;
}

/* Active Tile */
.slider-tile.active {
    background: #ffffff;
}

.slider-tile.active .tile-number {
    color: #d470d2;
}

.slider-tile.active .tile-header {
    color: #44275d;
}

/* Navigation Controls - Bottom Left */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-nav-container {
    display: flex;
    gap: 15px;
}

.slider-nav {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: rgba(212, 112, 210, 0.3);
    transform: scale(1.1);
}

.slider-nav.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.slider-nav img {
    width: 20px;
    height: 20px;
}

/* Progress Bar */
.progress-track {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #44275d 0%, #d470d2 100%);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Services Section */
.services-section {
    position: relative;
    z-index: 4;
    background: #000;
    padding: 80px 40px;
    text-align: center;
}

.services-title {
    font-size: 56px;
    font-weight: 100;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.services-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #D470D3;
    letter-spacing: 3px;
    margin-bottom: 60px;
}

.services-intro {
    max-width: 900px;
    margin: 0 auto 80px;
    font-size: 16px;
    font-weight: 300;
    color: #d0d0d0;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-item {
    width: 308px;
    height: 308px;
    background: #1a1a1a;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}

.service-item:hover {
    background: #ffffff;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 30px;
    right: 30px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(76%) sepia(30%) saturate(1500%) hue-rotate(260deg) brightness(95%) contrast(85%);
    transition: all 0.4s ease;
}

.service-item:hover .service-icon img {
    filter: brightness(0) saturate(100%) invert(19%) sepia(26%) saturate(2087%) hue-rotate(246deg) brightness(50%) contrast(90%);
}

.service-name {
    font-size: 26px;
    font-weight: 500;
    color: #ffffff;
    margin-top: auto;
    transition: all 0.4s ease;
    line-height: 1.1;
}

.service-item:hover .service-name {
    color: #44275d;
}

.service-description {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.2;
    color: #d0d0d0;
    opacity: 1;
    margin-top: 10px;
    transition: all 0.4s ease;
}

.service-item:hover .service-description {
    color: #44275d;
}

/* Footer Section */
.footer-section {
    position: relative;
    z-index: 4;
    background: #ffffff;
    padding: 60px 40px 30px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-label {
    font-weight: 500;
    color: #44275d;
}

.contact-link {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #44275d;
}

.footer-copyright-slogan {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-copyright-text {
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0;
}

.footer-slogan-text {
    font-size: 16px;
    font-weight: 300;
    color: #000000;
    margin: 0;
    line-height: 1.4;
}

.footer-legal {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-link {
    font-size: 13px;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.legal-link:hover {
    color: #d470d2;
}

.legal-separator {
    margin: 0 15px;
    color: rgba(0, 0, 0, 0.3);
}

/* Legal Off-Canvas Panel */
.legal-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 80vh;
    background: #ffffff;
    z-index: 1001;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    overflow: hidden;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.3);
}

.legal-panel.active {
    bottom: 0;
}

.legal-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-panel-header h2 {
    font-size: 32px;
    font-weight: 300;
    color: #000000;
    margin: 0;
}

.legal-close {
    width: 50px;
    height: 50px;
    background: #000000;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-close:hover {
    background: #d470d2;
    transform: rotate(90deg);
}

.legal-panel-content {
    padding: 40px;
    height: calc(80vh - 111px);
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
    color: #000000;
}

.legal-panel-content h1 {
    font-size: 36px;
    font-weight: 300;
    color: #000000;
    margin-bottom: 30px;
}

.legal-panel-content h2 {
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-panel-content h3 {
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-panel-content p {
    margin-bottom: 15px;
}

.legal-panel-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-panel-content li {
    margin-bottom: 10px;
}

.legal-panel-content a {
    color: #d470d2;
    text-decoration: none;
}

.legal-panel-content a:hover {
    text-decoration: underline;
}

.legal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.legal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 12;
    padding: 10px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    z-index: 11;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: #d470d2;
    border-color: #d470d2;
    transform: rotate(90deg);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.mobile-menu a {
    font-size: 32px;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: #d470d2;
}

.mobile-contact-btn {
    margin-top: 50px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #44275d 0%, #d470d2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.mobile-contact-btn:hover {
    transform: translateY(-2px);
}

/* Responsive Media Queries */
@media (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    /* Hide desktop navigation */
    .nav-menu-container {
        display: none;
    }

    .contact-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* About Section */
    .about-container {
        flex-direction: column;
    }

    .about-left {
        flex: 0 0 100%;
        padding: 40px 20px 60px 20px;
    }

    .about-text {
        flex: 0 0 100%;
        padding: 60px 20px 40px 20px;
    }

    .about-title {
        font-size: 42px;
    }

    /* Fix icon overflow on tablets */
    .icons-row {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 40px;
    }

    .icon-circle {
        position: relative !important;
        left: 0 !important;
        margin: 5px;
    }

    .icons-row:hover .icon-circle {
        left: 0 !important;
    }

    /* Build Section */
    .build-container {
        flex-direction: column;
    }

    .build-left, .build-right {
        flex: 0 0 100%;
        padding: 0;
    }

    .build-title {
        font-size: 42px;
        text-align: center;
    }

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

    .build-icons {
        justify-content: center;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .service-item {
        width: 100%;
        height: auto;
        min-height: 280px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-copyright-slogan {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .hero-video {
        object-position: top left;
    }

    .hero-logo {
        max-width: 100%;
        width: 90%;
    }

    .hero-subtitle {
        display: block;
        font-size: 18px;
        font-weight: 300;
        color: #ffffff;
        text-align: center;
        margin-top: 20px;
        letter-spacing: 4px;
    }

    /* Navbar */
    .navbar {
        padding: 15px 20px;
    }

    .navbar-logo {
        height: 30px;
    }

    /* About Section */
    .about-section {
        padding: 60px 20px;
    }

    .about-title {
        font-size: 36px;
    }

    /* Build Section */
    .build-section {
        padding: 60px 20px;
    }

    .build-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .slider-container {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .slider-track {
        margin-top: 10px;
        transform: none !important;
        transition: none !important;
    }

    .slider-tile {
        flex: 0 0 280px;
        width: 280px;
        height: 280px;
        scroll-snap-align: start;
    }

    /* Services Section */
    .services-section {
        padding: 60px 20px;
    }

    .services-title {
        font-size: 42px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-item {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Footer */
    .footer-section {
        padding: 40px 20px 20px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }

    .legal-separator {
        display: none;
    }

    .legal-panel {
        height: 90vh;
    }

    .legal-panel-content {
        padding: 20px;
        height: calc(90vh - 91px);
    }
}

@media (max-width: 480px) {
    /* Further mobile optimization */
    .about-title {
        font-size: 28px;
    }

    .about-text p {
        font-size: 14px;
    }

    .build-title {
        font-size: 26px;
    }

    .services-title {
        font-size: 32px;
    }

    .services-intro {
        font-size: 14px;
    }

    .slider-tile {
        flex: 0 0 250px;
        width: 250px;
        height: 250px;
        padding: 20px;
    }

    .tile-header {
        font-size: 22px;
    }

    .service-item {
        padding: 25px;
    }

    .service-name {
        font-size: 22px;
    }

    .mobile-menu a {
        font-size: 24px;
    }

    .footer-logo-img {
        height: 45px;
    }

    .footer-contact-item {
        font-size: 13px;
        flex-direction: column;
        text-align: center;
    }

    .contact-label {
        margin-bottom: 5px;
    }
}

/* Prevent horizontal overflow */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}
