/* SmartSite Architect - Modern & High Performance CSS */

/* 1. Global Variables & Design Tokens */
:root {
    /* Colors */
    --primary-color: #0066cc; /* Vibrant Blue */
    --primary-dark: #004c99;
    --secondary-color: #ff6b00; /* Action Orange */
    --secondary-dark: #e65c00;
    --accent-color: #0a2540; /* Deep Navy */
    
    /* Neutral Colors */
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --white: #ffffff;
    --light-bg: #f7fafc;
    --border-color: #e2e8f0;
    
    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
    --border-radius: 8px;
    
    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* 4. Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.5rem; color: var(--text-light); font-size: 1.125rem; }

/* 5. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* 6. Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 3px;
}

/* 7. Hero Section */
.hero {
    margin-top: var(--header-height);
    padding: 120px 0 160px;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.9), rgba(0, 102, 204, 0.8)), url('https://images.unsplash.com/photo-1557838923-2985c318be48?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.25rem;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 8. Components */

/* Cards */
.services-grid, .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.xvtnh nm
    zadding: 16px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
}

/* Stats Section */
.stats-section {
    padding: 40px 0;
    background-color: var(--light-bg);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-item p {
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: var(--accent-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Clients */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.client-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: var(--transition);
    position: relative;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.client-card img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: var(--transition);
    object-fit: contain;
}

.client-card:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

/* Tooltip disabled by request */
.client-card::after { display: none; }

@media (max-width: 1024px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .client-card {
        height: 100px;
        padding: 15px;
    }
}

/* About Section */
.page-header {
    background-color: var(--light-bg);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: rgba(255, 255, 255, 0.7);
    paddingpx;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-info-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
}

.contact-form h3 {
    margin-bottom: 24: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--white); text-decoration: underline; }

.social-links { display: flex; gap: 16px; margin-top: 20px; }
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary-color); transform: scale(1.1); }

.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
}

/* 9. Responsive Mobile Styles */
@media (max-width: 992px) {
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - var(--header-height));
        justify-content: center;
        transition: 0.3s ease-in-out;
        box-shadow: none;
        padding: 40px;
        gap: 40px;
    }

    .nav-links.active { left: 0; }
    
    .nav-links a { font-size: 1.5rem; }

    /* Hamburger Animation */
    .hamburger.toggle .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .hamburger.toggle .bar:nth-child(2) { opacity: 0; }
    .hamburger.toggle .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
    
    .about-content, .contact-container { grid-template-columns: 1fr; }
    
    .hero { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
}

@media (max-width: 480px) {
    h1 { font-size: 2.25rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
}
