/* ==========================================================================
   1. IMPORT COMPONENT STYLES
   ========================================================================== */
/* Import Component Styles */
@import url('components/navbar.css');
@import url('components/footer.css');

/* Import Page-Specific Styles */
@import url('pages/home.css');
@import url('pages/legal-page.css');
@import url('pages/cosmic-ma.css');
@import url('pages/vision-ai.css');


/* ... rest of your main.css file ... */


/* ==========================================================================
   2. ROOT VARIABLES & GLOBAL STYLES
   ========================================================================== */

:root {
    --primary-color: #6a0dad;
    --primary-dark: #4b0082;
    --primary-light: #9370db;
    --secondary-color: #8a2be2;
    --accent-color: #9932cc;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #999999;
    --gradient-purple: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    /* This padding prevents content from hiding behind the fixed navbar */
    padding-top: 80px; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-purple);
    border-radius: 2px;
}

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


/* ==========================================================================
   3. UTILITY & BUTTON STYLES
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-purple);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(106, 13, 173, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Note: .btn-contact is part of the navbar, so it's moved to navbar.css */


/* ==========================================================================
   4. PAGE SECTION STYLES
   ========================================================================== */

/* Hero Section */
.hero {
    /* Adjusted padding since body has padding-top now */
    padding: 70px 0 80px; 
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;  
    min-height: 100vh; /* ensures canvas has space */

}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: 0.1;
    z-index: 1; /* keep circles below text but above canvas */
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--secondary-color);
    opacity: 0.1;
    z-index: 1; /* keep circles below text but above canvas */
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2; 
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-height: 400px;
    object-fit: cover;
}
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0; /* stays behind content */}
.hero::before,
.hero::after {
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 2; /* text stays above everything */
}

/* Clients Section */
.clients {
    padding: 40px 0;
    background-color: var(--white);
}

.client-logos {
    overflow: hidden;
    margin-bottom: 20px;
}

.logo-slider {
    display: flex;
    animation: slide 20s linear infinite;
}

.logo-slide {
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    gap: 30px;
}

.logo-slide img {
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.logo-slide img:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Differentiators Section */
.differentiators {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.diff-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.diff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.icon-container {
    width: 70px;
    height: 70px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-container i {
    font-size: 30px;
    color: var(--white);
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--white);
}

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


.product-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}



.product-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.product-card ul {
    padding: 20px 20px 20px;
}

.product-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    font-size: 18px;   /* ✅ Increased font size */
    line-height: 1.6;
}

.product-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-actions {
  display: flex;
  justify-content: center;
  padding-bottom: 20px; /* Adds space at the bottom of the card */
  padding-top:20px ;
}
.product-title {
  text-align: center;
  border: 2px solid var(--primary-color);
  padding: 10px;
  margin: 20px;
  border-radius: 6px;
  color: var(--primary-color);
  font-weight: 600;
}
.product-title-box {
    background: var(--gradient-purple); /* or white if you don’t want gradient */
    padding: 15px;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}

.product-title-box h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--white); /* use white if background is purple */
}




/* Solutions Section */
.solutions {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.solution-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.solution-icon i {
    font-size: 30px;
    color: var(--white);
}

/* Comparison Section */
.comparison {
    padding: 80px 0;
    background-color: var(--white);
}

.comparison-table-container {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: center;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.check {
    color: #00cc66;
}

.cross {
    color: #ff3333;
}

/* Testimonial Section */
.testimonial {
    padding: 80px 0;
    background: var(--gradient-purple);
    color: var(--white);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    font-size: 40px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.testimonial-content blockquote {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.4;
}

.testimonial-author {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Technology Section */
.technology {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.tech-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tech-icon i {
    font-size: 30px;
    color: var(--white);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
   
     display: flex;
    justify-content: center;   /* Center horizontally */
    align-items: center;       /* Center vertically (optional) */
    flex-direction: column;    /* Stack content if more items */
    text-align: center;
}

.mission-vision {
    display: flex;
    /* grid-template-columns: 1fr 1fr; */
    gap: 30px;
    justify-content: center;   /* Center Mission & Vision side by side */
    gap: 30px;                 /* Space between them */
    flex-wrap: wrap;  
}

.mission, .vision {
    flex: 0 1 350px; 
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.mission h3, .vision h3, .careers h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.careers {
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.careers p {
    margin-bottom: 20px;
}
/* ********** GET IN TOUCH ************ */
/* Get in Touch Section */
.get-in-touch {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.get-in-touch .contact-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.get-in-touch .address {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.get-in-touch .address i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.address .info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.address .info-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 10px;
}

.address .info-item p strong {
    color: var(--primary-dark);
    margin-right: 5px;
}


/* Resources Section */
.resources {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.resource-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.resource-icon i {
    font-size: 24px;
    color: var(--white);
}

.resource-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.resource-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.resource-link {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.resource-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.resource-link:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: flex;
    /* grid-template-columns: 2fr 1fr;
    gap: 50px; */
    justify-content: center; /* centers horizontally */
    align-items: center;     /* centers vertically */
}

.contact-form {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
     max-width: 600px; /* added */
    width: 100%;      /* added */
    text-align: left; 
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;

}
.contact-email {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin: 20px 0;
    color: var(--text-color);
}

.contact-email i {
    font-size: 20px;
    color: var(--primary-color);
}

/* .social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px);
    color: var(--white);
} */

/* ==========================================================================
   5. ANIMATIONS
   ========================================================================== */

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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


/* ==========================================================================
   6. RESPONSIVE DESIGN (GENERAL)
   ========================================================================== */

@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
}