/* Custom CSS3 Stylesheet to Replicate Tailwind/Lucide Design */

/* --- 0. Global Reset and Variables --- */
:root {
    --color-primary: #3f51b5;
    /* Indigo-600 */
    --color-secondary: #1a237e;
    /* Indigo-900 */
    --color-cta: #1e88e5;
    /* Blue-600 */
    --color-text-dark: #212121;
    --color-text-medium: #555;
    --color-bg-light: #f0f4f8;
    /* Light Blue-Gray */
    --color-shadow: rgba(0, 0, 0, 0.15);
    --radius-lg: 1rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;

    
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s, background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

  


/* Helper Class for Hidden on Small Screens */
.hidden-sm {
    display: none;
}

@media (min-width: 640px) {
    .hidden-sm {
        display: block;
    }
}


/* --- 1. Navigation Bar --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Initial Shadow */
    transition: box-shadow 0.3s;
}

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

/* Logo Styling */
.logo-link {
    font-size: 2rem;
    font-weight: 900;
}

.logo-link>span {
    transition: color 0.3s;
}

.logo-red {
    color: #dc2626;
}

/* Red-600 */
.logo-orange {
    color: #f97316;
}

/* Orange-500 */
.logo-yellow {
    color: #facc15;
}

/* Yellow-400 */
.logo-green {
    color: #16a34a;
}

/* Green-600 */
.logo-blue {
    color: #2563eb;
}

/* Blue-600 */
.logo-indigo {
    color: #4f46e5;
}

/* Indigo-600 */
.logo-purple {
    color: #9333ea;
}

/* Purple-600 */

/* Links Group */
.nav-links-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.nav-link {
    padding: 0.5rem 0;
    position: relative;
    color: var(--color-text-medium);
}

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

/* Contact Button */
.contact-btn {
    border: 1px solid var(--color-cta);
    color: var(--color-cta);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    /* Fully rounded */
    font-weight: 600;
    font-size: 0.875rem;
}

.contact-btn:hover {
    background: #eff6ff;
    /* Blue-50 */
    color: var(--color-cta);
}

/* 🚀 UPDATED: Header Social Icon (X/Twitter) Styling */
.social-icon-header {
    /* Ensures the SVG is centered */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.x-icon {
    /* Set the size for the SVG */
    width: 1.25rem;
    height: 1.25rem;
    /* Set the initial color and transition */
    color: #000000;
    /* Black for X logo */
    fill: currentColor;
    transition: color 0.3s, transform 0.3s;
}

.social-icon-header:hover .x-icon {
    color: var(--color-secondary);
    /* Darker blue on hover */
    transform: scale(1.1);
}

.social-icon-header:hover {
    background: #f9fafb;
}


/* --- 2. Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #e0f2f7 0%, #d1e9f1 100%);
    padding: 10rem 1rem;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
}
.fonts{
    font-size: var(--color-text-medium);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #4f46e5;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInSlideDown 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    /* SM: 4.5rem */
    font-weight: 900;
    color: var(--color-text-dark);
    line-height: 1.1;
    max-width: 1000px;
    margin: 0 auto 1rem;
    animation: fadeInSlideUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }

    /* LG: 6rem */
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

.primary-highlight-text {
    color: var(--color-primary);
    
}

.hero-subheading {
    display: block;
    color: var(--color-primary);
    margin-top: 1rem;
    font-size: 1.5rem;
    /* SM: 1.875rem */
    font-weight: 700;
}

@media (min-width: 768px) {
    .hero-subheading {
        font-size: 2.25rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-medium);
    padding-top: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-cta-group {
    padding-top: 2.5rem;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.depiction-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: #fff;
    background-color: var(--color-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.depiction-link:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.depiction-link .link-icon {
    font-size: 1.25rem;
}


/* --- 3. Main Content & Features --- */
.main-content-section {
    padding: 5rem 1rem;
    background-color: #fff;
}

.main-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.section-tagline {
    font-size: 1.125rem;
    color: var(--color-text-medium);
    max-width: 900px;
    margin: 0 auto 3rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding-top: 2rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Feature Card Hover Effect */
.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #f7f7ff;
    /* Light hover background */
}

.card-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
    transition: transform 0.3s;
    z-index: 2;
}

.feature-card:hover .card-icon {
    transform: translateY(-2px) scale(1.1);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    z-index: 2;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    z-index: 2;
}

/* Format Support Tags */
.format-support-block {
    padding-top: 3rem;
}

.format-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.format-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.format-tag {
    background-color: #f7f7f7;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    color: var(--color-text-medium);
    font-size: 1rem;
    font-family: monospace;
    border: 1px solid #e0e0e0;
}


/* --- 4. Data Grid Section (Dark Background) --- */
.data-grid-section {
    padding: 5rem 1rem;
    background: #1a237e;
    /* Dark Blue Background */
    color: #fff;
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Subtle Animated Grid Background (using a pseudo-element) */
.data-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0px, rgba(255, 255, 255, .05) 1px, transparent 1px, transparent 50px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: moveGrid 60s linear infinite;
    z-index: 0;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.grid-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ccc;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .grid-title {
        font-size: 1.875rem;
    }
}

.grid-cta-group {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

/* Rainbow Border Button (Complex CSS Animation) */
.request-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 9999px;
    background: var(--color-secondary);
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* The Animated Border */
.request-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Rainbow Gradient */
    background: conic-gradient(#ffeb3b, #4caf50, #2196f3, #3f51b5, #9c27b0, #f44336, #ff9800, #ffeb3b);
    z-index: -1;
    animation: rotate 4s linear infinite;
}

.request-btn::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: 4px;
    left: 4px;
    background: var(--color-secondary);
    border-radius: 9999px;
    z-index: -1;
}

.request-btn .link-icon {
    font-size: 1.25rem;
}

.request-btn:hover {
    transform: scale(1.05);
}


/* Tech Notes Grid */
.tech-notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-top: 3rem;
    font-size: 0.875rem;
}

.tech-note-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.tech-note-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.tech-icon {
    font-size: 1.5rem;
    color: #9fa8da;
    /* Indigo-300 */
    margin-bottom: 0.5rem;
    line-height: 1;
}

.tech-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #c5cae9;
    /* Indigo-200 */
    margin-bottom: 0.5rem;
}

.tech-desc {
    color: #e0e0e0;
    text-align: center;
}


/* --- 5. Areas of Expertise Section --- */
/* --- 5. Areas of Expertise Section --- */
.areas-section {
    padding: 5rem 1rem;
    background-color: #f9fafb; /* Gray-50 */
    border-top: 0px solid #e0e0e0;
}
.areas-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Welcome Card */
.welcome-card {
    text-align: center;
    padding: 10px;
    /* 🎨 REDUCED BORDER RADIUS: Changed from 1.5rem to 0.5rem */
    border-radius: 100px; 
    background: #fff;
    margin-bottom: 3rem;
    /* Custom Gradient Border Effect */
    border: 0px solid transparent;
    background-clip: padding-box;
    position: relative;
}
/* Creating a glowing border effect with ::before and animation */
.impact-welcome-card {
    background-image: linear-gradient(to right, #fff, #fff), linear-gradient(135deg, #4f46e5, #ec4899, #10b981);
    background-origin: border-box;
    background-clip: content-box, border-box;
    animation: neonGlow 2s ease-in-out infinite alternate;
}

/* ... (rest of the file remains the same) ... */
.welcome-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.3;
}

@media (min-width: 640px) {
    .welcome-text {
        font-size: 1.875rem;
    }
}

.welcome-subheading {
    display: block;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.text-violet {
    color: #8b5cf6;
}

.text-pink {
    color: #ec4899;
}

.text-blue-light {
    color: #3b82f6;
}

.text-green-light {
    color: #10b981;
}

.demo-request {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-dark);
    padding-top: 1rem;
}

.demo-link {
    color: var(--color-secondary);
    text-decoration: underline;
}

.demo-link:hover {
    color: var(--color-primary);
}


.areas-header {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text-dark);
    border-bottom: 2px solid #a89090;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

/* Area Cards Grid */
.area-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.area-card {
    display: block;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.area-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.area-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

.area-desc {
    color: var(--color-text-medium);
    font-size: 0.875rem;
}

.area-discover {
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
}


/* Corporate Links Block */
.corporate-links-block {
    padding-top: 4rem;
}

.corporate-header {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-dark);
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.corporate-links-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
    .corporate-links-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.corporate-links-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .corporate-links-group {
        margin-bottom: 0;
    }
}

.corporate-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.corporate-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text-medium);
}

.corporate-link:hover {
    color: var(--color-primary);
}

.corporate-link .link-icon {
    font-size: 1.125rem;
}

.all-areas-cta {
    width: 100%;
}

@media (min-width: 640px) {
    .all-areas-cta {
        width: auto;
    }
}

.all-areas-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 9999px;
}

.all-areas-btn:hover {
    background-color: var(--color-secondary);
    transform: translateY(-1px);
}

.all-areas-btn .link-icon {
    font-size: 1.125rem;
    margin-right: 0.5rem;
}


/* --- 6. Footer --- */
/* ... (existing styles) ... */

/* --- 6. Footer --- */
.main-footer {
    background-color: #212121;
    color: #fff;
    padding: 2rem 1rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    /* Default for mobile: stacked */
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    
}





@media (min-width: 768px) {
    .footer-container {
        /* KEY CHANGE: Force content onto one line for desktop */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap; 
        text-align: left;
    }
}



.footer-info-group {
    /* Ensures the copyright and address are aligned nicely */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 1; 
}
@media (min-width: 768px) {
    .footer-info-group {
        /* Desktop: aligns the address and copyright in a row */
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        flex-shrink: 1; 
    }
}

.footer-copyright {
    font-size: 1.125rem;
    font-weight: 700;
    color: #e0e0e0;
    white-space: nowrap;
   
    
}

.footer-address {
    color: #a0a0a0;
    font-size: 0.875rem;
    max-width: 600px;
    min-width: 250px;
    
}

@media (min-width: 768px) {
    .footer-address {
        /* 🚀 KEY CHANGE: Force the address text onto a single line */
        white-space: nowrap;
        /* Set max-width to none so it can take the space it needs */
        max-width: 36%; 
    }
}

.footer-social-group {
    display: flex;
    gap: 1rem;
    white-space: nowrap; 
    flex-shrink: 0;
}

/* ... (rest of the file remains the same) ... */



/* --- 7. Keyframes & Animations (CSS3) --- */

/* Hero Section Entrance Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Data Grid Background Animation */
@keyframes moveGrid {
    0% {
        background-position: 0 0;
    }

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

/* Rainbow Border Button Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

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

/* Welcome Card Neon Glow Animation */
@keyframes neonGlow {
    0% {
        box-shadow: 0 0 5px rgba(79, 70, 229, 0.5), 0 0 10px rgba(79, 70, 229, 0.3);
    }

    100% {
        box-shadow: 0 0 10px rgba(79, 70, 229, 0.7), 0 0 20px rgba(79, 70, 229, 0.5);
    }
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .social-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
  }

  .social-icon:hover {
    transform: scale(1.1);
  }

  /* Specific platform colors */
  .twitter {
    background-color: #1DA1F2;
  }

  .linkedin {
    background-color: #0077B5;
  }