@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #f4f7f9;
    --text-color: #2c3e50;
    --heading-color: #1a252f;
    --accent-color: #00f2fe;
    --secondary-color: #4facfe;
    --tech-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --card-bg: #ffffff;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.4);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.8;
    transition: all 0.5s ease;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--heading-color);
}

/* Layout & Proportions - Matched to Site 26 */

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 15px 5%;
    background-color: #ffffff;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.links a:hover {
    color: var(--secondary-color);
}

/* Hero */
.hero-section {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('images/tech-bg.jpg') no-repeat center center/cover;
    /* Overlay */
    box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.1); 
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(244, 247, 249, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: fadeInDown 1s ease-out;
    /* Text shadow doesn't work well with text-fill-color transparent, using filter instead if needed or relying on gradient */
    filter: drop-shadow(0 5px 15px rgba(79, 172, 254, 0.2));
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #444;
    font-weight: 500;
}

/* Content Blocks */
.content-block {
    padding: 100px 5%;
    background-color: #fff;
}

.content-block.alt-bg {
    background-color: #f9fbfd;
}

.content-block h2 {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.content-block h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tech-gradient);
    border-radius: 2px;
}

.content-block p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-color);
}

/* Page Header (for subpages) */
.page-header {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('images/tech-bg.jpg') no-repeat center center/cover;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(244, 247, 249, 1) 100%);
}

.page-header h1 {
    z-index: 2;
    font-size: 3rem;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(255,255,255,0.8));
}

.page-header p {
    z-index: 2;
    position: relative;
    font-size: 1.2rem;
    color: #444;
}

/* Footer (Matched) */
.site-footer {
    padding: 60px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

/* Removed old .wrapper, .hero-image styles */


/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-item {
    padding: 30px;
    background: #f9fbfd;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--tech-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    background: #fff;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-img {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.service-item:hover .service-img {
    transform: scale(1.05);
}

/* Footer */
footer {
    padding: 60px 0;
    font-size: 0.9rem;
    color: #7f8c8d;
    background: #fff;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Contact Form */
input, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    background: #f9f9f9;
    transition: all 0.3s;
    box-sizing: border-box;
}

input:focus, textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.2);
    background: #fff;
}

button {
    background: var(--tech-gradient);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s, box-shadow 0.3s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 768px) {
    header h1 { font-size: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .wrapper { padding: 0 20px; }
}
