/* Basic Reset & Typography */
:root {
    --primary-color: #4285F4; /* Google Blue */
    --secondary-color: #6c757d; /* A subtle gray */
    --accent-color: #34A853; /* A complementary green */
    --text-color: #333;
    --heading-color: #1a1a1a;
    --light-gray-bg: #f8f9fa; /* Already defined and used for sections */
    --dark-blue-bg: #1A237E; /* Deep professional blue for dark sections and some headings */
    --white: #ffffff;
    --box-shadow-light: 0 4px 8px rgba(0,0,0,0.05);
    --border-radius: 8px; /* Slightly increased for modern look */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white); /* Main body background remains white */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    color: var(--heading-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 { font-size: 3em; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }
p { margin-bottom: 1em; }

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* General Section Titles - Unified Styling */
.section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    color: var(--heading-color); /* Default color for section titles */
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color); /* Uses primary color */
    border-radius: 2px;
}

.section-title-white {
    color: var(--white);
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-title-white::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--white);
    border-radius: 2px;
}

/* Subtitle for sections (like services intro) */
.section-subtitle {
    font-size: 1.1em;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px auto; /* Center subtitle and add bottom margin */
    line-height: 1.6;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #357ae8; /* Darker Google Blue */
    border-color: #357ae8;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-primary-large {
    padding: 15px 35px;
    font-size: 1.1em;
    background-color: var(--primary-color);
    color: var(--white);
    border: none; /* No border for solid look */
    border-radius: 50px; /* More rounded for hero CTA */
}

.btn-primary-large:hover {
    background-color: #357ae8;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.btn-secondary-large {
    padding: 15px 35px;
    font-size: 1.1em;
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color); /* Border uses primary color now */
    border-radius: 50px; /* Consistent rounded button */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary-large:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}


/* Header */
.header {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: var(--box-shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header .logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color); /* Uses new primary color */
}

.header .nav ul {
    list-style: none;
    display: flex;
}

.header .nav li {
    margin-left: 30px;
}

.header .nav a {
    color: var(--heading-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.header .nav a:hover {
    color: var(--primary-color); /* Uses new primary color */
    text-decoration: none;
}


/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(66, 133, 244, 0.6), rgba(66, 133, 244, 0.8)), url('https://via.placeholder.com/1500x600/4285F4/ffffff?text=CloudweldOps+Hero+Image'); /* Placeholder image, now with Google Blue overlay */
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: 4em;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section .subtitle {
    font-size: 1.4em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

/* Intro Section */
.intro-section {
    background-color: var(--light-gray-bg);
}

.intro-section .large-text {
    font-size: 1.6em;
    font-weight: 300;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
    color: var(--heading-color);
}


/* Features Overview */
.features-overview {
    background-color: var(--light-gray-bg); /* Changed background color */
}

.features-overview .section-title {
    color: var(--dark-blue-bg); /* Changed title color */
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 3em;
    color: var(--primary-color); /* Uses new primary color */
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* Why Us Section */
.why-us-section {
    background-color: var(--light-gray-bg);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-us-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    transition: transform 0.3s ease;
    text-align: center; /* Center content */
}

.why-us-item:hover {
    transform: translateY(-5px);
}

.why-us-item i {
    font-size: 2.5em;
    color: var(--accent-color); /* Uses accent color */
    margin-bottom: 15px;
}

.why-us-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

/* NEW SERVICES SECTION STYLES - Replaced with Option 2 */
.services-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg); /* Changed background color */
}

.services-section .section-title {
    color: var(--dark-blue-bg); /* Changed title color */
}

.services-section .section-subtitle {
    color: #444; /* Darker color for better contrast on light gray */
    margin-bottom: 60px; /* Ensure sufficient space below subtitle */
}

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px; /* Add some space from the subtitle */
}

.feature-block {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    padding: 40px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary-color); /* Accent border using primary color */
    display: flex; /* Use flexbox for internal structure */
    flex-direction: column;
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.feature-block h3 {
    font-size: 1.8em;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.feature-block p {
    font-size: 1.05em;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows paragraph to take up available space */
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto; /* Pushes the list to the bottom of the card */
}

.feature-list li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.feature-list li .fa-check-circle {
    color: var(--accent-color); /* Green checkmark using accent color */
    margin-right: 10px;
    font-size: 1.1em;
    margin-top: 2px;
    flex-shrink: 0;
}
/* END OF UPDATED SERVICES SECTION STYLES */


/* Call to Action Section */
.call-to-action {
    background-color: var(--dark-blue-bg); /* Deep professional blue */
    color: var(--white);
    text-align: center;
}

.cta-subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 50px auto;
    opacity: 0.9;
}

.phase-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.phase-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px 35px;
    border-radius: var(--border-radius);
    flex: 1;
    max-width: 300px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.phase-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.phase-item h3 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.4em;
}
.phase-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}


/* Footer */
.footer {
    background-color: var(--dark-blue-bg); /* Deep professional blue */
    color: var(--white);
    padding: 40px 0 20px 0;
    font-size: 0.9em;
}

.footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Allow wrapping */
    margin-bottom: 30px;
}

.footer .footer-brand,
.footer .footer-contact {
    flex: 1;
    min-width: 280px; /* Ensure they don't get too small */
    margin-bottom: 20px; /* Space between items on wrap */
}

.footer h3, .footer h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer a {
    color: var(--primary-color); /* Footer links use primary color */
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .nav {
        display: none; /* Hide navigation on small screens for simplicity */
    }

    .header .container {
        flex-direction: column;
        text-align: center;
    }
    .header .logo, .header-cta {
        margin-bottom: 15px;
    }

    .hero-section h1 {
        font-size: 2.8em;
    }

    .hero-section .subtitle,
    .intro-section .large-text {
        font-size: 1.2em;
    }

    .section-title, .section-title-white {
        font-size: 2em;
        margin-bottom: 40px; /* Adjust spacing */
    }

    .section-title::after, .section-title-white::after {
        width: 40px; /* Smaller underline */
    }

    .features-overview .section-title {
        font-size: 2em; /* Smaller for this specific section */
    }

    .feature-grid, .why-us-grid, .phase-grid { /* Removed .services-grid */
        grid-template-columns: 1fr; /* Stack items vertically */
    }

    .service-feature-grid { /* Specific for the new services section */
        grid-template-columns: 1fr;
        gap: 30px; /* Slightly reduced gap for mobile */
    }

    .feature-block { /* Specific to the new services cards */
        padding: 30px; /* Slightly less padding on small screens */
    }

    .feature-block h3 { /* Specific to the new services cards */
        font-size: 1.6em;
    }

    .feature-icon { /* Specific to the new services cards */
        font-size: 2.8em;
    }

    .cta-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .footer .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn-primary-large, .btn-secondary-large {
        padding: 12px 25px;
        font-size: 1em;
    }

    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }
    .section-padding { padding: 60px 0; }
}