/* Global Reset & Variables */
:root {
    --bg-color: #ffffff;
    --text-color: #2A0A2E;
    /* Very Dark Deep Plum */
    --primary-color: #a855f7;
    /* Purple */
    --primary-dark: #7e22ce;
    --secondary-color: #ff64fe;
    /* Pink */
    --accent-color: #22d3ee;
    /* Cyan for contrast */
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(122, 46, 138, 0.1);
    --headline-color: #7A2E8A;
    /* Deep Grape Purple */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

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

/* Background Effects */
.dot-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    /* Removed mask to show everywhere */
}

.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: float 10s infinite ease-in-out;
}

.glow-1 {
    top: -100px;
    left: -100px;
    background: var(--primary-color);
}

.glow-2 {
    bottom: -100px;
    right: -100px;
    background: var(--secondary-color);
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--headline-color);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-color);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.main-header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: transparent;
    /* Fully transparent as requested */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo img {
    height: 100px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-cta-btn {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(45deg, #ef4444, #ff64fe);
    /* Red to Pink */
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-sub {
    font-size: 3rem;
    /* Increased size */
    letter-spacing: 1px;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
    /* Bold */
    line-height: 1.2;
}

.hero-title {
    font-size: 3rem;
    /* Unified size */
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom right, var(--headline-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero-subtitle-large {
    font-size: 3rem;
    /* Unified size */
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 700px;
    margin-bottom: 3rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #fff;
    color: #000;
}

.primary-btn:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* ROI Section */
.roi-section {
    padding: 100px 0;
}

.roi-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.roi-visual {
    display: flex;
    justify-content: center;
}

.circle-graphic {
    width: 300px;
    height: 300px;
    position: relative;
}

.circle-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), transparent);
    opacity: 0.5;
    animation: rotate 20s linear infinite;
}

.circle-inner {
    position: absolute;
    bottom: 0;
    right: 20%;
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 30px var(--secondary-color);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.solution-card p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.roi-text h3 {
    font-size: 2.0rem;
    /* Reduced by 20% from 2.5rem */
    margin-bottom: 1.5rem;
}

.roi-text p {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.highlight-text {
    color: var(--headline-color);
    font-weight: 600;
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin-top: 2rem;
}

/* Root Causes Section (3D Cards) */
.causes-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    perspective: 1000px;
    /* Essential for 3D effect */
}

.card-3d-wrap {
    height: 580px;
    /* Increased by ~5% from 550px */
    position: relative;
    transform-style: preserve-3d;
}

.card-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    /* Smooth follow */
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(255, 100, 254, 0.1));
    /* Light shade of button color (Red to Pink) */
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.1);
}

.card-3d:hover {
    /* Removed hover effects */
    /* Removed hover effects */
    border-color: transparent;
    box-shadow: none;
}

.card-front {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: translateZ(20px);
    /* Pop out content */
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero-desc {
    margin-bottom: 2rem;
    text-align: left;
    max-width: 600px;
    line-height: 1.6;
}

.hero-image-side {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.card-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.root-cause-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 12px;
}

.img-placeholder {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
}

.color-1 {
    background: linear-gradient(135deg, #1e293b, #334155);
}

.color-2 {
    background: linear-gradient(135deg, #312e81, #4338ca);
}

.color-3 {
    background: linear-gradient(135deg, #4c1d95, #6d28d9);
}

.card-content {
    text-align: center;
}

.card-content h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Solutions Section */
.solutions-section {
    padding: 100px 0;
    /* Background removed to match other sections */
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.solution-card {
    background: linear-gradient(135deg, rgba(255, 100, 254, 0.08), rgba(168, 85, 247, 0.08));
    /* Light Pink Purple */
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.1);
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 1;
    /* Always visible now as per design hint often implies strong top borders or just visible accent */
    transition: opacity 0.3s ease;
}

.solution-card:hover::before {
    opacity: 1;
}

.sol-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sol-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.sol-header h4 {
    margin-bottom: 0;
    font-size: 1.4rem;
}

.sol-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(168, 85, 247, 0.3);
    /* Lighter purple border */
    font-size: 0.95rem;
    color: var(--text-color);
}

.solution-summary {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    background: transparent;
    border-radius: 12px;
    border: none;
    color: var(--headline-color);
    font-weight: 500;
}

/* Authority Section */
.authority-section {
    padding: 100px 0;
}

.authority-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 Column View */
    gap: 4rem;
    align-items: center;
    text-align: left;
    /* Left align for 2 column */
    max-width: 1200px;
    margin: 0 auto;
}

.circle-graphic-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 30px solid var(--primary-dark);
    border-top-color: var(--secondary-color);
    transform: rotate(-45deg);
}

.auth-details-card {
    background: transparent;
    padding: 2.5rem;
    border-radius: 20px;
    border: none;
    font-size: 1.25rem;
    /* Increased by 20% approx */
}

.badge {
    display: inline-block;
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 1rem 0;
}

.badge-secondary {
    display: inline-block;
    background: rgba(217, 70, 239, 0.1);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 1rem 0;
}

.highlight-green {
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 1rem;
    font-size: 18px;
}

/* Footer */
.main-footer {
    background: transparent;
    /* Fully transparent */
    padding: 80px 0 40px;
    border-top: 1px solid #222;
    backdrop-filter: blur(10px);
    /* consistent with header */
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.footer-left h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    max-width: 400px;
}

.contact-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.info-item .label {
    font-size: 1rem;
    /* Increased by ~20% from 0.8rem */
    color: #666;
    letter-spacing: 1px;
}

.info-item .value {
    font-size: 1.35rem;
    /* Increased by ~20% from 1.1rem */
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 60px;
    /* Increased from 40px (50% bigger) */
    height: 60px;
    /* Increased from 40px */
    border-radius: 50%;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.5rem;
    /* Increased font size for icons */
}

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

/* Brand Colors */
.social-links a[title="LinkedIn"]:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-links a[title="Instagram"]:hover {
    background: #E1306C;
    border-color: #E1306C;
}

.social-links a[title="Facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-links a[title="Website"]:hover {
    background: #06b6d4;
    border-color: #06b6d4;
}

.social-links a[title="Mail"]:hover {
    background: #EA4335;
    border-color: #EA4335;
}

.social-links a[title="WhatsApp"]:hover {
    background: #25D366;
    border-color: #25D366;
}

.calendly-link img {
    width: 45px;
    /* Increased from 30px (50% bigger) */
    height: 45px;
    /* Increased from 30px */
    object-fit: contain;
}

.calendly-link:hover {
    background: #fff;
    border-color: #fff;
}

.logo-footer-right {
    text-align: right;
    margin-top: 2rem;
}

.logo-footer-right img {
    height: 120px;
    /* Bigger size as requested */
    width: auto;
}

.footer-graph-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .roi-container,
    .authority-container,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .roi-visual {
        order: -1;
    }

    .main-nav {
        display: none;
        /* Simple hide for now, would need mobile menu JS */
    }
}

.roi-card {
    background: #111;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.roi-combined-card {
    background: transparent;
    padding: 3rem;
    border-radius: 20px;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roi-combined-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: transparent;
}

/* Glass Panel Effect - Now Opaque */
.glass-panel {
    background: transparent !important;
    /* Transparent background */
    border: none !important;
    box-shadow: none;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    /* Fast transform for tilt */
    transform-style: preserve-3d;
    will-change: transform;
}

/* Tilt Effect Container */
.tilt-container {
    perspective: 1000px;
}

/* Authority Image Hover Effect */
.auth-image {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    /* Bouncy transition */
    cursor: pointer;
}

.auth-image:hover {
    transform: scale(1.2);
    z-index: 10;
    /* Ensure it pops out above other elements */
}

.box-color-1{
    color: #008000 !important;
}
.box-color-2{
    color: #0000FF !important;
}
.box-color-3{
    color: #964B00 !important;
}