/* ========================================
   DEEP CONSULTANTS - Professional Website
   ======================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #c9a84c;
    --accent-light: #dfc06f;
    --accent-dark: #a88a32;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --gray-50: #fafaf9;
    --gray-100: #f0efed;
    --gray-200: #e2e0dc;
    --gray-300: #c4c0b8;
    --gray-400: #9e9a90;
    --gray-500: #6b6760;
    --gray-600: #4a4740;
    --gray-700: #2d2b27;
    --text-dark: #1a1917;
    --text-body: #4a4740;
    --text-light: #6b6760;
    --success: #22c55e;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-inner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(201, 168, 76, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 6px;
    animation: pulse 1.5s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.2;
}

.logo-sub {
    color: var(--accent);
    font-size: 0.6rem;
    letter-spacing: 4px;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 100px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-link.cta-link {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    font-weight: 600;
    padding: 10px 24px;
}

.nav-link.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201,168,76,0.4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Section Styling --- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    position: relative;
    padding-left: 50px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 36px;
    height: 2px;
    background: var(--accent);
    transform: translateY(-50%);
}

.section-header.center .section-tag {
    padding-left: 0;
}

.section-header.center .section-tag::before {
    display: none;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title .accent {
    color: var(--accent);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header.center {
    text-align: center;
    margin-bottom: 64px;
}

/* --- Hero Section --- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 100vw;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.92) 0%,
        rgba(22, 33, 62, 0.85) 40%,
        rgba(26, 26, 46, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 5px;
    color: var(--accent);
    font-weight: 600;
    padding: 10px 24px;
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 100px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    background: rgba(201,168,76,0.05);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero-line.accent {
    color: var(--accent);
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
    margin-top: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 22px; }
}

/* --- About Section --- */
#about {
    padding: 120px 0;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}

.feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.feature p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- Services Section --- */
#services {
    padding: 120px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: var(--primary);
    border-color: var(--primary);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.service-card.featured h3,
.service-card.featured p {
    color: var(--white);
}

.service-card.featured p {
    color: rgba(255,255,255,0.7);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.service-card.featured .service-icon {
    background: rgba(201,168,76,0.15);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-features span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(201,168,76,0.1);
    color: var(--accent-dark);
}

.service-card.featured .service-features span {
    background: rgba(201,168,76,0.15);
    color: var(--accent);
}

/* --- Projects Section --- */
#projects {
    padding: 120px 0;
    background: var(--off-white);
}

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

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.project-card.large {
    grid-column: span 2;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(26,26,46,0.95) 0%, rgba(26,26,46,0.2) 100%);
}

.project-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.project-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 8px;
}

.project-overlay p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* --- Testimonials Section --- */
#testimonials {
    padding: 120px 0;
    background: var(--primary);
}

#testimonials .section-title {
    color: var(--white);
}

#testimonials .section-tag::before {
    background: var(--accent);
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    min-height: 280px;
}

.testimonial-card {
    text-align: center;
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.stars {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.testimonial-text {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-author span {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 10px;
}

/* --- Contact Section --- */
#contact {
    padding: 120px 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent-dark);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 32px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--gray-50);
    transition: var(--transition);
    outline: none;
}

.form-group label {
    position: absolute;
    top: -8px;
    left: 14px;
    background: var(--white);
    padding: 0 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    opacity: 1;
}

.form-group select {
    appearance: none;
    cursor: pointer;
    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='%239e9a90' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

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

#submitBtn {
    margin-top: 8px;
    font-size: 1rem;
}

#submitBtn:active {
    transform: scale(0.98);
}

/* --- Footer --- */
#footer {
    background: var(--primary);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 20px;
}

.footer-grid h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-grid h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-grid ul li {
    margin-bottom: 10px;
}

.footer-grid ul li a {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-grid ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-contact a {
    color: rgba(255,255,255,0.5);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
}

.footer-bottom i {
    color: var(--accent);
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    white-space: nowrap;
    background: var(--text-dark);
    color: var(--white);
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: var(--accent);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
    }

    .project-card.large {
        grid-column: span 2;
    }

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

    .about-img-wrapper img {
        height: 400px;
    }
}

/* ==========================
   MOBILE SIDEBAR (Premium)
   ========================== */

/* Hidden on desktop */
.mobile-overlay,
.mobile-sidebar {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Hide desktop nav-links on mobile */
    .nav-links {
        display: none !important;
    }

    /* Show mobile sidebar system */
    .mobile-overlay,
    .mobile-sidebar {
        display: block;
    }

    /* Dark overlay behind sidebar */
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1100;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Sidebar Panel */
    .mobile-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, #111128 0%, #1a1a2e 100%);
        z-index: 1200;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    }

    .mobile-sidebar.active {
        transform: translateX(0);
    }

    /* Sidebar Header */
    .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 24px 24px 20px;
    }

    .sidebar-logo .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .sidebar-logo .logo-name {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .sidebar-logo .logo-sub {
        font-size: 0.5rem;
        letter-spacing: 3px;
    }

    .sidebar-close {
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: rgba(255, 255, 255, 0.7);
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
    }

    .sidebar-close:hover {
        background: rgba(201, 168, 76, 0.15);
        color: var(--accent);
        border-color: rgba(201, 168, 76, 0.3);
    }

    /* Divider */
    .sidebar-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
        margin: 0 24px;
    }

    /* Sidebar Links */
    .sidebar-links {
        list-style: none;
        padding: 16px 16px;
        margin: 0;
        flex: 1;
    }

    .sidebar-links li {
        margin-bottom: 2px;
    }

    .sidebar-link {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        color: rgba(255, 255, 255, 0.65);
        font-size: 0.95rem;
        font-weight: 500;
        border-radius: 12px;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .sidebar-link i {
        width: 20px;
        text-align: center;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.35);
        transition: color 0.3s ease;
    }

    .sidebar-link:hover,
    .sidebar-link.active {
        background: rgba(201, 168, 76, 0.1);
        color: var(--white);
    }

    .sidebar-link:hover i,
    .sidebar-link.active i {
        color: var(--accent);
    }

    .sidebar-link.active {
        background: rgba(201, 168, 76, 0.12);
        border-left: 3px solid var(--accent);
        padding-left: 13px;
    }

    /* Sidebar Contact */
    .sidebar-contact {
        padding: 16px 16px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .sidebar-contact-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.85rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .sidebar-contact-item i {
        font-size: 1rem;
        color: var(--accent);
        width: 20px;
        text-align: center;
    }

    .sidebar-contact-item:hover {
        background: rgba(255, 255, 255, 0.08);
        color: var(--white);
    }

    .sidebar-contact-item.whatsapp {
        background: rgba(37, 211, 102, 0.08);
        border-color: rgba(37, 211, 102, 0.15);
    }

    .sidebar-contact-item.whatsapp i {
        color: #25D366;
    }

    .sidebar-contact-item.whatsapp:hover {
        background: rgba(37, 211, 102, 0.15);
    }

    /* Sidebar Social */
    .sidebar-social {
        display: flex;
        justify-content: center;
        gap: 16px;
        padding: 20px 24px 28px;
    }

    .sidebar-social a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.85rem;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .sidebar-social a:hover {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--primary);
        transform: translateY(-2px);
    }

    /* Other mobile responsive styles */
    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-badge {
        letter-spacing: 2px;
        word-break: break-word;
    }

    .hero-content {
        padding: 120px 16px 80px;
        max-width: 100%;
        overflow: hidden;
    }

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

    .projects-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .project-card.large {
        grid-column: span 1;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-contact p {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .container {
        padding: 0 16px;
        max-width: 100%;
        overflow: hidden;
    }

    .section-tag {
        letter-spacing: 2px;
        padding-left: 40px;
        font-size: 0.7rem;
    }

    .section-tag::before {
        width: 28px;
    }

    .testimonials-slider {
        max-width: 100%;
        overflow: hidden;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-badge {
        font-size: 0.6rem;
        letter-spacing: 3px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .mobile-sidebar {
        width: 280px;
    }
}
