/* ============================
   M/S Nayeem Enterprise
   Premium Land Development
   Design System & Stylesheet
   ============================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0A192F;
    --primary-dark: #020C1B;
    --primary-light: #112240;
    --accent: #C5A059;
    --accent-hover: #d4b06a;
    --accent-glow: rgba(197, 160, 89, 0.25);
    --text-primary: #E6F1FF;
    --text-secondary: #CCD6F6;
    --text-muted: #8892B0;
    --white: #ffffff;
    --glass-bg: rgba(10, 25, 47, 0.75);
    --glass-border: rgba(197, 160, 89, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    --card-bg: rgba(17, 34, 64, 0.6);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-xs: 4px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.25s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, sans-serif;
    --container: 1200px;
    --nav-height: 80px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-dark);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.gold {
    color: var(--accent);
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo-img {
    width: 160px;
    height: auto;
    animation: preloaderPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
    margin-top: 24px;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 3px;
    animation: preloaderFill 1.8s ease-in-out forwards;
}

@keyframes preloaderPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.95);
    }
}

@keyframes preloaderFill {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 0;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(2, 12, 27, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.navbar-brand {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.navbar-logo {
    height: 55px;
    width: auto;
    transition: transform var(--transition-fast);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent), #d4b06a) !important;
    color: var(--primary-dark) !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.15);
    transition: transform 8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide.active .hero-bg {
    animation: kenBurnsZoomOut 8s ease-in-out forwards;
}

@keyframes kenBurnsZoomOut {
    0% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(2, 12, 27, 0.7) 0%,
            rgba(2, 12, 27, 0.4) 40%,
            rgba(2, 12, 27, 0.6) 70%,
            rgba(2, 12, 27, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--nav-height);
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-glow);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title em {
    font-style: italic;
    color: var(--text-secondary);
}

.hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #d4b06a);
    color: var(--primary-dark);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(197, 160, 89, 0.4);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    color: var(--accent);
    transform: translateY(-3px);
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    bottom: 100px;
    right: 40px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    background: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(10px);
    color: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.hero-arrow:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 40px;
    height: 2px;
    background: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        left: -100%;
    }

    50% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}

/* ===== SECTIONS COMMON ===== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--accent);
    opacity: 0.4;
}

.section-tag::before {
    right: calc(100% + 16px);
}

.section-tag::after {
    left: calc(100% + 16px);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== ABOUT ===== */
.about {
    background: var(--primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
}

.about-feature i {
    font-size: 24px;
    color: var(--accent);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: 12px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 13px;
    margin-bottom: 0;
}

/* About Visual */
.about-visual {
    display: flex;
    justify-content: center;
}

.about-image-box {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.about-image-pattern {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    opacity: 0.3;
}

.about-image-main {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    position: relative;
    z-index: 1;
}

.about-experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    z-index: 2;
    background: linear-gradient(135deg, var(--accent), #d4b06a);
    border-radius: var(--radius);
    padding: 24px 28px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.3);
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
    line-height: 1;
}

.exp-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 48px 40px;
    margin-bottom: 80px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--glass-border);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mission, Vision, Values */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mv-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
}

.mv-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.mv-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 24px;
    color: var(--accent);
    transition: all var(--transition);
}

.mv-card:hover .mv-icon {
    background: var(--accent);
    color: var(--primary-dark);
}

.mv-card h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.mv-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
    background: var(--primary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 44px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: var(--accent-glow);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent), #d4b06a);
    color: var(--primary-dark);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 14px;
}

/* ===== PROJECTS ===== */
.projects {
    background: var(--primary);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-muted);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.project-card.hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.project-image {
    height: 360px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(2, 12, 27, 0.95) 100%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background var(--transition);
}

.project-card:hover .project-overlay {
    background: linear-gradient(180deg, rgba(2, 12, 27, 0.3) 0%, rgba(2, 12, 27, 0.95) 100%);
}

.project-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 8px;
}

.project-overlay h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--white);
    margin-bottom: 8px;
}

.project-overlay p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.project-status {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.project-status.completed {
    background: rgba(46, 213, 115, 0.15);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

.project-status.ongoing {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.project-status.upcoming {
    background: rgba(116, 185, 255, 0.15);
    color: #74b9ff;
    border: 1px solid rgba(116, 185, 255, 0.3);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--primary-dark);
}

.testimonial-slider {
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
    min-width: 100%;
    padding: 48px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    text-align: center;
    box-sizing: border-box;
}

.testimonial-stars {
    margin-bottom: 24px;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 18px;
    margin: 0 2px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 32px;
    font-family: var(--font-heading);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), #d4b06a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

.testimonial-author h4 {
    font-size: 16px;
    color: var(--text-primary);
    text-align: left;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.test-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    color: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.test-arrow:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.test-dots {
    display: flex;
    gap: 8px;
}

.test-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.test-dot.active {
    background: var(--accent);
    border-color: var(--accent);
}

/* ===== OWNER SECTION ===== */
.owner-section {
    background: var(--primary);
}

.owner-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 60px;
    backdrop-filter: blur(20px);
}

.owner-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.owner-image-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: ownerRingSpin 8s linear infinite;
    border-top-color: transparent;
    border-left-color: transparent;
}

@keyframes ownerRingSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.owner-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 4px solid var(--accent);
    box-shadow: 0 0 40px var(--accent-glow), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.owner-info {
    flex: 1;
}

.owner-name {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.owner-title {
    display: inline-block;
    font-size: 16px;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.owner-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 3px;
    margin-bottom: 24px;
}

.owner-info p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.owner-socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.owner-socials a {
    width: 44px;
    height: 44px;
    background: var(--accent-glow);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.owner-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-4px);
}

/* ===== BLOG ===== */
.blog {
    background: var(--primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-image {
    height: 220px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    overflow: hidden;
}

.blog-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 12, 27, 0.8) 0%, rgba(2, 12, 27, 0) 50%);
    z-index: 1;
}

.blog-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: relative;
    z-index: 2;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: var(--radius-xs);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-body {
    padding: 28px;
}

.blog-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
}

.blog-body h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-primary);
    margin: 12px 0;
    line-height: 1.4;
}

.blog-body h3 a:hover {
    color: var(--accent);
}

.blog-body>p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-fast);
}

.blog-read-more:hover {
    gap: 14px;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--primary-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.contact-info-card:hover {
    border-color: var(--accent);
    transform: translateX(8px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.contact-socials a {
    width: 48px;
    height: 48px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 18px;
    transition: all var(--transition-fast);
}

.contact-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-4px);
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 44px;
    position: relative;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: transparent;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 14px;
    font-size: 12px;
    color: var(--accent);
    background: var(--primary-dark);
    padding: 0 6px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select option {
    background: var(--primary);
    color: var(--text-primary);
}

.form-error {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 6px;
    display: none;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #e74c3c;
}

.form-group.error .form-error {
    display: block;
}

.btn-submit {
    width: 100%;
    justify-content: center;
}

.form-success {
    display: none;
    text-align: center;
    padding: 32px;
    color: var(--accent);
}

.form-success.show {
    display: block;
}

.form-success i {
    font-size: 48px;
    margin-bottom: 16px;
}

.form-success p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Map */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    padding: 80px 0 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}


.footer-newsletter h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-newsletter p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--accent);
}

.newsletter-form button {
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent), #d4b06a);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--primary-dark);
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    background: #d4b06a;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.progress-ring {
    position: absolute;
    inset: -2px;
    transform: rotate(-90deg);
}

.progress-ring circle {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-dasharray: 131.95;
    stroke-dashoffset: 131.95;
    transition: stroke-dashoffset 0.1s;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }

    .services-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: rgba(2, 12, 27, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: 18px;
        padding: 12px 0;
        width: 100%;
    }

    .nav-link::after {
        bottom: 6px;
        left: 0;
        right: auto;
        width: 24px;
    }

    .nav-cta {
        margin-top: 12px;
        text-align: center;
        width: 100% !important;
        justify-content: center;
        display: inline-flex;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .hero-controls {
        bottom: 60px;
        right: 20px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .owner-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 28px;
        gap: 36px;
    }

    .owner-image {
        width: 220px;
        height: 220px;
    }

    .owner-divider {
        margin: 0 auto 24px;
    }

    .contact-form {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 32px 24px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-card {
        padding: 32px 20px;
    }

    .testimonial-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
        justify-content: center;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .stat-item::after {
        display: none !important;
    }

    .stat-number {
        font-size: 36px;
    }

    .project-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-controls {
        bottom: 40px;
        right: 16px;
        gap: 8px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
    }
}