* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    height: -webkit-fill-available;
}

body {
    background-color: black;
    color: white;
    font-family: 'Montserrat', Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    animation: fall linear infinite;
    will-change: transform;
}

/* First row of particles */
.particle:nth-child(1) { left: 5%; animation-duration: 20s; animation-delay: -5s; transform: scale(0.75); }
.particle:nth-child(2) { left: 15%; animation-duration: 25s; animation-delay: -10s; transform: scale(1.25); }
.particle:nth-child(3) { left: 25%; animation-duration: 22s; animation-delay: -15s; transform: scale(0.5); }
.particle:nth-child(4) { left: 35%; animation-duration: 23s; animation-delay: -7s; transform: scale(1.5); }
.particle:nth-child(5) { left: 45%; animation-duration: 21s; animation-delay: -12s; transform: scale(0.8); }

/* Second row of particles */
.particle:nth-child(6) { left: 55%; animation-duration: 24s; animation-delay: -18s; transform: scale(1.2); }
.particle:nth-child(7) { left: 65%; animation-duration: 22s; animation-delay: -9s; transform: scale(0.7); }
.particle:nth-child(8) { left: 75%; animation-duration: 23s; animation-delay: -14s; transform: scale(1.3); }
.particle:nth-child(9) { left: 85%; animation-duration: 21s; animation-delay: -6s; transform: scale(0.6); }
.particle:nth-child(10) { left: 95%; animation-duration: 24s; animation-delay: -11s; transform: scale(1.4); }

/* Third row of particles */
.particle:nth-child(11) { left: 10%; animation-duration: 26s; animation-delay: -8s; transform: scale(0.9); }
.particle:nth-child(12) { left: 20%; animation-duration: 23s; animation-delay: -13s; transform: scale(1.1); }
.particle:nth-child(13) { left: 30%; animation-duration: 25s; animation-delay: -17s; transform: scale(0.65); }
.particle:nth-child(14) { left: 40%; animation-duration: 22s; animation-delay: -4s; transform: scale(1.35); }
.particle:nth-child(15) { left: 50%; animation-duration: 24s; animation-delay: -9s; transform: scale(0.85); }

/* Fourth row of particles */
.particle:nth-child(16) { left: 60%; animation-duration: 21s; animation-delay: -14s; transform: scale(1.15); }
.particle:nth-child(17) { left: 70%; animation-duration: 23s; animation-delay: -7s; transform: scale(0.75); }
.particle:nth-child(18) { left: 80%; animation-duration: 25s; animation-delay: -12s; transform: scale(1.25); }
.particle:nth-child(19) { left: 90%; animation-duration: 22s; animation-delay: -16s; transform: scale(0.55); }
.particle:nth-child(20) { left: 95%; animation-duration: 24s; animation-delay: -3s; transform: scale(1.45); }

/* Fifth row of particles */
.particle:nth-child(21) { left: 7%; animation-duration: 22s; animation-delay: -2s; transform: scale(0.85); }
.particle:nth-child(22) { left: 17%; animation-duration: 24s; animation-delay: -8s; transform: scale(1.3); }
.particle:nth-child(23) { left: 27%; animation-duration: 21s; animation-delay: -13s; transform: scale(0.7); }
.particle:nth-child(24) { left: 37%; animation-duration: 23s; animation-delay: -5s; transform: scale(1.2); }
.particle:nth-child(25) { left: 47%; animation-duration: 25s; animation-delay: -10s; transform: scale(0.9); }

/* Sixth row of particles */
.particle:nth-child(26) { left: 57%; animation-duration: 22s; animation-delay: -15s; transform: scale(1.4); }
.particle:nth-child(27) { left: 67%; animation-duration: 24s; animation-delay: -7s; transform: scale(0.65); }
.particle:nth-child(28) { left: 77%; animation-duration: 21s; animation-delay: -12s; transform: scale(1.25); }
.particle:nth-child(29) { left: 87%; animation-duration: 23s; animation-delay: -4s; transform: scale(0.8); }
.particle:nth-child(30) { left: 97%; animation-duration: 25s; animation-delay: -9s; transform: scale(1.35); }

/* Seventh row of particles */
.particle:nth-child(31) { left: 12%; animation-duration: 23s; animation-delay: -14s; transform: scale(0.95); }
.particle:nth-child(32) { left: 22%; animation-duration: 21s; animation-delay: -6s; transform: scale(1.15); }
.particle:nth-child(33) { left: 32%; animation-duration: 24s; animation-delay: -11s; transform: scale(0.75); }
.particle:nth-child(34) { left: 42%; animation-duration: 22s; animation-delay: -16s; transform: scale(1.3); }
.particle:nth-child(35) { left: 52%; animation-duration: 25s; animation-delay: -8s; transform: scale(0.85); }

/* Eighth row of particles */
.particle:nth-child(36) { left: 62%; animation-duration: 23s; animation-delay: -13s; transform: scale(1.2); }
.particle:nth-child(37) { left: 72%; animation-duration: 21s; animation-delay: -5s; transform: scale(0.7); }
.particle:nth-child(38) { left: 82%; animation-duration: 24s; animation-delay: -10s; transform: scale(1.25); }
.particle:nth-child(39) { left: 92%; animation-duration: 22s; animation-delay: -15s; transform: scale(0.6); }
.particle:nth-child(40) { left: 98%; animation-duration: 25s; animation-delay: -7s; transform: scale(1.4); }

@keyframes fall {
    0% {
        transform: translateY(-100vh) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-50vh) translateX(-50px) rotate(90deg);
    }
    50% {
        transform: translateY(0) translateX(50px) rotate(180deg);
    }
    75% {
        transform: translateY(50vh) translateX(-50px) rotate(270deg);
    }
    100% {
        transform: translateY(100vh) translateX(0) rotate(360deg);
    }
}

.container {
    position: relative;
    height: 100vh;
    width: 100%;
    z-index: 2;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 1200px;
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.logo {
    position: relative;
    flex-shrink: 0;
}

.logo img {
    width: min(80vw, 300px);
    height: auto;
    cursor: pointer;
    transform: rotate(0deg);
    transition: transform 0.1s linear;
}

.logo img:hover {
    filter: brightness(1.1);
}

.logo img.spinning {
    animation: spin 1s linear infinite;
}

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

.logo-text {
    color: #FDB515;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: bold;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.logo-text.left {
    text-align: right;
}

.logo-text.right {
    text-align: left;
}

h1, .subtext {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.typewriter-text {
    display: block;
    text-align: center;
    position: relative;
    transition: opacity 0.1s ease;
}

.subtext {
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    color: white;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* Typewriter cursor animation */
.cursor {
    animation: blink 1s infinite;
    color: #FDB515;
    font-weight: bold;
    display: inline;
    white-space: pre;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Scrolling Logo Strip */
.logo-strip {
    width: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(253, 181, 21, 0.2);
    border-bottom: 1px solid rgba(253, 181, 21, 0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
}

/* Fade out edges of logo strip */
.logo-strip::before,
.logo-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 3;
    pointer-events: none;
}

.logo-strip::before {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.logo-strip::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.logo-track {
    display: flex;
    align-items: center;
    animation: scroll-left 30s linear infinite;
    width: fit-content;
}

.logo-strip:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 auto;
    margin: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.logo-item img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: brightness(1.2);
}

.logo-item:hover img {
    opacity: 1;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--scroll-distance, -50%));
    }
}

/* Logo Strip Mobile Responsive */
@media (max-width: 768px) {
    .logo-strip {
        padding: 1rem 0;
        margin-top: 2rem;
    }
    
    .logo-strip::before,
    .logo-strip::after {
        width: 80px;
    }
    
    .logo-item {
        margin: 0 2rem;
        height: 50px;
    }
    
    .logo-item img {
        max-height: 40px;
        max-width: 100px;
    }
    
    .logo-track {
        animation: scroll-left 25s linear infinite;
    }
}

@media (max-width: 480px) {
    .logo-strip {
        padding: 1rem 0;
        margin-top: 1.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
    }
    
    .logo-strip::before,
    .logo-strip::after {
        width: 30px;
    }
    
    .logo-item {
        margin: 0 0.8rem;
        height: 40px;
    }
    
    .logo-item img {
        max-height: 35px;
        max-width: 80px;
    }
    
    .logo-track {
        animation: scroll-left 20s linear infinite;
    }
}

.contact-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #FDB515;
    background: none;
    border: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: bold;
    font-size: clamp(0.875rem, 2vw, 1.25rem);
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
}

.contact-btn:hover {
    transform: scale(1.1);
}

/* Desktop specific styles */
@media (min-width: 1024px) {
    .typewriter-text {
        width: 100%;
        max-width: none;
        white-space: nowrap;
    }
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 20px 5px;
    }
    
    .hero-section .container {
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        padding-top: 3rem;
    }

    .logo-container {
        flex-direction: column;
        gap: 0;
    }

    .logo-row {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .logo-text {
        line-height: 1;
        vertical-align: middle;
        margin: 0;
        padding: 0;
        font-size: clamp(1.3rem, 4vw, 2.2rem);
    }

    .logo-center {
        margin: 0;
        padding: 0;
    }

    .logo-text.left,
    .logo-text.right {
        flex: 0 0 auto !important;
    }
    
    .logo-text.left {
        text-align: right;
    }
    
    .logo-text.right {
        text-align: left;
    }

    .logo img {
        display: block;
        margin: 0;
        padding: 0;
        vertical-align: middle;
        width: min(50vw, 140px);
    }
    
    h1 {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Adjust particles for mobile */
    .particles {
        opacity: 0.7;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 1;
        pointer-events: none;
        overflow: visible;
    }
    
    /* Handle very small screens */
    body {
        overflow-y: auto;
    }

    /* Show more particles on mobile for full coverage */
    .particle:nth-child(n+16) {
        display: none;
    }
    
    /* Ensure particles cover full mobile viewport */
    .particle {
        will-change: transform;
    }
}

/* Add specific adjustments for very small screens */
@media (max-width: 480px) {
    .hero-section {
        padding: 70px 15px 5px;
    }
    
    .content {
        padding-top: 6.5rem;
    }
    
    .logo-row {
        gap: 0;
        max-width: 100%;
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .logo-text {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        flex: 0 0 auto;
        padding: 0;
        margin: 0;
    }
    .logo-text.left {
        text-align: right;
        margin-right: -0.5rem;
    }
    .logo-text.right {  
        text-align: left;
        margin-left: -0.5rem;
    }
    
    .logo-center {
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .logo img {
        width: min(45vw, 125px);
        max-width: 125px;
        margin: 0;
        padding: 0;
        display: block;
    }
    
    h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .typewriter-text {
        /* Height handled by JavaScript */
    }
    
    .subtext {
        font-size: clamp(1rem, 3vw, 1.2rem);
        line-height: 1.4;
    }
}

.center-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.center-on-logo {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: max-content;
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1.5rem;
    gap: 0;
}

.logo-text.left,
.logo-text.right {
    flex: 1 1 0;
    min-width: 0;
}

.logo-text.left {
    text-align: right;
}

.logo-text.right {
    text-align: left;
}

.logo-center {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Handle landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .logo-row {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
    
    .logo img {
        width: min(40vw, 160px);
    }
    
    .logo-text {
        font-size: clamp(1.7rem, 8vw, 2.5rem);
    }
    
    .logo-text.left {
        margin-right: -0.3rem;
    }
    
    .logo-text.right {
        margin-left: -0.3rem;
    }
    
    h1 {
        font-size: clamp(1.2rem, 4vw, 2rem);
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .typewriter-text {
        /* Height handled by JavaScript */
    }
    
    .subtext {
        font-size: clamp(0.7rem, 1.5vw, 1rem);
    }
    
    .particles {
        opacity: 0.5;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 1;
        pointer-events: none;
        overflow: visible;
    }
    
    /* Ensure adequate particle coverage on small screens */
    .particle:nth-child(n+13) {
        display: none;
    }
    
    /* Optimize particle animations for mobile */
    .particle {
        will-change: transform;
        transform: translateZ(0);
    }
    
    .logo-text {
        font-size: clamp(1rem, 3vw, 2rem);
    }
}

/* Ensure touch targets are large enough on mobile */
@media (hover: none) and (pointer: coarse) {
    .contact-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .container {
        touch-action: manipulation;
    }
}

/* Fix iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .container {
        height: -webkit-fill-available;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 0;
    border: 2px solid #fcb514;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(252, 181, 20, 0.3);
}

.modal-header {
    background-color: #fcb514;
    color: black;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.close {
    color: black;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    background: none;
    border: none;
    width: auto;
    height: auto;
}

.close:hover,
.close:focus {
    opacity: 0.7;
}

.contact-form {
    padding: 2rem 1.5rem;
    color: white;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #fcb514;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #333;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: white;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fcb514;
    box-shadow: 0 0 5px rgba(252, 181, 20, 0.3);
}

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

.submit-btn {
    width: 100%;
    background-color: #fcb514;
    color: black;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Montserrat', Arial, sans-serif;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.4s ease, background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: #e6a312;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 181, 20, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background-color: #666;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn:disabled:hover {
    background-color: #666;
    transform: none;
    box-shadow: none;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 5% auto;
        border-radius: 5px;
    }
    
    .contact-form {
        padding: 1rem;
    }
}

/* Success Popup Notification */
.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1a1a1a;
    border: 2px solid #fcb514;
    border-radius: 10px;
    padding: 2rem;
    color: white;
    font-family: 'Montserrat', Arial, sans-serif;
    box-shadow: 0 10px 30px rgba(252, 181, 20, 0.4);
    z-index: 15000;
    min-width: 300px;
    max-width: 90vw;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-popup.show {
    opacity: 1;
    visibility: visible;
}

.success-popup .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.success-popup .popup-title {
    color: #fcb514;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
    flex-grow: 1;
}

.success-popup .popup-close {
    color: #fcb514;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: 1rem;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.success-popup .popup-close:hover {
    opacity: 0.7;
}

.success-popup .popup-message {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.success-popup .popup-icon {
    color: #fcb514;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Popup backdrop */
.popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 14000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile responsiveness for popup */
@media (max-width: 480px) {
    .success-popup {
        padding: 1.5rem;
        min-width: 280px;
    }
    
    .success-popup .popup-title {
        font-size: 1.1rem;
    }
    
    .success-popup .popup-message {
        font-size: 0.9rem;
    }
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    border-bottom: 1px solid rgba(253, 181, 21, 0.2);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.scrolled .nav-container {
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FDB515;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.02em;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transform: translateX(-20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.scrolled .nav-logo {
    opacity: 1;
    width: auto;
    transform: translateX(0);
}

.nav-logo-icon {
    width: 0;
    height: 40px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.nav-logo-text {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* When scrolled past hero */
.navbar.scrolled .nav-logo-icon {
    width: 40px;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.navbar.scrolled .nav-logo-text {
    opacity: 1;
    transform: translateX(0);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4rem;
    margin: 0;
    padding: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
}

.navbar.scrolled .nav-menu {
    gap: 2rem;
    transform: translateX(0);
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FDB515;
}

.nav-link.active {
    color: #FDB515;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FDB515;
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

/* Hamburger menu button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: #FDB515;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger:nth-child(1) {
    top: 6px;
}

.hamburger:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.hamburger:nth-child(3) {
    bottom: 6px;
}

.nav-toggle-active .hamburger:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

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

.nav-toggle-active .hamburger:nth-child(3) {
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-45deg);
}

/* Mobile navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.5rem 1rem;
        justify-content: space-between;
    }
    
    .navbar.scrolled .nav-container {
        justify-content: space-between;
    }
    
    .nav-logo {
        font-size: 1.4rem;
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .navbar.scrolled .nav-logo {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-logo-icon {
        height: 30px;
    }
    
    .navbar.scrolled .nav-logo-icon {
        width: 30px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 50px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(253, 181, 21, 0.2);
        gap: 0;
        font-size: 0.9rem;
    }
    
    .nav-menu-active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding-top: 0; /* Remove extra padding */
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.4rem;
    }
    
    .hero-section {
        margin-bottom: -20vh;
    }
    
    .about-section {
        padding-top: 0.5rem;
    }
    
    .cta-section {
        margin-top: -15vh;
        padding-top: 0.5rem;
    }
    
    .why-section {
        padding-bottom: 4rem !important;
    }
    
    .features-grid {
        margin-bottom: 2.5rem;
    }
}

/* Main wrapper and sections */
.main-wrapper {
    position: relative;
    width: 100%;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0; /* Navigation is fixed, no need for margin */
}

.hero-section .container {
    position: relative;
    height: 100vh;
    width: 100%;
    z-index: 2;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #FDB515 0%, #ffcc00 100%);
    width: 0%;
    z-index: 10001;
    transition: width 0.1s ease;
}

/* Section styles */
section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.section-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 2rem;
    color: #FDB515;
    letter-spacing: 0.02em;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.4rem);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* About section */
.about-section {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.intro-text {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

.expertise-highlight {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(253, 181, 21, 0.1);
    border-radius: 10px;
    font-size: clamp(1rem, 2vw, 1.3rem);
}

.highlight-label {
    color: #FDB515;
    font-weight: bold;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.credentials-text {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
}

.credentials-text em {
    color: #FDB515;
    font-style: normal;
    font-weight: 600;
}

.services-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.services-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(253, 181, 21, 0.3);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.services-list li:hover {
    background: rgba(253, 181, 21, 0.1);
    border-color: #FDB515;
    transform: translateY(-2px);
}


/* Reference logos in about section */
.reference-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.reference-logo {
    height: 80px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.reference-logo.white {
    filter: none;
}

.reference-logo.original {
    filter: none;
    opacity: 0.9;
}

.reference-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Projects section */
.projects-section {
    background: #0a0a0a;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(253, 181, 21, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #FDB515;
    box-shadow: 0 10px 30px rgba(253, 181, 21, 0.2);
}

.project-logo {
    width: 180px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.project-card h3 {
    color: #FDB515;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.project-scale {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* Why section */
.why-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(253, 181, 21, 0.05);
    border: 1px solid rgba(253, 181, 21, 0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #FDB515;
    background: rgba(253, 181, 21, 0.1);
}

.feature-card h3 {
    color: #FDB515;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* CTA section */
.cta-section {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    text-align: center;
}

.cta-description {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: #FDB515;
    color: black;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: 'Montserrat', Arial, sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(253, 181, 21, 0.4);
    background: #ffcc00;
}

address {
    font-style: normal;
    color: #FDB515;
    font-size: 1.1rem;
}

/* Footer */
footer {
    position: relative;
    background: #000000;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(253, 181, 21, 0.2);
    z-index: 3;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.1rem;
}

.footer-right p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.footer-phone,
.footer-email {
    color: #FDB515;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-phone:hover,
.footer-email:hover {
    color: #ffcc00;
    text-decoration: none;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
}

.linkedin-link-footer {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.linkedin-link-footer:hover {
    transform: scale(1.15);
}

.linkedin-link-footer img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.linkedin-link-footer:hover img {
    opacity: 1;
}


/* Footer responsive design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    .footer-left {
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        font-size: 0.9rem;
        gap: 0.8rem;
    }
    
    .footer-separator {
        display: inline;
    }
    
    .linkedin-link-footer img {
        width: 20px;
        height: 20px;
    }
    
    .footer-right p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer-left {
        gap: 0.6rem;
        font-size: 0.85rem;
    }
}

/* Desktop spacing adjustments for last 3 elements */
@media (min-width: 769px) {
    .projects-section {
        margin-bottom: -12vh;
        padding-bottom: 1rem;
    }
    
    .why-section {
        margin-top: -8vh;
        margin-bottom: -12vh;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .cta-section {
        margin-top: -8vh;
        padding-top: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section {
        padding: 4rem 1rem;
        min-height: auto;
    }
    
    .hero-section {
        margin-bottom: 0;
        padding-bottom: 3rem;
    }
    
    .about-section {
        padding-top: 4rem;
        margin-top: 0;
    }
    
    .projects-section,
    .why-section {
        margin-top: 0;
        margin-bottom: 0;
        padding: 4rem 1rem;
    }
    
    .cta-section {
        margin-top: 2rem;
        margin-bottom: 0;
        padding: 4rem 1rem;
    }

    .reference-logos {
        gap: 2rem;
    }

    .reference-logo {
        width: 100px;
    }

    .project-grid {
        gap: 2rem;
    }

    .features-grid {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .why-section {
        padding-bottom: 3rem !important;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .services-list {
        gap: 1rem;
    }
    
    .services-list li {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}