/* 
   SiFiTech Premium Dark Theme
   Color Palette: Neon Blue (#00E5FF), Purple Glow (#8B5CF6), Deep Violet Space Black (#07050F)
   Typography: Outfit (Headings) & Inter (Body)
   Inspired by modern developer portfolios with glassmorphism and background radial spotlights.
*/

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

:root {
    --primary: #00E5FF; /* Cyan glow */
    --primary-hover: #38bdf8;
    --primary-solid: #002D9C; /* Logo blue */
    --primary-light: rgba(0, 229, 255, 0.1);
    
    --purple: #8B5CF6; /* Violet glow */
    --purple-light: rgba(139, 92, 246, 0.15);
    
    --secondary: #FFFFFF;
    --secondary-light: #E2E8F0;
    
    --bg-base: #06040A; /* Rich space black */
    --bg-card: rgba(15, 12, 28, 0.55); /* Glassmorphic dark card */
    --bg-header: rgba(6, 4, 10, 0.75);
    
    --text: #F1F5F9; /* White-silver text */
    --text-muted: #94A3B8; /* Slate-400 */
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(0, 229, 255, 0.3);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 15px 35px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow-cyan: 0 0 15px rgba(0, 229, 255, 0.35);
    --shadow-glow-purple: 0 0 20px rgba(139, 92, 246, 0.25);
    
    --whatsapp: #25D366;
    --whatsapp-hover: #20ba5a;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Radial Spotlights in Background */
body::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 65%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    top: 600px;
    right: 5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.07) 0%, transparent 65%);
    z-index: -2;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

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

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* Navigation Header */
header {
    position: sticky;
    top: 0;
    background-color: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(6, 4, 10, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo img {
    /* CSS filter trick: inverts black to white, while keeping the logo blue intact */
    filter: invert(1) hue-rotate(180deg) brightness(1.2);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    box-shadow: var(--shadow-glow-cyan);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary);
}

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

.nav-link.active {
    color: var(--secondary);
    font-weight: 600;
}

.nav-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: white !important;
    padding: 10px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.nav-btn:hover {
    background-color: var(--purple-light);
    border-color: var(--purple);
    box-shadow: var(--shadow-glow-purple);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    padding: 4px;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 64px;
    align-items: center;
}

/* Greeting speech bubble style */
.hero-greeting {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #C084FC;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-greeting svg {
    color: var(--primary);
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

/* Neon text color highlights */
.hero-title span.glow-purple {
    color: #A855F7;
    background: linear-gradient(to right, #C084FC, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span.glow-cyan {
    color: #00E5FF;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.hero-desc {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--purple);
    color: white;
    box-shadow: var(--shadow-glow-purple);
}

.btn-primary:hover {
    background-color: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.45);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.35);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--secondary);
    border: 1px solid var(--border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Hero Profile Frame & Ambient Glow Spotlights */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2;
    width: 100%;
    max-width: 400px;
    transition: var(--transition);
}

.hero-box:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow-cyan), var(--shadow-lg);
}

/* Spotlight glow behind avatar image */
.profile-spotlight-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, transparent 70%);
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
}

.tech-bubble-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.tech-bubble {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.tech-bubble:hover {
    color: var(--primary);
    border-color: var(--primary-light);
    background-color: rgba(0, 229, 255, 0.04);
}

/* Sections Header */
.section-header {
    text-align: center;
    margin-bottom: 72px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
    display: block;
}

.section-title {
    font-size: 42px;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    font-weight: 800;
}

.section-desc {
    color: var(--text-muted);
    font-size: 17px;
    font-weight: 300;
}

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 44px 36px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow-purple), var(--shadow-lg);
    border-color: rgba(139, 92, 246, 0.3);
}

.service-icon {
    width: 52px;
    height: 52px;
    background-color: var(--purple-light);
    color: var(--purple);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.service-title {
    font-size: 22px;
    margin-bottom: 18px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    flex-grow: 1;
    font-weight: 300;
}

.service-bullets {
    list-style: none;
    margin-bottom: 32px;
}

.service-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.service-bullets svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    color: var(--secondary);
    gap: 10px;
}

/* Project Filter Container */
.projects-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 44px;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    list-style: none;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.filter-tab:hover {
    color: var(--secondary);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-tab.active {
    background-color: var(--purple);
    color: white;
    border-color: var(--purple);
    box-shadow: var(--shadow-glow-purple);
}

.search-box-container {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    font-family: var(--font-body);
    font-size: 14px;
    color: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15), var(--shadow-glow-cyan);
}

.search-icon-svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    width: 18px;
    height: 18px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-cyan), var(--shadow-lg);
    border-color: rgba(0, 229, 255, 0.3);
}

.project-visual-header {
    height: 190px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

/* Diagonal glass shine overlay on project header */
.project-visual-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    transform: skewX(-20deg);
    transition: all 0.75s ease;
}

.project-card:hover .project-visual-header::after {
    left: 150%;
}

.project-category-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background-color: rgba(6, 4, 10, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--secondary);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-visual-inner {
    text-align: center;
    padding: 24px;
}

.project-visual-icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-visual-icon svg {
    width: 50px;
    height: 50px;
    color: white;
    stroke-width: 1.5;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.project-visual-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.9;
}

.project-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 20px;
    margin-bottom: 14px;
    line-height: 1.35;
}

.project-title a:hover {
    color: var(--primary);
}

.project-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 300;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-tag {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.project-card:hover .tech-tag {
    color: var(--secondary);
    border-color: rgba(255, 255, 255, 0.15);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin-top: auto;
}

.project-more-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.project-more-link:hover {
    color: var(--secondary);
    gap: 8px;
}

.project-whatsapp-enquiry {
    color: var(--whatsapp);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.08);
    transition: var(--transition);
}

.project-whatsapp-enquiry:hover {
    background-color: var(--whatsapp);
    color: white;
    transform: scale(1.15) rotate(10deg);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 24px;
    background-color: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
}

/* Call To Action Card Banner */
.cta-banner {
    background-color: #0d0a1d;
    color: white;
    border-radius: var(--radius-lg);
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: radial-gradient(circle at bottom left, rgba(0, 229, 255, 0.08), transparent 45%),
                radial-gradient(circle at top right, rgba(139, 92, 246, 0.15), transparent 50%),
                #0d0c1c;
    transition: var(--transition);
}

.cta-banner:hover {
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: var(--shadow-glow-purple), var(--shadow-lg);
}

.cta-banner h2 {
    color: white;
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-banner p {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.cta-banner-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Footer styling */
footer {
    background-color: #040307;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 0.6fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    color: white;
    font-size: 17px;
    margin-bottom: 28px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-col p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-weight: 300;
}

.footer-logo img {
    filter: invert(1) hue-rotate(180deg) brightness(1.2);
    transition: var(--transition);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

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

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-contact-info svg {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact-info p {
    margin: 0;
    font-weight: 300;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background-color: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 8px 30px rgba(37,211,102,0.3);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1) rotate(10deg);
}

.floating-whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--whatsapp);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Project Detail Page */
.detail-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.detail-back-btn:hover {
    color: var(--primary);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
    align-items: start;
}

.detail-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 32px;
}

.detail-visual-header {
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.detail-visual-header .project-category-badge {
    top: 24px;
    left: 24px;
}

.detail-body {
    padding: 48px;
}

.detail-title {
    font-size: 38px;
    margin-bottom: 28px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.detail-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 36px;
    font-weight: 300;
}

.detail-section-title {
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--purple-light);
    padding-bottom: 8px;
    display: inline-block;
    color: white;
    font-weight: 700;
}

.features-list {
    list-style: none;
    margin-bottom: 36px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 300;
}

.features-list svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 5px;
}

.detail-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sidebar-widget-title {
    font-size: 17px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-tech-tag {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-tech-tag:hover {
    border-color: var(--border-hover);
    color: var(--primary);
}

.whatsapp-action-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    transition: var(--transition);
}

.whatsapp-action-card:hover {
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.15), var(--shadow-md);
}

.whatsapp-action-card svg {
    color: var(--whatsapp);
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
}

.whatsapp-action-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.whatsapp-action-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
    font-weight: 300;
}

.whatsapp-action-card .btn {
    width: 100%;
}

/* Contact Page Form styling */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 44px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent 70%), var(--bg-card);
}

.contact-info-card h3 {
    color: white;
    font-size: 26px;
    margin-bottom: 18px;
}

.contact-info-card p {
    color: var(--text-muted);
    margin-bottom: 36px;
    font-weight: 300;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-list svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-info-list h5 {
    color: white;
    font-size: 15px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-list p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 300;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 44px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-light);
    margin-bottom: 10px;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: white;
    background-color: rgba(255, 255, 255, 0.01);
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1), var(--shadow-glow-cyan);
}

.form-select option {
    background-color: #0b0914;
    color: white;
}

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

/* Service Detail page styling */
.service-detail-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 56px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.service-detail-section:hover {
    border-color: rgba(0, 229, 255, 0.15);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

.service-detail-header h2 {
    font-size: 32px;
}

/* Process Timelines (FYP Guide) */
.process-timeline {
    position: relative;
    padding-left: 36px;
    border-left: 2px solid rgba(139, 92, 246, 0.2);
    margin: 40px 0;
}

.process-step {
    position: relative;
    margin-bottom: 40px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #06040A;
    border: 4px solid var(--purple);
    box-shadow: var(--shadow-glow-purple);
    z-index: 2;
}

.process-step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.process-step-desc {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 300;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .services-grid, .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-greeting {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .section-title {
        font-size: 34px;
    }
    
    .services-grid, .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #0b0914;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        display: none;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 38px;
    }
    
    .section-padding {
        padding: 72px 0;
    }
    
    .cta-banner {
        padding: 48px 24px;
    }
    
    .cta-banner h2 {
        font-size: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-body {
        padding: 32px 24px;
    }
    
    .detail-title {
        font-size: 28px;
    }
    
    .contact-form-card {
        padding: 32px 24px;
    }
}
