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

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f4e7c6;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body.loading {
    overflow: hidden;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-circle-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-video-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: transparent;
}

.loading-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.loading-rotating-line {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #5C3A21;
    border-right-color: #5C3A21;
    z-index: 1;
    animation: rotateLine 4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

@keyframes rotateLine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(270deg);
    }
}

#navbar1 {
    background: rgba(250, 243, 225, 0.95) !important; 
    height: 60px;
    opacity: 1.05;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #faf3e1;
    color: #000000;
    overflow-x: hidden;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 10;
}

.logo {
    position: fixed;
    top: 10px;
    left: 16px;
    z-index: 101;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px 32px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 64px;
    z-index: 100;
    background: rgba(250, 243, 225, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo img,
.logo-video {
    width: 90px;
    height: 90px;
    object-fit: contain;
    /* filter: invert(1); */
}

.logo-video {
    display: block;
}

.logo-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 40px;
    position: relative;
    padding-bottom: 12px;
    margin-left: auto;
    z-index: 150;
}

.nav-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #BCB3A7;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    border: 1px solid #BCB3A7;
    border-radius: 10px;
    background: rgba(250, 243, 225, 0.95);
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    z-index: 160;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #000;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-menu a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

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

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

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

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 50px;
    will-change: transform, opacity;
}

.hero-title {
    font-size: clamp(40px, 10vw, 120px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -3px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(100px);
    animation: fadeUpHero 1.5s ease forwards 0.5s;
    color: #FA6413;
    will-change: transform, opacity;
}

.hero-subtitle {
    font-size: 18px;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-top: 30px;
    opacity: 0;
    animation: fadeUp 1.5s ease forwards 0.8s;
    color: #000;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeUpIndicator 1.5s ease forwards 1.2s;
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 0.5px; */
    color: #000;
    animation: slowBlink 2s ease-in-out infinite;
}

.scroll-arrows svg {
    width: 30px;
    height: 20px;
}

.scroll-line {
    width: 5px;
    height: 60px;
    background: linear-gradient(to bottom, #6D2B07, transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes slowBlink {
    0%, 100% { 
        opacity: 1; 
    }
    50% { 
        opacity: 0.3; 
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUpHero {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* previously defined stack/glitch animations removed when hero title simplified */

@keyframes fadeUpIndicator {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Static Circle Container */
.static-circle-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.static-circle-container.visible {
    opacity: 1.05;
}

.static-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    /* background: rgba(244 231 198 / 0.38); */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.static-circle-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 50%;
}

.section {
    min-height: 100vh;
    padding: 150px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: clamp(30px, 6vw, 80px);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: #FA6515;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    text-align: center;
    margin-bottom: 100px;
}


.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #000;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.about-metrics {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 50px;
}

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

.metric-number {
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    color: #ff6d1f;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
}

/* Why Choose Us Section */
.why-choose-us {
    margin-top: 100px;
    text-align: center;
}

.why-choose-title {
    color: #ff6d1f;
    margin-bottom: 30px;
}

.why-choose-tagline {
    font-size: 20px;
    font-style: italic;
    color: #000;
    margin-bottom: 15px;
}

.why-choose-text {
    font-size: 16px;
    color: #000;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-choose-item {
    text-align: left;
    padding: 30px;
    /* border: 1px solid #8b6f47; */
    transition: all 0.5s;
    background: rgba(255, 255, 255, 0.5);
}

.why-choose-item:hover {
    background: rgba(94 67 53 / 0.23);
    /* border: 1px solid #8b6f47; */
    transition-timing-function: ease-in-out;
    /* transform: translateY(-10px); */
    scale: 1.05;
    border-radius: 20px;
}

.why-choose-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 109, 31, 0.15);
    border: 1px solid #8b6f47;
    color: #752C05;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    border-radius: 50px;
}

.why-choose-item-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #52301E;
}

.why-choose-item-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #000;
}

/* Services Tabs */
.services-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 50px;
    border-bottom: 2px solid #8b6f47;
    justify-content: center;
}

.service-tab {
    /* background: rgba(94, 67, 53, 0.1); */
    border: none;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    padding: 5px 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.service-tab:hover {
    color: #6F432B;
    background: rgba(94, 67, 53, 0.15);
}

.service-tab.active {
    color: #68432F;
    background: rgba(94, 67, 53, 0.2);
}

.service-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #865941;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.service-card {
    padding: 50px 40px;
    /* border: 1px solid #8b6f47; */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 109, 31, 0.1);
    opacity: 0;
    transition: opacity 0.5s;
}

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

.service-card:hover {
    transform: translateY(-20px);
    /* border-color: #8b6f47; */
    background: rgba(103 78 65 / 0.15);
    scale: 1.05;
    border-radius: 20px;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background-color: rgba(255, 109, 31, 0.15);
    /* border: 1px solid #8b6f47; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 24px;
}

.service-icon {
    color: #73462D;
    font-size: 24px;
}

.service-icon-code {
    font-family: monospace;
    font-size: 20px;
}

.service-number {
    font-size: 14px;
    opacity: 0.4;
    margin-bottom: 30px;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5E3017;
}

.service-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #000;
    margin-bottom: 20px;
}

.service-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-points li {
    font-size: 14px;
    line-height: 1.8;
    color: #000;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.service-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #773E1F;
    font-weight: bold;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.work-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 109, 31, 0.1) 100%);
    /* border: 1px solid #8b6f47; */
    position: relative;
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.work-item:hover .work-image {
    transform: scale(1.05);
}

/* School Slideshow */
.school-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.school-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.school-slide:nth-child(1) {
    animation: schoolSlideShow1 4s infinite;
}

.school-slide:nth-child(2) {
    animation: schoolSlideShow2 4s infinite;
}

@keyframes schoolSlideShow1 {
    0% {
        opacity: 1;
    }
    48% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    98% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes schoolSlideShow2 {
    0% {
        opacity: 0;
    }
    48% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    98% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Corporate Slideshow */
.corporate-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.corporate-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.corporate-slide:nth-child(1) {
    animation: corporateSlideShow1 4s infinite;
}

.corporate-slide:nth-child(2) {
    animation: corporateSlideShow2 4s infinite;
}

@keyframes corporateSlideShow1 {
    0% {
        opacity: 1;
    }
    48% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    98% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes corporateSlideShow2 {
    0% {
        opacity: 0;
    }
    48% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    98% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
}

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

.work-info {
    padding: 30px 0;
}

.work-title {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #75452B;
}

.work-category {
    font-size: 14px;
    color: #000;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(40px, 8vw, 100px);
    font-weight: 700;
    letter-spacing: -3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #FB6616;
}

.contact-arrow {
    display: inline-block;
    margin-left: 10px;
}

.contact-subtitle {
    font-size: 16px;
    color: #000;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #8b6f47;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: left;
    opacity: 1.05;
}

.contact-form-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5B3823;
}

.contact-select,
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #8b6f47;
    border-radius: 8px;
    color: #000;
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.contact-select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #653B24;
}

.contact-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    background: #5E3621;
    color: #faf3e1;
    border: 1px solid #8b6f47;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.contact-submit-btn:hover {
    background: #FF6F00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 109, 31, 0.4);
}

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

.contact-submit-btn.is-loading {
    opacity: 0.9;
    pointer-events: none;
}

.contact-submit-btn.is-loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #faf3e1;
    border-top-color: transparent;
    border-radius: 50%;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    animation: contact-btn-spin 0.8s linear infinite;
}

@keyframes contact-btn-spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.contact-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

.contact-alternative {
    margin-bottom: 40px;
}

.contact-alternative-text {
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
}

.contact-email-link {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 24px;
    }

    .header {
        padding: 20px 24px;
    }

    .logo {
        left: 16px;
    }

    .hero-title {
        font-size: clamp(32px, 6vw, 48px);
    }

    .hero-subtitle {
        font-size: clamp(16px, 3vw, 22px);
    }

    .section {
        padding: 60px 20px;
    }

    .services-grid,
    .why-choose-grid,
    .works-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .static-circle {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 900px) {
    .header {
        justify-content: flex-start;
        padding: 14px 16px;
        width: 100%;
        box-sizing: border-box;
        gap: 12px;
    }

    .logo {
        left: 12px;
        top: 12px;
        transform: scale(0.8);
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
        z-index: 300;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 16px;
        background: rgba(250, 243, 225, 0.98);
        border: 1px solid #BCB3A7;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        padding: 14px 16px 12px;
        flex-direction: column;
        gap: 12px;
        min-width: 200px;
        display: none;
        transform: translateY(-6px);
        font-size: 13px;
        z-index: 250;
    }

    .nav-menu::after {
        display: none;
    }

    .nav-menu.is-open {
        display: flex;
        transform: translateY(0);
    }

    .hero {
        text-align: center;
        padding: 120px 16px 40px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: clamp(14px, 4vw, 18px);
    }

    .services-grid,
    .why-choose-grid,
    .works-grid {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 40px 16px;
    }

    .static-circle-container {
        right: 12px;
        bottom: 12px;
    }

    .static-circle {
        width: 96px;
        height: 96px;
    }
}

.contact-email-link:hover {
    color: #FF5900;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 70px;
    height: 48px;
    background: rgba(57 41 36 / 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgb(251 119 3);
    border-color: rgba(255 255 255 / 0.86);
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.footer {
    padding: 50px;
    text-align: center;
    border-top: 1px solid #8b6f47;
}

.footer-text {
    font-size: 14px;
    color: #000;
    letter-spacing: 2px;
}

.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.2s, opacity 0.2s;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    mix-blend-mode: difference;
}

.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .header {
        padding: 20px;
    }

    .nav-menu {
        display: none;
    }

    .section {
        padding: 100px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-tabs {
        flex-direction: column;
        border-bottom: none;
    }

    .service-tab {
        border-bottom: 2px solid rgba(255,255,255,0.1);
        padding: 15px 20px;
        text-align: left;
    }

    .service-tab.active::after {
        display: none;
    }

    .service-tab.active {
        border-bottom-color: #fdd023;
    }

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

    .works-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-title {
        font-size: clamp(30px, 8vw, 60px);
    }
}


/* Root + layout */
.esrv-body-root {
margin: 0;
min-height: 100vh;
background-color: #050505;
color: #f5f5dc;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.esrv-page-shell {
min-height: 100vh;
background-color: #050505;
}

/* Navbar (placeholder styling) */
#esrv-navbar {
position: sticky;
top: 0;
z-index: 40;
background: rgba(5, 5, 5, 0.95);
border-bottom: 1px solid #151515;
backdrop-filter: blur(10px);
}

.esrv-navbar-inner {
max-width: 72rem;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.85rem 1.5rem;
}

.esrv-navbar-logo {
font-size: 1rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}

.esrv-navbar-links {
display: flex;
gap: 1rem;
}

.esrv-nav-link {
font-size: 0.875rem;
text-decoration: none;
color: #d1d1c0;
opacity: 0.85;
transition: opacity 0.2s ease, transform 0.2s ease;
}

.esrv-nav-link:hover {
opacity: 1;
transform: translateY(-1px);
}

.esrv-nav-link-active {
color: #fdd023;
opacity: 1;
}

/* Sections */
.esrv-section-padding {
padding: 8rem 1.5rem 3rem;
}

.esrv-max-width {
max-width: 72rem;
margin: 0 auto;
}

/* Hero */
.esrv-hero-zone {
padding-top: 8rem;
padding-bottom: 3rem;
}

.esrv-hero-title {
font-size: 2.5rem;
font-weight: 800;
letter-spacing: -0.03em;
margin: 0;
}

@media (min-width: 640px) {
.esrv-hero-title {
font-size: 3rem;
}
}

@media (min-width: 768px) {
.esrv-hero-title {
font-size: 3.75rem;
}
}

.esrv-hero-highlight {
color: #fdd023;
}

.esrv-hero-subtext {
margin-top: 1.25rem;
max-width: 44rem;
font-size: 1.05rem;
color: #b8b8a0;
}

.esrv-hero-cta-wrap {
margin-top: 2rem;
}

.esrv-hero-cta-btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background-color: #fdd023;
color: #000;
font-weight: 600;
padding: 0.75rem 1.5rem;
border-radius: 0.9rem;
text-decoration: none;
transform: translateZ(0);
transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.esrv-hero-cta-btn:hover {
transform: scale(1.02);
}

.esrv-hero-cta-btn:active {
transform: scale(0.99);
}

/* Services grid */
.esrv-services-zone {
padding-top: 0;
padding-bottom: 5rem;
}

.esrv-services-grid {
display: grid;
gap: 1.5rem;
}

@media (min-width: 640px) {
.esrv-services-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (min-width: 1024px) {
.esrv-services-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

.esrv-service-card {
border-radius: 1.1rem;
border: 1px solid #1a1a1a;
background-color: #0b0b0b;
padding: 1.5rem;
transition:
border-color 0.25s ease,
transform 0.25s ease,
box-shadow 0.25s ease;
}

.esrv-service-card:hover {
border-color: rgba(253, 208, 35, 0.4);
transform: translateY(-2px);
}

.esrv-service-icon-box {
width: 3rem;
height: 3rem;
border-radius: 0.7rem;
background-color: rgba(253, 208, 35, 0.1);
color: #fdd023;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
}

.esrv-service-title {
margin-top: 1rem;
margin-bottom: 0;
font-size: 1.1rem;
font-weight: 700;
color: #f5f5dc;
}

.esrv-service-desc {
margin-top: 0.55rem;
font-size: 0.9rem;
color: #b8b8a0;
}

.esrv-service-points {
margin-top: 1rem;
padding-left: 1.25rem;
list-style-type: disc;
font-size: 0.9rem;
color: #d7d7c1;
}

.esrv-service-points li + li {
margin-top: 0.25rem;
}

/* CTA section */
.esrv-cta-zone {
padding-top: 0;
padding-bottom: 7rem;
}

.esrv-cta-card {
border-radius: 1.25rem;
border: 1px solid #1a1a1a;
background: radial-gradient(circle at top left, #111 0, #050505 45%, #050505 100%);
padding: 2rem 1.75rem;
text-align: center;
}

@media (min-width: 640px) {
.esrv-cta-card {
padding: 3rem;
}
}

.esrv-cta-title {
margin: 0;
font-size: 1.5rem;
font-weight: 800;
}

@media (min-width: 640px) {
.esrv-cta-title {
font-size: 1.8rem;
}
}

.esrv-cta-text {
margin-top: 0.75rem;
color: #b8b8a0;
}

.esrv-cta-btn-wrap {
margin-top: 1.5rem;
}

.esrv-cta-outline-btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
border-radius: 0.9rem;
border: 1px solid #fdd023;
color: #fdd023;
text-decoration: none;
font-size: 0.95rem;
transition:
background-color 0.2s ease,
color 0.2s ease,
transform 0.15s ease;
}

.esrv-cta-outline-btn:hover {
background-color: #fdd023;
color: #000;
transform: translateY(-1px);
}

/* Footer */
.esrv-footer-bar {
border-top: 1px solid #2b2b2b;
padding: 2.5rem 1rem;
text-align: center;
font-size: 0.75rem;
color: #6b6b6b;
background-color: #050505;
}

@media (min-width: 640px) {
.esrv-footer-bar {
font-size: 0.875rem;
}
}

/* Simple animation system (to mimic Framer Motion) */
[data-esrv-animate="fade-up"] {
opacity: 0;
transform: translateY(12px);
transition:
opacity 0.6s ease-out,
transform 0.6s ease-out;
}

.esrv-animate-visible {
opacity: 1 !important;
transform: translateY(0) !important;
}

/* Fallback: ensure services are visible after a short delay if JS doesn't run */
.esrv-services-grid .esrv-service-card[data-esrv-animate="fade-up"]:not(.esrv-animate-visible) {
animation: fadeInFallback 0.6s ease-out 0.8s forwards;
}

@keyframes fadeInFallback {
to {
opacity: 1;
transform: translateY(0);
}
}
.form-status {
margin-top: 10px;
font-size: 16px;
color: #00c853; /* green */
display: none; /* hidden initially */
}
