/* =====================================================
   TRIGENTIX - PRODUCTION-READY IT AGENCY WEBSITE
   Modern Dark Mode | Glassmorphism | Mesh Gradients
   Apple-meets-Stripe Aesthetic
   ===================================================== */

/* ================== CSS VARIABLES ================== */
:root {
    /* Color Palette */
    --obsidian: #050505;
    --obsidian-light: #0f1219;
    --obsidian-lighter: #1a1f2e;
    --cyan: #00f2ff;
    --purple: #7000ff;
    --cyan-gradient: linear-gradient(135deg, #00f2ff, #0099cc);
    --purple-gradient: linear-gradient(135deg, #7000ff, #5500dd);
    --gradient-primary: linear-gradient(135deg, #00f2ff 0%, #7000ff 100%);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    
    /* Functional Colors */
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(15, 18, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 12px rgba(0, 242, 255, 0.1);
    --shadow-md: 0 12px 32px rgba(0, 242, 255, 0.15);
    --shadow-lg: 0 20px 50px rgba(112, 0, 255, 0.2);
    --glow-cyan: 0 0 20px rgba(0, 242, 255, 0.3);
    --glow-purple: 0 0 20px rgba(112, 0, 255, 0.3);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================== GLOBAL STYLES ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: linear-gradient(135deg, var(--obsidian) 0%, var(--obsidian-light) 100%);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Mesh Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 242, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(112, 0, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ================== TYPOGRAPHY ================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@600;700;800&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 1rem;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--purple);
}

/* ================== BUTTONS ================== */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--obsidian);
    font-weight: 700;
    box-shadow: var(--shadow-md), 0 0 20px rgba(0, 242, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(112, 0, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--cyan);
    color: var(--cyan);
}

.btn-secondary:hover {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--purple);
    color: var(--purple);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* ================== NAVIGATION BAR ================== */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.navbar-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.3));
    transition: var(--transition);
}

.navbar:hover .navbar-logo {
    filter: drop-shadow(0 0 12px rgba(0, 242, 255, 0.5));
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 0.75rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--cyan) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* ================== HERO SECTION ================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    padding: 6rem 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.3;
}

.gradient-blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--cyan), transparent);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.gradient-blob-2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--purple), transparent);
    bottom: -150px;
    left: -150px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0px, 0px); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.split-text {
    display: inline-block;
    opacity: 1;
    animation: none;
}

@keyframes splitTextReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 2rem auto;
    line-height: 1.8;
    animation: slideUp 0.8s ease-out 0.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    animation: slideUp 0.8s ease-out 0.6s both;
}

/* ================== BENTO GRID (SERVICES) ================== */
.bento-section {
    padding: 6rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.bento-item:hover {
    border-color: var(--cyan);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 2;
    position: relative;
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.bento-item p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.bento-link {
    color: var(--cyan);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.bento-link:hover {
    transform: translateX(5px);
    color: var(--purple);
}

/* ================== WHY CHOOSE US SECTION ================== */
.why-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(0, 242, 255, 0.05));
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.why-content h2 {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cyan);
    flex-shrink: 0;
}

.benefit-text h4 {
    background: none;
    -webkit-text-fill-color: unset;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.benefit-text p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.why-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ================== TESTIMONIALS SECTION ================== */
.testimonials-section {
    padding: 6rem 2rem;
}

.testimonial-swiper {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--cyan);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author h6 {
    background: none;
    -webkit-text-fill-color: unset;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2);
}

.swiper-pagination-bullet-active {
    background: var(--cyan);
}

/* ================== TECH STACK SECTION ================== */
.tech-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, rgba(112, 0, 255, 0.05), transparent);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-secondary);
}

.tech-item:hover {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--cyan);
    transform: scale(1.05);
}

/* ================== PORTFOLIO SECTION ================== */
.portfolio-section {
    padding: 6rem 2rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--glass-bg);
    border-color: var(--cyan);
    color: var(--cyan);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 1;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(112, 0, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.2), rgba(112, 0, 255, 0.2));
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    background: none;
    -webkit-text-fill-color: unset;
    color: var(--cyan);
    margin: 0;
    font-size: 1.25rem;
}

.portfolio-overlay p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ================== CONTACT SECTION ================== */
.contact-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(0, 242, 255, 0.03));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    background: none;
    -webkit-text-fill-color: unset;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.info-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ================== FORM STYLES ================== */
.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(15px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control,
.form-select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.form-group.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ================== FOOTER ================== */
.footer {
    background: rgba(5, 5, 5, 0.8);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-section h5 {
    background: none;
    -webkit-text-fill-color: unset;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--cyan);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--cyan);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--cyan);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ================== PAGE HERO SECTIONS ================== */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* ================== TIMELINE SECTION ================== */
.timeline {
    position: relative;
    padding: 4rem 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--cyan), var(--purple));
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) > div {
    direction: ltr;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--cyan);
    border: 3px solid var(--obsidian);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-year {
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* ================== RESPONSIVE DESIGN ================== */
@media (max-width: 992px) {
    .why-grid,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        margin-left: 60px;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .timeline-dot {
        left: 11px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .navbar-logo {
        height: 35px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .bento-grid,
    .why-grid,
    .portfolio-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-group.two-col {
        grid-template-columns: 1fr;
    }

    .footer-section {
        text-align: center;
    }

    .social-links,
    .newsletter-form {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }

    .navbar {
        padding: 1rem 0;
    }

    .navbar-nav {
        padding-top: 1rem;
    }

    .hero-section,
    .bento-section,
    .why-section,
    .testimonials-section,
    .tech-section,
    .portfolio-section,
    .contact-section {
        padding: 4rem 1rem;
    }

    .bento-item,
    .testimonial-card,
    .contact-form {
        padding: 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .contact-info {
        gap: 1rem;
    }
}

/* ================== UTILITIES ================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding: 3rem 0;
}

.opacity-reduced {
    opacity: 0.7;
}

/* ================== SCROLLBAR ================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--obsidian);
}

::-webkit-scrollbar-thumb {
    background: var(--cyan);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--purple);
}
