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

html {
    height: -webkit-fill-available;
    overflow-x: hidden;
}

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

.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: 100%;
        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;
}

/* Placeholder for landscape mode - will be moved to end of file */

/* 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;
    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: none;
    min-height: 80px;
    overflow-y: hidden;
}

.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: 2rem auto;
        width: 90%;
        max-width: 90%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form {
        padding: 1.25rem 1rem;
    }

    .modal-header {
        padding: 0.875rem 1rem;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .form-group {
        margin-bottom: 0.875rem;
    }

    .form-group label {
        margin-bottom: 0.375rem;
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.95rem;
    }

    .form-group textarea {
        min-height: 70px;
    }

    .submit-btn {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 1rem auto;
        width: 95%;
        border-radius: 8px;
    }

    .contact-form {
        padding: 1rem 0.875rem;
    }

    .modal-header {
        padding: 0.75rem 0.875rem;
        border-radius: 6px 6px 0 0;
    }

    .modal-header h2 {
        font-size: 1.15rem;
    }
}

/* 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: #000000;
}

.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: #000000;
}

.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: #FDB515;
    margin-bottom: 0.5rem;
}

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

/* Blog section */
.blog-section {
    background: #000000;
    padding: 3rem 1rem; /* Reduced from 5rem */
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}

/* Removed golden tint overlay to match why-section background */

.blog-intro {
    text-align: center;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem; /* Reduced from 3.5rem */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Blog Carousel Container */
.blog-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 3.5rem;
    padding: 30px 80px; /* Increased padding for animations and shadows */
    overflow-x: hidden; /* Only hide horizontal overflow */
    overflow-y: visible; /* Allow vertical overflow for hover animations */
}

/* Fade edges for blog carousel */
.blog-carousel-container::before,
.blog-carousel-container::after {
    content: '';
    position: absolute;
    top: 30px; /* Match padding */
    bottom: 30px; /* Match padding */
    width: 80px; /* Match horizontal padding */
    pointer-events: none;
    z-index: 10;
}

.blog-carousel-container::before {
    left: 0;
    background: linear-gradient(90deg, 
        #000000 0%, 
        rgba(0, 0, 0, 0.9) 30%,
        rgba(0, 0, 0, 0.5) 70%,
        transparent 100%);
}

.blog-carousel-container::after {
    right: 0;
    background: linear-gradient(270deg, 
        #000000 0%, 
        rgba(0, 0, 0, 0.9) 30%,
        rgba(0, 0, 0, 0.5) 70%,
        transparent 100%);
}

/* Removed gradient fade effects to ensure scrolling works */

.blog-carousel {
    position: relative;
    width: 100%;
    min-height: 230px; /* Reduced to match card height */
    padding: 20px 0; /* Reduced padding */
    clip-path: inset(-20px -100vw -20px -100vw); /* Adjusted clip-path */
    z-index: 2; /* Above particles */
}

.blog-grid {
    display: flex;
    gap: 2rem;
    padding: 0 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    position: relative;
    align-items: center; /* Center cards vertically in the container */
}

/* Blog Card Styling - Only for landing page carousel */
.blog-carousel .blog-card-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    flex: 0 0 420px;
    max-width: 420px;
    transform-origin: center;
    transition: transform 0.3s ease;
}

/* Prevent text selection during drag */
.blog-carousel {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.blog-carousel * {
    -webkit-user-drag: none;
    user-drag: none;
}

/* Force hide all scrollbars in Safari */
.blog-carousel::-webkit-scrollbar,
.blog-carousel::-webkit-scrollbar-track,
.blog-carousel::-webkit-scrollbar-thumb,
.blog-carousel::-webkit-scrollbar-button,
.blog-carousel::-webkit-scrollbar-corner {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    -webkit-appearance: none !important;
}

/* Additional Safari fixes - removed overflow hidden */

/* Override any default link styles for landing page */
.blog-section a.blog-card-link {
    color: inherit !important;
    text-decoration: none !important;
}

.blog-card-wrapper {
    position: relative;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2; /* Above particles */
}

.blog-card-link:hover .blog-card-wrapper {
    transform: translateY(-8px) scale(1.02);
}

.blog-card {
    position: relative;
    height: 275px; /* Desktop height */
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(253, 181, 21, 0.2);
    background-color: #000000;
    z-index: 2; /* Above particles */
    isolation: isolate; /* Create a new stacking context */
}

.blog-card-link:hover .blog-card {
    box-shadow: 0 20px 60px rgba(253, 181, 21, 0.15), 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(253, 181, 21, 0.5);
}

/* Blog card overlay - using separate div for gradient */
.blog-card-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.2) 30%, 
        rgba(0, 0, 0, 0.8) 80%, 
        rgba(0, 0, 0, 0.95) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

/* Gradient overlay */
.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.2) 30%, 
        rgba(0, 0, 0, 0.8) 80%, 
        rgba(0, 0, 0, 0.95) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.blog-card-link:hover .blog-card::before {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.1) 30%, 
        rgba(0, 0, 0, 0.7) 80%, 
        rgba(0, 0, 0, 0.9) 100%);
}

/* Removed accent glow effect for pure black background */

.blog-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem; /* Reduced padding for smaller cards */
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateZ(0);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(253, 181, 21, 0.9);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 12px rgba(139, 99, 15, 0.6);
}

.blog-card-meta span {
    transition: color 0.3s ease;
}

.blog-card-link:hover .blog-card-meta {
    color: #FDB515;
}

.blog-card-title {
    font-size: clamp(1.1rem, 2vw, 1.3rem); /* Smaller font for compact cards */
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem; /* Less margin */
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.blog-card-link:hover .blog-card-title {
    color: #FDB515;
    text-shadow: 0 2px 8px rgba(253, 181, 21, 0.3);
}

.blog-card-teaser {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.25rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.blog-card-link:hover .blog-card-teaser {
    opacity: 1;
}

.read-more {
    color: #FDB515;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.blog-card-link:hover .read-more {
    gap: 0.8rem;
    opacity: 1;
    transform: translateX(3px);
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(253, 181, 21, 0.3);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20; /* Above fade edges */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
}

.carousel-arrow:hover {
    background: rgba(253, 181, 21, 0.15);
    border-color: rgba(253, 181, 21, 0.6);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(253, 181, 21, 0.2);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
    fill: #FDB515;
    transition: transform 0.3s ease;
}

.carousel-arrow:hover svg {
    transform: scale(1.1);
}

.carousel-arrow.prev:hover svg {
    transform: translateX(-2px);
}

.carousel-arrow.next:hover svg {
    transform: translateX(2px);
}

.carousel-arrow.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-arrow.disabled:hover {
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(253, 181, 21, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-arrow.disabled svg {
    opacity: 0.5;
}

.blog-cta {
    text-align: center;
    margin-top: 3.5rem;
}

.blog-all-link {
    display: inline-block;
    position: relative;
    color: #FDB515;
    background: rgba(253, 181, 21, 0.05);
    border: 2px solid rgba(253, 181, 21, 0.5);
    padding: 1.1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.blog-all-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FDB515;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.blog-all-link:hover {
    color: #000;
    border-color: #FDB515;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(253, 181, 21, 0.25);
}

.blog-all-link:hover::before {
    width: 100%;
}

.blog-all-link:active {
    transform: translateY(-1px) scale(0.98);
}

/* Blog Loading Skeleton */
.blog-card-skeleton {
    flex: 0 0 420px;
    max-width: 420px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background: #000000;
    border: 1px solid rgba(253, 181, 21, 0.1);
    position: relative;
}

.skeleton-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
}

.skeleton-meta,
.skeleton-title,
.skeleton-excerpt,
.skeleton-link {
    background: linear-gradient(90deg, 
        rgba(253, 181, 21, 0.05) 25%, 
        rgba(253, 181, 21, 0.1) 50%, 
        rgba(253, 181, 21, 0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-meta {
    height: 16px;
    width: 180px;
    margin-bottom: 1rem;
}

.skeleton-title {
    height: 32px;
    width: 100%;
    margin-bottom: 0.75rem;
}

.skeleton-excerpt {
    height: 48px;
    width: 100%;
    margin-bottom: 1.25rem;
}

.skeleton-link {
    height: 20px;
    width: 120px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Why section */
.why-section {
    background: #000000;
}

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

.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;
    display: flex;
    flex-direction: column;
}

.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: block;
    text-align: center;
    line-height: 2rem;
}

.feature-card h3 .desktop-br {
    display: block;
}

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

/* CTA section */
.cta-section {
    background: #000000;
    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;
}


/* Mobile styles for blog carousel */
@media (max-width: 480px) {
    .blog-section {
        padding: 3rem 0; /* Full width on mobile */
    }
    
    .blog-intro {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 1rem; /* Add padding only to intro text */
    }
    
    .blog-carousel-container {
        padding: 0; /* Remove padding for full width */
        margin: 0;
        overflow: hidden;
    }
    
    /* Hide fade edges on mobile */
    .blog-carousel-container::before,
    .blog-carousel-container::after {
        display: none;
    }
    
    .blog-carousel {
        padding: 20px 0;
        overflow: visible;
        clip-path: none; /* Remove clip-path on mobile */
        min-height: 280px; /* Ensure height for card + padding */
    }
    
    .blog-card-link {
        flex: 0 0 calc(100vw - 30px); /* Keep original card width */
        max-width: calc(100vw - 30px);
    }
    
    .blog-grid {
        gap: 20px; /* Keep original gap */
        padding: 0;
    }
    
    .blog-card {
        height: 260px !important; /* Much taller to show full title */
    }
    
    .blog-card-content {
        padding: 2rem 1.75rem; /* More padding for breathing room */
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center vertically */
    }
    
    .blog-card-title {
        font-size: 1.25rem; /* Larger for better readability */
        line-height: 1.3;
        margin-bottom: 0.75rem;
        -webkit-line-clamp: 3; /* Allow 3 lines for title */
    }
    
    .blog-card-meta {
        font-size: 0.7rem; /* Smaller for less emphasis */
        margin-bottom: 1rem;
        opacity: 0.8;
    }
    
    .blog-card-teaser {
        font-size: 0.95rem; /* More readable */
        line-height: 1.5;
        -webkit-line-clamp: 3; /* Show more content */
    }
    
    .read-more {
        display: none; /* Hide on mobile to save space */
    }
    
    .carousel-arrow {
        display: none; /* Hide arrows on mobile */
    }
    
    .blog-all-link {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
    
    .blog-card-skeleton {
        flex: 0 0 calc(100vw - 100px);
        max-width: calc(100vw - 100px);
        height: 240px;
    }
    
    .skeleton-content {
        padding: 1.5rem;
    }
    
    .skeleton-meta {
        height: 14px;
        width: 140px;
    }
    
    .skeleton-title {
        height: 28px;
    }
    
    .skeleton-excerpt {
        height: 40px;
    }
    
    .skeleton-link {
        height: 18px;
        width: 100px;
    }
}

/* Footer responsive design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        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;
    }
}

/* Tablet portrait specific footer fix */
@media (min-width: 600px) and (max-width: 768px) and (orientation: portrait) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .footer-left {
        justify-content: flex-start;
        font-size: 0.85rem;
    }
    
    .footer-right {
        text-align: right;
    }
    
    .footer-right p {
        font-size: 0.75rem !important;
        white-space: nowrap;
    }
}

@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: 3rem 1rem;
        min-height: auto;
    }

    section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    /* Blog section responsive */
    .blog-section {
        padding: 3rem 1rem;
    }
    
    .blog-intro {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .blog-section {
        overflow-x: hidden;
    }
    
    .blog-carousel-container {
        padding: 15px 0;
        margin: 0 -1rem;
        width: calc(100% + 2rem);
        max-width: none;
    }
    
    /* Adjust fade edges for tablet */
    .blog-carousel-container::before,
    .blog-carousel-container::after {
        width: 20px; /* Match tablet padding */
    }
    
    .blog-carousel {
        margin: 0;
        padding: 20px 20px; /* Add vertical padding on mobile too */
        min-height: 220px; /* Use min-height for flexibility */
    }
    
    .blog-carousel .blog-card-link {
        flex: 0 0 85vw;
        max-width: 85vw;
    }
    
    /* Keep arrows visible but smaller */
    .carousel-arrow {
        width: 45px;
        height: 45px;
    }
    
    .blog-card {
        height: 160px; /* Smaller on tablet */
    }
    
    .blog-card-content {
        padding: 2rem;
    }
    
    .blog-card-title {
        font-size: 1.3rem;
        -webkit-line-clamp: 3;
    }
    
    .blog-card-meta {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .blog-card-teaser {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
        margin-bottom: 1rem;
    }
    
    .read-more {
        font-size: 0.85rem;
    }
    
    .carousel-arrow {
        width: 45px;
        height: 45px;
    }
    
    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .blog-all-link {
        padding: 0.9rem 2.2rem;
        font-size: 0.95rem;
    }
    
    .blog-card-skeleton {
        flex: 0 0 calc(100vw - 120px);
        max-width: calc(100vw - 120px);
        height: 280px;
    }
    
    .skeleton-content {
        padding: 2rem;
    }
    
    .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: 2.5rem 1rem;
    }

    .cta-section {
        margin-top: 2rem;
        margin-bottom: 0;
        padding: 3rem 1rem;
    }

    .reference-logos {
        gap: 2rem;
    }

    .reference-logo {
        width: 100px;
    }

    .project-grid {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-logo {
        margin-bottom: 1.25rem;
    }

    .project-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .project-scale {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .project-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .features-grid {
        gap: 1.5rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
        min-height: auto;
    }

    .feature-card h3 .desktop-br {
        display: none;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .why-section {
        padding-bottom: 2.5rem !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;
    }
}

/* Large displays (1440p and up) */
@media (min-width: 1440px) {
    section {
        min-height: 85vh;
        padding: 5rem 3rem;
    }
    
    .container {
        max-width: 1200px;
    }
    
    /* Blog section specific overrides */
    .blog-section {
        padding: 5rem 2rem;
    }
    
    .blog-section .container,
    .blog-section .section-container {
        max-width: 80% !important;
        width: 80% !important;
    }
    
    .blog-carousel-container {
        max-width: 100% !important;
        padding: 30px 40px;
    }
    
    .blog-carousel-container::before,
    .blog-carousel-container::after {
        width: 40px !important;
    }
    
    .carousel-arrow.prev {
        left: 50px !important;
    }
    
    .carousel-arrow.next {
        right: 50px !important;
    }
    
    .blog-carousel .blog-card-link {
        flex: 0 0 480px !important;
        max-width: 480px !important;
    }
    
    /* Reduce section overlaps */
    .projects-section {
        margin-bottom: -8vh;
    }
    
    .why-section {
        margin-top: -5vh;
        margin-bottom: -8vh;
    }
    
    .cta-section {
        margin-top: -5vh;
    }
}

/* Ultra-wide displays (2560px and up) */
@media (min-width: 2560px) {
    section {
        min-height: 80vh;
        padding: 6rem 4rem;
    }
    
    .container {
        max-width: 1600px;
    }
    
    .project-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        max-width: 1600px;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1600px;
    }
    
    /* Blog section specific overrides */
    .blog-section {
        padding: 6rem 2rem;
    }
    
    .blog-section .container,
    .blog-section .section-container {
        max-width: 65% !important;
        width: 65% !important;
    }
    
    .blog-carousel-container {
        max-width: 100% !important;
        padding: 30px 30px;
    }
    
    .blog-carousel-container::before,
    .blog-carousel-container::after {
        width: 30px !important;
    }
    
    .carousel-arrow.prev {
        left: 40px !important;
    }
    
    .carousel-arrow.next {
        right: 40px !important;
    }
    
    .blog-carousel .blog-card-link {
        flex: 0 0 520px !important;
        max-width: 520px !important;
    }
    
    /* Fix services list to single row */
    .services-list {
        flex-wrap: nowrap;
        gap: 2rem;
    }
    
    /* Make blog cards taller to fit content */
    .blog-card {
        height: 280px;
    }
    
    /* Don't scale up footer text */
    footer {
        font-size: 1rem;
    }
}

/* TABLET LANDSCAPE MODE (iPad, etc.) */
@media (orientation: landscape) and (min-height: 600px) and (max-height: 850px) {
    /* Blog section fix for tablet landscape */
    .blog-section {
        padding-bottom: 4rem !important;
    }
    
    .blog-cta {
        padding-bottom: 2rem !important;
    }
}

/* PHONE LANDSCAPE MODE - MUST BE LAST TO OVERRIDE ALL OTHER MEDIA QUERIES */
@media (orientation: landscape) and (max-height: 600px) {
    /* Hero section adjustments */
    .hero-section {
        min-height: auto !important;
        height: auto !important;
        padding: 60px 20px 40px !important;
        margin-bottom: 3rem !important;
    }
    
    .hero-section .container {
        height: auto !important;
        min-height: calc(100vh - 100px) !important;
    }
    
    .content {
        padding-top: 2rem !important;
        position: relative !important;
        top: auto !important;
        transform: none !important;
    }
    
    .logo-row {
        flex-direction: row;
        align-items: center;
        gap: 0;
        margin-bottom: 1.5rem !important;
    }
    
    .logo img {
        width: min(35vw, 160px) !important;
        height: auto !important;
    }
    
    .logo-text {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    }
    
    .logo-text.left {
        margin-right: -0.5rem;
    }
    
    .logo-text.right {
        margin-left: -0.5rem;
    }
    
    h1 {
        font-size: clamp(1.3rem, 3.5vw, 1.8rem);
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .subtext {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }
    
    .particles {
        opacity: 0.3;
    }
    
    .particle:nth-child(n+10) {
        display: none;
    }
    
    /* Logo strip specific fix */
    .logo-strip {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        padding: 1rem 0 !important;
    }
    
    /* About/Expertise section spacing and fonts */
    .about-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        margin-top: 0 !important;
    }
    
    .about-content p,
    .intro-text,
    .credentials-text {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    .expertise-highlight {
        font-size: 0.9rem !important;
        padding: 0.8rem !important;
    }
    
    .highlight-label {
        font-size: 1.3rem !important;
    }
    
    /* Project cards with better logo handling */
    .project-grid,
    .features-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(200px, 300px)) !important;
        justify-content: center !important;
        gap: 1rem !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        margin: 1.5rem auto !important;
    }
    
    .project-card,
    .feature-card {
        width: 100% !important;
        max-width: 300px !important;
        min-width: 200px !important;
        min-height: 180px !important;
        max-height: 220px !important;
        padding: 1rem !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        overflow: hidden !important;
    }
    
    /* Fix project logos */
    .project-logo {
        width: auto !important;
        max-width: 140px !important;
        height: 45px !important;
        object-fit: contain !important;
        margin: 0 auto 0.7rem !important;
        display: block !important;
    }
    
    .project-card h3,
    .feature-card h3 {
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
        min-height: auto !important;
    }
    
    .project-card .project-scale {
        font-size: 1.2rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .project-card .project-description,
    .feature-card p {
        font-size: 0.9rem !important;
        line-height: 1.35 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
    }
    
    /* Blog carousel cards in landscape */
    .blog-carousel .blog-card-link {
        flex: 0 0 280px !important;
        max-width: 280px !important;
    }
    
    .blog-card {
        height: 200px !important;
        max-width: 280px !important;
    }
    
    .blog-card-content {
        padding: 1rem !important;
    }
    
    .blog-card-title {
        font-size: 1rem !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 0.3rem !important;
    }
    
    .blog-card-meta {
        font-size: 0.65rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .blog-card-teaser {
        font-size: 0.8rem !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Sections in landscape */
    section {
        padding: 2rem 1rem !important;
        min-height: auto !important;
    }
    
    .section-container {
        max-width: 100% !important;
    }
    
    section h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .section-description {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Hide less important elements to save space */
    .read-more {
        display: none !important;
    }
    
    .services-list {
        gap: 0.5rem !important;
    }
    
    .services-list li {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.7rem !important;
    }
    
    /* Reference logos in about section */
    .reference-logos {
        gap: 1.5rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .reference-logo {
        height: 50px !important;
        max-width: 120px !important;
    }
    
    /* Blog section fixes */
    .blog-section {
        padding-bottom: 3rem !important;
    }
    
    .blog-intro {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
    }
    
    .blog-cta {
        margin-top: 2rem !important;
        padding-bottom: 1rem !important;
    }
    
    /* CTA section and footer fixes */
    .cta-section {
        padding-bottom: 3rem !important;
        margin-bottom: 0 !important;
    }
    
    .cta-description {
        font-size: 0.95rem !important;
    }
    
    .cta-button {
        margin-bottom: 1.5rem !important;
    }
    
    address {
        font-size: 0.65rem !important;
    }
    
    footer {
        padding: 1.5rem 1rem !important;
    }
    
    .footer-content {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    
    .footer-left {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    
    .footer-right p {
        margin: 0 !important;
        white-space: nowrap !important;
    }
}

/* Statistics Section */
.stats-section {
    background: #000000;
    padding: 6rem 2rem;
}

.stats-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-text {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.4;
    color: white;
    margin: 0;
}

.stat-line {
    display: inline;
}

.counter-box {
    display: inline-block;
    background: linear-gradient(135deg, #FDB515 0%, #FF8C00 100%);
    color: black;
    font-weight: 700;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 0 0.5rem;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(253, 181, 21, 0.3);
    transition: all 0.3s ease;
    will-change: transform;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.counter-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 181, 21, 0.4);
}

/* Desktop Large Screens */
@media (min-width: 1440px) {
    .stats-section {
        padding: 8rem 2rem;
    }
    
    .stat-text {
        font-size: 2.2rem;
    }
    
    .counter-box {
        font-size: 2.4rem;
        padding: 0.6rem 1.2rem;
        min-width: 200px;
    }
}

/* Desktop Ultrawide */
@media (min-width: 2560px) {
    .stats-section {
        padding: 10rem 2rem;
    }
    
    .stats-content {
        max-width: 1000px;
    }
    
    .stat-text {
        font-size: 2.6rem;
    }
    
    .counter-box {
        font-size: 2.8rem;
        padding: 0.7rem 1.4rem;
        min-width: 220px;
    }
}

/* Tablets Portrait */
@media (min-width: 600px) and (max-width: 768px) and (orientation: portrait) {
    .stats-section {
        padding: 4rem 1.5rem;
    }
    
    .stat-text {
        font-size: 1.5rem;
    }
    
    .counter-box {
        font-size: 1.6rem;
        padding: 0.4rem 0.8rem;
        min-width: 100px;
    }
}

/* Tablets Landscape */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .stats-section {
        padding: 4rem 2rem;
    }
    
    .stat-text {
        font-size: 1.6rem;
    }
    
    .counter-box {
        font-size: 1.7rem;
        padding: 0.4rem 0.9rem;
        min-width: 110px;
    }
}

/* Mobile Phones Portrait */
@media (max-width: 480px) {
    .stats-section {
        padding: 3rem 1rem;
    }
    
    .stats-content {
        gap: 2.5rem;
    }
    
    .stat-item {
        position: relative;
    }
    
    .stat-text {
        font-size: 1.1rem;
        line-height: 1.6;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .stat-line {
        display: block;
        text-align: center;
    }
    
    .counter-box {
        font-size: 1.4rem;
        padding: 0.4rem 0.8rem;
        min-width: 110px;
        margin: 0;
        display: inline-block;
        font-variant-numeric: tabular-nums;
    }
}

/* Mobile Phones Landscape */
@media (orientation: landscape) and (max-height: 600px) {
    .stats-section {
        padding: 2rem 1rem;
    }
    
    .stats-content {
        gap: 2rem;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 1;
        min-width: 300px;
    }
    
    .stat-text {
        font-size: 1rem;
        display: inline;
    }
    
    .stat-line {
        display: inline;
    }
    
    .counter-box {
        font-size: 1.1rem;
        padding: 0.3rem 0.5rem;
        min-width: 90px;
        font-variant-numeric: tabular-nums;
    }
}

/* Resources Section */
.resources-section {
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
}

.resources-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.resource-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.resource-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(253, 181, 21, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(253, 181, 21, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(253, 181, 21, 0.1);
}

.resource-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, rgba(253, 181, 21, 0.2), rgba(253, 181, 21, 0.1));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.resource-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.resource-tag {
    background: rgba(253, 181, 21, 0.1);
    color: #FDB515;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
}

.coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    opacity: 1;
}

.coming-soon-text {
    color: #FDB515;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Resources Section - Responsive */
@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .resources-section {
        padding: 2.5rem 1rem;
    }

    .resources-intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .resource-card {
        padding: 1.25rem;
    }

    .resource-title {
        font-size: 1.1rem;
    }

    .resource-description {
        font-size: 0.85rem;
    }
}