/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Color Variables */
:root {
    --primary-color: #8A2BE2; /* Purple */
    --secondary-color: #FF00FF; /* Magenta */
    --accent-color: #00BFFF;   /* Cyan */
    --dark-bg: #0a0a0a;
    --light-text: #f8f9fa;
}

body {
    padding-top: 56px;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    cursor: none; /* Hide default cursor */
}

/* --- NEW DUAL-ELEMENT CURSOR --- */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-color);
}

/* Cursor hover effect on links/buttons */
a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5 !important;
}

/* --- 3D Background & Hero --- */
#vanta-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}

#hero {
    height: 100vh;
    color: var(--light-text);
    background: transparent;
}

#hero h1 { font-size: 4.5rem; font-weight: 700; text-shadow: 0 0 20px rgba(0,0,0,0.5); }
#hero .lead { font-size: 1.5rem; }

/* Navbar */
.navbar {
    background: transparent;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}
.navbar .nav-link {
    font-weight: 600;
    color: var(--light-text);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    position: relative;
    padding-bottom: 5px;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transition: width 0.3s ease;
}
.navbar .nav-link:hover::after, .navbar .nav-link.active::after {
    width: 100%;
}
/* Hero Section */
#hero {
    height: 100vh;
    color: var(--light-text);
    background: linear-gradient(-45deg, #8A2BE2, #FF00FF, #00BFFF, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
#hero h1 { font-size: 3.8rem; font-weight: 700; }
.typed-cursor { color: var(--accent-color); }

/* Section Titles */
.section-title {
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    display: inline-block; padding-bottom: 5px;
}

/* --- SECTION STYLES --- */
#approach { background: #fff; }
#approach .lead { font-weight: 400; font-size: 1.2rem; color: #555; margin-bottom: 1rem; }
#services.bg-light, #clients { border-top: 1px solid #e9ecef; border-bottom: 1px solid #e9ecef; }
.service-card { border: 1px solid #e9ecef; border-radius: 15px; background-color: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2); }
.service-icon { font-size: 3rem; background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.service-card h5 { font-size: 1.1rem; font-weight: 600; }
.feature-card { text-align: center; padding: 30px; background: #fff; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; height: 100%; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.feature-icon { font-size: 3rem; margin-bottom: 15px; display: inline-block; background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.feature-card h5 { font-weight: 600; margin-bottom: 10px; }
.client-logo { height: 60px; margin: 15px; filter: grayscale(100%); opacity: 0.6; transition: all 0.3s ease-in-out; }
.client-logo:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }

/* --- FOOTER --- */
#footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
}
.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--accent-color);
}
.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}
.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: var(--accent-color);
}
#footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--secondary-color), 0 0 30px var(--accent-color);
}