
/* ============================================
   PRIME LOGIC — LANDING PAGE STYLES
   ============================================ */

/* --- Reset & Variables --- */
:root {
    --primary-blue: #11446C;
    --primary-dark: #0a2e4a;
    --primary-mid: #1a5a8a;
    --accent-orange: #F26B1D;
    --accent-orange-dark: #d15a15;
    --accent-orange-light: rgba(242, 107, 29, 0.12);
    --bg-light: #F8F9FA;
    --bg-dark: #0d1117;
    --text-color: #2d3748;
    --text-muted: #718096;
    --white: #FFFFFF;
    --border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-blue: 0 15px 40px rgba(17, 68, 108, 0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    min-width: 0;
}

/* Every top-level section must fill full viewport width */
.hero,
.services,
.about,
.projects,
.contact,
.footer,
.wave-divider {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Custom Cursor --- */
.custom-cursor {
    width: 36px;
    height: 36px;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease,
                background-color 0.25s ease, border-color 0.25s ease,
                opacity 0.3s ease;
    z-index: 99999;
    opacity: 0;
    mix-blend-mode: normal;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-cursor.active {
    width: 56px;
    height: 56px;
    background-color: rgba(242, 107, 29, 0.12);
    border-color: rgba(242, 107, 29, 0.5);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-logo span,
.navbar.scrolled .nav-links a {
    color: var(--primary-blue);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--accent-orange);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    transition: var(--transition);
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: white; }

.nav-cta {
    background: var(--accent-orange) !important;
    color: white !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.nav-cta:hover {
    background: var(--accent-orange-dark) !important;
    transform: translateY(-2px);
}

.nav-cta::after { display: none !important; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .hamburger span { background: var(--primary-blue); }

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent-orange);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary:hover {
    background: var(--accent-orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 107, 29, 0.35);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-3px);
}

.btn-full { width: 100%; justify-content: center; }

/* --- Section Shared --- */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    background: var(--accent-orange-light);
    color: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.dot-orange { color: var(--accent-orange); }

/* --- Wave Dividers --- */
.wave-divider {
    position: relative;
    z-index: 3;
    line-height: 0;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
    min-width: 100%;
}

.wave-hero-services { background: transparent; margin-bottom: -1px; }
.wave-services-about { background: #0d1f30; margin-bottom: -1px; }
.wave-about-projects { background: #f0f4f8; margin-bottom: -1px; }
.wave-projects-contact { background: #0a1e30; margin-bottom: -1px; }

/* --- Hero Particles Canvas --- */
.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 60%, #061a2e 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    left: 0;
    right: 0;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(242, 107, 29, 0.12);
    top: -100px;
    right: -100px;
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(17, 68, 108, 0.5);
    bottom: -80px;
    left: -80px;
}

/* Hero inner flex layout — wraps content + visual side by side */
.hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--accent-orange), #ff9a4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* Hero Visual / Code Mockup */
.hero-visual {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.hero-card-mockup {
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.mockup-header {
    background: #161b22;
    padding: 14px 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.mockup-body {
    padding: 24px 28px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.88rem;
    line-height: 2;
}

.code-line { white-space: nowrap; }
.code-line.indent { padding-left: 24px; }

.code-keyword { color: #ff7b72; }
.code-var     { color: #79c0ff; }
.code-fn      { color: #d2a8ff; }
.code-key     { color: #79c0ff; }
.code-str     { color: #a5d6ff; }
.code-comment { color: #8b949e; font-style: italic; }

.code-cursor {
    color: var(--accent-orange);
    animation: blink 1s step-end infinite;
    font-size: 1rem;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Floating tech badges */
.floating-badge {
    position: absolute;
    background: white;
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 100px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
}

.floating-badge i { color: var(--accent-orange); }

.badge-flutter {
    top: -18px;
    right: -20px;
    animation-delay: 0s;
}

.badge-ai {
    bottom: 60px;
    right: -30px;
    animation-delay: 1s;
}

.badge-db {
    bottom: -18px;
    left: 20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Services Section --- */
.services {
    padding: 120px 0;
    background: #0d1f30;
    position: relative;
    overflow: hidden;
}

/* Parallax background shared */
.parallax-bg {
    position: absolute;
    inset: -60px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
}

#servicesBg {
    background-image: url('icon.jpeg');
    filter: blur(2px) brightness(0.25) saturate(0.6);
}

#projectsBg {
    background-image: url('icon2.jpeg');
    filter: blur(2px) brightness(0.2) saturate(0.5);
}

.section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 30, 50, 0.88) 0%,
        rgba(17, 68, 108, 0.75) 50%,
        rgba(10, 30, 50, 0.92) 100%
    );
    z-index: 1;
}

.section-overlay-dark {
    background: linear-gradient(
        135deg,
        rgba(6, 18, 30, 0.92) 0%,
        rgba(10, 46, 74, 0.82) 50%,
        rgba(6, 18, 30, 0.95) 100%
    );
}

.services .container,
.projects .container {
    position: relative;
    z-index: 2;
}

/* Services on dark bg — adjust text colors */
.services .section-header h2 {
    color: #ffffff;
}

.services .section-header p {
    color: rgba(255,255,255,0.65);
}

.services .section-tag {
    background: rgba(242, 107, 29, 0.2);
    color: #ff8c42;
    border: 1px solid rgba(242, 107, 29, 0.3);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), #ff9a4d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::before { transform: scaleX(1); }

.card:hover {
    transform: translateY(-12px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(242,107,29,0.2);
}

.card-featured {
    background: linear-gradient(145deg, rgba(242,107,29,0.25), rgba(17,68,108,0.4));
    border-color: rgba(242, 107, 29, 0.35);
}

.card-featured:hover {
    background: linear-gradient(145deg, rgba(242,107,29,0.35), rgba(17,68,108,0.5));
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
}

.card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.card p strong { color: rgba(255,255,255,0.9); }
.card-featured p strong { color: white; }

.card-featured h3,
.card-featured p,
.card-featured .card-tech li {
    color: rgba(255,255,255,0.9);
}

.card-featured .card-icon-wrapper { color: var(--accent-orange); }
.card-featured .card-link { color: var(--accent-orange); }

.card-featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-orange);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(242, 107, 29, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-bottom: 24px;
    transition: var(--transition);
    border: 1px solid rgba(242,107,29,0.2);
}

.card:hover .card-icon-wrapper {
    background: var(--accent-orange);
    color: white;
    transform: scale(1.1);
    border-color: var(--accent-orange);
}

.card-featured .card-icon-wrapper {
    background: rgba(242, 107, 29, 0.2);
}

.card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.card-tech li {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.12);
}

.card-featured .card-tech li {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: auto;
}

.card-link:hover { gap: 10px; }

/* --- About Section --- */
.about {
    padding: 120px 0;
    background: #f0f4f8;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(17,68,108,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    padding-bottom: 40px;
}

.about-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-img-wrapper:hover .about-img { transform: scale(1.04); }

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(17, 68, 108, 0.5) 100%
    );
}

.about-accent-card {
    position: absolute;
    bottom: -24px;
    right: 16px;
    background: white;
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    z-index: 2;
}

.about-accent-card i {
    font-size: 1.4rem;
    color: var(--accent-orange);
}

.about-accent-card strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.about-accent-card span {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.about-text .section-tag { margin-bottom: 16px; }

.about-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.pillar:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 4px 16px rgba(242, 107, 29, 0.1);
}

.pillar i {
    font-size: 1.2rem;
    color: var(--accent-orange);
    margin-top: 2px;
    flex-shrink: 0;
}

.pillar strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.pillar span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Projects Section --- */
.projects {
    padding: 120px 0;
    background: #0a1e30;
    position: relative;
    overflow: hidden;
}

/* Projects on dark bg — adjust text */
.projects .section-header h2 {
    color: #ffffff;
}

.projects .section-header p {
    color: rgba(255,255,255,0.6);
}

.projects .section-tag {
    background: rgba(242, 107, 29, 0.2);
    color: #ff8c42;
    border: 1px solid rgba(242, 107, 29, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.09);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(242,107,29,0.2);
}

.project-img-placeholder {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-mid));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-img-placeholder::after {
    content: 'Add Project Image';
    position: absolute;
    bottom: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.4;
}

.project-img-placeholder span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.6;
}

.project-card:hover .project-img-placeholder {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
}

.project-info {
    padding: 28px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
}

.project-link:hover { gap: 10px; }

/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    background: #f0f4f8;
    position: relative;
    overflow: hidden;
}

.contact-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(17,68,108,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(242,107,29,0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-tag { margin-bottom: 16px; }

.contact-info h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-orange-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.contact-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: white;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(242, 107, 29, 0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: -4px;
}

/* --- Footer --- */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover { color: var(--accent-orange); }

.footer-contact p {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-contact i { color: var(--accent-orange); }

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-socials a:hover {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

@media (max-width: 1024px) {
    .hero {
        padding: 140px 24px 80px;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .hero-content { max-width: 100%; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 480px; width: 100%; }

    .service-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-img { height: 360px; }
    .about-accent-card { right: 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

    /* Disable parallax on tablet/mobile for performance */
    .parallax-bg { inset: 0; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.6rem; }
    .section-header h2 { font-size: 2rem; }
    .about-text h2 { font-size: 2rem; }
    .contact-info h2 { font-size: 2rem; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--primary-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
    }

    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.2rem; color: white; }
    .nav-cta { padding: 14px 32px !important; }

    .hamburger { display: flex; z-index: 1001; }

    .projects-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 28px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .stat-divider { display: none; }

    .wave-divider svg { height: 50px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
    .floating-badge { display: none; }
}
