:root {
    --bg-color: #F8F9FA;
    --surface-color: #FFFFFF;
    --surface-muted: #E9ECEF;
    --surface-strong: #0B132B;
    --text-color: #1f2a33;
    --muted-text: #61707d;
    --primary-color: #FF9F1C;
    --primary-dark: #cc7a00;
    --accent-color: #FFC371;
    --dark-color: #0B132B;
    --white-color: #ffffff;
    --border-color: rgba(11, 19, 43, 0.08);
    --shadow-soft: 0 20px 50px rgba(11, 19, 43, 0.08);
    --shadow-strong: 0 26px 60px rgba(11, 19, 43, 0.14);
    --border-radius: 24px;
    --border-radius-sm: 16px;
    --container-width: 1180px;
    --transition-speed: 220ms ease;
    --font-family-primary: "Inter", sans-serif;
    --font-family-secondary: "Montserrat", sans-serif;
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes heroShimmer {
    0% { transform: translateX(-100%) rotate(15deg); }
    100% { transform: translateX(200%) rotate(15deg); }
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.15); }
}

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

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family-primary);
    color: var(--text-color);
    background:
        radial-gradient(circle at top right, rgba(255, 159, 28, 0.12), transparent 28%),
        linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 48%, #E9ECEF 100%);
    line-height: 1.7;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

p,
h1,
h2,
h3,
h4 {
    margin-top: 0;
}

.container {
    width: min(100% - 2rem, var(--container-width));
    margin: 0 auto;
}

.section-padding {
    padding: 6.5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.section-title .subtitle::before,
.section-title .subtitle::after {
    content: "";
    width: 38px;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
}

.section-title .title {
    margin-top: 1rem;
    font-family: var(--font-family-secondary);
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1;
    color: var(--dark-color);
    letter-spacing: -0.04em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 52px;
    padding: 0.9rem 1.45rem;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 280ms ease, background-color var(--transition-speed), color var(--transition-speed);
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(255, 159, 28, 0.4);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.3);
    transition-duration: 80ms;
}

.btn-primary {
    background: linear-gradient(135deg, #d18d43, #b56924);
    color: var(--white-color);
    box-shadow: 0 18px 34px rgba(181, 105, 36, 0.24);
}

.btn-secondary {
    background: rgba(16, 22, 29, 0.08);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background: rgba(16, 22, 29, 0.14);
}

.btn-outline {
    background: transparent;
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--primary-color), #e88a0c);
    color: var(--white-color);
    box-shadow: 0 12px 28px rgba(255, 159, 28, 0.3);
    font-size: 1.05rem;
    padding: 1rem 2rem;
}

.btn-accent:hover {
    box-shadow: 0 16px 36px rgba(255, 159, 28, 0.5);
}

.btn-full {
    width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(250, 247, 240, 0.84);
    border-bottom: 1px solid rgba(16, 22, 29, 0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(250, 247, 240, 0.96);
    box-shadow: 0 4px 20px rgba(11, 19, 43, 0.08);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 84px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--font-family-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--dark-color);
    flex-shrink: 0;
}

.logo-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #18242e, #263847);
    color: var(--accent-color);
    font-size: 1.1rem;
    box-shadow: 0 12px 28px rgba(20, 33, 43, 0.22);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    position: relative;
    font-weight: 700;
    color: var(--dark-color);
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: var(--dark-color);
    transition: transform var(--transition-speed), opacity var(--transition-speed);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0 6rem;
}

/* Animated shimmer overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent 20%,
        rgba(255, 159, 28, 0.03) 40%,
        rgba(255, 159, 28, 0.06) 50%,
        rgba(255, 159, 28, 0.03) 60%,
        transparent 80%
    );
    animation: heroShimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Floating particle dots */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-particles .dot {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.15;
}

.hero-particles .dot:nth-child(1) {
    width: 8px; height: 8px;
    top: 15%; left: 10%;
    animation: heroPulse 4s ease-in-out infinite;
}

.hero-particles .dot:nth-child(2) {
    width: 6px; height: 6px;
    top: 70%; left: 85%;
    animation: heroPulse 5s ease-in-out 1s infinite;
}

.hero-particles .dot:nth-child(3) {
    width: 10px; height: 10px;
    top: 40%; left: 60%;
    animation: heroPulse 6s ease-in-out 2s infinite;
}

.hero-particles .dot:nth-child(4) {
    width: 5px; height: 5px;
    top: 80%; left: 25%;
    animation: heroPulse 4.5s ease-in-out 0.5s infinite;
}

.hero-particles .dot:nth-child(5) {
    width: 7px; height: 7px;
    top: 25%; left: 75%;
    animation: heroPulse 5.5s ease-in-out 1.5s infinite;
}

.hero-particles .dot:nth-child(6) {
    width: 4px; height: 4px;
    top: 55%; left: 40%;
    animation: heroPulse 3.5s ease-in-out 0.8s infinite;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(191, 123, 48, 0.1);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    animation: fadeInUp 0.8s ease-out both;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-copy {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.45s both;
}

.hero-metrics {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-title {
    margin: 1.3rem 0 1rem;
    font-family: var(--font-family-secondary);
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    color: var(--dark-color);
}

.hero-copy {
    max-width: 630px;
    color: var(--muted-text);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.metric-card {
    padding: 1.25rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(11, 19, 43, 0.12);
    border-color: rgba(255, 159, 28, 0.2);
}

.metric-value {
    display: block;
    font-family: var(--font-family-secondary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
}

.metric-label {
    font-size: 0.92rem;
    color: var(--muted-text);
}

.hero-visual {
    position: relative;
    min-height: 560px;
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(216, 185, 138, 0.7), transparent 30%),
        linear-gradient(160deg, #15212b 0%, #223342 50%, #10161d 100%);
    box-shadow: var(--shadow-strong);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease;
}

.hero-visual:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 35px 70px rgba(11, 19, 43, 0.25);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 7% 8% auto auto;
    width: 56%;
    height: 64%;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
        linear-gradient(135deg, rgba(216, 185, 138, 0.38), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-visual::after {
    content: "";
    position: absolute;
    left: -8%;
    bottom: -12%;
    width: 72%;
    height: 52%;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(191, 123, 48, 0.92), rgba(146, 93, 32, 0.92));
    transform: rotate(-10deg);
}

.visual-badge,
.visual-card,
.visual-stat {
    position: absolute;
    z-index: 1;
}

.visual-badge {
    top: 1.6rem;
    left: 1.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.visual-card {
    right: 1.8rem;
    bottom: 1.9rem;
    width: min(86%, 320px);
    padding: 1.35rem;
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.94);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.visual-card h3 {
    margin-bottom: 0.7rem;
    font-family: var(--font-family-secondary);
    font-size: 1.35rem;
    color: var(--dark-color);
}

.visual-card p,
.visual-stat span {
    color: var(--muted-text);
}

.visual-stat {
    left: 1.8rem;
    bottom: 8.5rem;
    padding: 1rem 1.15rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.visual-stat strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.services-section,
.testimonials-section {
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(4px);
}

.services-grid,
.testimonials-grid,
.features-grid,
.dashboard-stats-grid {
    display: grid;
    gap: 1.5rem;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card,
.testimonial-card,
.feature-card,
.stat-card,
.admin-form-container,
.admin-table-container {
    position: relative;
    overflow: hidden;
    background: rgba(255, 253, 249, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
}

.service-card {
    padding: 2rem;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.service-card:hover,
.testimonial-card:hover,
.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(11, 19, 43, 0.15);
    border-color: rgba(255, 159, 28, 0.18);
}

.service-card::before,
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), rgba(191, 123, 48, 0));
    transition: height 0.3s ease;
}

.service-card:hover::before,
.feature-card:hover::before {
    height: 6px;
}

.service-icon,
.feature-icon,
.stat-icon {
    display: inline-grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 1.2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(191, 123, 48, 0.16), rgba(20, 33, 43, 0.08));
    color: var(--primary-dark);
    font-size: 1.6rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-icon,
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-3deg);
    background: linear-gradient(135deg, rgba(191, 123, 48, 0.28), rgba(20, 33, 43, 0.12));
}

.service-title,
.feature-title,
.client-name,
.footer-heading,
.admin-page-title,
.form-title {
    font-family: var(--font-family-secondary);
    color: var(--dark-color);
    letter-spacing: -0.03em;
}

.service-title,
.feature-title {
    font-size: 1.45rem;
    margin-bottom: 0.9rem;
}

.service-card p,
.feature-card p,
.about-content p,
.testimonial-quote p,
.footer-column p,
.contact-info li,
.alert,
.stat-label {
    color: var(--muted-text);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 2rem;
    align-items: center;
}

.about-visual {
    position: relative;
    min-height: 510px;
    padding: 1.8rem;
    border-radius: 34px;
    background:
        radial-gradient(circle at 24% 18%, rgba(216, 185, 138, 0.22), transparent 22%),
        linear-gradient(160deg, #f0e3cf 0%, #d9c1a0 45%, #b78244 100%);
    box-shadow: var(--shadow-strong);
}

.about-visual::before,
.about-visual::after {
    content: "";
    position: absolute;
    border-radius: 28px;
}

.about-visual::before {
    inset: 1.2rem 1.2rem 9rem 8rem;
    background: linear-gradient(160deg, rgba(20, 33, 43, 0.94), rgba(46, 66, 81, 0.88));
}

.about-visual::after {
    left: 1.2rem;
    right: 6rem;
    bottom: 1.2rem;
    height: 130px;
    background: rgba(255, 253, 249, 0.92);
}

.about-visual-badge,
.about-visual-card,
.about-visual-stats {
    position: relative;
    z-index: 1;
}

.about-visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(20, 33, 43, 0.88);
    color: var(--white-color);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-visual-card {
    margin: 8.5rem 0 0 auto;
    width: min(72%, 300px);
    padding: 1.4rem;
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.95);
}

.about-visual-card h3 {
    margin-bottom: 0.7rem;
    font-family: var(--font-family-secondary);
    font-size: 1.45rem;
    color: var(--dark-color);
}

.about-visual-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 8rem;
}

.about-visual-stat strong {
    display: block;
    font-family: var(--font-family-secondary);
    font-size: 1.55rem;
    color: var(--dark-color);
}

.about-content .section-title {
    margin-bottom: 1.6rem;
    text-align: left;
}

.about-content .section-title .subtitle::before,
.about-content .section-title .subtitle::after {
    display: none;
}

.about-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(16, 22, 29, 0.05);
    font-weight: 700;
}

.about-list i {
    color: var(--primary-color);
}

.page-header {
    position: relative;
    padding: 5.2rem 0 4rem;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(191, 123, 48, 0.14), transparent 24%),
        linear-gradient(135deg, rgba(20, 33, 43, 0.05), rgba(20, 33, 43, 0));
}

.page-title,
.page-subtitle {
    position: relative;
}

.page-title {
    margin-bottom: 0.85rem;
    font-family: var(--font-family-secondary);
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    color: var(--dark-color);
}

.page-subtitle {
    max-width: 620px;
    color: var(--muted-text);
    font-size: 1.05rem;
}

.testimonials-grid,
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.testimonial-card,
.feature-card {
    padding: 2rem;
}

.testimonial-quote {
    position: relative;
    padding-left: 2.5rem;
}

.testimonial-quote i {
    position: absolute;
    left: 0;
    top: -0.1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.client-company {
    font-size: 0.92rem;
    color: var(--muted-text);
}

.site-footer {
    padding: 4.5rem 0 2.2rem;
    background: linear-gradient(180deg, #10161d 0%, #0a0f16 100%);
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-heading {
    color: var(--white-color);
    font-family: var(--font-family-secondary);
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.social-links,
.footer-links,
.contact-info {
    display: grid;
    gap: 0.75rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 159, 28, 0.2);
    border-color: rgba(255, 159, 28, 0.3);
    transform: translateY(-3px);
}

.footer-links,
.contact-info {
    list-style: none;
}

.footer-links a {
    display: inline-block;
    position: relative;
    padding-left: 0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.footer-links a:hover {
    color: var(--white-color);
    padding-left: 14px;
}

.footer-links a:hover::before {
    width: 8px;
}

.footer-bottom {
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-align: center;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 2rem;
    text-align: center;
    margin-top: 4rem;
    z-index: 2;
    background: linear-gradient(135deg, var(--primary-color), #e88a0c, var(--accent-color));
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15), transparent 60%);
    pointer-events: none;
}

.cta-banner h2 {
    font-family: var(--font-family-secondary);
    color: var(--dark-color);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
    position: relative;
}

.cta-banner p {
    color: var(--dark-color);
    opacity: 0.85;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.cta-banner .btn {
    position: relative;
}

.admin-body,
.admin-login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(191, 123, 48, 0.14), transparent 20%),
        linear-gradient(180deg, #f7f3eb 0%, #efe7da 100%);
}

.admin-login-body {
    display: grid;
    place-items: center;
    padding: 2rem;
}

.login-container {
    width: min(100%, 480px);
}

.login-box {
    padding: 2.3rem;
    border-radius: 28px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--shadow-strong);
}

.login-title {
    margin-bottom: 0.4rem;
    font-family: var(--font-family-secondary);
    font-size: 2rem;
    color: var(--dark-color);
}

.login-subtitle {
    margin-bottom: 1.8rem;
    color: var(--muted-text);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(16, 22, 29, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    font: inherit;
    color: var(--text-color);
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.12), 0 4px 12px rgba(255, 159, 28, 0.08);
    transform: translateY(-1px);
}

.form-group input,
.form-group textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.error-banner,
.alert {
    padding: 0.95rem 1rem;
    margin-bottom: 1rem;
    border-radius: 16px;
    border: 1px solid transparent;
}

.error-banner,
.alert-danger {
    background: rgba(190, 63, 44, 0.08);
    border-color: rgba(190, 63, 44, 0.15);
    color: #8d3021;
}

.alert-success {
    background: rgba(38, 124, 72, 0.08);
    border-color: rgba(38, 124, 72, 0.16);
    color: #1d6a3e;
}

.admin-wrapper {
    display: grid;
    grid-template-columns: 290px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 2rem 1.2rem;
    background: #111922;
    color: rgba(255, 255, 255, 0.8);
}

.sidebar-logo {
    margin-bottom: 2rem;
}

.sidebar-logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-family-secondary);
    font-size: 1.3rem;
    color: var(--white-color);
}

.sidebar-nav {
    display: grid;
    gap: 0.5rem;
    list-style: none;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    font-weight: 700;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white-color);
}

.admin-main-content {
    padding: 2rem;
}

.admin-header {
    margin-bottom: 1.5rem;
}

.admin-header h2 {
    margin: 0;
    font-family: var(--font-family-secondary);
    color: var(--dark-color);
}

.admin-page-title {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.dashboard-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-bottom: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem;
}

.stat-number {
    display: block;
    font-family: var(--font-family-secondary);
    font-size: 1.55rem;
    color: var(--dark-color);
}

.dashboard-quick-actions h2 {
    margin-bottom: 1rem;
    font-family: var(--font-family-secondary);
}

.admin-form-container,
.admin-table-container {
    padding: 1.5rem;
}

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

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 1rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(16, 22, 29, 0.08);
    vertical-align: middle;
}

th {
    color: var(--dark-color);
    font-size: 0.92rem;
}

td img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}

.actions {
    display: flex;
    gap: 0.6rem;
}

.btn-action {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--white-color);
}

.btn-edit {
    background: #2d7a4c;
}

.btn-delete {
    background: #b14634;
}

.current-image img {
    margin-top: 0.65rem;
}

@media (max-width: 1100px) {
    .hero-grid,
    .about-grid,
    .admin-wrapper {
        grid-template-columns: 1fr;
    }

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

    .hero-visual,
    .about-visual {
        min-height: 460px;
    }

    .nav-cta {
        display: none;
    }

    .admin-sidebar {
        padding-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: relative;
        flex-wrap: wrap;
        padding: 1rem 0;
    }

    .nav-links {
        display: none;
        width: 100%;
        padding: 1rem 0 0.4rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .main-nav.mobile-menu-open .nav-links {
        display: flex;
    }

    .hero-section {
        padding-top: 2rem;
    }

    .hero-metrics,
    .about-visual-stats {
        grid-template-columns: 1fr;
    }

    .table-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-main-content {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .section-padding {
        padding: 4.5rem 0;
    }

    .hero-title,
    .page-title {
        line-height: 1;
    }

    .hero-visual,
    .about-visual {
        min-height: 400px;
    }

    .visual-card,
    .about-visual-card {
        width: 100%;
        margin-left: 0;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(16, 22, 29, 0.08);
    }

    td {
        padding: 0.45rem 0;
        border: 0;
    }
}

/* --- Added responsive top-bar styles --- */
.top-bar {
    background-color: var(--dark-color);
    padding: 8px 0;
    font-size: 0.85rem;
    color: #ccc;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}
.top-bar a:hover {
    color: var(--accent-color);
}
.top-bar-right {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   MEDIA QUERIES (Responsive Design)
   ========================================================================== */

/* Tablets and below (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        width: 92%;
    }

    .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }
    
    .hero-visual {
        min-height: 400px;
    }
    
    .about-visual {
        min-height: 400px;
    }

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-visual-stats {
        margin-top: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }

    .section-title .title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    /* Top Bar Mobile */
    .top-bar {
        display: none;
    }

    /* Navigation / Hamburger Menu */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

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

    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

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

    .main-nav.mobile-menu-open .nav-links {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav {
        min-height: 70px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(250, 247, 240, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        backdrop-filter: blur(10px);
    }
    
    .nav-cta {
        display: none;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        display: block;
        padding: 1rem 0;
    }

    .nav-links a::after {
        display: none;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        min-height: 300px;
    }

    .services-grid,
    .testimonials-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-visual-card {
        margin: 2rem auto 0 auto;
        width: 90%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-column ul {
        align-items: center;
    }

    .contact-info li {
        justify-content: center;
    }
    
    .contact-info i {
        margin-right: 0.5rem;
    }
    
    .about-visual::before {
        inset: 0.5rem 0.5rem 5rem 5rem;
    }
    
    .about-visual::after {
        left: 0.5rem;
        right: 2rem;
        bottom: 0.5rem;
        height: 80px;
    }
}
