/* =============================================
   Atlantic Datacenter Theme - FINAL CONSOLIDATED STYLES
   Modern, Clean, Professional, High-Impact
   ============================================= */

   :root {
    /* Primary Accent Colors */
    --primary: #C4161C;          /* Red Accent */
    --primary-dark: #A41218;
    --secondary: #1B4BC7;        /* Blue Accent */
    --secondary-dark: #133A9E;

    /* Base Colors */
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --text-muted: #555555;
    
    /* Backgrounds */
    --bg-light: #F8F8F8;
    --bg-header: #FFFFFF;
    --card-bg: #FFFFFF;
    --footer-bg: #2C2C2C; /* Dark gray for footer */

    /* Typography & Structure */
    --text-muted-dark: #AAAAAA; /* Muted color for footer text */
    --radius: 6px;
    --shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* Global Defaults */
body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.55;
    font-size: 1.05rem;
    scroll-behavior: smooth;
    padding-top: 70px; /* IMPORTANT: Space for fixed header */
}

p {
    margin-bottom: 20px;
}

/* --- Header (Fixed and High-Impact) --- */
header {
    background: var(--bg-header);
    color: var(--text-dark);
    padding: 15px 0;
    border-bottom: 3px solid var(--primary); /* Strong border for attention */
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease;
}

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

/* Company Name Styling (H1) - Now just a container for the image link */
header h1 {
    margin: 0;
    font-size: 0; /* Hide any accidental text, let image handle spacing */
}

/* NEW: Logo Specific Styling */
.header-logo {
    height: 40px; /* Set a specific height for the logo */
    width: auto;
    vertical-align: middle;
}
header h1 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0;
    font-weight: 900;
}

nav a {
    color: var(--text-dark);
    margin-left: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: 0.2s ease-in-out;
}

nav a:hover {
    color: var(--primary);
    opacity: 1;
}

/* --- Hero Section --- */
.hero {
    background: var(--primary);
    color: var(--text-light);
    padding: 120px 40px;
    text-align: center;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Content Sections (Eliminating the 'Card' Look) --- */
section {
    padding: 80px 40px;
    background: transparent;
    margin: 0 auto;
    border-bottom: 1px solid #E0E0E0;
    max-width: 100%;
}

section:last-of-type {
    border-bottom: none;
}

/* Attention-Grabbing Headings */
section h2 {
    color: var(--primary);
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--primary-dark);
    display: inline-block;
    padding-bottom: 8px;
}

section h3 {
    color: var(--text-dark);
    margin-top: 35px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1.4rem;
}

/* Lists for Core Advantages */
ul {
    padding-left: 20px;
    list-style: square;
}

li {
    margin-bottom: 10px;
}

li strong {
    color: var(--secondary); /* Highlight the advantage title */
}

/* --- 3-Card Services Stack --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--secondary);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-card h4 {
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* --- REVISED PROFESSIONAL FOOTER --- */
footer {
    background: var(--footer-bg);
    color: var(--text-light);
    padding: 60px 0 25px 0;
    margin-top: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #444444;
}

.footer-section h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FIX: Set general paragraph text in the footer to muted light gray */
.footer-about p {
    color: var(--text-muted-dark);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-muted-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--text-light);
}

/* Copyright Bar */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: var(--text-muted-dark);
    font-size: 0.85rem;
}

/* --- Layout Utility --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(196, 22, 28, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    box-shadow: 0 4px 12px rgba(27, 75, 199, 0.3);
}

/* --- Media Queries --- */
@media (max-width: 900px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .service-card {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-section ul {
        margin-bottom: 30px;
    }
    .footer-section ul li {
        display: inline-block;
        margin: 0 10px;
    }
    header h1 {
        font-size: 1.5rem;
    }
    nav a {
        margin-left: 15px;
    }
}
/* --- Contact Form Styling --- */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 700; /* Increased weight to match theme's typography */
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="subject"], /* Added explicit style for subject field */
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #BBBBBB; /* Slightly darker border for better contrast */
    border-radius: var(--radius);
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif; /* Ensure font consistency */
    font-size: 1rem;
    color: var(--text-dark);
    background: #FFFFFF;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary); /* Uses the secondary brand color (Blue) for focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 75, 199, 0.3); /* Softer, branded focus shadow */
}

.form-group textarea {
    resize: vertical;
}

/* The button uses the existing .btn-primary style defined elsewhere in the CSS */