/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    color: #D0D0D0;
    background-color: #000001;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #FCFCFC;
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(42px, 5.2778vw, 76px); }
h2 { font-size: clamp(28px, 3.334vw, 48px); }
h3 { font-size: clamp(22px, 1.667vw, 24px); }
h4 { font-size: clamp(20px, 1.528vw, 22px); }
h5 { font-size: clamp(18px, 1.389vw, 20px); }
h6 { font-size: clamp(14px, 1.112vw, 16px); }

p {
    margin-top: 0;
    margin-bottom: 0.9rem;
}

a {
    color: #66FCF1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4ABDB4;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Text Effects */
.text-gradient {
    background: linear-gradient(135deg, #66FCF1, #4ABDB4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.text-highlight {
    color: #66FCF1;
    position: relative;
}

/* Header */
.site-header {
    background-color: rgba(0, 0, 1, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #363636;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 15px 0;
    background-color: rgba(0, 0, 1, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #FCFCFC;
    letter-spacing: 1px;
    position: relative;
}

.logo-text {
    color: #FCFCFC;
}

.logo-accent {
    color: #66FCF1;
    margin-left: 8px;
    position: relative;
}

.logo-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #66FCF1;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.logo a:hover .logo-accent::after {
    transform: scaleX(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #D0D0D0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: #66FCF1;
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a:hover {
    color: #66FCF1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #66FCF1;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    background: #000001;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 252, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 252, 241, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    color: #66FCF1;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.3s linear infinite alternate-reverse;
    color: #66FCF1;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s linear infinite alternate-reverse;
    color: #4ABDB4;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 100% 0); }
    25% { clip-path: inset(0 0 60% 0); }
    50% { clip-path: inset(40% 0 30% 0); }
    75% { clip-path: inset(70% 0 0 0); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(100% 0 0 0); }
    25% { clip-path: inset(60% 0 0 0); }
    50% { clip-path: inset(30% 0 40% 0); }
    75% { clip-path: inset(0 0 70% 0); }
}

.hero-title {
    margin-bottom: 20px;
    color: #FCFCFC;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
}

.hero-description {
    font-size: 16px;
    margin-bottom: 30px;
    color: #D0D0D0;
    line-height: 1.6;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    position: relative;
    background-color: transparent;
    color: #66FCF1;
    border: 2px solid #4ABDB4;
    padding: 12px 35px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #66FCF1, #4ABDB4);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-primary:hover .btn-bg {
    left: 0;
}

.btn-primary:hover {
    color: #000001;
    border-color: #66FCF1;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 252, 241, 0.3);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-card {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.image-wrapper img {
    width: 100%;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 252, 241, 0.2), transparent);
    border-radius: 8px;
    z-index: 3;
    pointer-events: none;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(102, 252, 241, 0.3), rgba(74, 189, 180, 0.3));
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(102, 252, 241, 0.2), rgba(74, 189, 180, 0.2));
    bottom: -30px;
    left: -30px;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 252, 241, 0.15), rgba(74, 189, 180, 0.15));
    top: 50%;
    right: -40px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(0) rotate(180deg); }
    75% { transform: translateY(20px) rotate(270deg); }
}


.hero-image.floating {
    animation: none !important;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: #FCFCFC;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.section-line {
    width: 60px;
    height: 3px;
    background-color: #66FCF1;
    margin: 20px auto 0;
    position: relative;
}

.animated-line {
    overflow: hidden;
}

.animated-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #FCFCFC, transparent);
    animation: line-shine 3s infinite;
}

@keyframes line-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* About Section */
.about {
    padding: 60px 0;
    background: linear-gradient(180deg, #000001 0%, #0B0C10 50%, #000001 100%);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Image Stack Effect */
.image-stack {
    position: relative;
    width: 100%;
    height: 350px;
    margin: 20px 0;
}

.stack-item {
    position: absolute;
    width: 70%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stack-1 {
    z-index: 3;
    top: 0;
    left: 0;
    transform: rotate(-3deg);
}

.stack-2 {
    z-index: 2;
    top: 20px;
    left: 20px;
    transform: rotate(-1deg);
}

.stack-3 {
    z-index: 1;
    top: 40px;
    left: 40px;
    transform: rotate(1deg);
}

.image-stack:hover .stack-1 {
    transform: rotate(-3deg) translateX(-10px);
}

.image-stack:hover .stack-2 {
    transform: rotate(0deg) translateX(0);
}

.image-stack:hover .stack-3 {
    transform: rotate(3deg) translateX(10px);
}

.stack-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Hexagon Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat.hexagon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.stat.hexagon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #121212, #1a1a1a);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    z-index: 1;
}

.stat.hexagon::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #000001;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    z-index: 2;
}

.stat-inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.stat h4 {
    color: #66FCF1;
    font-size: 32px;
    margin-bottom: 5px;
    display: inline-block;
}

.stat-prefix {
    color: #66FCF1;
    font-size: 24px;
    font-weight: 700;
}

.stat p {
    color: #D0D0D0;
    font-size: 12px;
    margin: 0;
}

.stat.hexagon:hover::before {
    background: linear-gradient(135deg, #66FCF1, #4ABDB4);
    animation: rotate-gradient 2s linear infinite;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Services Section */
.services {
    padding: 60px 0;
    background: #000001;
    position: relative;
}

.services-bg-gradient {
    display: none; /* Removed the overlapping animation */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #121212;
    border: 1px solid #363636;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.service-card.featured {
    transform: translateY(-20px);
    border: 2px solid #4ABDB4;
}

.card-content {
    padding: 40px 30px;
    position: relative;
    background: linear-gradient(135deg, #121212, #0B0C10);
    border-radius: 8px;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 252, 241, 0.1), rgba(74, 189, 180, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.service-card:hover .card-bg {
    opacity: 1;
}

.service-card:hover {
    border-color: #66FCF1;
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(102, 252, 241, 0.2),
        0 0 30px rgba(102, 252, 241, 0.1);
}

.service-card.featured:hover {
    transform: translateY(-30px);
}

.service-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    position: relative;
}

.service-icon svg {
    position: relative;
    z-index: 2;
}

.service-icon.pulse::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(102, 252, 241, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { 
        transform: translate(-50%, -50%) scale(0.8); 
        opacity: 1; 
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.3); 
        opacity: 0; 
    }
}

.service-card h3 {
    color: #FCFCFC;
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card p {
    color: #D0D0D0;
    font-size: 14px;
    line-height: 1.6;
}

.service-line {
    width: 40px;
    height: 2px;
    background-color: #66FCF1;
    margin: 15px auto 20px;
    transition: width 0.3s ease;
}

.service-card:hover .service-line {
    width: 60px;
}

/* Industries Section */
.industries {
    padding: 80px 0;
    background: linear-gradient(180deg, #000001 0%, #0B0C10 100%);
}

.industries-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.industries-list {
    list-style: none;
    margin-top: 30px;
}

.list-item-hover {
    padding: 15px 0;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-number {
    color: #363636;
    font-size: 14px;
    font-weight: 700;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.item-text {
    color: #D0D0D0;
    font-size: 16px;
    transition: all 0.3s ease;
}

.list-item-hover::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #66FCF1, #4ABDB4);
    transition: width 0.3s ease;
}

.list-item-hover:hover::before {
    width: calc(100% + 40px);
}

.list-item-hover:hover .item-number {
    color: #66FCF1;
}

.list-item-hover:hover .item-text {
    color: #FCFCFC;
    transform: translateX(10px);
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    transform: rotate(5deg);
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.grid-1 { transform: translateY(20px); }
.grid-2 { transform: translateY(-20px); }
.grid-3 { transform: translateY(20px); }
.grid-4 { transform: translateY(-20px); }

.grid-item img {
    width: 100%;
    transition: transform 0.3s ease;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 252, 241, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-item:hover .grid-overlay {
    opacity: 1;
}

.grid-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #000001;
    position: relative;
    overflow: hidden;
}

.contact-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, #121212 25%, transparent 25%),
        linear-gradient(-45deg, #121212 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #121212 75%),
        linear-gradient(-45deg, transparent 75%, #121212 75%);
    background-size: 50px 50px;
    background-position: 0 0, 0 25px, 25px -25px, -25px 0px;
    opacity: 0.03;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.5), transparent);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item.hover-lift:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(102, 252, 241, 0.1), transparent);
    box-shadow: 0 10px 30px rgba(102, 252, 241, 0.1);
}

.icon-wrapper {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #121212, #1a1a1a);
    border-radius: 50%;
    position: relative;
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #66FCF1;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.contact-item:hover .icon-wrapper::after {
    opacity: 1;
    transform: scale(1.2);
}

/* Modern Form Styles */
.form-modern {
    background: linear-gradient(135deg, #121212, #0B0C10);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #363636;
    position: relative;
    overflow: hidden;
}

.form-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 252, 241, 0.1) 0%, transparent 70%);
    animation: rotate-slow 20s linear infinite reverse;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.floating-label input,
.floating-label textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #363636;
    color: #D0D0D0;
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.floating-label label {
    position: absolute;
    left: 15px;
    top: 12px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.floating-label input:focus ~ label,
.floating-label input:valid ~ label,
.floating-label textarea:focus ~ label,
.floating-label textarea:valid ~ label {
    top: -20px;
    left: 0;
    font-size: 12px;
    color: #66FCF1;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #66FCF1, #4ABDB4);
    transition: width 0.3s ease;
}

.floating-label input:focus ~ .focus-border,
.floating-label textarea:focus ~ .focus-border {
    width: 100%;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
    transform: translateX(5px);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #0B0C10 0%, #000001 100%);
    padding: 60px 0 20px;
    border-top: 1px solid #363636;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(102, 252, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(74, 189, 180, 0.05) 0%, transparent 50%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #121212, #1a1a1a);
    border: 1px solid #363636;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link span {
    width: 20px;
    height: 2px;
    background: #66FCF1;
    position: relative;
    z-index: 2;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #66FCF1, #4ABDB4);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    border-color: #66FCF1;
    transform: translateY(-3px);
}

.footer-link {
    position: relative;
    padding-left: 20px;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover::before {
    opacity: 1;
    left: 5px;
}

.footer-link:hover {
    padding-left: 25px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #363636;
    position: relative;
    z-index: 2;
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card.featured {
        transform: translateY(0);
    }
    
    .image-grid {
        transform: rotate(0deg);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(11, 12, 16, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        border-top: 1px solid #363636;
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero-content,
    .about-content,
    .industries-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .image-stack {
        height: 250px;
    }
    
    .stack-1, .stack-2, .stack-3 {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 15px;
        transform: none;
        width: 100%;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        transform: none;
    }
    
    section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* --- Mobile Fixes --- */
@media (max-width: 768px) {
    .image-stack {
        height: auto;
    }

    .stack-1, .stack-2, .stack-3 {
        transform: none !important;
        margin: 0 0 15px 0;
    }

    .hero {
        min-height: auto;
        padding: 60px 20px;
    }

    .services-grid,
    .contact-content,
    .footer-content {
        gap: 15px !important;
    }

    .grid-1, .grid-2, .grid-3, .grid-4 {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    section {
        padding: 30px 0 !important;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 14px;
    }
}
