/* ITDataSol Website Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - HSL Values */
    --background: 0 0% 100%;
    --foreground: 225 15% 15%;
    --card: 0 0% 100%;
    --card-foreground: 225 15% 15%;
    --primary: 220 85% 55%;
    --primary-foreground: 0 0% 100%;
    --secondary: 220 15% 95%;
    --secondary-foreground: 225 15% 15%;
    --muted: 220 15% 96%;
    --muted-foreground: 225 10% 55%;
    --accent: 220 85% 55%;
    --accent-foreground: 0 0% 100%;
    --border: 220 15% 90%;
    --input: 220 15% 90%;
    
    /* Custom Design Tokens */
    --gradient-primary: linear-gradient(135deg, hsl(220 85% 55%), hsl(240 75% 65%));
    --gradient-hero: linear-gradient(135deg, hsl(220 85% 55% / 0.1), hsl(240 75% 65% / 0.05));
    --shadow-elegant: 0 10px 30px -10px hsl(220 85% 55% / 0.3);
    --shadow-card: 0 4px 20px -4px hsl(220 15% 15% / 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --container-padding: 1rem;
    --section-padding: 5rem 0;
    --border-radius: 0.5rem;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navigation */
.navigation {
    background: hsl(var(--background) / 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.nav-link:hover {
    color: hsl(var(--primary));
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: hsl(var(--foreground));
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    border-top: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-nav-link {
    display: block;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    border: none;
    background: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.mobile-nav-link:hover {
    color: hsl(var(--primary));
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, hsl(var(--background) / 0.8), hsl(var(--background) / 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1280px;
    padding: 0 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title-main {
    display: block;
    color: hsl(var(--foreground));
}

.hero-title-gradient {
    display: block;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    margin: 0 auto 3rem;
    max-width: 48rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-decoration: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
}

.btn-primary:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-1px);
}

.btn-secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    padding: 0.75rem 1.5rem;
}

.btn-secondary:hover {
    background: hsl(var(--muted));
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section-muted {
    background: hsl(var(--muted) / 0.3);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
    margin: 0 auto 4rem;
    max-width: 48rem;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-1 {
    grid-template-columns: 1fr;
}

.grid-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cards */
.card {
    background: hsl(var(--card));
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid hsl(var(--border));
}

.card:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-2px);
}

.card-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}

.card-content {
    padding: 0 1.5rem 1.5rem;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    margin: 0 auto 1rem;
    transition: var(--transition-smooth);
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon svg {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary-foreground));
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.card-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.features-list li::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: hsl(var(--primary));
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* About Section Specific */
.about-reasons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.reason-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: hsl(var(--primary) / 0.1);
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.reason-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--primary));
}

.reason-content h3 {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.reason-content p {
    color: hsl(var(--muted-foreground));
}

.stats-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-card {
    background: hsl(var(--card));
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

.stat-card.featured {
    background: var(--gradient-hero);
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .stat-card.featured {
        grid-column: auto;
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.stat-label {
    color: hsl(var(--muted-foreground));
}

/* Contact Form */
.contact-form {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--border-radius);
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px hsl(var(--primary));
}

.form-textarea {
    min-height: 6rem;
    resize: vertical;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    background: hsl(var(--card));
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.contact-item:hover {
    box-shadow: var(--shadow-elegant);
}

.contact-item-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
}

.contact-item-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary-foreground));
}

.contact-item-text h4 {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.contact-item-text a,
.contact-item-text p {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-item-text a:hover {
    color: hsl(var(--primary));
}

/* Footer */
.footer {
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer-description {
    color: hsl(var(--background) / 0.8);
    margin-bottom: 1rem;
    max-width: 24rem;
}

.footer-website {
    font-size: 0.875rem;
    color: hsl(var(--background) / 0.6);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links button {
    background: none;
    border: none;
    color: hsl(var(--background) / 0.8);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.875rem;
    padding: 0;
}

.footer-links button:hover {
    color: hsl(var(--background));
}

.footer-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-services li {
    margin-bottom: 0.5rem;
    color: hsl(var(--background) / 0.8);
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid hsl(var(--background) / 0.2);
    margin-top: 2rem;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: hsl(var(--background) / 0.6);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal button {
    background: none;
    border: none;
    color: hsl(var(--background) / 0.6);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.875rem;
    padding: 0;
}

.footer-legal button:hover {
    color: hsl(var(--background));
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-elegant);
    padding: 1rem 1.5rem;
    z-index: 1000;
    transition: var(--transition-smooth);
    transform: translateX(100%);
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hidden {
    display: none;
}

.toast-title {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.toast-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* Utilities */
.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}