/* Main CSS for TinyML Solutions Template */

:root {
    /* Color Palette - pastel variations */
    --primary-1: #c2e8d4; /* Mint Green */
    --primary-2: #f9d1d1; /* Soft Coral */
    --primary-3: #e6d7f2; /* Lavender */
    --primary-4: #ffecb8; /* Pale Yellow */
    --primary-5: #d1e8f9; /* Light Blue */
    
    /* Shades */
    --primary-1-dark: #8fcab0;
    --primary-2-dark: #e5b3b3;
    --primary-3-dark: #c9b5d9;
    --primary-4-dark: #e6d399;
    --primary-5-dark: #a3c9e4;
    
    --primary-1-light: #e4f6ed;
    --primary-2-light: #fce8e8;
    --primary-3-light: #f5eefb;
    --primary-4-light: #fff8e5;
    --primary-5-light: #e8f4fc;
    
    /* Text colors */
    --text-dark: #2c3e50;
    --text-medium: #5d6d7e;
    --text-light: #8896a6;
    
    /* Other utility colors */
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #343a40;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Spacings */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;
}

/* Base styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

section {
    padding: var(--space-xl) 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: var(--space-md);
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-medium);
}

a {
    color: var(--primary-3-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-3);
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-3);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--primary-3-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--primary-1);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--primary-1-dark);
    color: var(--white);
}

/* Section titles */
.section-title {
    margin-bottom: var(--space-lg);
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--primary-1);
}

.section-subtitle {
    color: var(--text-medium);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

.section-desc {
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

/* Header */
.header {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header .navbar-brand {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
}

.header .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
}

.header .nav-link:hover {
    color: var(--primary-3);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--gray-light);
    overflow: hidden;
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    color: var(--text-medium);
}

.hero-desc {
    margin-bottom: var(--space-lg);
}

.swiper-hero {
    height: 100vh;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.about-feature {
    padding: var(--space-md);
    transition: all 0.3s ease;
    border-radius: 10px;
    margin-bottom: var(--space-lg);
    background-color: var(--gray-light);
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.about-feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--primary-2);
}

.about-feature h4 {
    margin-bottom: var(--space-sm);
}

/* Services Section */
.services-section {
    background-color: var(--gray-light);
}

.service-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--space-lg);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: var(--space-lg);
}

.service-title {
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

.service-desc {
    margin-bottom: var(--space-md);
}

.service-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-3-dark);
    margin-bottom: var(--space-md);
}

.service-features {
    padding-left: 0;
    list-style: none;
}

.service-features li {
    padding: var(--space-xs) 0;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 7px;
    color: var(--primary-1-dark);
}

/* Features Section */
.features-section {
    background-color: var(--white);
}

.feature-item {
    text-align: center;
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
    border-radius: 10px;
}

.feature-item:hover {
    background-color: var(--gray-light);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    color: var(--primary-4);
}

/* Price Plan Section */
.price-section {
    background-color: var(--gray-light);
}

.price-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.price-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-header {
    background: var(--primary-5-light);
    padding: var(--space-lg);
    text-align: center;
}

.price-body {
    padding: var(--space-lg);
}

.price-title {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-5-dark);
    margin-bottom: var(--space-md);
}

.price-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--space-lg);
}

.price-features li {
    padding: var(--space-xs) 0;
    position: relative;
    padding-left: 25px;
}

.price-features li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 7px;
    color: var(--primary-5-dark);
}

/* Team Section */
.team-section {
    background-color: var(--white);
}

.team-member {
    margin-bottom: var(--space-lg);
    text-align: center;
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: var(--space-md);
}

.team-name {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.team-role {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

/* Reviews Section */
.reviews-section {
    background-color: var(--primary-1-light);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.reviews-section::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.review-item {
    background: var(--white);
    border-radius: 10px;
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-text {
    font-style: italic;
    margin-bottom: var(--space-md);
}

.review-author {
    font-weight: 600;
    text-align: right;
    color: var(--primary-3-dark);
}

.swiper-reviews {
    padding-bottom: 50px;
}

.swiper-reviews .swiper-pagination {
    bottom: 0;
}

/* Core Info Section */
.coreinfo-section {
    background-color: var(--white);
}

.coreinfo-item {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    border-radius: 10px;
    background-color: var(--gray-light);
    transition: all 0.3s ease;
}

.coreinfo-item:hover {
    background-color: var(--primary-4-light);
    transform: translateY(-5px);
}

.coreinfo-item h4 {
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

/* Contact Section */
.contact-section {
    background-color: var(--gray-light);
}

.contact-form {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-control {
    border-radius: 5px;
    padding: 0.75rem;
    border: 1px solid var(--gray-medium);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-3);
}

.contact-info {
    padding: var(--space-lg);
    background-color: var(--primary-3-light);
    border-radius: 10px;
    height: 100%;
}

.contact-info p {
    margin-bottom: var(--space-md);
    padding-left: 30px;
    position: relative;
}

.contact-info p i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-3-dark);
}

/* Blog Section */
.blog-section {
    background-color: var(--white);
}

.blog-item {
    margin-bottom: var(--space-lg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: var(--space-lg);
    background: var(--white);
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.blog-excerpt {
    margin-bottom: var(--space-md);
}

/* Footer */
.footer {
    background-color: var(--gray-dark);
    color: var(--white);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer a {
    color: var(--gray-medium);
}

.footer a:hover {
    color: var(--primary-1);
}

.footer-brand {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.footer-desc {
    margin-bottom: var(--space-lg);
    color: var(--gray-medium);
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-contact p {
    margin-bottom: var(--space-sm);
    color: var(--gray-medium);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    margin-top: var(--space-lg);
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

/* Utility Classes */
.bg-light {
    background-color: var(--gray-light);
}

.bg-primary-1 {
    background-color: var(--primary-1);
}

.bg-primary-2 {
    background-color: var(--primary-2);
}

.bg-primary-3 {
    background-color: var(--primary-3);
}

.bg-primary-4 {
    background-color: var(--primary-4);
}

.bg-primary-5 {
    background-color: var(--primary-5);
}

.text-primary-1 {
    color: var(--primary-1-dark);
}

.text-primary-2 {
    color: var(--primary-2-dark);
}

.text-primary-3 {
    color: var(--primary-3-dark);
}

.text-primary-4 {
    color: var(--primary-4-dark);
}

.text-primary-5 {
    color: var(--primary-5-dark);
}

/* Shape decorations */
.shape-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.shape-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
} 