/* Modern Premium Design System for Pacific Computer Services */
/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #06b6d4;
    --accent: #f472b6;
    --dark-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --gradient-1: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-text: linear-gradient(to right, #4f46e5, #06b6d4, #f472b6);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
}

/* Header & Navigation */
header.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.modern-header.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    filter: brightness(1.2);
}

.nav-links {
    display: flex;
    gap: 40px;
}

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

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

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

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

.cta-btn {
    padding: 12px 30px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.5);
}

/* Hero Section */
/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 0;
    overflow: hidden;
    background: url('../images/banner/banner-2.jpg') no-repeat center center/cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    /* Dark overlay */
    z-index: 0;
}

.hero-content,
.hero-bg-glow,
.hero-bg-glow-2 {
    position: relative;
    z-index: 1;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.4) 0%, rgba(15, 23, 42, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    animation: pulse 10s infinite alternate;
}

.hero-bg-glow-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(15, 23, 42, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    animation: pulse 8s infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.secondary-btn {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.secondary-btn:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: absolute;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.float-1 {
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    bottom: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite 1s;
}

.float-3 {
    top: 40%;
    left: 40%;
    animation: float 7s ease-in-out infinite 0.5s;
    z-index: 2;
    width: 280px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

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

/* Features/Services Section */
.section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.sub-tag {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.learn-more {
    color: var(--secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.learn-more i {
    transition: 0.3s;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.about-img-bg {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 20px;
    z-index: 1;
}

/* Footer */
.modern-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding: 80px 40px 30px;
    margin-top: 100px;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.footer-desc {
    color: var(--text-secondary);
    max-width: 350px;
    margin-bottom: 25px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: white;
}

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

.footer-links a {
    color: var(--text-secondary);
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--gradient-1);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
        /* Hide complex flotating visual on smaller screens for simplicity */
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Need a mobile menu but strict 1 file constraint, simple hiding for now or basic vertical? */
    }

    .section-title {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .hero-section {
        padding: 100px 20px 40px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }
}

/* Page Header (Inner Pages) */
.page-header {
    margin-top: 80px;
    /* Space for fixed header */
    padding: 100px 0 80px;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.15) 0%, rgba(15, 23, 42, 0) 60%),
        radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.1) 0%, rgba(15, 23, 42, 0) 60%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.breadcrumb a {
    color: var(--secondary);
}

.breadcrumb a:hover {
    color: var(--accent);
}

/* Forms (Contact/Enquiry) */
.glass-form {
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
}

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

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

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

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

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    padding: 30px;
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

/* Content Sections */
.text-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.text-content h3 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: white;
}

.feature-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* --- New Advanced Interactions --- */

/* 1. 3D Tilt Effect Base */
.glass-card {
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* 2. Typewriter Effect Cursor */
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    /* Scales with font size */
    background-color: var(--secondary);
    margin-left: 5px;
    vertical-align: middle;
    /* Align with text */
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* 3. Tech Particle Canvas */
#tech-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind content but above background image */
    pointer-events: none;
    /* Let clicks pass through */
}

/* 4. Partner Logo Marquee */
.partner-marquee {
    overflow: hidden;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle frost */
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    position: relative;
    margin-top: -60px;
    /* Pull it up to overlap/sit nicely or adjust as needed */
    z-index: 2;
}

.marquee-track {
    display: inline-block;
    animation: scroll 30s linear infinite;
}


.partner-logo {
    display: inline-block;
    height: 50px;
    margin: 0 40px;
    opacity: 0.7;
    transition: all 0.3s;
    /* Force logos to White */
    filter: brightness(0) invert(1);

    /* Fallback Text Styles */
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 50px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.partner-logo:hover {
    opacity: 1;
    filter: none;
    /* Show original colors */
    color: var(--secondary);
    /* Fallback text hover color */
    text-shadow: 0 0 20px var(--secondary);
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Assumes track contains 2 sets of logos */
}

/* Ensure Logo in Marquee is distinct */
.partner-logo img {
    height: 100%;
    width: auto;
}

/* ===================================
   WhatsApp Button
   =================================== */

.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 2000;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
    font-size: 2rem;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #128c7e;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    right: 75px;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 15px rgba(37, 211, 102, 0.1);
    }
}

@media (max-width: 768px) {
    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-button i {
        font-size: 1.75rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
}