/* style.css - Professional Managed IT & Telecom Theme */

:root {
  html {
    scroll-padding-top: 100px; /* Forces the page to stop scrolling exactly below the navbar */
    scroll-behavior: smooth;
}
    /* Color Palette */
    --primary-color: #0f172a;       /* Deep Slate Navy */
    --secondary-color: #2563eb;     /* Trustworthy Tech Blue */
    --secondary-hover: #1d4ed8;     /* Darker Blue for hover states */
    --accent-color: #38bdf8;        /* Light Blue accent */
    --bg-light: #f8fafc;            /* Off-white for section backgrounds */
    --text-main: #334155;           /* Soft dark gray for reading comfort */
    --text-heading: #0f172a;        /* Solid navy for headings */
    --border-color: #e2e8f0;        /* Subtle border gray */
    
    /* Shadows & Radii */
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
}

/* Global Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
}

h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.2s ease-in-out;
}

/* Navbar */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn:hover {
    background: var(--secondary-hover);
    border-color: var(--secondary-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    color: #ffffff;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern for the hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero h1 {
    color: #ffffff;
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 760px;
    margin: 0 auto 40px;
    color: #cbd5e1;
}

.hero .btn {
    margin: 8px;
}

/* General Sections */
.section {
    padding: 96px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary-color);
    color: #cbd5e1;
}

.bg-dark h2 {
    color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title p {
    color: var(--text-main);
    font-size: 1.125rem;
    margin-top: 16px;
}

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

.service-card {
    background: #ffffff;
    padding: 40px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.service-card p {
    color: var(--text-main);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-heading);
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

/* Network / Why Us Section */
.network-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.network-text {
    flex: 1;
}

.network-text ul {
    list-style: none;
    margin-top: 32px;
}

.network-text li {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--text-heading);
    display: flex;
    align-items: center;
}

.network-text li strong {
    margin-left: 8px;
}

.network-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-box {
    background: var(--bg-light);
    padding: 32px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-box h4 {
    color: var(--text-main);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.stat-box span {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.contact-methods {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-methods p {
    margin-bottom: 16px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap; /* Allows the content to wrap naturally on small screens */
    word-break: break-word; /* Stops long emails from breaking outside the box */
}

/* Add this right below it to clean up the links */
.contact-methods a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Creates a much cleaner underline */
    padding-bottom: 2px;
}

.contact-methods a:hover {
    border-bottom-color: #ffffff;
}

.contact-methods p:last-child {
    margin-bottom: 0;
}

.contact-form-container {
    flex: 1;
    background: #ffffff;
    padding: 48px;
    border-radius: var(--border-radius);
    color: var(--text-heading);
    box-shadow: var(--hover-shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-heading);
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-heading);
    transition: all 0.2s;
    background-color: var(--bg-light);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Alerts */
.alert {
    padding: 16px 24px;
    border-radius: var(--border-radius);
    margin: 32px 0;
    font-weight: 600;
    text-align: center;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Footer */
footer {
    background: #020617; /* Very dark slate */
    color: #94a3b8;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .network-flex, 
    .contact-wrapper {
        flex-direction: column;
        gap: 48px;
    }
    
    .contact-form-container {
        width: 100%;
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        height: auto;
        padding: 24px 0;
        gap: 16px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 64px 0;
    }
}