/* ================================================================
   ROOT & GLOBAL STYLES
   - Color variables for dark and light themes
   - Dynamic text color switching
================================================================ */

:root {
    --bg-black: #050505;
    --neon-blue: #00f2ff;
    --neon-green: #39FF14;
    --neon-magenta: #ff00ff;
    --neon-yellow: #f4ff5e;
    
    --brand-scale: clamp(0.55, 1.2vw, 1.2); 
    --global-nudge: -18%; 
    --text-offset-left: 8em;   
    --x-height-top: 3.5em; 
    
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(255,255,255,0.03);
    --card-border: rgba(255,255,255,0.08);
    --header-bg: rgba(5, 5, 5, 0.75);
    --section-spacing: 120px;
}

/* Light Theme Overrides */
body.light-theme {
    --bg-black: #f5f5f7;
    --text-main: #1d1d1f; /* Dark Gray for high readability */
    --text-muted: #424245; /* Medium Gray for descriptions */
    --card-bg: #ffffff;
    --card-border: rgba(0,0,0,0.1);
    --header-bg: rgba(245, 245, 247, 0.8);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    background: var(--bg-black);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}



/* ================================================================
   LIGHT THEME
   - All color overrides for light theme mode
   - Updated table styles for light backgrounds
================================================================ */

body.light-theme {
    --bg-black: #f5f5f7;
    --text-main: #1d1d1f;
    --card-bg: rgba(0,0,0,0.04);
    --card-border: rgba(0,0,0,0.12);
    --header-bg: rgba(245, 245, 247, 0.85);
    --neon-blue: #005a63;    
    --neon-magenta: #8e008e; 
    --neon-green: #1a6d0a;   
}

body.light-theme .post-content table {
    background: #ffffff;
    border: 1px solid var(--card-border);
}

body.light-theme .post-content th {
    background: rgba(0, 0, 0, 0.05);
    color: var(--neon-magenta);
    border-bottom: 2px solid var(--card-border);
}

body.light-theme .post-content td {
    color: #333333;
    border-bottom: 1px solid var(--card-border);
}

body.light-theme .post-content tr:hover td {
    background: rgba(0, 0, 0, 0.02);
}

body.light-theme .client-card img { 
    filter: brightness(0) opacity(0.7);
}

body.light-theme .table-wrapper {
    background: #ffffff;
}




/* ================================================================
   STICKY NAVIGATION
   - Fixed header that stays at top of page
   - Navigation links and theme toggle button
================================================================ */

.sticky-nav {
    position: fixed;
    top: 0; 
    width: 100%;
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--header-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    border-bottom: 1px solid var(--card-border);
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-right: 25px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.theme-toggle {
    cursor: pointer;
    background: var(--card-bg);
    width: 45px; 
    height: 45px;
    border-radius: 50%;
    display: flex; 
    justify-content: center; 
    align-items: center;
    border: 1px solid var(--card-border);
    font-size: 1.2rem;
}




/* ================================================================
   PARALLAX BACKGROUND
   - Fixed animated background with neon orbs
   - Creates depth and visual interest
================================================================ */

.neon-canvas {
    position: fixed;
    top: -10%; 
    left: 0; 
    width: 100%; 
    height: 130%; 
    z-index: -1;
    animation: colorShift 40s infinite alternate linear;
    pointer-events: none;
}

.orb { 
    position: absolute; 
    border-radius: 50%; 
    filter: blur(120px); 
    opacity: 0.2; 
}

.blue { 
    width: 400px; 
    height: 400px; 
    background: var(--neon-blue); 
    top: 10%; 
    left: 5%; 
}

.green { 
    width: 350px; 
    height: 350px; 
    background: var(--neon-green); 
    bottom: 15%; 
    right: 10%; 
}

.magenta { 
    width: 450px; 
    height: 450px; 
    background: var(--neon-magenta); 
    top: 35%; 
    left: 40%; 
}

@keyframes colorShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}



/* ================================================================
   HERO SECTION
   - Main landing area with video and brand logo
   - Responsive layout that adapts to mobile/tablet/desktop
================================================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 5% 40px;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* VIDEO SHOWREEL */
.showreel-container {
    width: 100%;
    max-width: 95%;
    z-index: 5;
    aspect-ratio: 16 / 9;
    transition: all 0.4s ease-in-out;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--card-border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
}

/* BRAND LOGO & TITLE */
.brand-anchor {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    transform: scale(0.45); 
    transform-origin: center center;
    z-index: 10;
}

.logo-column {
    flex-shrink: 0;
}

.brand-static-logo {
    height: 11em;
    width: auto;
    display: block;
}

.text-column {
    margin-left: 15px;
    margin-top: 3.5em;
    min-width: 280px; 
    max-width: 450px;
    min-height: 14em; 
    display: block;
}

#typewriter {
    font-family: 'Dosis', sans-serif;
    font-weight: 500;
    font-size: 3.9rem;
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -1px;
    white-space: pre-wrap; 
}

.cursor {
    color: var(--neon-green);
    animation: blink 0.8s infinite;
    margin-left: 0.05em;
}

@keyframes blink { 
    50% { opacity: 0; } 
}

/* DESKTOP LAYOUT - HERO SECTION */
@media (min-width: 1024px) {
    .hero-section {
        flex-direction: row; 
        justify-content: space-between;
        padding: 0 5% 0 8%; 
        gap: 10px;
    }

    .showreel-container {
        flex: 2.8;
        max-width: 1250px; 
    }

    .brand-anchor {
        flex: 1;
        justify-content: flex-end;
        margin-right: 4%; 
        transform: scale(0.8);
        transform-origin: right center;
    }

    .text-column {
        min-width: 450px;
    }
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
    transition: opacity 0.5s ease;
}

/* PC Mouse Styling */
.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-main);
    border-radius: 15px;
    position: relative;
    opacity: 0.7;
}

/* Mobile/Tablet Phone Styling */
.hand {
    width: 28px;
    height: 48px;
    border: 2px solid var(--text-main);
    border-radius: 6px; /* Reduced corner for device look */
    position: relative;
    opacity: 0.7;
}

.wheel, .finger {
    width: 4px;
    height: 8px;
    background-color: var(--neon-blue);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.wheel { top: 8px; animation: scroll-dot 1.8s infinite; }
.finger { bottom: 10px; animation: mobile-swipe 1.8s infinite; }

.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-main);
    opacity: 0.6;
    font-weight: 500;
    text-align: center;
}

/* Keyframes */
@keyframes scroll-dot {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

@keyframes mobile-swipe {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}

/* Desktop/Mobile Toggle Logic */
.mobile-only { display: none; }

@media (max-width: 1024px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }
    .scroll-indicator { bottom: 40px; }
}

/* ================================================================
   SECTION TITLES
   - Large headings for each main section
   - Includes neon underline with glow effect
================================================================ */

.section-title {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 60px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    font-size: clamp(1.8rem, 4vw, 2.5rem); 
    color: var(--text-main);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 1.5px;
    background: var(--neon-blue);
    margin: 15px auto 0;
    box-shadow: 0 0 8px var(--neon-blue);
    opacity: 0.8;
}



/* ================================================================
   ABOUT SECTION
   - Introduction text and main CTA button
================================================================ */

.about-section {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Forces button and title to center */
    text-align: center;
}

.about-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 15px; /* Tiny safety gutter for mobile screens */
}

.about-lead {
    font-size: 1.4rem;
    font-weight: 500; /* Medium weight for premium look */
    line-height: 1.5;
    color: var(--text-main);
    margin-bottom: 25px;
}

.about-text {
    font-size: 1.05rem;
    font-weight: 300; /* Light weight to avoid "chunky" bold look */
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Fix for the button alignment */
.about-section .cta-btn {
    display: inline-block;
    margin: 40px auto 0 auto; /* Centers the button horizontally */
}

/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 768px) {
    .about-section {
        padding: 60px 20px; /* Reduces vertical gap on phones */
    }

    .about-lead {
        font-size: 1.15rem;
        font-weight: 600; /* Slightly more visible on small screens */
        line-height: 1.4;
        padding: 0 5px;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 5px;
        font-weight: 300; /* Keeps it elegant, not bold */
    }
}
/* --- FOUNDER SECTION --- */
.founder-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--card-border);
}

.founder-image {
    flex: 0 0 200px; /* Prevents the image container from shrinking */
}

.founder-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid var(--neon-blue);
}

/* --- MOBILE FIX --- */
@media (max-width: 768px) {
    .founder-section {
        flex-direction: column; /* Forces vertical stack */
        text-align: center;
        padding: 30px 20px;
        gap: 25px; /* Reduced gap for mobile */
    }

    .founder-image {
        flex: 0 0 auto; /* Allows it to take natural size in column mode */
    }

    .founder-image img {
        width: 180px; /* Slightly smaller for mobile screens */
        height: 180px;
    }
}

/* ================================================================
   CALL-TO-ACTION BUTTONS
   - Main buttons with hover effects
================================================================ */

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--neon-blue);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 100px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}

.cta-btn:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

/* ================================================================
   BLOG & SERVICES CONTAINERS
   - Grid layouts for different card styles
   - Added max-width to minimal-grid to prevent over-stretching
================================================================ */

.blog-container, 
.services-container, 
.minimal-grid {
    display: grid;
    gap: 30px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; /* Safe gutter for all screen sizes */
    box-sizing: border-box;
}

/* Blog Specific */
.blog-container { 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    max-width: 1100px;
    margin-bottom: 80px;
}

/* Services Specific */
.services-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px;
    margin-bottom: 80px;
    justify-content: center;
}

/* Minimal Grid Specific */
.minimal-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1000px; 
    margin-bottom: 100px;
}

/* --- RESPONSIVE JUMP TO VERTICAL --- */
@media (max-width: 768px) {
    .blog-container, 
    .services-container, 
    .minimal-grid {
        /* Force single column layout */
        grid-template-columns: 1fr !important; 
        gap: 20px;
        padding: 0 15px; /* Slightly tighter padding for small phones */
    }

    /* Prevent text or images within cards from causing overflow */
    .card, .card-minimal {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Desktop Centering Refinements */
@media (min-width: 1130px) {
    .blog-container { margin-bottom: 100px; }
}

@media (min-width: 1230px) {
    .services-container { 
        margin-bottom: 100px;
        /* Balanced 3-column cap for ultra-wide screens */
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

/* ================================================================
   CARD REFINEMENTS (Editor's Choice & General)
   - Refined typography for a premium, modern feel
================================================================ */

.card { 
    background: var(--card-bg); 
    border: 1px solid var(--card-border); 
    padding: 35px; 
    border-radius: 24px; 
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -0.02em; /* Tighter headings for modern look */
    color: var(--text-main);
}

.card p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-muted); /* Fix: Now dynamic instead of fixed white */
    margin-bottom: 0;
}

.card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 22px;
}

.card:hover { 
    transform: translateY(-10px); 
    border-color: var(--neon-magenta); 
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ================================================================
   MINIMAL CARDS (Discover More)
   - Compact horizontal layout
================================================================ */

.card-minimal {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
    gap: 18px;
}

.card-minimal:hover {
    border-color: var(--neon-blue);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.minimal-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.minimal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.minimal-content h3 {
    font-size: 1.05rem;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* ================================================================
   MOBILE OPTIMIZATION
================================================================ */

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .card {
        padding: 25px 20px;
    }

    .card h3 {
        font-size: 1.25rem;
    }

    .minimal-grid {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 25px 18px !important;
    }
}



/* ================================================================
   CARDS - CLIENT LOGOS
   - Grid for displaying client/partner logos
================================================================ */

/* ================================================================
   FOUNDER SECTION
================================================================ */
.founder-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--card-border);
}

.founder-image {
    flex: 0 0 200px; /* Keeps image size locked on desktop */
}

.founder-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid var(--neon-blue);
}

/* ================================================================
   CLIENT GRID & LOGOS
================================================================ */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.client-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 160px;
    transition: all 0.3s ease;
}

.client-card img {
    width: auto;
    max-width: 90%; /* Increased for more presence */
    max-height: 85px; 
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

body.light-theme .client-card img {
    filter: brightness(0) opacity(0.6);
}

/* ================================================================
   MOBILE RESPONSIVENESS FIX
================================================================ */
@media (max-width: 768px) {
    /* Founder Fix: Force vertical stack */
    .founder-section {
        flex-direction: column !important; /* Forces the jump to vertical */
        text-align: center;
        padding: 30px 20px;
        gap: 25px;
    }

    .founder-image {
        flex: 0 0 auto; /* Removes fixed width constraint */
    }

    /* Client Fix: Bigger SVGs */
    .client-grid {
        grid-template-columns: 1fr;
    }

    .client-card {
        height: 200px; /* Taller card to house bigger logo */
        padding: 40px;
    }

    .client-card img {
        max-height: 110px; /* Significantly larger on mobile */
        max-width: 80%;
    }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .client-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 20px;
    }

    .client-card {
        height: 180px; /* Even taller on mobile for maximum impact */
        padding: 50px;
    }

    .client-card img {
        max-height: 100px; /* Large visible logos on mobile */
    }
}



/* ================================================================
   CONTACT FORM & INPUT FIELDS
   - Form styling and submit button
   - Input field styling for text and textarea
================================================================ */

.contact-section { 
    padding: var(--section-spacing) 20px; 
    display: flex; 
    justify-content: center; 
}

.form-card { 
    background: var(--card-bg); 
    padding: 50px; 
    border-radius: 24px; 
    border: 1px solid var(--card-border); 
    width: 100%; 
    max-width: 600px; 
}

.form-card form { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.form-card input, .form-card textarea { 
    background: rgba(255,255,255,0.05); 
    border: 1px solid var(--card-border); 
    padding: 15px; 
    border-radius: 12px; 
    color: var(--text-main); 
    font-family: inherit;
    transition: 0.3s;
}

/* Light Theme Input Adjustment */
body.light-theme .form-card input, 
body.light-theme .form-card textarea {
    background: rgba(0,0,0,0.03);
}

.form-card input:focus, .form-card textarea:focus { 
    outline: none; 
    border-color: var(--neon-blue); 
    background: rgba(255,255,255,0.08);
}

/* Updated Form Submit Button - Fixed Visibility */
.form-card button[type="submit"] {
    background: transparent;
    color: var(--text-main);
    /* Force 2px solid neon border to be visible at all times */
    border: 2px solid var(--neon-blue) !important; 
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    width: 100%; /* Keeps it aligned with the form inputs */
    display: block;
    margin-top: 10px;
}

.form-card button[type="submit"]:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .form-card { padding: 30px 20px; }
}




/* ================================================================
   ARTICLE & POST CONTENT
   - Styles for blog post pages
   - Headings, paragraphs, and list styling
================================================================ */

.post-header { 
    text-align: center; 
    padding: 160px 8% 40px; 
}

.post-header h1 { 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    font-weight: 600; 
}

.post-content {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 0 1%;
}

.post-content p { 
    font-size: 1.1rem; 
    line-height: 1.8; 
    margin-bottom: 25px; 
    font-weight: 300; 
    opacity: 0.9; 
}

.post-content h2, .post-content h3 { 
    margin: 40px 0 20px; 
    color: var(--neon-blue); 
}

/* LISTS - BULLETS & NUMBERED */
.post-content ul, .post-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.post-content li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 12px;
    font-weight: 300;
    opacity: 0.9;
    list-style-position: outside;
}

.post-content ul li::marker {
    color: var(--neon-green);
}

@media (max-width: 768px) {
    .post-content {
        padding: 0 5px;
    }

    .form-card h1.section-title {
        padding: 0 5px;
        font-size: 1.6rem;
    }
}




/* ================================================================
   TABLE STYLES
   - Responsive table design for blog posts
   - Mobile-friendly scrolling for small screens
================================================================ */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.post-content table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.9rem;
}

.post-content th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--neon-magenta);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    padding: 15px 20px;
    border-bottom: 2px solid var(--card-border);
}

.post-content td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.5;
}

.post-content tr:hover td {
    background: rgba(255, 255, 255, 0.01);
    color: #fff;
}

.post-content tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .post-content table {
        font-size: 0.8rem;
    }
    
    .table-wrapper::after {
        content: "Swipe to view more →";
        display: block;
        text-align: right;
        font-size: 0.7rem;
        padding: 8px;
        color: var(--neon-blue);
        opacity: 0.6;
    }
}

/* Fix Table Row Visibility in Light Theme */
body.light-theme tr:hover td {
    color: var(--text-main) !important;
}

/* If your tables use the card-style container */
body.light-theme .card:hover p,
body.light-theme .card:hover td {
    color: var(--text-main);
}


/* ================================================================
   FOOTER
   - Bottom section with social links and copyright
   - Social media icon styling and animations
================================================================ */

footer { 
    padding: 100px 20px;
    text-align: center; 
    border-top: 1px solid var(--card-border); 
}

.social-links { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    margin-bottom: 20px; 
}

.social-links a {
    color: var(--text-main);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.7;
    text-decoration: none;
    display: inline-block;
}

.social-links a:hover {
    color: var(--neon-blue);
    transform: translateY(-5px);
    opacity: 1;
    text-decoration: none;
}

.social-footer { 
    font-size: 0.9rem; 
    opacity: 0.5; 
    letter-spacing: 1px;
    text-transform: uppercase;
}



/* ================================================================
   MOBILE RESPONSIVE ADJUSTMENTS
   - Optimizations for small screens (tablets and phones)
   - Reduces padding, font sizes, and adjusts layouts
================================================================ */

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}
