/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color System */
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 213 94% 68%;
    --primary-foreground: 0 0% 100%;
    --primary-glow: 217 91% 78%;
    --secondary: 240 5% 96%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 98%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 238 94% 65%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 213 94% 68%;

    /* Design System Tokens */
    --gradient-primary: linear-gradient(135deg, hsl(213 94% 68%), hsl(217 91% 78%));
    --gradient-hero: linear-gradient(135deg, hsl(213 94% 68%) 0%, hsl(238 94% 65%) 100%);
    --gradient-card: linear-gradient(145deg, hsl(0 0% 100%) 0%, hsl(240 5% 98%) 100%);
    
    --shadow-elegant: 0 10px 30px -10px hsl(213 94% 68% / 0.3);
    --shadow-card: 0 4px 20px hsl(213 94% 68% / 0.1);
    --shadow-glow: 0 0 40px hsl(217 91% 78% / 0.4);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --radius: 0.5rem;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --background: 222.2 84% 4.9%;
        --foreground: 210 40% 98%;
        --card: 222.2 84% 4.9%;
        --card-foreground: 210 40% 98%;
        --popover: 222.2 84% 4.9%;
        --popover-foreground: 210 40% 98%;
        --secondary: 217.2 32.6% 17.5%;
        --secondary-foreground: 210 40% 98%;
        --muted: 217.2 32.6% 17.5%;
        --muted-foreground: 215 20.2% 65.1%;
        --border: 217.2 32.6% 17.5%;
        --input: 217.2 32.6% 17.5%;
        --gradient-card: linear-gradient(145deg, hsl(217.2 32.6% 17.5%) 0%, hsl(222.2 84% 4.9%) 100%);
    }
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background: hsl(var(--background));
    scroll-behavior: smooth;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-primary {
    color: hsl(var(--primary));
}

.text-accent {
    color: hsl(var(--accent));
}

.text-muted {
    color: hsl(var(--muted-foreground));
}

/* Button Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-card);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elegant);
}

.btn-outline {
    background: transparent;
    color: hsl(var(--primary));
    border: 2px solid hsl(var(--primary));
}

.btn-outline:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    transform: translateY(-2px);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
}

/* Section Components */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 32rem;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    padding: 40px;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.4s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.6s forwards;
}

.hero-image {
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.8s forwards;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-elegant);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: hsl(var(--muted) / 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
    opacity: 0;
    animation: scaleIn 0.6s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elegant);
}

.service-card-featured {
    border: 2px solid hsl(var(--primary));
    background: var(--gradient-card);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    stroke-width: 2;
}

.service-icon-featured {
    background: var(--gradient-primary);
    color: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

.service-badge {
    margin-top: 1rem;
}

.service-badge span {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Featured Service Section */
.featured-service-section {
    padding: 5rem 0;
    background: hsl(var(--background));
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.featured-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefits-list {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary));
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.benefit-item p {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.featured-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
}

/* Portfolio Section */
.portfolio-section {
    padding: 5rem 0;
    background: hsl(var(--muted) / 0.3);
}

.portfolio-featured {
    margin-bottom: 3rem;
}

.portfolio-featured-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.portfolio-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-featured-image:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    background: hsl(var(--card));
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.portfolio-item:hover {
    transform: translateY(-4px);
}

.portfolio-category {
    color: hsl(var(--primary));
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.portfolio-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: hsl(var(--background));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-role {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.companies-section {
    text-align: center;
}

.companies-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.company-logo {
    padding: 1rem;
    background: hsl(var(--card));
    border-radius: 0.5rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    transition: var(--transition-smooth);
}

.company-logo:hover {
    color: hsl(var(--primary));
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: hsl(var(--muted) / 0.3);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    background: hsl(var(--card));
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
}

.contact-details h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: hsl(var(--muted-foreground));
}

/* Form Styles */
.contact-form {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: span 2;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

/* Footer */
.footer {
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr ;
    gap: 8rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: hsl(var(--primary));
    color: white;
    transform: translateY(-2px);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    opacity: 1;
    color: hsl(var(--primary));
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item svg {
    width: 1.125rem;
    height: 1.125rem;
    stroke-width: 2;
    color: hsl(var(--primary));
}

.footer-bottom {
    border-top: 1px solid hsl(var(--background) / 0.2);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: inherit;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.footer-legal a:hover {
    opacity: 1;
}

/* Toast Styles */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.toast {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-elegant);
    opacity: 0;
    transform: translateX(100%);
    transition: var(--transition-smooth);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid hsl(var(--primary));
}

.numPhone{
    color: #fff;
    text-decoration: none;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        margin-top:3rem ;
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }

    .footer-section{
        
        text-align: center;
    }

    .social-link{
       margin: auto;
                 
    }

    .contact-item{
        margin: auto;
    }
    
    .footer-content {
        grid-template-columns: 2fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .portfolio-actions {
        flex-direction: column;
        align-items: center;
    }
}