@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CUSTOM PROPERTIES / DESIGN SYSTEM --- */
:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Colors (Theme Dependent - Light Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-glass-nav: rgba(255, 255, 255, 0.95);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-main: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    --shadow-glow: 0 10px 25px -5px rgba(0, 102, 255, 0.08);

    /* Static Brand Colors */
    --color-blue: #0252cc;
    --color-blue-rgb: 2, 82, 204;
    --color-green: #0ea5e9; /* Sky Blue to teal-green */
    --color-green-real: #10b981;
    --color-green-rgb: 16, 185, 129;
    --color-orange: #f97316;
    --color-orange-rgb: 249, 115, 22;

    /* Gradients */
    --gradient-blue-green: linear-gradient(135deg, var(--color-blue), var(--color-green-real));
    --gradient-green-orange: linear-gradient(135deg, var(--color-green-real), var(--color-orange));
    --gradient-orange-blue: linear-gradient(135deg, var(--color-orange), var(--color-blue));
    --gradient-tricolor: linear-gradient(90deg, var(--color-blue), var(--color-green-real), var(--color-orange));

    /* Layout & Animation variables */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
}

/* Dark Theme Overrides */
.dark-theme {
    --bg-primary: #0b0f17;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --bg-glass: rgba(17, 24, 39, 0.85);
    --bg-glass-nav: rgba(11, 15, 23, 0.95);
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #1f2937;
    --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 10px 25px -5px rgba(0, 102, 255, 0.15);
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

input, textarea, button {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* --- REUSABLE UTILITIES & CLASSES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-blue {
    background-image: var(--gradient-blue-green);
}

.gradient-tricolor-text {
    background-image: var(--gradient-tricolor);
}

.glass-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-main);
    border-radius: var(--radius-md);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--color-blue-rgb), 0.2);
    box-shadow: var(--shadow-glow);
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border var(--transition-fast);
}

.btn-primary {
    background: var(--color-blue);
    color: #ffffff;
}

.btn-primary:hover {
    background: #0143a8;
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: var(--bg-primary);
}

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
}

/* Badge component */
.badge {
    display: inline-flex;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.badge-blue {
    background: rgba(var(--color-blue-rgb), 0.06);
    color: var(--color-blue);
    border: 1px solid rgba(var(--color-blue-rgb), 0.12);
}

.badge-green {
    background: rgba(var(--color-green-rgb), 0.06);
    color: var(--color-green-real);
    border: 1px solid rgba(var(--color-green-rgb), 0.12);
}

.badge-orange {
    background: rgba(var(--color-orange-rgb), 0.06);
    color: var(--color-orange);
    border: 1px solid rgba(var(--color-orange-rgb), 0.12);
}

/* Section Header Styles */
.section-header {
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass-nav);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-normal), border-bottom-color var(--transition-normal);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-primary);
}

.logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    position: relative;
}

.logo-shape-1 {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    border: 2px solid var(--color-blue);
    position: absolute;
}

.logo-shape-2 {
    width: 70%;
    height: 70%;
    border-radius: 4px;
    border: 2px solid var(--color-green-real);
    position: absolute;
    transform: rotate(45deg);
}

.logo-shape-3 {
    width: 30%;
    height: 30%;
    border-radius: 2px;
    background: var(--color-orange);
    position: absolute;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.4rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-blue);
    transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Switcher */
.theme-btn {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.theme-btn:hover {
    background: var(--border-color);
}

.theme-btn svg {
    width: 18px;
    height: 18px;
}

.theme-btn .sun-icon {
    display: none;
}

.dark-theme .theme-btn .sun-icon {
    display: block;
}

.dark-theme .theme-btn .moon-icon {
    display: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 24px;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    transition: background-color var(--transition-normal);
}

.hero-content {
    max-width: 580px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    color: var(--color-blue);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Hero Graphic elements */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.interactive-mesh {
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-main);
    border: 1px solid var(--border-color);
}

.floating-card {
    position: absolute;
    padding: 1rem 1.2rem;
    width: 170px;
    z-index: 10;
}

.floating-card-1 {
    top: 10%;
    left: -20px;
    border-left: 3px solid var(--color-blue);
}

.floating-card-2 {
    bottom: 10%;
    right: -20px;
    border-left: 3px solid var(--color-green-real);
}

.card-stat {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* --- ABOUT US SECTION --- */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.stat-item {
    padding: 1.5rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Milestones Timeline */
.timeline-container {
    margin-top: 3.5rem;
    position: relative;
    padding: 1.5rem 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 50%;
    left: 0;
    width: 66%;
    height: 2px;
    background: var(--color-blue);
    transform: translateY(-50%);
    z-index: 2;
}

.timeline-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 3;
}

.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.node-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--border-color);
    margin-bottom: 1.2rem;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.timeline-node:hover .node-dot,
.timeline-node.active .node-dot {
    transform: scale(1.2);
    border-color: var(--color-blue);
    background: #ffffff;
    box-shadow: 0 0 10px rgba(var(--color-blue-rgb), 0.3);
}

.timeline-node.active:nth-child(2) .node-dot {
    border-color: var(--color-green-real);
}

.timeline-node.active:nth-child(3) .node-dot {
    border-color: var(--color-orange);
}

.timeline-node.active:nth-child(4) .node-dot {
    border-color: var(--color-blue);
}

.node-year {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.node-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    max-width: 170px;
}

/* --- SERVICES SECTION --- */
.services-container {
    margin-top: 1.5rem;
}

.service-card {
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--border-color);
}

.service-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.service-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

/* Specific Service Themes */
.service-blue {
    border-top-color: var(--color-blue);
}
.service-blue .service-icon-wrapper {
    color: var(--color-blue);
}
.service-blue:hover {
    border-color: var(--color-blue);
}

.service-green {
    border-top-color: var(--color-green-real);
}
.service-green .service-icon-wrapper {
    color: var(--color-green-real);
}
.service-green:hover {
    border-color: var(--color-green-real);
}

.service-orange {
    border-top-color: var(--color-orange);
}
.service-orange .service-icon-wrapper {
    color: var(--color-orange);
}
.service-orange:hover {
    border-color: var(--color-orange);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.service-features svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.service-blue .service-features svg { color: var(--color-blue); }
.service-green .service-features svg { color: var(--color-green-real); }
.service-orange .service-features svg { color: var(--color-orange); }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(3px);
}

/* --- PORTFOLIO / SHOWCASE --- */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.filter-btn.active {
    background: var(--color-blue);
    color: #ffffff;
    border-color: var(--color-blue);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.portfolio-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-main);
    border: 1px solid var(--border-color);
    display: block;
    animation: fadeInScale 0.35s ease forwards;
}

.portfolio-item.hide {
    display: none;
}

.portfolio-overlay .portfolio-category.cat-blue {
    color: #60a5fa !important;
}

.portfolio-overlay .portfolio-category.cat-green {
    color: #34d399 !important;
}

.portfolio-overlay .portfolio-category.cat-orange {
    color: #fb923c !important;
}

.portfolio-img-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.4));
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.portfolio-item:hover .portfolio-img-container img {
    transform: scale(1.05);
}

.portfolio-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.portfolio-overlay p {
    color: #cbd5e1;
    font-size: 0.8rem;
}

.portfolio-link-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 6px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    align-self: flex-start;
    margin-top: 0.85rem;
    color: #ffffff;
    transition: background var(--transition-fast);
}

.portfolio-link-icon:hover {
    background: #ffffff;
    color: #000000;
}

.portfolio-link-icon svg {
    width: 14px;
    height: 14px;
}

/* --- TESTIMONIALS --- */
.testimonials-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 1rem 0;
}

.testimonials-slider {
    position: relative;
    height: auto;
    min-height: 180px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.55;
    position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
    font-size: 2.5rem;
    position: absolute;
    color: var(--border-color);
    line-height: 1;
    font-family: serif;
}

.testimonial-quote::before {
    content: '“';
    top: -15px;
    left: -20px;
}

.testimonial-quote::after {
    content: '”';
    bottom: -35px;
    right: -20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-info {
    text-align: center;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.slider-arrow {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.slider-arrow:hover {
    background: var(--bg-secondary);
    color: var(--color-blue);
}

.slider-arrow svg {
    width: 16px;
    height: 16px;
}

.slider-dots {
    display: flex;
    gap: 0.4rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    width: 18px;
    border-radius: var(--radius-full);
    background: var(--color-blue);
}

/* --- CONTACT & LOCATION --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-panel {
    padding: 2.5rem;
}

.contact-info-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.contact-info-panel > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 38px;
    height: 38px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: var(--color-blue);
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 18px;
    height: 18px;
}

.contact-detail-content h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.contact-detail-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 0.85rem;
    margin-top: 2.5rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    display: grid;
    place-items: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--color-blue);
    border-color: var(--color-blue);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-panel {
    padding: 2.5rem;
}

.contact-form-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.8rem;
}

.form-input {
    width: 100%;
    padding: 0.7rem 0;
    border-bottom: 1.5px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    border-color: var(--color-blue);
}

.form-label {
    position: absolute;
    left: 0;
    top: 0.7rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    pointer-events: none;
    transition: transform var(--transition-fast), color var(--transition-fast);
    transform-origin: left top;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    transform: translateY(-18px) scale(0.8);
    color: var(--color-blue);
}

textarea.form-input {
    min-height: 80px;
    resize: none;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-radius: 6px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    transform: translateY(50px);
    opacity: 0;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    background: var(--color-green-real);
}

.toast-error {
    background: #e11d48;
}

.toast-icon svg {
    width: 18px;
    height: 18px;
}

.toast-message {
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- FOOTER --- */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem 0;
    transition: background-color var(--transition-normal);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1.2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 250px;
}

.footer-links h4,
.footer-newsletter h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--color-blue);
    transform: translateX(3px);
    display: inline-block;
}

.footer-newsletter p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}

.newsletter-form {
    display: flex;
    border-bottom: 1.5px solid var(--border-color);
    padding-bottom: 0.4rem;
}

.newsletter-form input {
    flex-grow: 1;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.newsletter-btn {
    color: var(--color-blue);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.newsletter-btn:hover {
    color: var(--color-orange);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-bottom-links a:hover {
    color: var(--color-blue);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4.5rem 0;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Navbar Mobile */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 999;
        transition: left var(--transition-normal);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-actions {
        margin-right: 1rem;
    }
    
    /* Hero section adjust */
    .hero {
        padding-top: 7rem;
        text-align: center;
        min-height: auto;
        padding-bottom: 3.5rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-desc {
        margin: 0 auto 2rem auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
    
    .interactive-mesh {
        max-width: 320px;
    }
    
    .floating-card {
        display: none;
    }
    
    /* Stats timeline */
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-line, .timeline-progress {
        display: none;
    }
    
    .timeline-items {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-node {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .node-dot {
        margin-bottom: 0;
        margin-top: 0.2rem;
    }
    
    .node-text {
        max-width: 100%;
    }
    
    .testimonials-slider {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .grid-3, .portfolio-grid, .about-stats, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .testimonials-slider {
        height: 380px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info-panel, .contact-form-panel {
        padding: 2rem 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Burger animation when mobile nav is open */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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